Re: [Yaffs] Removeable NAND Flash Compatibility

Startseite
Anhänge:
Nachricht
+ (text/plain)
Nachricht löschen
Nachricht beantworten
Autor: Charles Manning
Datum:  
To: yaffs
Betreff: Re: [Yaffs] Removeable NAND Flash Compatibility
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