找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 3597|回复: 7

[PRO(R3P)] R3P使用pb-boot直刷openwrt

[复制链接]
发表于 2022-5-9 12:34 | 显示全部楼层 |阅读模式
争对xiaomi_mi-router-3-pro优化刷机体验,使用pb-boot直刷openwrt,免除设置Breed环境变量等
原理:
都知道小米R3P路由有两个内核分区kernel1及kernel2
pb-boot只能从kernel1启动
Breed环境变量默认从kernel1启动,但是不能进行后台WEB升级,升级只覆盖kernel2,设置xiaomi.r3g.bootfw=2可以从kernel2启动,但是测试发现Breed引导重启很多次才能成功,不知道什么原因,于是自行编译能让pb-boot只能从kernel1启动固件,进行分区编辑,
文件:
/openwrt/target/linux/ramips/dts/mt7621_xiaomi_mi-router-3-pro.dts
/openwrt/target/linux/ramips/image/mt7621.mk
仅保留kernel1分区启动
有能力的可以自行修改代码进行自定义编辑后编译,我只是按自己的思路进行测试,目前没有问题
刷机文件也在[color=var(--color-accent-fg)]github
刷机方法一:
1、刷机步骤(自行刷入PB-BOOT,小白误折腾)pb-boot-xiaomi_r3p-20190317-61b6d33.img
2、PB-BOOTIP地址192.168.1.1
3、刷入192.168.123.1-PB-BOOT底包openwrt-ramips-mt7621-xiaomi_mi-router-3-pro-initramfs-kernel.bin
IP地址192.168.123.1
后台用户名、密码:root、password(OPENWRT默认)
4、后台WEB升级openwrt-ramips-mt7621-xiaomi_mi-router-3-pro-squashfs-sysupgrade.bin
IP地址192.168.123.1
后台用户名、密码:root、password(OPENWRT默认)
刷机方法二:
1、刷机步骤(自行刷入PB-BOOT,小白误折腾)pb-boot-xiaomi_r3p-20190317-61b6d33.img
2、PB-BOOT,IP地址192.168.1.1
3、直接刷入PB-BOOT-factory.bin,无需再进后台进行squashfs-sysupgrade.bin更新
openwrt-ramips-mt7621-xiaomi_mi-router-3-pro-squashfs-PB-BOOT-factory.bin
IP地址192.168.123.1
后台用户名、密码:root、password(OPENWRT默认)

我的恩山、我的无线 The best wifi forum is right here.
发表于 2022-5-9 18:44 | 显示全部楼层
你好,开启不了ssh能刷吗?

点评

不用开启SSH,直接在PB-BOOT里面刷  详情 回复 发表于 2022-5-11 00:56
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-5-10 09:07 | 显示全部楼层
openwrt-ramips-mt7621-xiaomi_mi-router-3-pro-squashfs-PB-BOOT-factory.bin 这个文件在哪里下?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2022-5-11 00:55 | 显示全部楼层
andyxie5585 发表于 2022-5-10 09:07
openwrt-ramips-mt7621-xiaomi_mi-router-3-pro-squashfs-PB-BOOT-factory.bin 这个文件在哪里下?

https://github.com/zikexiaozi/OPENWRT-LEDE-ACTIONS/     Releases里面
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2022-5-11 00:56 | 显示全部楼层
panjin 发表于 2022-5-9 18:44
你好,开启不了ssh能刷吗?

不用开启SSH,直接在PB-BOOT里面刷
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-8-7 21:42 | 显示全部楼层
刷了一直黄灯,192.168.123.1联网线也登陆不了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2023-6-21 17:43 | 显示全部楼层
解决了大问题:刷入192.168.123.1-PB-BOOT底包openwrt-ramips-mt7621-xiaomi_mi-router-3-pro-initramfs-kernel.bin
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2024-1-23 00:57 | 显示全部楼层
按照方法1刷了很多次,每次刷完openwrt-ramips-mt7621-xiaomi_mi-router-3-pro-squashfs-sysupgrade.bin,又回到PB页面,文件用的是别人提供的,应该纠正哪个步骤
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-3-29 18:47

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表