public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* jffs2 / eCos
@ 2003-03-30 20:49 Bob Koninckx
  2003-03-30 21:22 ` Jörn Engel
  2003-03-31  7:17 ` David Woodhouse
  0 siblings, 2 replies; 10+ messages in thread
From: Bob Koninckx @ 2003-03-30 20:49 UTC (permalink / raw)
  To: linux-mtd

Hi all

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.

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.

Has anybody successfully used mkfs.jffs2 for making a filesystem image
for a powerpc target system running eCos ? Am I doing something obvious
wrong ?

Thanks, Bob

PS1. I am not subscribed to the jffs2 mailing list, please reply to my
personal address
PS2. The host system I am using is a PIII running RH linux 8.0

-- 
----------------------------------------------------------------------
ir. Bob Koninckx
Katholieke Universiteit Leuven
Division Production Engineering,                   tel.  +32 16 322535
Machine Design and Automation                      fax.  +32 16 322987
Celestijnenlaan 300B                  bob.koninckx at mech.kuleuven.ac.be
B-3001 Leuven Belgium               http://www.mech.kuleuven.ac.be/pma
----------------------------------------------------------------------

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

end of thread, other threads:[~2003-04-02 19:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-30 20:49 jffs2 / eCos Bob Koninckx
2003-03-30 21:22 ` Jörn Engel
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

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