From: joern@wohnheim.fh-wedel.de (Jörn Engel)
To: linux-mtd@lists.infradead.org
Subject: jffs2 / eCos
Date: Sun, 30 Mar 2003 23:22:50 +0200 [thread overview]
Message-ID: <20030330212250.GC12927@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <1049057380.1180.36.camel@pc-002>
On Sun, 30 March 2003 22:49:40 +0200, Bob Koninckx wrote:
>
> I successfully included jffs2 in my powerpc based system. The fileio1
> test runs sucessfully. I am now trying to flash an initial version of
> the filesystem to be used by my application.
>
> The block size of my flash is 128kBytes. I made the filesystem image
> with the following command
>
> mkfs.jffs2 -v --big-endian -e 0x20000 -r ./jffs2root -o jffs2root.img -p
>
> First I tried mkfs.jffs2 version 1.32. Mounting the filesystem did not
> even succeed in this case. Apparently some magic number that needed to
> be 1985 was read as 8519. Some endianness problem I suppose.
You forgot -b (big endian), it seems.
> After upgrading to version 1.35, the filesystem can be mounted. Files
> and directories appear to be present (the same fileio1 test still runs
> sucessfull and lists what should be present). Opening a file on this
> system seems to succeed (fopen returns a FILE * anyway). However, when I
> try to _read_ from the file, I get EIO errors.
This is strange. You still forgot -b but can mount it?
J?rn
--
More computing sins are committed in the name of efficiency (without
necessarily achieving it) than for any other single reason - including
blind stupidity.
-- W. A. Wulf
next prev parent reply other threads:[~2003-03-30 21:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-30 20:49 jffs2 / eCos Bob Koninckx
2003-03-30 21:22 ` Jörn Engel [this message]
2003-03-31 6:26 ` Bob Koninckx
2003-03-31 6:50 ` Jörn Engel
2003-03-31 7:17 ` David Woodhouse
2003-03-31 20:29 ` [ECOS] " Bob Koninckx
2003-03-31 22:47 ` David Woodhouse
2003-04-02 7:48 ` Bob Koninckx
2003-04-02 8:20 ` David Woodhouse
2003-04-02 19:32 ` Bob Koninckx
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=20030330212250.GC12927@wohnheim.fh-wedel.de \
--to=joern@wohnheim.fh-wedel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox