1======================================= 2 WNDR4500v2 Firmware Build Instructions 3 4 Version: 1.3 5 Date : 2015/07/14 6======================================== 7 8Note: 9 This package has been built successfully on 32-bit i386 Fedora 6 Linux 10 host machine. Compiling this package on platforms other than Fedora Core 6 11 may have unexpected results. 12 13=================== 14 Install toolchain 15=================== 16 171. You will need to use the 4.2.3 Linux 2.6 MIPS Cross Compiler and Tools (mipsel-uclibc toolchain), 18 which have also been posted to your account. 19 202. To install the toolcain 21 (1) The toolchain MUST be installed under /projects/hnd/tools/linux/ directory. After mkdir the dir, 22 tar xvfz hndtools-mipsel-linux-uclibc-4.2.3.tgz 23 (2) Add the path 24 export PATH=/projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/bin:$PATH 25 and the do the following to verify the toolchain 26 mipsel-uclibc-linux26-gcc --ver 27 28=================== 29 Build code 30=================== 31 321. Put the file "WNDR4500v2-V1.0.0.60_1.0.38_src.tar.zip" into a directory of your choice. 33 Unzip and untar it with the following command: 34 unzip WNDR4500v2-V1.0.0.60_1.0.38_src.tar.zip 35 tar xvf WNDR4500v2-V1.0.0.60_1.0.38_src.tar 36 372. Copy the "trx" program under "WNDR4500v2-V1.0.0.60_1.0.38_src/tools" to a location where the user can access, e.g. /usr/bin : 38 cp WNDR4500v2-V1.0.0.60_1.0.38_src/tools/trx /usr/bin 39 If there is no "lzma" program in host machine, copy it to that location as well. 40 cp WNDR4500v2-V1.0.0.60_1.0.38_src/tools/lzma /usr/bin 41 423. Run the following commands to build image 43 cd WNDR4500v2-V1.0.0.60_1.0.38_src/src/router 44 make clean 45 make PROFILE=WNDR4500v2 FW_TYPE=WW && make install PROFILE=WNDR4500v2 FW_TYPE=WW 46 474. The final image is "WNDR4500v2-V1.0.0.60_1.0.38_src/src/router/mipsel-uclibc/kernel_image.chk". 48 User may upgrade to this image using the WNDR4500v2 GUI "Router Upgrade" page. 49 50