|
本帖最后由 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 |
|