Question on the pcmcia module for ppc

3 messages, 3 authors, 2002-01-04 · open the first message on its own page

Question on the pcmcia module for ppc

From: Liu HongXun-a16975 <hidden>
Date: 2002-01-04 10:36:37

Hi, all,
I worked on the PCMCIA module for my MPC 857T based board.
I downloaded the pcmcia-cs 3.1.29 and modified the file modules/m8xx_pcmcia.c.
My board uses the SLOT B. What I did are just like the (F)ADS and RPXLite.
I compiled the resulted pcmcia module and loaded them into linux kernel using "insmod".
1. insmod pcmcia_core.o
2. insmod m8xx_pcmcia.o
3. insmod ds.o
Here comes the problem.
When I inserted ds.o, the driver tells me that "cs: socket 0 timed out during reset"
I looked through the source code and the debug info.
I found that a lot of the same messages as follows:
GetStatus(0) = 0x190
...
Such info come from m8xx_pcmcia.c/m8xx_get_status. It seems that someone
is not satisfied with the above return value and " get status " again and again.
Then it quit.

Any suggestions are highly appreciated!
Thanks a lot

Rolf

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

Re: Question on the pcmcia module for ppc

From: Peter Desnoyers <hidden>
Date: 2002-01-04 14:21:20

Liu HongXun-a16975 wrote:
When I inserted ds.o, the driver tells me that "cs: socket 0 timed out during reset"
I looked through the source code and the debug info.
I found that a lot of the same messages as follows:
GetStatus(0) = 0x190
...
Such info come from m8xx_pcmcia.c/m8xx_get_status. It seems that someone
is not satisfied with the above return value and " get status " again and again.
Then it quit.
To look at it a different way - the driver was unhappy with the value of
the first inb() on an address in the card's I/O space.

My first guess (been there myself) is that inb() and outb() aren't
working to your card's I/O space.

--
.....................................................................
 Peter Desnoyers            (781) 457-1165   pdesnoyers@chinook.com
 Chinook Communications     (617) 661-1979   pjd@fred.cambridge.ma.us
 100 Hayden Ave, Lexington MA 02421

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

Re: Question on the pcmcia module for ppc

From: Matthew Locke <hidden>
Date: 2002-01-04 19:40:06

Liu HongXun-a16975 wrote:
Hi, all,
I worked on the PCMCIA module for my MPC 857T based board.
I downloaded the pcmcia-cs 3.1.29 and modified the file modules/m8xx_pcmcia.c.
My board uses the SLOT B. What I did are just like the (F)ADS and RPXLite.
I compiled the resulted pcmcia module and loaded them into linux kernel using "insmod".
1. insmod pcmcia_core.o
2. insmod m8xx_pcmcia.o
3. insmod ds.o
Here comes the problem.
When I inserted ds.o, the driver tells me that "cs: socket 0 timed out during reset"
I looked through the source code and the debug info.
I found that a lot of the same messages as follows:
GetStatus(0) = 0x190
...
Such info come from m8xx_pcmcia.c/m8xx_get_status. It seems that someone
is not satisfied with the above return value and " get status " again and again.
Then it quit.

Any suggestions are highly appreciated!
Thanks a lot

I'm not familiar with the 857T pcmcia, perhaps the timing is different.
 Check the timing calculation functions against the 857T UM.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help