[Yaffs] Removeable NAND Flash Compatibility

Charles Manning manningc2 at actrix.gen.nz
Tue Sep 6 23:43:00 BST 2005


On Tuesday 06 September 2005 21:23, Austin Chen wrote:
>     My design use the MCU with big endian byte order and has a removeable
> memory box containing NAND Flash. We also have a memory box reader designed
> by x86 processor. How about the compatibility from YAFFS/direct devices
> accessed by different platform? Does the tags and ECC information in the
> same byte order for both big endian and little endian system?

YAFFS uses native endian by default.

To make the devices portable between little and big endian systems means one 
of:
1) Mods to YAFFS to be endian aware.
2) Putting byte swapping code in the NAND access layer to do the appropriate 
byte swapping.

-- Charles



More information about the yaffs mailing list