[U-Boot] help with PCI RTL8139 on mpc5200

scinteeb scinteeb at gmail.com
Thu Jun 13 10:47:54 CEST 2013



    Hello, 

  First of all I want to mention that I am quite new on the development at
this level on the mpc5200 based boards. It might be that I'll ask dumb or
wrong questions so I want to apologize for this. 
  I am using a custom board based on icecube 5200 reference card but with an
additional PCI RTL8139 network interface. 
1. I did compile the latest u-boot and at that level the PCI is detecting
the interface and the u-boot is adding it in the network list as I can see
as interfaces FEC and RTL8139#0. 

2. I have compiled the latest released kernel 3.9.4 which is having support
for mpc5200 based devices. The kernel is able to identify the RTL8139
interface, is loading properly the 8139too driver, I can change the settings
of the interface, but when I am trying to setup the IP address I am getting
an SIOCSIFFLAGS error. 
The investigations showed that the reason for the error is that the IRQ 0
that is detected by the system as being used by the interface cannot be
used. The request_irq function in the rtl8139 is failing because the
can_request_irq is returning 0. 

The interesting boot messages that I found while booting the kernel and
might be helpful are: 
[    0.226240] mpc52xx_irqhost_map: Critical IRQ #3 is unsupported! Nopping
it. 
... 
[    1.404745] 8139too 0000:01:0c.0 eth1: RealTek RTL8139 at 0xca086000,
00:e0:4c:00:00:08, IRQ 0 

Any idea on how to address the situation? 

Thanks in advance, 
Bogdan. 




--
View this message in context: http://u-boot.10912.n7.nabble.com/help-with-PCI-RTL8139-on-mpc5200-tp156865.html
Sent from the U-Boot mailing list archive at Nabble.com.


More information about the U-Boot mailing list