Router Testing Code
Brought to you by:
lightsword
| File | Date | Author | Commit |
|---|---|---|---|
| buildtools | 2013-11-04 |
|
[65f2e4] asuswrt initial 11/01 source |
| release | 2013-11-04 |
|
[65f2e4] asuswrt initial 11/01 source |
| tools | 2013-11-04 |
|
[65f2e4] asuswrt initial 11/01 source |
| .gitignore | 2013-11-04 |
|
[65f2e4] asuswrt initial 11/01 source |
| .gpl_excludes | 2013-11-04 |
|
[65f2e4] asuswrt initial 11/01 source |
| License | 2013-11-04 |
|
[65f2e4] asuswrt initial 11/01 source |
| README.TXT | 2013-11-04 |
|
[65f2e4] asuswrt initial 11/01 source |
| README.md | 2013-11-04 |
|
[d9480e] asuswrt initial 11/01 source |
| README.md~ | 2013-11-04 |
|
[65f2e4] asuswrt initial 11/01 source |
| rm_noneed.sh | 2013-11-04 |
|
[65f2e4] asuswrt initial 11/01 source |
The GPL source is created for ASUS wireless router related products. Please visit the ASUS support site (http://support.asus.com) to get the latest GPL tarball.It has a lot in common with many wireless router open source projects, including Oleg/Tomato/DD-WRT/OpenWRT. Thanks the developers of those projects for making the source code available.
Set Up Environment(Tested in Fedora 8/9 and Ubuntu)
1. prepare environment
a. Ubuntu
Install these packages (I used synaptic: "sudo synaptic")
libncurses5
libncurses5-dev
m4
bison
gawk
flex
libstdc++6-4.4-dev
g++-4.4
g++
git
gitk
zlib1g-dev
autoconf
autopoint
libtool
shtool
autogen
b. Fedora
sudo yum groupinstall "Development Tools"
sudo yum install libxml2-devel mtd-utils-ubi ncurses-devel zlib-devel
If you are using Fedora x86_64, you may need to install 32-bit packages listed below.
glibc.i686
libstdc++.i686
zlib.i686
2. prepare source to, ex, $HOME/asuswrt
cd $HOME
tar xvfz [tar file]
3. setup development system
ln -s $HOME/asuswrt/tools/brcm /opt/brcm
export PATH=$PATH:/opt/brcm/hndtools-mipsel-linux/bin:/opt/brcm/hndtools-mipsel-uclibc/bin
ln -s $HOME/asuswrt/tools/buildroot-gcc342 /opt/buildroot-gcc342
Note: Broadcom/Ralink platform use the same toolchain for user space program, so please set PATH to the same directory as above
4. build firmware.
a. rt-n16
cd release/src-rt
make rt-n16
b. rt-n56u
cd release/src-ra
make rt-n56u
c. rt-n65u
cd release/src-ra-3.0
make rt-n65u
d. rt-n14u
cd release/src-ra-mt7620
make rt-n14u