Re: [Yaffs] Structure of YAFFS2 spare OOB area

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
Subject: Re: [Yaffs] Structure of YAFFS2 spare OOB area
On Thursday 03 February 2011 13:38:48 Eugene Soh wrote:
> Dear all,
>
> I've performed a nanddump of a YAFFS2 filesystem and would like to know the
> exact byte / hex structure of the spare OOB area.
>
> I've read the HowYaffsWorks.pdf and viewed the YAFFS2 specification and
> development notes but i'm still unable to figure out the structure of the
> OOB area.
>
> The following are hex extracts of the first few spare OOB areas extracted
> using a hex editor.
>
> 19 91 65 5A 15 1C 81 88 9D E2 24 79 C5 84 F5 43
> F3 D9 11 4C AF 1F AE 8A 9E 3E FA CD 51 0A 5F 1D
> 00 00 F2 01 00 00 04 00 00 00 00 08 00 00 DB 2C
> E8 F1 16 5F 5C DB 19 32 00 00 00 00 00 00 00 00
>
> 54 0C 1A 2F 62 DA 6B D1 D6 AC A8 CF 56 CF FA 43
> 09 9F 79 FF A8 CF 56 CF FA 43 09 9F 79 FF 5F 1D
> 00 00 89 01 00 10 0E 01 00 80 88 E6 03 00 D4 B9
> 63 32 71 3C 16 50 60 88 00 00 00 00 00 00 00 00
>
> 0F C8 31 64 71 3C 71 79 3F 72 A8 CF 56 CF FA 43
> 09 9F 79 FF A8 CF 56 CF FA 43 09 9F 79 FF 5F 1D
> 00 00 8A 01 00 30 09 01 00 80 00 00 00 00 3A DD
> 34 66 99 F3 2A DA 2E 48 00 00 00 00 00 00 00 00
>
> Could someone please explicitly list the order of tags within the spare OOB
> area / point me in the direction of a document which lists it.
>


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.

-- Charles