Ed Okerson wrote:
I recently finished work on u-boot to get it to read a compact flash
properly on the AU1500. Now I need to get it working under Linux as well,
but have a few questions. Is root fs on CF supported under 2.4.22?
I guess you mean a CF card in a PCMCIA slot. There are boards that
use a CF through a CPLD connected to the processor bus, which works with
the usual custom IDE setup functions.
The kernel isn't going to support CF on PCMCIA the way you are asking
without some, ummm..."customizations" :-) You have to modify the PCMCIA
functions so they don't try to use the slot, but you still need to
initialize the I/O. Then you need a set of IDE setup/support functions in
your board specific files.
This can be done, but isn't pretty and I doubt would ever be selected
as something to be part of a standard kernel. You may also want to
consider some kind of initrd or small flash file system that has the
PCMCIA services. You would boot up using something else as the root
file system, then activate the CF on PCMCIA as a source of additional
mounted file systems.