Attaching ubifs on a NOR flash

Artem Bityutskiy dedekind1 at gmail.com
Thu Jul 7 02:33:38 EDT 2011


On Wed, 2011-07-06 at 17:34 +0300, Alex Levin wrote:
> 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
This is the reason. Most probably you did not format it properly.
Please, tell how exactly you formatted it, check dmesg, take a look here
for some hints:

http://www.linux-mtd.infradead.org/doc/ubi.html#L_how_send_bugreport

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list