ubifs/NAND problem?

Rico Rommel rico at bierrommel.de
Sun Jan 15 18:58:29 CET 2012


Am Sonntag, 15. Januar 2012, 18:10:11 schrieb Boudewijn:

> [ 1274.330000] UBI: attaching mtd6 to ubi0
> [ 1274.330000] UBI: physical eraseblock size:   131072 bytes (128 KiB)
> [ 1274.330000] UBI: logical eraseblock size:    129024 bytes
> [ 1274.330000] UBI: smallest flash I/O unit:    2048
> [ 1274.330000] UBI: sub-page size:              512
> [ 1274.330000] UBI: VID header offset:          512 (aligned 512)
> [ 1274.330000] UBI: data offset:                2048
> [ 1274.330000] UBI error: validate_ec_hdr: bad VID header offset 2048,
> expected 512
> [ 1274.330000] UBI error: validate_ec_hdr: bad EC header
> [ 1274.330000] UBI error: ubi_io_read_ec_hdr: validation failed for PEB 0
> [ 1274.330000] Unable to handle kernel paging request at virtual address
> 00100104
> 
> What does it try tell me? What can I do about it?

I have to specify the data offset manually.

Try passing the options

ubi.mtd=6,2048 root=ubi0:name_of_rootfs or 
ubi.mtd=6,2048 root=ubi0_0

to kernel or use

ubiattach -m 6 -O 2048

at commandline.

Rico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.openmoko.org/pipermail/community/attachments/20120115/376aad7a/attachment.pgp>


More information about the community mailing list