linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Flashing UBIFS image to gluebi mtd
@ 2013-10-31 13:48 Konstantin Tokarev
  2013-10-31 15:08 ` Ezequiel Garcia
  0 siblings, 1 reply; 8+ messages in thread
From: Konstantin Tokarev @ 2013-10-31 13:48 UTC (permalink / raw)
  To: linux-mtd

Hi all,

I'm migrating rootfs of device from SquashFS on top of gluebi to UBIFS. However, old version of
firmware upgrade program writes UBIFS image to gluebi mtd device instead of using recommended
volume update procedure. While it works for SquashFS images, writing UBIFS image leads to
the next errors messages in random moments:

UBI error: ubi_io_read: error -77 while reading 76 bytes from PEB 769:26000, read 0 bytes
UBIFS error (pid 383): ubifs_read_node: cannot read node 2 from LEB 347:21904, error -5
UBIFS warning (pid 383): ubifs_ro_mode: switched to read-only mode, error -5

However, when device is rebooted first time after upgrade, UBIFS mounts successfully.

Do you have any idea what is going on and how to destinguish "broken" UBIFS volume from
correctly flashed via ubi volume device?

-- 
Regards,
Konstantin

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

end of thread, other threads:[~2013-11-01 11:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-31 13:48 Flashing UBIFS image to gluebi mtd Konstantin Tokarev
2013-10-31 15:08 ` Ezequiel Garcia
2013-10-31 18:00   ` Konstantin Tokarev
2013-10-31 18:40     ` Ezequiel Garcia
2013-11-01  7:48     ` Ricard Wanderlof
2013-11-01  9:12       ` Konstantin Tokarev
2013-11-01  9:43         ` Ricard Wanderlof
2013-11-01 11:10           ` Konstantin Tokarev

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).