天嵌 ARM开发社区

 找回密码
 注册
查看: 3721|回复: 9

请楼主帮忙啊,从NAND启动,出现下面错误信息,不能启动了。

[复制链接]
wudonglin 发表于 2011-3-28 12:21:44 | 显示全部楼层 |阅读模式
本帖最后由 wudonglin 于 2011-3-28 12:40 编辑

现在从SD卡启动可以,但是从NAnd启动,就会出现这些错误信息,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
s3c-nand: 1 bit error detected at byte 493, correcting from 0x6a to 0x4a...OK
s3c-nand: ECC uncorrectable error detected
s3c-nand: 1 bit error detected at byte 1460, correcting from 0x01 to 0x81...OK
s3c-nand: ECC uncorrectable error detected
s3c-nand: ECC uncorrectable error detected
s3c-nand: ECC uncorrectable error detected
s3c-nand: ECC uncorrectable error detected


我用u-boot的命令9去格式化nandflash,并且重新烧写了u-boot,内核和文件系统。可是从nand启动后,还是出现上面的错误信息,请楼主帮忙解决啊。。
 楼主| wudonglin 发表于 2011-3-28 12:36:46 | 显示全部楼层
请楼主帮忙,谢谢。。很着急
 楼主| wudonglin 发表于 2011-3-28 12:39:35 | 显示全部楼层
命令9擦除,好像也有问题,如下所示:
Enter your selection: 9

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 0xcc0000 --   5% complete.
NAND 256MiB 3,3V 8-bit: MTD Erase failure: -5
Erasing at 0x1460000 --   8% complete.
NAND 256MiB 3,3V 8-bit: MTD Erase failure: -5
Erasing at 0x4cc0000 --  30% complete.
NAND 256MiB 3,3V 8-bit: MTD Erase failure: -5
Erasing at 0xffe0000 -- 100% complete.
Scanning device for bad blocks
OK
shufexiu 发表于 2011-3-28 14:04:25 | 显示全部楼层
uboot启动了ECC校验,把它关闭了,
或者这个人的Q 1526107786,给你新的uboot
天嵌_support1 发表于 2011-3-28 14:08:17 | 显示全部楼层
在uboot源码中,
include/configs/tq6410.h  注释这一行

#define CFG_NAND_HWECC ,也就是让其变为
//#define CFG_NAND_HWECC
然后再编译uboot,烧写新的镜像就可以
 楼主| wudonglin 发表于 2011-4-3 22:31:16 | 显示全部楼层
5# embedsky_lxt
请问楼主,6410上的u-boot编译的命令是什么, make之前不是还要make一下 配置吗,这个配置文件是什么?
 楼主| wudonglin 发表于 2011-4-3 22:34:38 | 显示全部楼层
5# embedsky_lxt
Erasing at 0xcc0000 --   5% complete.
NAND 256MiB 3,3V 8-bit: MTD Erase failure: -5
Erasing at 0x1460000 --   8% complete.
NAND 256MiB 3,3V 8-bit: MTD Erase failure: -5
这两条语句的意思是什么?是Nand 有问题吗?
shufexiu 发表于 2011-4-4 21:47:34 | 显示全部楼层
uboot在make之前自然需要make 配置项一下的
对于6410
make tq6410_config
make
 楼主| wudonglin 发表于 2011-4-6 15:20:37 | 显示全部楼层
8# shufexiu


问题是,我没有找到这个tq6410_config,它在u-boot的什么地方呢?
天嵌_support1 发表于 2011-4-6 17:30:52 | 显示全部楼层
打开Makefile 就会看到的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-10-5 14:19 , Processed in 1.013607 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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