Skip to main content.

  1. Build the kernel in default configuration. Note that the PCMCIA stuff is configured as modules.
  2. Build and install PCMCIA modules:
    bash$ make modules modules_install INSTALL_MOD_PATH=/opt/eldk/ppc_82xx
    
  3. Edit /etc/pcmcia/config.opts in the target root file system. Comment out the following lines:
    include memory 0xc0000-0xfffff
    include memory 0xa0000000-0xa0ffffff, memory 0x60000000-0x60ffffff
    
    Add this line:
    include memory 0x80000000-0x8fffffff
    
  4. Edit /etc/sysconfig/pcmcia; it should read:
    PCMCIA=yes
    PCIC=i82365
    PCIC_OPTS=do_scan=0
    CORE_OPTS=
    CARDMGR_OPTS=-f
    
  5. Boot the target and start PCMCIA:
    bash-2.05# /etc/rc.d/init.d/pcmcia start
    
  6. The CF card is now available as /dev/hda.

-- WolfgangDenk - 07 May 2003