Hi,
I want to pick up on a question posted on 22/03/2006:
----------------------------------------------------------------
> Excuse for the dummy question but I am a novice in yaffs: is it
> possibile to use the YAFFS2 filesystem with NAND device with
geometry
> 512+16 ? I read the code where it seems that the minimum page size
is
> 1024 and the minimum spare is 32. Is it right?
At this stage the YAFFS2 code base will support 512+16, but not in
YAFFS2
mode. It will use 512+16 (yaffs1) backward compatability).
----------------------------------------------------------------
I have allready ported the yaffs2 code to our target and now we need
to switch to a smaller, cheaper flash chip.
If I interpret the answer to that post correctly, all I need to do is
set the correct geomery parameters in yaffscfg.c (including
isYaffs2=0) and write a low-level driver for the new chip that will
implement the yaffs1 access functions (writeChunkToNAND,
readChunkFromNAND, eraseBlockInNAND, initialiseNAND, markNANDBlockBad
& queryNANDBlock) instead of the (current) yaffs2 functions.
Or is there anything else I'm missing?
regards
Johann Kok
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~