Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

上游源码 小米 R3G R3P 命名方式改变,请代码维护人员修改。 #134

Open
wgjwillis opened this issue Sep 8, 2021 · 1 comment

Comments

@wgjwillis
Copy link

wgjwillis commented Sep 8, 2021

小米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

麻烦代码维护人员修改一下。

@miyouzi
Copy link

miyouzi commented Sep 30, 2021

可能是由于此错误,本项目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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants