34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
tp-link GPL code readme
|
||
|
||
1. This package contains all GPL code used by tp-link with Linux OS.
|
||
2. All components have been built successfully on Redhat Enterprise Linux 4.0 Workstation.
|
||
3. Recommended using "root" or "sudo" command to build the code.
|
||
4. After building the code, you will get the uboot and linux kernel image, then you can make rootfs with mksquashfs too, but you can't upgrade these images to your router through web management page.
|
||
|
||
|
||
Simple build
|
||
1. Issue the folloing command with root privilege:
|
||
./build_XC220-G3vV2.sh
|
||
|
||
Expert build
|
||
1. Build components with root privilege:
|
||
first of all ,cd platform/build
|
||
1)Build u-boot bootloader
|
||
make MODEL=XC220-G3vV2 SPEC=BR env_build boot_build
|
||
|
||
2)Build linux kernel image
|
||
make MODEL=XC220-G3vV2 SPEC=BR kernel_build
|
||
|
||
3)Build some modules
|
||
make MODEL=XC220-G3vV2 SPEC=BR modules_build
|
||
|
||
4)Build some application, such as busybox, iptables and so on.
|
||
make MODEL=XC220-G3vV2 SPEC=BR apps_build
|
||
|
||
5)Build rootfs
|
||
make MODEL=XC220-G3vV2 SPEC=BR fs_build
|
||
|
||
6)Build image
|
||
make MODEL=XC220-G3vV2 SPEC=BR image_build
|
||
|
||
Then, you will find the image in directory platform/targets/XC220-G3vV2/BR/image |