[U-Boot] Unreadable UBIFS partition after power cuts

Heiko Schocher
2015-01-18T10:07:13Z

Hello Anton,

Am 17.01.2015 17:06, schrieb Anton Habegger:
> Now I realized the "dangling branch" and "dangling match" messages on
> Linux is generated during the ubifs_replay_journal(). Under U-Boot
> this call is disabled:
>
> super.c mount_ubifs:
>
> #ifndef __UBOOT__
> err = ubifs_replay_journal(c);
> if (err)
> goto out_journal;
> #endif
>
> I'm unfortunately not an expert in UBIFS, but I'm wondering how can
> U-Boot grantee to open a UBIFS volume after an power cut in a not
> corrupted state without replaying the journal?
>
> Thank you to give me one hint again.

Could you try to enable it? The necessary functions should be also
in the U-Boot code, so this should be not to difficult ...

Thanks!

bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany