Repository navigation
asuswrt build
Tianfu Ma edited this page Sep 2, 2015
·
2 revisions
Asus rt-14u is said to be compatible with wrtnode.
The download page is:
https://www.asus.com/Networking/RTN14U/HelpDesk_Download/
Choose OS to be others
Download GPL of ASUS RT-N14U for firmware 3.0.0.4.376.3754, this is probably the oldest version listed in download page.
You probably can NOT download this file without error. But you can find a copy of this file on baidu cloud disk, uploaded by somebody. Try it.
Setup up environment according to README.TXT in the package.
One autoconf configure file need to update if you are working on the latest ubuntu desktop. Otherwise you get an error message like:
make[4]: Entering directory '/home/ma/wrtnode/asuswrt2/asuswrt/release/src/router/ndisc6'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/ma/wrtnode/asuswrt2/asuswrt/release/src/router/ndisc6/admin/missing --run aclocal-1.11 -I m4
/home/ma/wrtnode/asuswrt2/asuswrt/release/src/router/ndisc6/admin/missing: line 52: aclocal-1.11: command not found
WARNING: `aclocal-1.11' is missing on your system. You should only need it if
you modified `acinclude.m4' or `configure.ac'. You might want
to install the `Automake' and `Perl' packages. Grab them from
any GNU archive site.
cd . && /bin/sh /home/ma/wrtnode/asuswrt2/asuswrt/release/src/router/ndisc6/admin/missing --run automake-1.11 --gnu
/home/ma/wrtnode/asuswrt2/asuswrt/release/src/router/ndisc6/admin/missing: line 52: automake-1.11: command not found
WARNING: `automake-1.11' is missing on your system. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/ma/wrtnode/asuswrt2/asuswrt/release/src/router/ndisc6/admin/missing --run autoconf
configure.ac:40: error: possibly undefined macro: AM_PROG_CC_C_O
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:51: error: possibly undefined macro: AM_INIT_AUTOMAKE
configure.ac:52: error: possibly undefined macro: AM_SILENT_RULES
configure.ac:61: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
configure.ac:62: error: possibly undefined macro: AM_GNU_GETTEXT
configure.ac:101: error: possibly undefined macro: AM_CONDITIONAL
Makefile:288: recipe for target 'configure' failed
make[4]: *** [configure] Error 1
update autoconf configure
$ cd /path/to/asuswrt/release/src/router/ndisc6
$ rm configure
$ aclocal
$ autoconf
then cd into src-ra-mt7620
$ export PATH=$PATH:/opt/brcm/hndtools-mipsel-linux/bin:/opt/brcm/hndtools-mipsel-uclibc/bin:/opt/asuswrt/tools/brcm/hndtools-arm-linux/bin
$ make rt-n14u
This will build the firmware for asus rt-n14u router, but u-boot is NOT included in this make.
cd /path/to/asuswrt/release/src-ra-mt7620/uboot_mt7620
cp config_14u .config
# if the toolchain path have NOT been exported previously
export PATH=$PATH:/opt/brcm/hndtools-mipsel-linux/bin:/opt/brcm/hndtools-mipsel-uclibc/bin:/opt/asuswrt/tools/brcm/hndtools-arm-linux/bin
make