Attaching ubifs on a NOR flash

Alex Levin s.alex.levin at gmail.com
Wed Jul 6 10:34:43 EDT 2011


Hi,

after ubiformatting the flash (NOR) and trying to attach ubi I get the
following error:

UBI: attaching mtd2 to ubi0
UBI: physical eraseblock size:   262144 bytes (256 KiB)
UBI: logical eraseblock size:    262016 bytes
UBI: smallest flash I/O unit:    1
UBI: VID header offset:          64 (aligned 64)
UBI: data offset:                128
UBI warning: ubi_scan: 2 PEBs are corrupted
corrupted PEBs are: 0 1
UBI error: ubi_read_volume_table: the layout volume was not found
ubiattach: error!: cannot attach mtd2
           error 22 (Invalid argument)


I think it has something to do with ECC (that is absent on the NOR device).

Please advice,
Alex.



More information about the linux-mtd mailing list