On Mon, 2003-10-27 at 11:15, Greg Herlein wrote:
> Does anyone have advice/experience in what's the best way to get
> linux booting from the Pb1500 development board directly off
> PCMCIA? I'm susepcting that getting a bootable filesystem rigged
> up on a CF card and using my handy CF <-> PCMCIA adapter card to
> get it onto the bus.
> Any advice/gotchas/hints as I start down this path?
If you want to boot Linux off pcmcia, you need to add that support to
yamon or whatever boot code you're using.
If you're talking about using a pcmcia for a root file system, then what
you can do is:
- build your root fs and dump it on the pcmcia card
- create a small ramdisk which you'll statically link into your kernel.
Your ramdisk will be your temporary root FS and should contain on it
things like the pcmcia modules and socket driver, a script that loads
them, cardmgr, insmod, mount, and ... I don't remember what else but
that's pretty much it. The kernel mounts the ramdisk root fs, executes
your script which does its magic, then control is passed to the kernel
which mounts the real root fs on the pcmcia card.