On Tue, Jul 27, 2010 at 05:38, Jon Povey <[email protected]> wrote:
> I am getting started with UBI/UBIFS on DM355, things go quite wrong if I > use the default options to ubiattach; I have to use the -O 2048 option to > force the location of some metadata to a page offset (on 2K page SLC NAND). > > I can live with this, but > > - aiui I lose 4KB to UBI metadata per 128K eraseblock, instead of 2K > > - something is clearly wrong somewhere and should be fixed, either the > default 512-byte offset it is trying to use should work, or it should be > detecting that it must use the 2048-byte offset. > > I found this which looks similar, from Caglar Akyuz: > http://patchwork.ozlabs.org/patch/50601/ > > Anyone run into this and know the issues? > > Any clues welcome. > > I ran into the same issues, and it took me a while to figure out that disabling sub-pages fixes my problems. I can't tell you what exactly is wrong or what needs to be changed, but the UBI section in the MTD FAQ ( http://www.linux-mtd.infradead.org/faq/ubi.html#L_ecc_error) says: "Another possibility is that your flash reports that it supports sub-pages, but does not actually support them properly." Not very helpful, but it is a possibility.
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
