本篇是基于lede编译openwrt-r2s软路由固件的续篇
- 前置条件
- 配置和编译
make menuconfig(配置见下图)
编译(首次时间约为4h,单线程,8线程30min),需要80G硬盘空间
make -j8 download V=s make -j15 V=s
- 测试
编译成功,烧录后测试成功。
最终的固件在/lede/bin/target中。
在PVE中创建虚拟机并安装openwrt的固件,详细见此。
生成固件格式:openwrt-bcm27xx-bcm2711-rpi-4-squashfs-sysupgrade.img
刷机工具:SD Card Formatter+balenaEtcher,详见常见的刷机工具
补充说明:
1)github action的编译时间2h,测试成功
参考资料
- https://github.com/SuLingGG/OpenWrt-Rpi/tree/main/config/bcm27xx