Click to See Complete Forum and Search --> : PC Card?


Slash999
09-11-2001, 07:38 PM
Hi Everyone,

We want to test a linear flash memory card on a laptop computer running Red Hat Linux 7.1. The problem is that I don't have any clue as to how Linux implements support for PC Card/PCMCIA flash memory . I have quite a bit of questions regarding this. Is it auto-detected at the beginning of boot? Do I need to install drivers? Does the drive need to be mounted? If so, what is the device name? Also, do I need to recompile the kernel? Please help and provide full details. I am relatively new to Linux system administration and completely clueless with PCMCIA card support. The laptop is generic and relatively new. I have installed a full Red Hat Installation with no modifications. Furthermore, the device I am try to get working is a 32 Megabyte linear flash.

bdg1983
09-11-2001, 08:06 PM
I'm sorry I don't have 'full details' for you. Since flash pc cards are not used that much in Linux, I doubt someone has the time to do the research and provide the details you require.

All I know about the topic is what I have seen while compiling the kernel. Not sure if it's what your looking for though.

#
# RAM/ROM/Flash chip drivers
#
CONFIG_MTD_CFI=m
CONFIG_MTD_CFI_INTELEXT=m
CONFIG_MTD_CFI_AMDSTD=m
CONFIG_MTD_RAM=m
CONFIG_MTD_ROM=m
# CONFIG_MTD_JEDEC is not set

#
# Mapping drivers for chip access
#
CONFIG_MTD_PHYSMAP=m
CONFIG_MTD_PHYSMAP_START=8000000
CONFIG_MTD_PHYSMAP_LEN=4000000
CONFIG_MTD_PHYSMAP_BUSWIDTH=2
CONFIG_MTD_NORA=m
CONFIG_MTD_RPXLITE=m

#
# Self-contained MTD device drivers
#
CONFIG_MTD_PMC551=m
CONFIG_MTD_PMC551_BUGFIX=y
# CONFIG_MTD_PMC551_DEBUG is not set
CONFIG_MTD_SLRAM=m
CONFIG_MTD_MTDRAM=m
CONFIG_MTDRAM_TOTAL_SIZE=4096
CONFIG_MTDRAM_ERASE_SIZE=128

#
# Disk-On-Chip Device Drivers
#
CONFIG_MTD_DOC1000=m
CONFIG_MTD_DOC2000=m
CONFIG_MTD_DOC2001=m
CONFIG_MTD_DOCPROBE=m
CONFIG_MTD_DOCPROBE_ADDRESS=0000
CONFIG_MTD_DOCPROBE_HIGH=y
CONFIG_MTD_DOCPROBE_55AA=y

#
# NAND Flash Device Drivers
#

So practice your searching abilities and see what you can find.