CFI detection of x16 chips in x8 mode
David Given
dg at tao-group.com
Thu Sep 14 11:06:11 EDT 2000
>Just commited some new stuff to detect x16 CFI chips which are in x8
>mode. Arcom's SBC-MediaGX now works "out of the box". I hope I didn't
>break anything...
Yup, it works. Thanks. What was the problem?
In other news, I devfsifed mtdblock, got it all working, and tried jffs with
your new sbc_mediagx driver. It all worked. Beautifully. I'm *really*
impressed --- the improvement over flashfx.o is unbelievable. It's fast and
efficient and has yet to crash on me. It is a little slow to mount a new file
system, but I can live with that.
How does jffs work? Erasing a single sector seems to take quite a while on
this device. How does jffs manage to be so fast?
I believe it ought to be possible to persuade FlashFX to share a device with
jffs. The way you'd do this is to use FXFMT to create a VBF volume that only
uses, say, half the device. You'd then have to modify the partition table in
sbc_mediagx.c to reflect this; you'd have three partitions: the boot partition
(256kB); the VBF volume (8MB); and everything else (8MB). jffs would live in
/dev/mtd/3. This ought to let you boot DOS on the VBF volume and then use LILO
or loadlin to start Linux.
However, there has *got* to be some better way of handling partitions... the
Arcom board seems to have a 256kB block at the beginning of the flash for ROM
extensions, so it would make sense to have that as one partition. For the
rest, it would seem logical that since FlashFX can find the VBF volume, so
could we, and so we should be able to autodetect it. But does anyone know how?
(Next problem: how to get all this lot into the kernel so I can use a jffs
partition as my root file system...)
David Given
dg at tao-group.com
To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org
More information about the linux-mtd
mailing list