- 论坛徽章:
- 0
|
我们用的是s3c2416的核心板,自己做的底板,SD卡的U-Boot移植成功,
现在出现两个问题,第一个是:
SD启动在U-Boot中敲入 nand scrub 出现这样的信息:
SAM2416EDK # nand scrub
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>
Erasing at 0x31e0000 -- 39% complete.
NAND 128MiB 3,3V 8-bit: MTD Erase failure: -5
Erasing at 0x35c0000 -- 42% complete.
NAND 128MiB 3,3V 8-bit: MTD Erase failure: -5
Erasing at 0x5fe0000 -- 75% complete.
NAND 128MiB 3,3V 8-bit: MTD Erase failure: -5
Erasing at 0x7fe0000 -- 100% complete.
Scanning device for bad blocks
s3c-nand: ECC uncorrectable error detected
s3c-nand: ECC uncorrectable error detected
s3c-nand: ECC uncorrectable error detected
s3c-nand: ECC uncorrectable error detected
s3c-nand: ECC uncorrectable error detected
s3c-nand: ECC uncorrectable error detected
OK
第二个问题是,从Nand启动进不了U-Boot,循打印这样的信息:
U-Boot 1.3.4 (Mar 24 2010 - 09:54:0 for SMDK2416
CPU: S3C2416@400MHz
Fclk = 800MHz, Hclk = 133MHz, Pclk = 66MHz
Board: SMDK2416 DDR2
DRAM: 64 MB
Flash: 1 MB
NAND: data abort
pc : [<c3e15314>] lr : [<c3e3464c>]
sp : c3ffff5c ip : e58de000 fp : 00000000
r10: 000008c8 r9 : 00000000 r8 : c3ebffdc
r7 : 24564236 r6 : 00000000 r5 : c3e38ab8 r4 : c3e38b6c
r3 : e24dd704 r2 : e24dce3c r1 : 0000005b r0 : e58de000
Flags: nzCv IRQs off FIQs off Mode SVC_32
Resetting CPU ...
reset...
搞了三天了,还没找到原因,希望各位帮帮忙. |
|