Question on the pcmcia module for ppc
Matthew Locke
mlocke at mvista.com
Tue Jan 8 06:08:57 EST 2002
Liu HongXun-a16975 wrote:
> Hi, Matthew and all,
> The MPC 857T is just the same as MPC 860T, except some little revisions.
> The linux we used is hhl 2.0, lsp for RPXLite.
> MPC 857T ran at 50MHZ and the bus frequency is 50MHZ.
> I set this value as follow:
> #define M8XX_BUSFREQ (50 * 1000000)
The rpx-lite is an 823e. You should start with the rpx-cllf lsp which
is a 860. However, assuming you don't have pci the io base of 0x8000000
will work fine. I have only tested Slot A on an 860 board (cllf from EP).
>
> Am I mising anything here?
> Thanks a lot
> rolf
>
> -----Original Message-----
> From: Matthew Locke [mailto:mlocke at mvista.com]
> Sent: 2002年1月5日 3:40
> To: Liu HongXun-a16975
> Cc: linuxppc-embedded at lists.linuxppc.org
> Subject: Re: Question on the pcmcia module for ppc
>
>
> 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/
More information about the Linuxppc-embedded
mailing list