你好,我在调试NAND启动系统。
遇到一个问题
NAND能识别到,但是有其他错误信息,如下:
遇到一个问题
NAND能识别到,但是有其他错误信息,如下:
Registering NAND on CS0
omap2-nand driver initializing
—wxj omap2-nand driver omap_nand_probe()
—wxj omap2-nand driver: mtd name : omap2-nand.0
—wxj omap2-nand driver: selsect the ecc type
ONFI flash detected
ONFI param page 0 valid
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron MT29F4G08ABADAWP)
—wxj omap2-nand driver: select ecc lyout
—wxj omap2-nand driver: second phase scan
—wxj omap2-nand driver: mtd_device_parse_register
Creating 8 MTD partitions on "omap2-nand.0":
0x000000000000-0x000000020000 : "SPL"
0x000000020000-0x000000040000 : "SPL.backup1"
0x000000040000-0x000000060000 : "SPL.backup2"
0x000000060000-0x000000080000 : "SPL.backup3"
0x000000080000-0x000000260000 : "U-Boot"
0x000000260000-0x000000280000 : "U-Boot Env"
0x000000280000-0x000000780000 : "Kernel"
0x000000780000-0x000020000000 : "File System"
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
UBI error: validate_ec_hdr: bad VID header offset 512, expected 2048
UBI error: validate_ec_hdr: bad EC header
UBI error: ubi_io_read_ec_hdr: validation failed for PEB 1988
slab error in kmem_cache_destroy(): cache `ubi_scan_leb_slab': Can't free all objects
UBI error: ubi_init: cannot attach mtd7
omap2-nand driver initializing
—wxj omap2-nand driver omap_nand_probe()
—wxj omap2-nand driver: mtd name : omap2-nand.0
—wxj omap2-nand driver: selsect the ecc type
ONFI flash detected
ONFI param page 0 valid
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron MT29F4G08ABADAWP)
—wxj omap2-nand driver: select ecc lyout
—wxj omap2-nand driver: second phase scan
—wxj omap2-nand driver: mtd_device_parse_register
Creating 8 MTD partitions on "omap2-nand.0":
0x000000000000-0x000000020000 : "SPL"
0x000000020000-0x000000040000 : "SPL.backup1"
0x000000040000-0x000000060000 : "SPL.backup2"
0x000000060000-0x000000080000 : "SPL.backup3"
0x000000080000-0x000000260000 : "U-Boot"
0x000000260000-0x000000280000 : "U-Boot Env"
0x000000280000-0x000000780000 : "Kernel"
0x000000780000-0x000020000000 : "File System"
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
UBI error: validate_ec_hdr: bad VID header offset 512, expected 2048
UBI error: validate_ec_hdr: bad EC header
UBI error: ubi_io_read_ec_hdr: validation failed for PEB 1988
slab error in kmem_cache_destroy(): cache `ubi_scan_leb_slab': Can't free all objects
UBI error: ubi_init: cannot attach mtd7
蓝色部分是错误信息,
不知那个大侠碰到过,如何解决的呢。
jianhui alvin:
你是怎么制作UBI文件系统的?