QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2078|回复: 1

U-BOOT启动内核中出现的问题

[复制链接]
发表于 2007-2-4 11:40:57 | 显示全部楼层 |阅读模式
U-BOOT终于可以启动了,可又出现另外一问题:
在内核中总是冒出:Reading data from NAND FLASH without ECC is not recommended(为了让u-boot从NAND flash启动,我在内核中加入了语句:chip->eccmode=NAND_ECC_NONE)

启动过程如下:
..........................
...........................
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
Reading data from NAND FLASH without ECC is not recommended
VFS: Mounted root (cramfs filesystem) readonly.
Mounted devfs on /dev
Freeing init memory: 92K
Reading data from NAND FLASH without ECC is not recommended
Reading data from NAND FLASH without ECC is not recommended
Reading data from NAND FLASH without ECC is not recommended
Reading data from NAND FLASH without ECC is not recommended
Reading data from NAND FLASH without ECC is not recommended
Reading data from NAND FLASH without ECC is not recommended
Reading data from NAND FLASH without ECC is not recommended
.........
.........

Please press Enter to activate this console.
Reading data from NAND FLASH without ECC is not recommended
Reading data from NAND FLASH without ECC is not recommended


BusyBox v1.00-pre10 (2004.07.08-12:31+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.(进入CONSOLE)

~ #
Reading data from NAND FLASH without ECC is not recommended
~ # ls
Reading data from NAND FLASH without ECC is not recommended
Reading data from NAND FLASH without ECC is not recommended
Reading data from NAND FLASH without ECC is not recommended
bin       etc       linuette  eading data from NAND FLASH without ECC is not rec
ommended
1;34mmnt       qt        test      usr
dev       lib       linuxrc   proc      sbin      tmp       var
~ #

请教这如何消除Reading data from NAND FLASH without ECC is not recommended老出现这现象啊/
谢谢
发表于 2007-2-5 14:57:33 | 显示全部楼层
把ECC干掉:
drivers/mtd/nand/s3c2410.c的s3c2410_nand_init_chip()函数的最后一行加入:

chip>eccmode = NAND_ECC_NONE;
应该可以解决
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-4-23 19:23 , Processed in 0.062042 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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