[U-Boot-Users] jffs2

Holger Schurig h.schurig at mn-logistik.de
Thu Mar 6 10:10:23 CET 2003


> normal operation (running Linux), the system fetches a new single image
> (containing file system, rootfs and kernel) and flashs it to a mtd
> partition.

I assume you still know that your system could be interrupted after, say, 
flashing the first 27 flash blocks?

So, a single image won't give you consistence in all circumstances.


Oh, by the way: you could stay with single image and flash various partitions 
even without overlapping partition hacks, simple cut the single image into 
peaces. Your programm could do the equivalent of:

dd if=image of=/dev/mtd1 bs=x count=x skip=0
dd if=image of=/dev/mtd2 bs=x count=y skip=x
dd if=image of=/dev/mtd3 bs=x count=z skip=x+y

-- 
MN-Logistik GmbH         http://www.mn-logistik.de
Holger Schurig
Dieselstr. 18
61191 Rosbach v.d.Höhe
Tel: 06003/9141-0        Fax: 06003/9141-49





More information about the U-Boot mailing list