nand 为512MB
按照ti wiki :processors.wiki.ti.com/.../MCSDK_UG_Chapter_Exploring
在进行编译ubifs.ubi文件时,使用同样的参数编译了两个文件系统大小不同的ubi
小的ubifs.ubi有29MB
大的ubifs.ubi有283MB
29M的ubi能够正常启动linux,
283M的ubi在uboot下执行init_ubi出现如下错误
Creating 1 MTD partitions on "nand0":
0x000000180000-0x000020000000 : "mtd=2"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI error: vtbl_check: volume table check failed: record 1, error 9
UBI error: ubi_init: cannot attach mtd1
UBI error: ubi_init: UBI error: cannot initialize UBI, error -22
UBI init error 22
Using volume boot
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:boot", error -19
UBIFS error (pid 0): ubifs_mount: Error reading superblock on volume 'ubi:boot' errno=-19!
ubifsmount - mount UBIFS volume
Usage:
ubifsmount <volume-name>
- mount 'volume-name' volume
UBIFS not mounted, use ubifs mount to mount volume first!
ubifsload - load file from an UBIFS filesystem
Usage:
ubifsload <addr> <filename> [bytes]
- load file 'filename' to address 'addr'
K2HK EVM #
___________________________
请问这是什么原因导致的?
是否是由于UBI: physical eraseblock size: 131072 bytes 的大小 小于文件的大小导致的?