Hope there's some *UBI fs experts who will help a stranded developer on his way.
First Question
I have been reading the documentation of the UBI filesystem, and trying to google some, but cannot find some real evidence that UBI fs checks and handles the bad blocks marked from production.
the Nand flash I am investigating this for is:
Samsung K9F2G08U0A
Btw: This is really new to me, so it might be mentioned somewhere, I just cant seem to find it.
Second Question:
I probably have to make some product specific changes to the bad block handelig in the source of UBI fs, e.g saving the initial data of where the bad blocks are and getting them back in case of a flash format made in U-boot.
Which parts of the source tree does the bad block handling?
Thank you in advance.