0

I know that UBIFS' superblock (starting point) is situated at LEB 0. but how does kernel (or U-boot) knows where to look at? I've heard that UBI volume maps PEB and LEB randomly, but I think user should know where physical entry point is located. I couldn't find any explanation in Google.

please help. thank you.

sawdust
  • 16,103
  • 3
  • 40
  • 50
me in let
  • 13
  • 3
  • A UBIFS doesn't exist in a vacuum. It is contained in a UBI volume, which in turn is contained in a MTD partition/device. Study the [MTD, UBI, & UBIFS FAQs](http://www.linux-mtd.infradead.org/faq/general.html) – sawdust Apr 11 '22 at 20:29
  • @sawdust I think 'UBI volume table' should stored in flash somewhere, but how does UBI knows where to look at? – me in let Apr 12 '22 at 01:25
  • Study the **ubiformat** and **ubimkvol** commands. Also see http://www.linux-mtd.infradead.org/doc/ubi.html#L_vol_table_det – sawdust Apr 12 '22 at 03:00

0 Answers0