Re: JFFS2 on 8MB Flash-Chip conneted to MPC850 works extremly slo w:(

David Woodhouse
2001-09-05T12:22:30Z

jonas.holmberg@axis.com said:
> I probably should use cramfs, but I still have to put the bootloader
> in a separate partition.

Yeah - it might be worthwhile to rethink the partitioning stuff so that you
can reprogram the whole device at once, and also reread a partition table
if you're using one.

> Is it possible to make the block device use an offset while the
> character device doesn't (using an ioctl, or something, on the
> character device before mounting the block device) without modifying
> mtd? Then I could "hide" the bootloader from the fs in the same
> partition and still be able to erase and write a new bootloader and fs
> using the character device.

Thinks... there's actually no reason at all why the devices registered by
your map driver shouldn't overlap - one for the whole chip for
reprogramming, and one for the cramfs image.

add_mtd_partitions might not like it atm, but we could invent a new flags
which tells it to accept the overlap.

--
dwmw2