树莓派3B+编译openwrt

树莓派3B+编译openwrt

make dirclean

此操作会删除/bin和/build_dir目录的中的文件(make clean)以及/staging_dir、/toolchain、/tmp和/logs中的文件。

rm -rf tmp

rm -f .config #最好重新配置

make menuconfig

make download -j8 V=s

make -j$(nproc) || make -j1 || make -j1 V=s

trojan-plus如果有gsl编译错误一般是因为git clone出错,多试几次即可

编译成功后bin/targets下会有factory和sysupgrade两个gz文件,factory用于刷新机器,sysupgrade用于更新openwrt。

最好用SDCardFormatterv5,其它工具经常会导致烧录校验失败

使用etcher

红色电源灯看着不舒服可以关掉

点击「系统 -> LED 配置」,使用两个配置。

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
配置 1
软件:led0
LED 名称:led0
默认状态:不打勾
触发器:无

配置 2
软件:led1
LED 名称:led1
默认状态:不打勾
触发器:无