UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer 1georg2
Observer
5,413 Views
Registered: ‎07-29-2014

Emaclite - Network Problem

Hi

 

i run linux on microzed and using Axi Ethernet Lite. Linux boots fine and in the boot log i see following message.

[   12.877290] xilinx_emaclite 40e00000.ethernet: Device Tree Probing
[   12.877291] libphy: Xilinx Emaclite MDIO: probed
[   12.877294] xilinx_emaclite 40e00000.ethernet: MAC address is now 00:0a:35:00:00:01
[   12.877295] xilinx_emaclite 40e00000.ethernet: Xilinx EmacLite at 0x40E00000 mapped to 0xE0920000, irq=62


When i run ifconfig -a i get

 

eth0      Link encap:Ethernet  HWaddr 00:0A:35:00:00:01
          BROADCAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:62 Memory:40e00000-40e0ffff

eth1      Link encap:Ethernet  HWaddr 00:0A:35:00:01:22
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:54 Base address:0xb000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 


After starting the eth0 interface with "ifconfig eth0 up" -> Linux crashes.

Is this a problem with the emaclite driver?
I would be grateful for any advice thx.

 

 

 

 

0 Kudos
2 Replies
Xilinx Employee
Xilinx Employee
5,398 Views
Registered: ‎09-10-2008

Re: Emaclite - Network Problem

Hi,

 

I doubt there's an issue with EMAC Lite driver, but hard to tell for sure.

 

Can you include more details, like what you get when it crashes (a dump)?

 

Thanks,

John

0 Kudos
Observer 1georg2
Observer
5,389 Views
Registered: ‎07-29-2014

Re: Emaclite - Network Problem

thank you for your quick reply. Sorry, but when linux crash i get no message (it just hangs).
Another weird thing is the fact that in /proc/interrupts appears no IRQ=61 entry(see below).
By the way eth1 is working fine. Is it a problem to use emaclite and emacps driver at the same time?

 

root@zynq:~# cat /proc/interrupts
           CPU0       CPU1
 27:          0          0       GIC  27  gt
 29:        633        526       GIC  29  twd
 35:          0          0       GIC  35  f800c000.ps7-ocmc
 39:          2          0       GIC  39  f8007100.ps7-xadc
 40:          0          0       GIC  40  f8007000.ps7-dev-cfg
 43:       3014          0       GIC  43  ttc_clockevent
 45:          0          0       GIC  45  f8003000.ps7-dma
 46:          0          0       GIC  46  f8003000.ps7-dma
 47:          0          0       GIC  47  f8003000.ps7-dma
 48:          0          0       GIC  48  f8003000.ps7-dma
 49:          0          0       GIC  49  f8003000.ps7-dma
 51:          3          0       GIC  51  e000d000.ps7-qspi
 54:          0          0       GIC  54  eth1
 56:         35          0       GIC  56  mmc0
 72:          0          0       GIC  72  f8003000.ps7-dma
 73:          0          0       GIC  73  f8003000.ps7-dma
 74:          0          0       GIC  74  f8003000.ps7-dma
 75:          0          0       GIC  75  f8003000.ps7-dma
 82:        634          0       GIC  82  xuartps
IPI1:          0        606  Timer broadcast interrupts
IPI2:       1605       1725  Rescheduling interrupts
IPI3:          0          0  Function call interrupts
IPI4:         15         81  Single function call interrupts
IPI5:          0          0  CPU stop interrupts
IPI6:         98        106  IRQ work interrupts
IPI7:          0          0  completion interrupts
Err:          0

Regards,

Georg

 

 

0 Kudos