Skip to contentSkip to conversation

Does anyone port m8xx_pcmcia driver to Linux Kernel successfully?

DISCUSSION Jacky Wang 4 participants 8 messages Apr 17, 2002 – Apr 19, 2002 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Jacky Wang

author
#1 lore raw

Conn,

hmm......
sounds good.

but, I am a newbie about programming with linux kernel and MPC850. Could you tell me which kernel release and how to port it smoothly?

Jacky
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Conn Clark
Sent: Wednesday, April 17, 2002 12:48 AM
To: Jacky Wang
Cc: May Ling List
Subject: Re: Does anyone port m8xx_pcmcia driver to Linux Kernel successfully?

Quoted 10 lines · Jacky Wang

Hi everyone,

I am interesting about how to port m8xx_pcmcia driver to linux kernel w/ MPC850.

Would you mind to share your successful experience with me?

Best Regards
Jacky Wang

We have done it. There shouldn't be much to do provided you have the PCMCIA interface connected correctly.

There was a mistake in the Motorola manual on the MPC850. It involved two lines having to be swapped.

Conn

--

*****************************************************************
If you live at home long enough, your parents will move out.
*****************************************************************

Conn Clark
Engineering Stooge [email protected]
Electronic Systems Technology Inc. www.esteem.com

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

#2 lore raw
Quoted 8 lines · Jacky Wang

Conn,

hmm......
sounds good.

but, I am a newbie about programming with linux kernel and MPC850. Could you tell me which kernel release and how to port it smoothly?

We are using kernel 2.2.13 and pcmcia card services 3.1.10 .
Unfortunately our hardware is proprietary and doesn't have a full pcmcia interface. I had to comment out all the voltage detect and such. Other than that I just followed the instructions that came with the mpc8xx patch file. The patch used to be availible from montavista's ftp site but
isn't any more.

here is some help full notes.

http://lists.linuxppc.org/linuxppc-embedded/200005/msg00227.html

Conn

--

*****************************************************************
If you live at home long enough, your parents will move out.
*****************************************************************

Conn Clark
Engineering Stooge [email protected]
Electronic Systems Technology Inc. www.esteem.com

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

author
#3 lore raw

Conn,

while I enter the ftp site of MontaVista, I couldn't see anything on the site. If it is the patch file that Magnus loaded in the webpage?

Jacky

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Conn Clark
Sent: Thursday, April 18, 2002 1:12 AM
To: Jacky Wang
Cc: May Ling List
Subject: Re: Does anyone port m8xx_pcmcia driver to Linux Kernel successfully?

Quoted 8 lines · Jacky Wang

Conn,

hmm......
sounds good.

but, I am a newbie about programming with linux kernel and MPC850. Could you tell me which kernel release and how to port it smoothly?

We are using kernel 2.2.13 and pcmcia card services 3.1.10 .
Unfortunately our hardware is proprietary and doesn't have a full pcmcia interface. I had to comment out all the voltage detect and such. Other than that I just followed the instructions that came with the mpc8xx patch file. The patch used to be availible from montavista's ftp site but
isn't any more.

here is some help full notes.

http://lists.linuxppc.org/linuxppc-embedded/200005/msg00227.html

Conn

--

*****************************************************************
If you live at home long enough, your parents will move out.
*****************************************************************

Conn Clark
Engineering Stooge [email protected]
Electronic Systems Technology Inc. www.esteem.com

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

author
#4 lore raw

Conn,

I found while use Linux 2.2.13 + pcmcia-cs 2.1.10 + patch file (w/o any modification), I couldn't re-compile pcmcia-cs successfully. They are what I work with:
Debian OS w/ 2.2.18pre21 kernel
powerpc-linux-gcc 2.95.2
powerpc-linux-as 2.9.5

Would you give me your advise? Or.. it's a problem about configurations of Makefile?

Jacky
-----Original Message-----
From: Jacky Wang [mailto:[email protected]]
Sent: Thursday, April 18, 2002 9:31 AM
To: Conn Clark
Cc: May Ling List
Subject: RE: Does anyone port m8xx_pcmcia driver to Linux Kernel successfully?

Conn,

while I enter the ftp site of MontaVista, I couldn't see anything on the site. If it is the patch file that Magnus loaded in the webpage?

Jacky

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Conn Clark
Sent: Thursday, April 18, 2002 1:12 AM
To: Jacky Wang
Cc: May Ling List
Subject: Re: Does anyone port m8xx_pcmcia driver to Linux Kernel successfully?

