Flashing UBIFS image to gluebi mtd

Konstantin Tokarev annulen at yandex.ru
Thu Oct 31 06:48:34 PDT 2013


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



More information about the linux-mtd mailing list