public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* trouble compiling mkfs.jffs2
@ 2001-09-14 18:20 James Schettine
  2001-09-15 19:12 ` Jörn Engel
  0 siblings, 1 reply; 13+ messages in thread
From: James Schettine @ 2001-09-14 18:20 UTC (permalink / raw)
  To: linux-mtd

JFFS2 is working great on my embedded arm processor.
(Great work everybody!)

I have started out with a pre-built root image I grabbed 
from others working on handhelds, and they have set
the erase block size to 0x40000 and mine needs to be
0x20000.  Question #1...  does this only affect the
overhead/optimal use or will I actually run into problems
if I run this over a long period.

In order to re-flash my embedded root filesystem with 
the correct erase block size, I have transferred all files 
to my desktop system (an older Debian 2.2) and read up 
on using mkfs.jffs2.  I couldn't find a pre-compiled binary 
in a quick and lazy search so I grabbed the cvs tree, 
cd util, and make mkfs.jffs2.  (did the configure thing too,
but that didn't fix this problem.)

I'm getting problems with size_t undefined in linux/string.h
(I can't believe it doesn't include what it needs !), and 
patching around that I get conflicts between linux/string.h 
and asm/string.h

Then it struck me that as a user-land utility application,
we shouldn't need to get TOO intimate with the kernel.
After all, I am cross-building my filesystem.  The more
you ask about the host kernel, the more wrong you'll
be when you get to the target kernel.

Has anyone else had these troubles/got a work-around.
It's not a good time to be upgrading this particular 
system right now.

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: Re(2): trouble compiling mkfs.jffs2
@ 2001-09-17 15:00 Jonas Holmberg
  2001-09-17 15:06 ` David Woodhouse
  0 siblings, 1 reply; 13+ messages in thread
From: Jonas Holmberg @ 2001-09-17 15:00 UTC (permalink / raw)
  To: 'David Woodhouse'; +Cc: linux-mtd

BTW: shouldn't mkfs.jffs2 be in the kernel source like mkcramfs?

/Jonas

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

end of thread, other threads:[~2001-09-17 23:45 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-14 18:20 trouble compiling mkfs.jffs2 James Schettine
2001-09-15 19:12 ` Jörn Engel
2001-09-17 13:06   ` Re(2): " James Schettine
2001-09-17 13:51     ` David Woodhouse
2001-09-17 14:48       ` Joakim Tjernlund
2001-09-17 14:53         ` David Woodhouse
2001-09-17 15:17           ` Joakim Tjernlund
2001-09-17 15:20             ` David Woodhouse
2001-09-17 15:24               ` Joakim Tjernlund
2001-09-17 18:57           ` Erik Andersen
2001-09-17 18:16   ` jffs vs. jffs2 & new code Jörn Engel
  -- strict thread matches above, loose matches on Subject: below --
2001-09-17 15:00 Re(2): trouble compiling mkfs.jffs2 Jonas Holmberg
2001-09-17 15:06 ` David Woodhouse

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