背景

一台网件R6220刷openwrt固件后,又乱刷了一个固件导致变砖,无法启动。具体症状开机只亮电源灯和对应的网口灯,无法进入系统。

准备工作

下载需要用到的工具和镜像:
1、下载nmrpflash.exe,并解压至D:/R6220;
2、下载R6220官方镜像包R6220_V1.1.0.110.img,并复制到D:/R6220;

打开CMD

1、以管理员身份运行CMD:
方法一:打开目录C:WindowsSystem32,然后搜索cmd.exe,右键以管理员身份运行CMD;
方法二:快捷键win+x,打开以管理员身份运行CMD;

2、切换运行目录

Microsoft Windows [版本 10.0.19044.2728]
(c) Microsoft Corporation。保留所有权利。

C:\Windows\system32>d:

D:\>cd R6220

D:\R6220>dir
 驱动器 D 中的卷是 本地磁盘
 卷的序列号是 7048-9BCC

 D:\R6220 的目录

2023-04-04  11:51    <DIR>          .
2023-04-04  11:51    <DIR>          ..
2023-04-04  10:51            59,878 nmrpflash-0.9.19-win32.zip
2021-11-09  09:02            37,888 nmrpflash.exe
2023-04-04  10:53         1,154,312 npcap-1.73.exe
2021-11-09  09:06        26,674,408 R6220_V1.1.0.110.img
               4 个文件     27,926,486 字节
               2 个目录 32,351,264,768 可用字节

D:\R6220>

3、网件R6220的LAN1口和笔记本的网口连接;

4、确认笔记本的网口编号,确定笔记本的网卡为net3

D:\R6220>nmrpflash.exe -L
net0   0.0.0.0          04:d3:b0:ee:ad:ef  (Microsoft)
net1   0.0.0.0          04:d3:b0:ee:ad:f0  (Microsoft)
net2   0.0.0.0          00:ff:7a:91:4b:5d  (TAP-Windows Adapter V9)
net3   192.168.0.238    f4:39:09:dd:aa:6b  (Realtek PCIe GbE Family Controller)
net4   0.0.0.0          06:d3:b0:ee:ad:ef  (Microsoft)
net5   0.0.0.0          04:d3:b0:ee:ad:f3  (Microsoft)

5、运行刷机指令:nmrpflash.exe -i net3 -f R6220_V1.1.0.110.img,运行指令后将网件R6220重启,重启时长按RESET。

请注意笔记本的IP地址设置,如何判断我们笔记本应该设置什么地址。请运行一次刷机指令,等待nmrpflash发出的Sending configuration: 10.164.183.252, netmask 255.255.255.0,请根据自己的指令显示的地址,配置笔记本IP地址为同段地址后,重新运行刷机指令,并重启网件。

IP地址

设置笔记本的IP地址为10.164.183.25,子网掩码为255.255.255.0,并运行刷机指令,重启路由器(按RESET),等待提示完成。

D:\R6220>nmrpflash.exe -i net3 -f  R6220_V1.1.0.110.img
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
Advertising NMRP server on net3 ... \FATAL Bad Memory Block.
Advertising NMRP server on net3 ... |FATAL Bad Memory Block.
Advertising NMRP server on net3 ... /FATAL Bad Memory Block.
Advertising NMRP server on net3 ... -FATAL Bad Memory Block.
    
Received configuration request from dc:ef:09:15:69:d0.
Sending configuration: 10.164.183.252, netmask 255.255.255.0.
FATAL Bad Memory Block.
Received upload request with empty filename.
Uploading R6220_V1.1.0.110.img ... OK
Waiting for remote to respond.
FATAL Bad Memory Block.
Timeout while waiting for 0000.

当出现 Uploading R6220_V1.1.0.110.img ... OK时,表示固件已将上传成功,重启路由器,WAN口连接互联网,等待系统运行完成,预计需要5分钟。

6、后续设置
设置笔记本网卡为自动获取IP地址,如果看正常获取路由器的IP地址则表示刷机成功。此时路由器的状态灯(电源、网络、WIFI、TOUCH)正常。访问http://192.168.1.1进行初始化设置路由器

初始化设置

参考网址:
http://www.upantool.com/hfxf/qt/10462.html
https://github.com/jclehner/nmrpflash
https://www.right.com.cn/FORUM/thread-258332-1-1.html



最后修改:2023 年 04 月 27 日
如果觉得我的文章对你有用,请随意赞赏