Skip to contentSkip to conversation

Mount SRAM card without CIS

DISCUSSION Joe Knapp 1 participant 1 message Aug 31, 2011 Memory technology devices (MTD)

lore
Share & tools
lore

Joe Knapp

author
#0 lore raw

Dear MTD team,

I have been searching for many hours now on how to enable a 256 KByte PCMCIA SRAM card. Some details:

Linux 2.6.35-30-generic #56-Ubuntu SMP Mon Jul 11 20:01:08 UTC 2011 x86_64 GNU/Linux

lspci:
03:06.0 CardBus bridge: Texas Instruments PCI1225 (rev 01) 03:06.1 CardBus bridge: Texas Instruments PCI1225 (rev 01)

dmesg after inserting the card and running /lib/udev/pcmcia-socket-startup:

[142469.220134] pcmcia_socket pcmcia_socket0: pccard: PCMCIA card
inserted into slot 0
[142483.684063] pcmcia_socket pcmcia_socket0: cs: memory probe
0x0c0000-0x0fffff: excluding 0xc0000-0xcffff 0xe0000-0xfffff
[142483.684191] pcmcia_socket pcmcia_socket0: cs: memory probe
0xa0000000-0xa0ffffff: excluding 0xa0000000-0xa0ffffff
[142483.684308] pcmcia_socket pcmcia_socket0: cs: memory probe
0x60000000-0x60ffffff: excluding 0x60000000-0x60ffffff
[142483.684542] pcmcia_socket pcmcia_socket0: cs: memory probe

0x0d0000-0x0dffff: clean.

lspcmcia:
Socket 0 Bridge: [yenta_cardbus] (bus ID: 0000:03:06.0)
Configuration: state: on ready: yes
Voltage: 5.0V Vcc: 5.0V Vpp: 5.0V

pccardctl info:
PRODID_1=""
PRODID_2=""
PRODID_3=""
PRODID_4=""
MANFID=0000,0000
FUNCID=255

I have successfully used this HW to mount a CompactFlash device via a PCMCIA to CF adapter, and the SRAM card works correctly in some other test equipment. So, I believe that the HW is OK.

I have tried some variations to /etc/pcmcia/config, including:
device "pcmciamtd" needs_mtd
class "memory" module "pcmciamtd"

card "Anonymous Memory"
anonymous
# bind "memory_cs"
bind "pcmciamtd"

card "Memory Card"
function memory_card
# bind "memory_cs"
bind "pcmciamtd"

Can you please provide some clues as to the current method to enable a SRAM card without CIS?

Thank you in advance,

Joe Knapp