public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] request for ubifs recovery support
@ 2010-09-17 16:44 Eric Cooper
  2010-11-17 16:01 ` Quotient Remainder
  0 siblings, 1 reply; 6+ messages in thread
From: Eric Cooper @ 2010-09-17 16:44 UTC (permalink / raw)
  To: u-boot

I've configured my device (a Seagate DockStar) with just two NAND
flash partitions -- one for u-boot and one for the Linux rootfs.

This has some nice advantages: it maximizes the available flash space,
and allows the Linux distribution's own tools to install new kernel
and initramfs files without having to know about flash partitions.

But I just discovered that it has a fatal disadvantage.  My device
can't reboot when the ubifs is corrupted, which happened today after a
power failure:

    UBIFS: recovery needed
    Error reading superblock on volume 'ubi:root'!

Ubifs includes recovery code, but since u-boot treats it as a
read-only mount, this is never performed.  Once I booted Linux,
everything was fine.

I'd like to request that the read-only flag be removed (at least to
allow recovery) so that the ubifs-only scheme can be used reliably.

-- 
Eric Cooper             e c c @ c m u . e d u

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

end of thread, other threads:[~2010-11-19 11:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-17 16:44 [U-Boot] request for ubifs recovery support Eric Cooper
2010-11-17 16:01 ` Quotient Remainder
2010-11-17 16:25   ` Albert ARIBAUD
2010-11-17 18:01     ` Quotient Remainder
2010-11-17 18:13       ` Albert ARIBAUD
2010-11-19 11:03         ` Detlev Zundel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox