[U-Boot-Users] Re: How to create the JFFS2?
Wolfgang Denk
wd at denx.de
Mon Apr 12 16:51:46 CEST 2004
In message <BAY9-F29iP3ih1oVNkE000114ad at hotmail.com> you wrote:
> The embedded system i will use is JFFS2, I followed the steps of DULG,
> run net_nfs, at first,I suppose the uRamdisk is in /tmp/flashtools
> but the wrong message is following :
> root at 172.16.115.7:/# mkfs.jffs2 --pad=4194304 --eraseblock=262144 \
> > --root=/tmp/flashtools/ --output image.jffs2
does this really match your system parameters?
> eraseall /dev/mtd4
> eraseall: /dev/mtd4: No such device
> root at 172.16.115.7:/# dd if=image.jffs2 of=/dev/mtd4 bs=256k
> dd: opening `/dev/mtd4': No such device
Did you enable MTD in your Linux kernel?
> but there has /dev/mtd4 ,this is why? what is the following steps for
> creating JFFS2?
Go back in the DULG to read the section about MTD:
http://www.denx.de/twiki/bin/view/DULG/FlashFilesystemsMTD
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
There's no honorable way to kill, no gentle way to destroy. There is
nothing good in war. Except its ending.
-- Abraham Lincoln, "The Savage Curtain", stardate 5906.5
More information about the U-Boot
mailing list