- 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 update
in 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/acrh17-asuswrt
to download source code -
Enter
git clone https://github.com/SWRT-dev/qca-toolchains
to download toolchains -
Enter the following commands step by step
cd qca-toolchains
sudo mkdir -p /opt/toolchains/
sudo ln -sf $(pwd)/openwrt-gcc463.arm /opt/toolchains/
chsh -s /bin/bash
sudo ln -sf /bin/bash /bin/sh
-
Then enter
cd ../acrh17-asuswrt/release/src-qca-dakota
to enter folder -
Enter
make rt-acrh17
to start compiling the firmware -
The firmware is in acrh17-asuswrt/release/src-qca-dakota/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.