public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Problems with BIG_ENDIAN
@ 2002-12-08 18:11 Steven Scholz
  2003-02-14 22:28 ` Grant Edwards
  0 siblings, 1 reply; 5+ messages in thread
From: Steven Scholz @ 2002-12-08 18:11 UTC (permalink / raw)
  To: linux-mtd

Hi there,

I am having trouble creating a big endian image with the latest CVS version of
mkfs.jffs2!

> mkfs.jffs2 -d /tmp/initrd.tmp.5530 -o images/pFlashdisk -l -p
> hexdump -n 16 -x images/pFlashdisk 
0000000    1985    2003    000c    0000    b0b1    e41e    1985    e001

> mkfs.jffs2 -d /tmp/initrd.tmp.5530 -o images/pFlashdisk -b -p
> hexdump -n 16 -x images/pFlashdisk 
0000000    1985    2003    000c    0000    b0b1    e41e    1985    e001

Both options -l _and_ -b result in the same byteorder!!!

An older version (mkfs.jffs2 revision 1.28) shows

scholz@pinguin:~/Projekte/SELF> hexdump -n 16 -x images/pFlashdisk 
0000000    1985    e001    0032    0000    76f3    5037    0001    0000

for "-l" and 

scholz@pinguin:~/Projekte/SELF> hexdump -n 16 -x images/pFlashdisk 
0000000    8519    01e0    0000    3200    295a    e78c    0000    0100

when using "-b" !!!

Thanks,

Steven


BTW "mkfs.jffs2 -V" does _not_ work! "mkfs.jffs2 --version" works!

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-02-15  0:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-08 18:11 Problems with BIG_ENDIAN Steven Scholz
2003-02-14 22:28 ` Grant Edwards
2003-02-14 23:04   ` Grant Edwards
2003-02-14 23:20     ` Grant Edwards
2003-02-15  0:16     ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox