linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* UBI bad image sequence number error
@ 2011-05-11 14:56 Alex Levin
  2011-05-12  7:05 ` Ricard Wanderlof
  2011-05-12 12:09 ` Artem Bityutskiy
  0 siblings, 2 replies; 4+ messages in thread
From: Alex Levin @ 2011-05-11 14:56 UTC (permalink / raw)
  To: linux-mtd

Hi,

I am working on a mips embedded system, and I'm trying to do is to
read a ubifs image(that went through mkfs and ubinize) from ram - the
CPU that linux runs on doesn't aware that its not from the NAND - I
have changed the NAND access API implementation.
I use a 6 MB static volume (when ubinizing) and I use a 10MiB ram, and
that is the size I pass to the mtd device.

After trying to attach I get the following error:
UBI: attaching mtd0 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: process_eb: bad image sequence number 1726164069 in PEB 47,
expected 648536469
UBI error: ubi_init: cannot attach mtd0
UBI error: ubi_init: UBI error: cannot initialize UBI, error -22

Please help.

Thanks,
Alex.

P.S- if even more information is needed I'd be happy to provide it.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-05-12 13:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-11 14:56 UBI bad image sequence number error Alex Levin
2011-05-12  7:05 ` Ricard Wanderlof
2011-05-12 13:55   ` Artem Bityutskiy
2011-05-12 12:09 ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).