找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2875|回复: 13

京东云鲁班刷错breed后面向互联网的救回

[复制链接]
本帖最后由 yangjiemong2 于 2023-2-23 10:47 编辑

(感谢大家的无私分享。头次发帖,相当于个人记录,之后慢慢编辑,见谅)



1. 刷错 breed ,breed可进入,但flash无法识别(主要是自己粗心无知。编程器已下单已有摆烂的决心。最终还没到货,此情况无需编程器已救回正常使用,仅供参考)

2. 面向互联网查找资料发现帖子

        鲁班R2010 开通shh 刷uboot openwrt padavan 救砖编程器固件
        https://www.right.com.cn/forum/thread-8276473-1-1.html

        自己编译鲁班OPENWRT,20221106更新,breed可启动
        https://www.right.com.cn/forum/thread-8261026-1-1.html

        【WIFI6】锐捷EW1800XG AX1800折腾日记(固件-padavan-4.4)
        https://www.right.com.cn/forum/thread-8222521-1-1.html

        Breed 命令控制台说明  4楼
        https://www.right.com.cn/forum/thread-161906-1-1.html

        使用 HFS 上传文件 3楼
        https://www.right.com.cn/forum/thread-154561-1-1.html

3. 进行试错(核心思想是,breed正常进入情况下通过 boot mem 从内存地址启动固件,再通过op固件实现Bootloader刷写)

救回流程:

启动路由查看192.168.1.1是否进入breed

准备工具:HFS

使用 openwrt-ramips-mt7621-jdcloud_luban-initramfs-kernel (目前U-boot被锁)

telnet 192.168.1.1

breed> wget http://192.168.1.2/openwrt-ramip ... nitramfs-kernel.bin
Connecting to 192.168.1.2:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9986650/0x98625a (9MB) [application/octet-stream]
Saving to address 0x80001000

[========================================================================] 100%

Transmission completed in 3.5s.

breed> boot mem 0x80001000
Trying to boot firmware from 0x80001000 ...
U-Boot firmware image header detected.
    Image Name:   MIPS OpenWrt Linux-5.4.203
    Data Size:    9986586 Bytes
    Load Address: 80001000
    Entry Point:  80001000
Flushing cache ...

遗失对主机的连接。

修改 控制面板 -- 所有控制面板项 -- 网络连接 -- 网口属性 -- IPV4 -- 设置网关 192.168.68.1 ip192.168.68.2


浏览器打开 openwrt  地址192.168.68.1    root password

winscp  /tmp/u-boot-mt7621-68.bin

ssh 192.168.68.1 可看到分区被锁

root@OpenWrt:/tmp# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00040000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00040000 00010000 "factory"
mtd3: 00f70000 00010000 "firmware"
mtd4: 0026f93b 00010000 "kernel"
mtd5: 00d006c5 00010000 "rootfs"
mtd6: 005a0000 00010000 "rootfs_data"
root@OpenWrt:/tmp# mtd -r write /tmp/u-boot-mt7621-68.bin u-boot
Could not open mtd device: u-boot
Can't open device for writing!
root@OpenWrt:/tmp# dmesg|grep spi
[    9.641198] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[    9.647732] spi-nor spi0.0: XM25QH128C (16384 Kbytes)
[    9.652821] 4 fixed-partitions partitions found on MTD device spi0.0
[    9.659371] Creating 4 MTD partitions on "spi0.0":
root@OpenWrt:/tmp# mtd -r write /tmp/u-boot-mt7621-68.bin /dev/mtd0
Could not open mtd device: /dev/mtd0


openwet 解锁分区需要软件 kmod-mtd-rw,整理后修改命令执行:

insmod mtd-rw i_want_a_brick=1  

mtd unlock /dev/mtd0

mtd -r write /tmp/u-boot-mt7621-68.bin /dev/mtd0

之后拔电按住joy按键不放上电,看到网络显示连接后松开,浏览器打开192.168.68.1,进入uboot 可以刷适配固件

刷原厂固件JDCOS-JDC03-3.1.1.r1911.img  则恢复官方系统

评分

参与人数 1恩山币 +1 收起 理由
花落*** + 1 你好,久仰卧龙大名,在下凤雏!

查看全部评分

我的恩山、我的无线 The best wifi forum is right here.
嗯嗯嗯?没看懂,是要救砖吗?编程器
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

高版本现在也能刷了吗?

点评

请参考:https://www.right.com.cn/forum/thread-8276473-1-1.html  详情 回复 发表于 2023-2-23 12:10
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层

点评

感谢热心坛友  发表于 2023-2-24 10:20
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

鲁班刷了Breed,Mac地址会出错?

点评

刷之前备份了分区,救回之后Mac地址也未错  详情 回复 发表于 2023-2-24 09:34
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
fengma 发表于 2023-2-23 19:31
鲁班刷了Breed,Mac地址会出错?

刷之前备份了分区,救回之后Mac地址也未错

点评

刷了Breed,Mac地址是会错乱吧?  详情 回复 发表于 2023-2-24 19:00
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

本帖最后由 fengma 于 2023-2-24 19:03 编辑
yangjiemong2 发表于 2023-2-24 09:34
刷之前备份了分区,救回之后Mac地址也未错

1、刷了Breed,Mac地址是会错乱吧?2、如何恢复未刷Breed的呢?在Breed里面恢复factory.bin?
感谢答复!

点评

1. 不会(至少我操作没乱) 2. 使用编程器刷官方固件  详情 回复 发表于 2023-2-27 20:21
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
fengma 发表于 2023-2-24 19:00
1、刷了Breed,Mac地址是会错乱吧?2、如何恢复未刷Breed的呢?在Breed里面恢复factory.bin?
感谢答复 ...

1. 不会(至少我操作没乱)
2. 使用编程器刷官方固件
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

根据教程已救回,非常感谢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
马克一下,以防不时之需
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

鲁班能不能换个16脚的32M,一代的breed能不能用?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

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

GMT+8, 2024-4-29 18:28

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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