At 5:05 PM -0500 2/5/01, Nicolas Pitre wrote:
>the best I found so far, which consist of using two flash partitions:
>the first one being a single flash sector long to hold your bootloader, and
>the second one spaning onto the entire remaining flash using JFFS

This sounds great, but any thoughts on the best way to go about bootstrapping
it?

Our automated build kicks out a bootloader, kernel and ramdisk image. 
I can use blob to put the kernel and ramdisk in RAM, boot the system, 
then zmodem the kernel and ramdisk to the running system and use "dd" 
to burn it in a flash partition for all time.

If I use JFFS for the root FS, I'd like to preload it with that FS. But,
as far as I know, there is no "makejffs" or way to stage a JFFS filesystem
on other media.

I don't have a network, only the serial link and/or jtag.

-- Ward

P.S. As an aside, is there an easy way to erase/format a JFFS partition? I've
been using jtag to blow it away when I need to, but that seems extreme (and
a "dd if=/dev/zero of=/flash" doesn't work -- I think JFFS wants 0xFF).

P.S.S. Ever use busybox to "mv" a directory into a directory on JFFS? The
results on my 2.4.0 kernel are not pretty!

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to