天嵌 ARM开发社区

 找回密码
 注册
查看: 4411|回复: 7

nand flash这么多坏块正常不

[复制链接]
mobilefzb 发表于 2011-8-16 23:03:37 | 显示全部楼层 |阅读模式
Scanning device for bad blocks
Bad eraseblock 11 at 0x000000160000
Bad eraseblock 12 at 0x000000180000
Bad eraseblock 13 at 0x0000001a0000
Bad eraseblock 14 at 0x0000001c0000
Bad eraseblock 15 at 0x0000001e0000
Bad eraseblock 16 at 0x000000200000
Bad eraseblock 17 at 0x000000220000
Bad eraseblock 18 at 0x000000240000
Bad eraseblock 19 at 0x000000260000
Bad eraseblock 20 at 0x000000280000
Bad eraseblock 21 at 0x0000002a0000
Bad eraseblock 22 at 0x0000002c0000
Bad eraseblock 23 at 0x0000002e0000
Bad eraseblock 24 at 0x000000300000
Bad eraseblock 25 at 0x000000320000
Bad eraseblock 26 at 0x000000340000
Bad eraseblock 27 at 0x000000360000
Bad eraseblock 28 at 0x000000380000
Bad eraseblock 29 at 0x0000003a0000
Bad eraseblock 30 at 0x0000003c0000
Bad eraseblock 31 at 0x0000003e0000
Bad eraseblock 32 at 0x000000400000
Bad eraseblock 33 at 0x000000420000
Bad eraseblock 34 at 0x000000440000
Bad eraseblock 35 at 0x000000460000
Bad eraseblock 36 at 0x000000480000
Bad eraseblock 37 at 0x0000004a0000
Bad eraseblock 38 at 0x0000004c0000
Bad eraseblock 39 at 0x0000004e0000
Bad eraseblock 40 at 0x000000500000
Bad eraseblock 41 at 0x000000520000
Bad eraseblock 42 at 0x000000540000
Bad eraseblock 43 at 0x000000560000
Bad eraseblock 44 at 0x000000580000
Bad eraseblock 45 at 0x0000005a0000
Bad eraseblock 46 at 0x0000005c0000
Bad eraseblock 47 at 0x0000005e0000
Bad eraseblock 48 at 0x000000600000
Bad eraseblock 49 at 0x000000620000
Bad eraseblock 50 at 0x000000640000
Bad eraseblock 51 at 0x000000660000
Bad eraseblock 52 at 0x000000680000
Bad eraseblock 53 at 0x0000006a0000
Bad eraseblock 54 at 0x0000006c0000
Bad eraseblock 55 at 0x0000006e0000
Bad eraseblock 56 at 0x000000700000
Bad eraseblock 57 at 0x000000720000
Bad eraseblock 58 at 0x000000740000
Bad eraseblock 59 at 0x000000760000
Bad eraseblock 60 at 0x000000780000
Bad eraseblock 61 at 0x0000007a0000
Bad eraseblock 62 at 0x0000007c0000
Bad eraseblock 63 at 0x0000007e0000
Bad eraseblock 63 at 0x0000007e0000
 楼主| mobilefzb 发表于 2011-8-16 23:08:17 | 显示全部楼层
就不去客户专区问了,反正都用了很久了。这移植linux内核jffs2系统加上去后,它检查了半天然后就告诉我有这么多坏块……
自己做的linux的nand flash应该支持完好吧
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c24xx-nand s3c2440-nand: Tacls=2, 20ns Twrph0=6 60ns, Twrph1=2 20ns
s3c24xx-nand s3c2440-nand: NAND hardware ECC
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bi
t)

Creating 3 MTD partitions on "NAND":
0x000000000000-0x000000800000 : "kernel & busybox"
0x000000800000-0x000002800000 : "basic runtime filesystem componet"
0x000002800000-0x000010000000 : "user space"
s3c24xx-nand s3c2440-nand: clock idle support enabled

VFS: Mounted root (jffs2 filesystem) on device 31:0.
Freeing init memory: 128K
raominping 发表于 2011-11-28 17:42:54 | 显示全部楼层
我的也是,移植yaffs2文件系统后 ,就一堆的坏块。我在考虑要不要格式化掉。
TQ-lkp 发表于 2011-11-29 11:09:21 | 显示全部楼层
坏块是正常的现象,格式化一遍就可以了
chana0322 发表于 2011-12-18 08:46:51 | 显示全部楼层
TQ-lkp 发表于 2011-11-29 11:09
坏块是正常的现象,格式化一遍就可以了

有时候用U-BOOT格式化了,还是有坏块怎么办,虽然把winCE和Linux烧写进去能正常用?
TQ-lkp 发表于 2011-12-18 09:35:35 | 显示全部楼层
chana0322 发表于 2011-12-18 08:46
有时候用U-BOOT格式化了,还是有坏块怎么办,虽然把winCE和Linux烧写进去能正常用?

可以的,不影响使用
亚瑟王 发表于 2011-12-19 14:31:20 | 显示全部楼层
亲,少量的坏块是正常的,这个和Nand的结构有关系。无不影响使用的。
但是像你贴出来的那个那么多坏块肯定是假坏块。用u-boot的命令9彻底格式化一次就可以解决了。
chana0322 发表于 2011-12-21 23:34:08 | 显示全部楼层
TQ-lkp 发表于 2011-12-18 09:35
可以的,不影响使用

谢谢。明白了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-5-9 11:56 , Processed in 1.046882 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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