Quoted 8 lines · Jacky Wang

Conn,

hmm......
sounds good.

but, I am a newbie about programming with linux kernel and MPC850. Could you tell me which kernel release and how to port it smoothly?

We are using kernel 2.2.13 and pcmcia card services 3.1.10 .
Unfortunately our hardware is proprietary and doesn't have a full pcmcia interface. I had to comment out all the voltage detect and such. Other than that I just followed the instructions that came with the mpc8xx patch file. The patch used to be availible from montavista's ftp site but
isn't any more.

here is some help full notes.

http://lists.linuxppc.org/linuxppc-embedded/200005/msg00227.html

Conn

--

*****************************************************************
If you live at home long enough, your parents will move out.
*****************************************************************

Conn Clark
Engineering Stooge [email protected]
Electronic Systems Technology Inc. www.esteem.com

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

#5 lore raw

Hi folks,

The patch file you are referring to, is that the same patch as I released
in the mail below?

http://lists.linuxppc.org/linuxppc-embedded/200002/msg00093.html

If that is the case I think you should try pcmcia-cs-3.1.10 instead of 2.1.10.
Or was that a typo?

/ Magnus

Quoted 59 lines · Jacky Wang

Conn,

I found while use Linux 2.2.13 + pcmcia-cs 2.1.10 + patch file (w/o any modification), I couldn't re-compile pcmcia-cs successfully. They are what I work with:
Debian OS w/ 2.2.18pre21 kernel
powerpc-linux-gcc 2.95.2
powerpc-linux-as 2.9.5

Would you give me your advise? Or.. it's a problem about configurations of Makefile?

Jacky
-----Original Message-----
From: Jacky Wang [mailto:[email protected]]
Sent: Thursday, April 18, 2002 9:31 AM
To: Conn Clark
Cc: May Ling List
Subject: RE: Does anyone port m8xx_pcmcia driver to Linux Kernel successfully?

Conn,

while I enter the ftp site of MontaVista, I couldn't see anything on the site. If it is the patch file that Magnus loaded in the webpage?

Jacky

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Conn Clark
Sent: Thursday, April 18, 2002 1:12 AM
To: Jacky Wang
Cc: May Ling List
Subject: Re: Does anyone port m8xx_pcmcia driver to Linux Kernel successfully?

Quoted 8 lines · Jacky Wang

Conn,

hmm......
sounds good.

but, I am a newbie about programming with linux kernel and MPC850. Could you tell me which kernel release and how to port it smoothly?

We are using kernel 2.2.13 and pcmcia card services 3.1.10 .
Unfortunately our hardware is proprietary and doesn't have a full pcmcia interface. I had to comment out all the voltage detect and such. Other than that I just followed the instructions that came with the mpc8xx patch file. The patch used to be availible from montavista's ftp site but
isn't any more.

here is some help full notes.

http://lists.linuxppc.org/linuxppc-embedded/200005/msg00227.html

Conn

--

Quoted 8 lines

*****************************************************************
If you live at home long enough, your parents will move out.
*****************************************************************

Conn Clark
Engineering Stooge [email protected]
Electronic Systems Technology Inc. www.esteem.com

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

author
#6 lore raw

Hi Magnus,

Yes.
That's what I am using(pcmcia-cs 3.1.10 + gz00000.gz//is the patch file from webpage).

sorry for my mis-typing.

Jacky

-----Original Message-----
From: Magnus Damm [mailto:[email protected]]
Sent: Thursday, April 18, 2002 5:44 PM
To: Jacky Wang
Cc: Conn Clark; May Ling List
Subject: Re: Does anyone port m8xx_pcmcia driver to Linux Kernel successfully?

Hi folks,

The patch file you are referring to, is that the same patch as I released
in the mail below?

http://lists.linuxppc.org/linuxppc-embedded/200002/msg00093.html

If that is the case I think you should try pcmcia-cs-3.1.10 instead of 2.1.10.
Or was that a typo?

/ Magnus

Quoted 59 lines · Jacky Wang

Conn,

I found while use Linux 2.2.13 + pcmcia-cs 2.1.10 + patch file (w/o any modification), I couldn't re-compile pcmcia-cs successfully. They are what I work with:
Debian OS w/ 2.2.18pre21 kernel
powerpc-linux-gcc 2.95.2
powerpc-linux-as 2.9.5

