找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2043|回复: 1

[k3] k3路由器spi下刷写疑惑求助,虚焊终结该帖

[复制链接]
发表于 2018-6-23 20:26 | 显示全部楼层 |阅读模式
本帖最后由 hzjnet@163.com 于 2018-12-25 09:49 编辑

1 这是我的未刷写时的分区情况备份:
dev:    size   erasesize  name
mtd0: 00080000 00020000 "boot"
mtd1: 00100000 00020000 "nvram"
mtd2: 00100000 00020000 "nvram_back"
mtd3: 00040000 00020000 "res_info"
mtd4: 00020000 00020000 "pro_info"
mtd5: 00020000 00020000 "dev_info"
mtd6: 02c00000 00020000 "linux"
mtd7: 029e1d94 00020000 "rootfs"
mtd8: 05000000 00020000 "brcmnand"

写了SPI后启动:
Device eth0:  hwaddr FD-8C-0X-67-CA-0A, ipaddr 192.168.2.1, mask 255.255.255.0
        gateway not set, nameserver not set
open 'nflash1.pro_info' error
Invalid boot block on disk
!! Could not open boot device
flash0.0: Device not found
Loader:raw Filesys:raw Dev:flash0.os File: Optionsnull)
Loading: Image compressed with unsupported method
Failed.
Could not load flash0.os:: Unsupported function

这里常见的写入cfe的命令是:
flash -noheader 192.168.2.10:mtd0.img nflash0.brcmnand
结果是:
Reading 192.168.2.10:mtd0.img: Done. 524288 bytes read
Programming...Failed.: I/O error

我认为明显不对:写入分区应该是nflash0.boot
结果是:
flash -noheader 192.168.2.10:mtd0.bin nflash0.boot
Reading 192.168.2.10:mtd0.bin: Done. 524288 bytes read
Programming...done. 524288 bytes written

但是继续写固件还是上面的错误提示
而flash -noheader 192.168.2.10:mtd0.img nflash1.boot   
Reading 192.168.2.10:mtd0.img: Done. 524288 bytes read
Programming...done. 524288 bytes written
这个正常

CFE> flash -noheader 192.168.2.10:mtd0.img nflash2.boot  
Reading 192.168.2.10:mtd0.img: Done. 524288 bytes read
Programming...done. 524288 bytes written
CFE> flash -noheader 192.168.2.10:mtd0.img nflash3.boot
Reading 192.168.2.10:mtd0.img: Done. 524288 bytes read
Programming...done. 524288 bytes written

这是啥情况喃?  

2 请教如何看机器有几个可写固件的硬件喃? 哪个是SPI 哪个又是NAND?  空间大小又如何查看 ?其分区又如何查看喃?  
3 再请教如何重写整个分区表?  而不是完整的分区



我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2018-7-4 07:48 | 显示全部楼层
本帖最后由 hzjnet@163.com 于 2018-12-25 09:49 编辑

自顶:1是硬件没焊接好 未找到NAND nflash0是NAND  终结该帖
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-25 19:18

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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