This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好 ,感谢您的回复。。
目前我的板子使用的EZSDK5.05,您说的RDK版本是不是指的DVRRDK的版本。
我很新手,所以不大知道为什么SW ECC。
具体我也是根据DM8168心得之从sd卡烧写到nand http://blog.csdn.net/luhao806/article/details/7341439 进行操作的。
问题应该出在ECC校验,uboot你使用的是ECC BCH8,而linux kernel使用的是ECC Hamming,目前最新的psp在UBOOT,linux和文件系统均使用BCH8,文件系统使用的是UBIFS。
http://processors.wiki.ti.com/index.php/TI81XX_PSP_UBOOT_User_Guide
mtd->read(0x800 bytes from 0xdfe800) returned ECC error
Read of newly-erased block at 0x06c40000 failed: -74. Putting on bad_list
Read of newly-erased block at 0x06c40000 failed: -74. Putting on bad_list
JFFS2: marking eraseblock at 06c40000
大概报错几分钟后,就不再报错了。。上面为最后4行指令
我使用UBI文件系统进行flash启动,移植可以成功但在启动过程报错
setenv bootargs 'console=ttyO2,115200n8 noinitrd ip=off mem=256M rootwait=1 rw ubi.mtd=7,2048 rootfstype=ubifs root=ubi0:rootfs init=/init'
VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00 64 mtdblock0 (driver?)
1f02 64 mtdblock2 (driver?)
1f04 2432 mtdblock4 (driver?)
1f05 128 mtdblock5 (driver?)
1f06 4352 mtdblock6 (driver?)
1f07 204928 mtdblock7 (driver?)
1f08 50304 mtdblock8 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
我在网上看到相关内容,但是其他人的错误,是在上述指令之前,还报有以下的错误,我这边并没有报该错误。
UBIFS error (pid 1): ubifs_check_node: bad CRC: calculated 0x9f186f96, read 0x3baee010
UBIFS error (pid 1): ubifs_check_node: bad node at LEB 0:0
UBIFS error (pid 1): ubifs_read_node: expected node type 6
你用nand scrub把整个NAND全部擦掉,重新把Uboo Kernel 和文件系统都写一遍试一下? 你写UBIFS镜像的时候是有对齐要求的,这个注意了没?
UBIFS镜像的对齐要求是2048的整数倍吧,这点我设置是2048的整数倍。
我有把整个nand擦掉,重新烧入,还是报一样的错误。
我向上查看信息,有这么几句指令:
omap2-nand driver initializing
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xca (Micron )
Creating 5 MTD partitions on "omap2-nand.0":
0x000000000000-0x000000260000 : "U-Boot"
0x000000260000-0x000000280000 : "U-Boot Env"
0x000000280000-0x0000006c0000 : "Kernel"
0x0000006c0000-0x00000cee0000 : "File System"
0x00000cee0000-0x000010000000 : "Reserved"
UBI: attaching mtd7 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
ata1: SATA link down (SStatus 0 SControl 300)
ata2: SATA link down (SStatus 0 SControl 300)
UBI: max. sequence number: 0
UBI error: ubi_read_volume_table: the layout volume was not found
UBI error: ubi_init: cannot attach mtd7