ubi_reader icon indicating copy to clipboard operation
ubi_reader copied to clipboard

UBIFS journal not replayed

Open richardweinberger opened this issue 5 years ago • 1 comments

On UBIFS replaying the journal is mandatory. If you don't do so the index tree can point to wrong (outdated or dead) leaf nodes. You can do it like u-boot and replay into memory (e.g. just into TNC). Please note that even a clean unmount of UBIFS does not lead to an empty journal. That's why replaying is mandatory.

richardweinberger avatar Sep 01 '20 22:09 richardweinberger

Hi Richard Weinberger,

Thanks for letting me know, I was aware of unclean shutdowns causing issue, but not aware clean one's could cause issue to. There seems to be a lot of people using this with NAND dumps, instead of just downloaded firmware images, so this should be a priority.

-Jason

jrspruitt avatar Sep 03 '20 04:09 jrspruitt