DENX . Training . UsingTheCFCardViaPCMCIACardService

  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:
  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

----- Revision r1.1 - 07 May 2003 - 09:19 - Main.guest
Copyright © 2002-2021 by DENX Software Engineering