Skip to content

SWRT-dev/rtax89x

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

注意:

  1. 要用 root 用户 git 和编译!!!
  2. 国内用户编译前最好准备好梯子

编译

  1. 首先装好 Ubuntu 64bit,推荐 Ubuntu 18 LTS x64 / Mint 19.1

  2. 命令行输入 sudo apt-get update ,然后输入 sudo 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

  3. 使用 git clone https://github.com/SWRT-dev/rtax89x 命令下载好源代码

  4. 使用 git clone https://github.com/SWRT-dev/qca-toolchains 命令下载toolchains

  5. 分别执行 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

  6. 然后 cd ../rtax89x/release/src-qca-ipq806x 进入目录

  7. 输入 make rt-ax89u 即可开始编译你要的固件了。

  8. 编译完成后输出固件路径:rtax89x/release/src-qca-ipq806x/image

Donate

如果你觉得此项目对你有帮助,请捐助我们,以使项目能持续发展,更加完善。

PayPal

Support via PayPal

Alipay 支付宝

alipay

Wechat 微信

wechat