On Thu, Feb 3, 2011 at 10:42 PM, Charles Manning wrote: > On Thursday 03 February 2011 13:38:48 Eugene Soh wrote: >> >> I've performed a nanddump of a YAFFS2 filesystem and would like to know the >> exact byte / hex structure of the spare OOB area. > > Sorry there is no such thing. > > The actual layout is controlled by the NAND driver. YAFFS2 just says "store > these bytes" and the NAND driver then determines where to store those bytes > and the other bytes (ECC, bad block markers, and possibly more). > > Find the NAND driver for the device you are using. That will help. How undefined is the layout without knowing the driver? Is it just the offset of the data in the OOB that will vary? Or are there drivers that change endianness or something like that? Cheers, Ketil