- DO NOT USE root user for git or compilation!!!
- if you are in china, you need a network proxy
-
Install Ubuntu 64bit,recommend Ubuntu 18 LTS x64 / Mint 19.1
-
Enter
sudo apt-get updatein terminal, then entersudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3.5 python2.7 unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler g++-multilib antlr3 gperf wget libncurses5:i386 libelf1:i386 lib32z1 lib32stdc++6 gtk-doc-tools intltool binutils-dev cmake lzma liblzma-dev lzma-dev uuid-dev liblzo2-dev xsltproc dos2unix libstdc++5 docbook-xsl-* sharutils autogen shtool gengetopt libltdl-dev libtool-bin -
Enter
git clone https://github.com/SWRT-dev/rtax89xto download source code -
Enter
git clone https://github.com/SWRT-dev/qca-toolchainsto download toolchains -
Enter the following commands step by step
cd qca-toolchainssudo mkdir -p /opt/toolchains/sudo ln -sf $(pwd)/openwrt-gcc463.arm /opt/toolchains/chsh -s /bin/bashsudo ln -sf /bin/bash /bin/sh -
Then enter
cd ../rtax89x/release/src-qca-ipq806xto enter folder -
Enter
make rt-ax89uto start compiling the firmware -
The firmware is in rtax89x/release/src-qca-ipq806x/image
If you think this project is helpful to you, please donate to us so that the project can continue to develop and become more complete.

