NAND flash and JFFS(2)

Thomas Gleixner gleixner at autronix.de
Mon Feb 11 10:48:38 EST 2002


On Monday, 11. February 2002 16:32, Thomas Gleixner wrote:
> On Monday, 11. February 2002 14:53, David Woodhouse wrote:
> > Where's the ECC when we're using the SmartMedia format on them?
>
> The layout for SmartMedia DOS for 256 byte pagesize:
>
> Even page:
> Byte 0-3	reserved area
> Byte 4		data status flag
> Byte 5		block status flag (bad block marker)
> Byte 6-7	block adress 1
>
> Odd page:
> Byte 0-2 	ECC Area-2 (odd page)
> Byte 3-4	Block Address 2
> Byte 5-7	ECC Area-1 (even page)
>
> The layout for SmartMedia DOS for 512 byte pagesize:
> Byte 0-3	Reserved Area
> Byte 4		Data Status Flag
> Byte 5		block status flag (bad block marker)
> Byte 6-7	Block Address-1
> Byte 8-10 	ECC Area-2 (byte 256-511)
> Byte 11-12	Block Address 2
> Byte 13-15	ECC Area-1 (byte 0-255)
>
> They build a virtual blocksize of 512 byte on the small devices. I thought
> about doing the same, but IMHO it's not a good idea.
>
I reflected this question again and we should do this very careful before 
implemetation. If we choose the same layout, somebody would be able to 
implement the SmartMedia DOS fs on top of SmartMedia and raw NAND flash.
I personally have not interest in this fs, it's ok for MP3 players and 
digicams but not for industrial use.

Thomas 
__________________________________________________
Thomas Gleixner, autronix automation GmbH
auf dem berg 3, d-88690 uhldingen-muehlhofen
fon: +49 7556 919891 , fax: +49 7556 919886
mail: gleixner at autronix.de, http://www.autronix.de  




More information about the linux-mtd mailing list