FTL and Endianity

Siders, Keith keith_siders at toshibatv.com
Fri Jul 6 08:52:41 EDT 2001


So since I'm using big-endian MIPS, does this effect JFFS2? That is, 
does FTL stand for Flash Translation Layer, or some such thing? 

Keith

-> -----Original Message-----
-> From: David Woodhouse [mailto:dwmw2 at infradead.org]
-> Sent: Friday, July 06, 2001 6:35 AM
-> To: Alexandr Andreev
-> Cc: linux-mtd at lists.infradead.org
-> Subject: Re: FTL and Endianity 
-> 
-> 
-> 
-> andreev at niisi.msk.ru said:
-> > But when the ftl_fromat utility creates an ftl partition, 
-> it doesn't
-> > swap any field of the header. So, it doesn't matter on 
-> which endianity
-> > the FTL driver and ftl_format works, it must be the same only. Am i
-> > wrong?
-> 
-> You're right - except that it does matter in theory. The FTL spec is 
-> defined as little-endian. So while it would _work_ if you do it all 
-> backwards, it's technically wrong. 
-> 
-> I'd be happier to fix ftl_format and ftl_check to do the 
-> byteswapping than 
-> to remove same from ftl.c.
-> 
-> --
-> dwmw2
-> 
-> 
-> 
-> ______________________________________________________
-> Linux MTD discussion mailing list
-> http://lists.infradead.org/mailman/listinfo/linux-mtd/
-> 




More information about the linux-mtd mailing list