JFFS2 on the Host

Thomas Gleixner tglx at linutronix.de
Fri Apr 18 00:25:22 EST 2003


On Thursday 17 April 2003 15:15, Cedric Aubert wrote:
> Hi,
>
> I have read some documentation about jffs2 but I don't
> find what I want (may be I am to difficult !! :-).
>
> I found how configure my flash on the target and by
> the
> target.
>
> Kernel configuration OK -> Next Eraseall
> -> mount or make a jffs2 image and cp it before mount
>
> it's ok. But How can I make a full Binary Image of my
> flash partition (good size) on my host and after
> transfer it on the target at the right
> place with my loader (u-boot for example) ??

The mtd tool you need is mkfs.jffs2, which is available in the MTD source code
from http://linux-mtd.infradead.org. It's in directory utils. There is a man
page too. Be aware of endianess switches for mkfs.jffs2!

--
Thomas
________________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx at linutronix.de


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list