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!

AR# 72396

2019.1 MicroBlaze: Linux AXI Ethernet driver probe fails when using VCU118 PetaLinux BSPs

Description

In PetaLinux 2019.1, a Linux AXI Ethernet driver probe fails when using VCU118 PetaLinux BSP built images:

 

Running postinst /etc/rpm-postinsts/100-sysvinit-inittab...
update-rc.d: /etc/init.d/run-postinsts exists during rc.d purge (continuing)
Removing any system startup links for run-postinsts ...
/etc/rcS.d/S99run-postinsts
INIT: Entering runlevel: 5
Configuring network interfaces... net eth0: Promiscuous mode disabled.
xilinx_axienet 40c00000.ethernet: of_phy_connect() failed
net eth0: Promiscuous mode disabled.
udhcpc: started, v1.29.2
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: no lease, forking to background
done.
Starting Dropbear SSH server: random: dropbearkey: uninitialized urandom read (32 bytes read)
Generating 2048 bit rsa key, this may random: dropbearkey: uninitialized urandom read (32 bytes read)
take a while...
random: dropbearkey: uninitialized urandom read (32 bytes read)
Public key portion is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDROEJLQhek0+Z8QABL1Lj
Of8m4wazt6pomsUkbJwZXpLb0f0g9B7GkhIvSTzSTHhY0bl2ICR
EfWHrgC1frXODzXEvXyKqYJ/caDAdHulNZAP9KJcH9keDSYS57C
ivOStfABjWBWsSubTRvxH6dMaVCWXkneaz4bROkq77gLwxqGC+n
XUh2DqAT1l1n1sOJoaDi/+FGpRUYHeeVpwVp9yeqUq8Y2+tgdYZ
8rdQQXYBpk60qOC+KnCgiyu7gtlmEKwnyFGB4DF37Zb6n4lze4j
1plFAOrV08NYrjs3tOqefepH/dWbSx2QycM73u3WYEecYJdYDI5
lrfnvl58QfKIPyF root@xilinx-vcu118-2019_1
Fingerprint: sha1!! b6:59:1b:d4:a0:14:fc:89:ee:2f:36:b3:22:7f:50:34:48:
d0:c0:94
random: dropbear: uninitialized urandom read (32 bytes read)
dropbear.
Starting internet superserver: inetd.
Starting syslogd/klogd: done
Starting tcf-agent: OK

PetaLinux 2019.1 xilinx-vcu118-2019_1 /dev/ttyUL0
xilinx-vcu118-2019_1 login: root
Password:
root@xilinx-vcu118-2019_1:~#

Solution

This is a known issue in the 2019.1 VCU118 PetaLinux BSP.

To work around this issue, add the below device-tree properties to the phy node in <plnx-proj-root>/project-spec/meta-user/recipes-bsp/device-tree/files/system-user.dtsi

 
/include/ "system-conf.dtsi"
/{
};
 
&axi_ethernet_0 {
    axi_ethernet_mdio: mdio {
        phy0: phy@3 {
    ti,rx-internal-delay = <0x8>;
            ti,tx-internal-delay = <0xa>;
            ti,fifo-depth = <0x1>;
        };
    };
};
 
AR# 72396
Date 05/29/2019
Status Active
Type General Article
Devices
  • Virtex UltraScale+
Tools
  • Linux
  • Device Tree
  • PetaLinux - 2019.1
IP
  • AXI Ethernet
Boards & Kits
  • Virtex UltraScale Plus FPGA VCU118 Evaluation Kit
Page Bookmarked