天嵌 ARM开发社区

 找回密码
 注册
查看: 2170|回复: 2

请问亚瑟王

[复制链接]
markwwx 发表于 2010-1-20 02:37:09 | 显示全部楼层 |阅读模式
本帖最后由 markwwx 于 2010-1-20 02:56 编辑

请问亚瑟王,从nand flash 启动linux 内核时打印出下面一段信息,请问nand flash是否有坏区????
...
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2440-nand s3c2440-nand: Tacls=2, 20ns Twrph0=3 30ns, Twrph1=2 20ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bi
t)
Scanning device for bad blocks
Bad eraseblock 339 at 0x02a60000
Bad eraseblock 1252 at 0x09c80000

usbmon: debugfs is not available
...


还有,就是当格式化nand flash 时选用第一个选项,结果提示是:
[1] Nand scrub - really clean NAND erasing bad blocks (UNSAFE)
[2] Nand earse - clean NAND eraseing
[q] Return main Menu
Enter your selection: 1

NAND scrub: device 0 whole chip
Warning: scrub option will erase all factory set bad blocks!
         There is no reliable way to recover them.
         Use this command only for testing purposes if you
         are sure of what you are doing!

Really scrub this NAND flash? <y/N> : y
Erasing at 0x28e0000 --  16% complete.
NAND 256MiB 3,3V 8-bit: MTD Erase failure: -5
Erasing at 0x9c20000 --  61% complete.
NAND 256MiB 3,3V 8-bit: MTD Erase failure: -5

Erasing at 0xffe0000 -- 100% complete.
OK
亚瑟王 发表于 2010-1-20 11:20:57 | 显示全部楼层
红色部分就是坏块啊,在Nand Flash中有坏块是很正常的,从三星出货的Nand Flash都没法避免啊。
回复

使用道具 举报

 楼主| markwwx 发表于 2010-1-20 13:29:27 | 显示全部楼层
2# 亚瑟王

明白,谢谢。
回复

使用道具 举报

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

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2025-8-3 16:17 , Processed in 2.032370 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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