From: David Woodhouse <dwmw2@infradead.org>
To: "Paolo Marini" <paolom@prisma-eng.it>
Cc: linux-mtd@lists.infradead.org
Subject: Re: JFFS2: endian problem ?
Date: Fri, 22 Jun 2001 11:28:46 +0100 [thread overview]
Message-ID: <15774.993205726@redhat.com> (raw)
In-Reply-To: <001601c0fb03$b2e9bbf0$230d0dc3@Athlon>
paolom@prisma-eng.it said:
> I am trying to have a working JFFS2 on an RPX-CLLF card (Motorola 860,
> big endian).
> It happens that every time I mount the jfss2, the flash gets
> formatted. I dumped the flash block, and the bytes seem to be in the
> wrong order (e.g. magic number and nodetype swapped, and also magic
> number with the two bytes swapped). I tested it against a jffs2 image
> build for big endian with mkfs.jffs2, and the order of bytes is
> reversed. Reading a flash block containing e.g. card FW is ok. I am
> using the latest mtd on a 2.4.2 kernel.
Update to v1.13 of rpxlite.c. You'll probably need to enable
CONFIG_MTD_CFI_ADV_OPTIONS and then choose the CONFIG_MTD_CFI_LE_BYTE_SWAP
option too.
--
dwmw2
next prev parent reply other threads:[~2001-06-22 10:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-22 10:11 JFFS2: endian problem ? Paolo Marini
2001-06-22 10:28 ` David Woodhouse [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-06-22 11:11 Paolo Marini
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=15774.993205726@redhat.com \
--to=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=paolom@prisma-eng.it \
/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.