ubi_reader
ubi_reader copied to clipboard
UBIFS journal not replayed
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.
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