Would you give me your advise? Or.. it's a problem about configurations of Makefile?

Jacky
-----Original Message-----
From: Jacky Wang [mailto:[email protected]]
Sent: Thursday, April 18, 2002 9:31 AM
To: Conn Clark
Cc: May Ling List
Subject: RE: Does anyone port m8xx_pcmcia driver to Linux Kernel successfully?

Conn,

while I enter the ftp site of MontaVista, I couldn't see anything on the site. If it is the patch file that Magnus loaded in the webpage?

Jacky

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Conn Clark
Sent: Thursday, April 18, 2002 1:12 AM
To: Jacky Wang
Cc: May Ling List
Subject: Re: Does anyone port m8xx_pcmcia driver to Linux Kernel successfully?

Quoted 8 lines · Jacky Wang

Conn,

hmm......
sounds good.

but, I am a newbie about programming with linux kernel and MPC850. Could you tell me which kernel release and how to port it smoothly?

We are using kernel 2.2.13 and pcmcia card services 3.1.10 .
Unfortunately our hardware is proprietary and doesn't have a full pcmcia interface. I had to comment out all the voltage detect and such. Other than that I just followed the instructions that came with the mpc8xx patch file. The patch used to be availible from montavista's ftp site but
isn't any more.

here is some help full notes.

http://lists.linuxppc.org/linuxppc-embedded/200005/msg00227.html

Conn

--

Quoted 8 lines

*****************************************************************
If you live at home long enough, your parents will move out.
*****************************************************************

Conn Clark
Engineering Stooge [email protected]
Electronic Systems Technology Inc. www.esteem.com

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

#7 lore raw
In reply to Jacky Wang

Hi Jacky,

Quoted 29 lines · Jacky Wang

Conn,

hmm......
sounds good.

but, I am a newbie about programming with linux kernel and MPC850. Could you tell me which kernel release and how to port it smoothly?

Jacky
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Conn Clark
Sent: Wednesday, April 17, 2002 12:48 AM
To: Jacky Wang
Cc: May Ling List
Subject: Re: Does anyone port m8xx_pcmcia driver to Linux Kernel successfully?

Quoted 10 lines · Jacky Wang

Hi everyone,

I am interesting about how to port m8xx_pcmcia driver to linux kernel w/ MPC850.

Would you mind to share your successful experience with me?

Best Regards
Jacky Wang

Quoted 5 lines

We have done it. There shouldn't be much to do provided you have the PCMCIA interface connected correctly.

There was a mistake in the Motorola manual on the MPC850. It involved two lines having to be swapped.

That sounds interesting, can you please tell me which lines? Cause I'm right on the way to
do such a interface...

And a little bit OT, but how do you implement the BCSR's? I looked for the (ABEL)-Source which is provided with the Manual (MPC8xxFADSMENGUM.pdf) but i found no good tool to extract the needed pins...

Any help would be very pleasant,

Regards
Sven Boehringer

Quoted 5 lines

Conn

--

Quoted 8 lines

*****************************************************************
If you live at home long enough, your parents will move out.
*****************************************************************

Conn Clark
Engineering Stooge [email protected]
Electronic Systems Technology Inc. www.esteem.com

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

#8 lore raw
Quoted 16 lines · Sven Boehringer
Quoted 6 lines

We have done it. There shouldn't be much to do provided you have the PCMCIA interface connected correctly.

There was a mistake in the Motorola manual on the MPC850. It involved two lines having to be swapped.

That sounds interesting, can you please tell me which lines? Cause I'm right on the way to
do such a interface...

And a little bit OT, but how do you implement the BCSR's? I looked for the (ABEL)-Source which is provided with the Manual (MPC8xxFADSMENGUM.pdf) but i found no good tool to extract the needed pins...

Quoted 4 lines

Any help would be very pleasant,

Regards
Sven Boehringer

Hi Sven,

We were told that the RESET_B and the POE_B needed to be
swapped. Somewhere motorola has an app note on it.

Looking at the MPC850UM.PDF that I downloaded today they have corrected the error. Our printed manual has the mistake.

RESET_B is connected to OP3
POE_B is connected to OP2

I can't find the register you are reffering to (BCSR). Could you spell it
out?

Hope this helps.

--

*****************************************************************
If you live at home long enough, your parents will move out.
*****************************************************************

Conn Clark
Engineering Stooge [email protected]
Electronic Systems Technology Inc. www.esteem.com

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