OpenWrt-DIY
OpenWrt-DIY copied to clipboard
上游源码 小米 R3G R3P 命名方式改变,请代码维护人员修改。
小米R3P 上游已经修改成:CONFIG_TARGET_ramips_mt7621_DEVICE_xiaomi_mi-router-3-pro=y 我们的代码还是:CONFIG_TARGET_ramips_mt7621_DEVICE_xiaomi_mir3p=y 代码位置:OpenWrt-DIY/config/MIPS/r3p.config
同理还有:R3G CONFIG_TARGET_ramips_mt7621_DEVICE_xiaomi_mir3p=y 请修改成 CONFIG_TARGET_ramips_mt7621_DEVICE_xiaomi_mi-router-3g=y
麻烦代码维护人员修改一下。
可能是由于此错误,本项目R3P CI 只产生 kernel,我误将 openwrt-ramips-mt7621-adslr_g7-initramfs-kernel.bin
按如下命令刷入,目前 R3P 无限黄灯,不知道如何解
root@XiaoQiang:~# cd /tmp/
root@XiaoQiang:/tmp# nvram set flag_try_sys1_failed=1
root@XiaoQiang:/tmp# nvram set flag_try_sys2_failed=0
root@XiaoQiang:/tmp# nvram set flag_boot_success=0
root@XiaoQiang:/tmp# nvram commit
root@XiaoQiang:/tmp# mv openwrt-19.07.2-ramips-mt7621-xiaomi_mir3p-squashfs-factory.bin factory.bin
root@XiaoQiang:/tmp# dd if=factory.bin bs=1M count=4 | mtd write - kernel1
root@XiaoQiang:/tmp# mtd erase rootfs0
root@XiaoQiang:/tmp# mtd erase rootfs1
root@XiaoQiang:/tmp# mtd erase overlay
root@XiaoQiang:/tmp# dd if=factory.bin bs=1M skip=4 | mtd write - rootfs0
root@XiaoQiang:/tmp# reboot