[RPX Classic/Lite and byte ordering]

Eric ebrower at usa.net
Fri Mar 30 14:59:33 EST 2001


You might want to take a look at .../include/mtd/cfi_endian.h and
be sure you are using __raw_writeb and friends. 

E

Tim Bowman <tbowman at emware.com> wrote:
I am having trouble with an Embeddded Planet RPX board.  The mtd layer
seems to be reversing the data by double words.  If I write (then cat)
some text, every double word is reversed.  I can use a cramfs file
system, but I have to reverse the dwords myself before writing it to
flash, then everything works fine.  JFFS and other file systems
obviously don't work, since the data is written by mtd in the wrong
order.  I am doing everything on big-endian machines (PowerPC).

If someone can point me to the right code I would be glad to work on
this.

-TDB


To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org


____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1


To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org



More information about the linux-mtd mailing list