Skip to contentSkip to conversation

pcmcia-cs for 8xx

DISCUSSION Magnus Damm 3 participants 4 messages Dec 29, 1999

lore
Share & tools
lore
#0 lore raw

Hello all,

What's the status about the 8xx pcmcia controller?

I've played around with my FADS board and boot software. The pcmcia stuff works pretty fine.

I did a small hack half a year ago to use my pcmcia-ata disk as root filesystem using the ide code in Linux. That wasn't such a generic solution...

Wouldn't it be nice to use the pcmcia-cs package? Anyone done that already?

I saw some messages floating around about RPXLite 823. Is there anything I should know before I start digging?

TIA /

Magnus

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw

I'm not aware of pcmcia-cs for 8xx, we just have some kernel routines that we wrote to initialize the 8xx pcmcia registers. They're not as generic as I'd like yet, but you're welcome to them.

One thing to beware: We had a problem w/ bus errors (machine check) when accessing (read and write) the common memory and I/O space on our card. Dan believes this may have to do with TLB misses. He thought pinning the TLB entries for the pcmcia space might fix it. Unfortunately, we haven't had the time to try it yet. Our temporary workaround was to ignore machine checks generated from pcmcia addresses.

-Mark

Quoted 15 lines · Magnus Damm

Hello all,

What's the status about the 8xx pcmcia controller?

I've played around with my FADS board and boot software. The pcmcia stuff works pretty fine.

I did a small hack half a year ago to use my pcmcia-ata disk as root filesystem using the ide code in Linux. That wasn't such a generic solution...

Wouldn't it be nice to use the pcmcia-cs package? Anyone done that already?

Quoted 7 lines

I saw some messages floating around about RPXLite 823. Is there anything I should know before I start digging?

TIA /

Magnus

Mark S. Mathews

AbsoluteValue Software     Web:    http://www.absoval.com
P.O. Box 941149            e-mail: [email protected]
Maitland, FL 32794-1149    Phone:  407.644.8582
USA                        Fax:    407.539.1294

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#3 lore raw
In reply to Magnus Damm
Quoted 1 line · Magnus Damm

What's the status about the 8xx pcmcia controller?

The hardware seems to work (mostly...).

Quoted 1 line

Wouldn't it be nice to use the pcmcia-cs package?

Maybe. I have discussed this with several people over the past year. None of the product requirements I have seen for 8xx PCMCIA need the capabilities of the pcmcia-cs. They didn't require hot swap or a variety of cards supported. They all fit a card before power up and it never changed. All of the projects I have done were "need it yesterday", so I just used minimal functions to map the PCMCIA and get on with life. I never had the time to port the pcmcia-cs package. In the embedded system, they didn't want the overhead of module support programs, so these are also compiled kernel drivers. The whole of pcmcia-cs assumes modules.

One difficulty with the PCMCIA on the 8xx is all board designs I have seen use different power control methods, so the modifications would include board specfic functions for this.

Quoted 1 line

Anyone done that already?

Not that I am aware.

Quoted 1 line

I saw some messages floating around about RPXLite 823.

Mark Mathews has wireless PCMCIA cards working, with some weird hardware difficulty.

I have done several types of Flash card and some things I can't talk about yet on the RPX-Lite PCMCIA.

Quoted 1 line

Is there anything I should know before I start digging?

There are lots of hardware variations. The 860 has two PCMCIA ports, sometimes boards use both or only one. The 823/850 have only PCMCIA B. There are the pin multiplexing issues for the 8xx and the PCMCIA. Some board designs intend to use PCMCIA, but failed because they used the pins in a way that precludes mapping them to the PCMCIA.

If you intend to do this, make sure you post your intentions and progress. I may make some of my time available to help out, I just can't take on the whole project.

	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#2 lore raw
In reply to Mark S. Mathews
Quoted 4 lines · Mark S. Mathews

I'm not aware of pcmcia-cs for 8xx, we just have some kernel routines that we wrote to initialize the 8xx pcmcia registers. They're not as generic as I'd like yet, but you're welcome to them.

How about if I combine these with functions I have, and try to make something generic for low-level RPX-Lite boards? At least it is a starting point and we can improve it over time.

	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/