Re: STK5200 pci_enable_device problem

2 messages, 2 authors, 2007-08-27 · open the first message on its own page

Re: STK5200 pci_enable_device problem

From: Wolfgang Denk <hidden>
Date: 2007-08-26 21:10:23

In message [off-list ref] you wrote:
Which ELDK and kernel do you use? I had the same problem on this board 
with a PLX9054 based PCI card on a 2.4.25 kernel. I switched to the 2.6 
kernel and the 4.1 ELDK and the card was scanned correctly.
But keep in mind that the linux PLX drivers do not work out of the box 
with a big endian platform like the MPC5200. Although there is a 
BIG_ENDIAN flag in the makefiles there are still some places left in the 
driver code which have to be patched (the parts with int64 adresses).
It's not so easy to compile the PLX drivers on the 4.1 ELDK because of 
missing headers in the ppc architecture. I managed to build the drivers 
for the 2.6.19 kernel and I was able to work with the card except the 
DMA routines (still working on this issue).
WHy don't you use the arch/powerpc configuration, then? Note that the
STK5200 has never been supported in a  2.6  kernel  with  a  arch/ppc
configuration.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
"When the only  tool  you  have  is  a  hammer,  you  tend  to  treat
everything as if it were a nail."                    - Abraham Maslow

Re: STK5200 pci_enable_device problem

From: Oliver Rutsch <hidden>
Date: 2007-08-27 06:26:22

Hi,

[...]

 >> It's not so easy to compile the PLX drivers on the 4.1 ELDK because of
 >> missing headers in the ppc architecture. I managed to build the drivers
 >> for the 2.6.19 kernel and I was able to work with the card except the
 >> DMA routines (still working on this issue).
 >
 > WHy don't you use the arch/powerpc configuration, then? Note that the
 > STK5200 has never been supported in a  2.6  kernel  with  a  arch/ppc
 > configuration.
 >

Because I found at least a lite5200 configuration in the 4.1 ELDK 
(2.6.19.2 kernel) in the ARCH/ppc architecure. With ARCH/powerpc I only 
had a few configurations for other modules and I wasn't able to build a 
running kernel for the TQM5200 (maybe my fault).
Is there support for the TQM5200 and the STK5200 with ARCH/powerpc in 
newer kernels? I'm still using the 3.1.1 ELDK for the TQM5200 as it have 
everything I need and I don't need to use the PLX card in this board 
(although it would have been nice if I got it working...).

Bye,

-- 
Dipl. Ing. Oliver Rutsch
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help