embedfire_doornet1
embedfire_doornet2
embedfire_lubancat1
embedfire_lubancat1n
embedfire_lubancat2
embedfire_lubancat2n
friendlyarm_nanopi-r2c
friendlyarm_nanopi-r2s
friendlyarm_nanopi-r4s
friendlyarm_nanopi-r4se
friendlyarm_nanopi-r5s
friendlyarm_nanopi-r5c
firefly_station-p2 停止支持,已移除
hinlink_opc-h68k
hinlink_opc-h66k
hinlink_opc-h69k
-
NOT compile with root user! ! !
-
Domestic users had better prepare a ladder before compiling
-
Default login IP 192.168.1.1 password password
-
If you need wireless, please use the 5.4 kernel, and the 5.15 kernel opens the wireless conference card kernel. It is recommended not to enable wireless when compiling 5.15
-
Install compilation dependencies
sudo apt update -y sudo apt install -y ack antlr3 asciidoc autoconf automake autopoint binutils bison build-essential \ bzip2 ccache cmake cpio curl device-tree-compiler fastjar flex gawk gettext gcc-multilib g++-multilib \ git gperf haveged help2man intltool libc6-dev-i386 libelf-dev libglib2.0-dev libgmp3-dev libltdl-dev vpnc \ libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libreadline-dev libssl-dev libtool lrzsz aria2 lib32gcc-s1 \ mkisofs msmtp nano ninja-build p7zip p7zip-full patch pkgconf python2.7 python3 python3-pip libpython3-dev qemu-utils \ rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev libfuse-dev
-
Download source code, update feeds and choose configuration
git clone https://github.com/DHDAXCW/lede-rockchip cd lede-rockchip ./scripts/feeds update -a ./scripts/feeds install -a make menuconfig
-
make -j8 download V=s
download dl library -
Enter
make -j10 V=s
(-j1 is followed by the number of threads. It is recommended to use single thread for the first compilation) to start compiling the firmware you want.
This set of code is guaranteed to compile successfully. It includes all source codes of R21, including IPK.
Second compilation:
cd lede
git pull
./scripts/feeds update -a && ./scripts/feeds install -a
make defconfig
make -j8 download
make -j$(($(nproc) + 1)) V=s
If reconfiguration is required:
rm -rf ./tmp && rm -rf .config
make menuconfig
make -j$(($(nproc) + 1)) V=s
-
Output path after compilation is complete:bin/targets
-
from upstream source code https://github.com/coolsnowwolf/lede