All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steven Scholz <steven.scholz@imc-berlin.de>
To: linux-mtd@lists.infradead.org
Subject: Problems with BIG_ENDIAN
Date: Sun, 08 Dec 2002 19:11:10 +0100	[thread overview]
Message-ID: <3DF38B3E.CD3CA322@imc-berlin.de> (raw)

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!

             reply	other threads:[~2002-12-08 17:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-08 18:11 Steven Scholz [this message]
2003-02-14 22:28 ` Problems with BIG_ENDIAN Grant Edwards
2003-02-14 23:04   ` Grant Edwards
2003-02-14 23:20     ` Grant Edwards
2003-02-15  0:16     ` David Woodhouse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3DF38B3E.CD3CA322@imc-berlin.de \
    --to=steven.scholz@imc-berlin.de \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.