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: 
Highlighted
Newbie rvcann81
Newbie
5,384 Views
Registered: ‎07-07-2016

AXI 1G/2.5G Ethernet Subsystem on Petalinux: Fail to add driver

Test setup:
- Zed-board with ZYNQ 7020
- ISM networking FMC-module (FMC-ISMNET-PCB-A) with two National Semiconductor DP83640TVV Ethernet phy's

Goal:
The goal is to connect the Ethernet phy on the Zed-board as well as the two Ethernet phy's of the FMC-module to the ZYNQ processor system using Petalinux as OS.

Current status:
I created a Vivado 2015.4 design with a ZYNQ processor connected to both AXI-1G/2.5G-Ethernet-Subsystem and AXI-EthernetLite IP-cores connected to the Ethernet phy’s of the FMC board. The AXI-1G/2.5G-Ethernet-Subsystem is connected to an AXI-DMA IP-core.


Next I created a Petalinux project, build it and loaded it successfully. I can operate the GPIO connected to the LED’s and I can use the Zed-board Ethernet connection. The

Problem:
While creating/building Petalinux, petalinux-config generated the following output:

---------------------------------------------------------------------------
$ petalinux-config --get-hw-description="../../Share/HostExport/project_3"
INFO: Checking component...
INFO: Getting hardware description...
INFO: Rename design_1_wrapper.hdf to system.hdf

****** hsi v2015.4 (64-bit)
  **** SW Build 1412921 on Wed Nov 18 09:44:32 MST 2015
    ** Copyright 1986-2015 Xilinx, Inc. All Rights Reserved.

source ~/projects/test-project2/build/linux/hw-description/hw-description.tcl -notrace
INFO: [Common 17-206] Exiting hsi at Wed Jul  6 13:19:00 2016...
INFO: Config linux
[INFO ] oldconfig linux
[INFO ] generate DTS to ~/projects/test-project2/subsystems/linux/configs/device-tree
INFO: [Hsi 55-1698] elapsed time for repository loading 0 seconds
WARNING: Only boolean type can have empty value. Fail to add driver(axi_ethernet_0) property(axififo-connected) type(reference) value()
WARNING: Please add the property manually
WARNING: Only boolean type can have empty value. Fail to add driver(axi_ethernet_0) property(axififo-connected) type(reference) value()
WARNING: Please add the property manually
INFO: [Common 17-206] Exiting hsi at Wed Jul  6 13:19:43 2016...
[INFO ] generate BSP for zynq_fsbl
INFO: [Hsi 55-1698] elapsed time for repository loading 0 seconds
INFO: [Common 17-206] Exiting hsi at Wed Jul  6 13:20:20 2016...
INFO: Config linux/kernel
[INFO ] oldconfig linux/kernel
INFO: Config linux/rootfs
[INFO ] oldconfig linux/rootfs
INFO: Config linux/u-boot
[INFO ] generate linux/u-boot configuration files
[INFO ] generate linux/u-boot board header files
INFO: [Hsi 55-1698] elapsed time for repository loading 0 seconds
INFO: [Common 17-206] Exiting hsi at Wed Jul  6 13:20:46 2016...
[INFO ] oldconfig linux/u-boot
---------------------------------------------------------------------------

The property “axififo-connected” seems to be a device-tree property, but manually adding the property to the device tree doesn't change anything. Also there is no FIFO connected to the axi_ethernet_0 core because it already is connected to a AXI DMA.

Does anyone know what could cause this problem? And how to fix it?

0 Kudos
2 Replies
Xilinx Employee
Xilinx Employee
4,813 Views
Registered: ‎07-01-2010

Re: AXI 1G/2.5G Ethernet Subsystem on Petalinux: Fail to add driver

@rvcann81

 

Can you share the hdf or the project for me to verify?

 

Please refer to this wiki which has the details of  AXI ethernet [fifo/DMA]

http://www.wiki.xilinx.com/Linux+AXI+Ethernet+driver

 

 

Regards,

Achutha

---------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------
0 Kudos
Xilinx Employee
Xilinx Employee
4,634 Views
Registered: ‎07-01-2010

Re: AXI 1G/2.5G Ethernet Subsystem on Petalinux: Fail to add driver

@rvcann81

 

The warnings you are seeing doesn't seem to impact the functionality , a fix for a device tree is available in the below commit.

 

https://github.com/Xilinx/device-tree-xlnx/commit/6f890e68dcf8d7c2e6f3b5a560810b103b8e5f8e

 

 

Regards,

Achutha

---------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------
0 Kudos