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
Visitor hakjun
Visitor
207 Views
Registered: ‎09-10-2018

xapp1305 pl_eth_10g bsp not working.

Hello. I am using the zcu102 board. I booted Linux using pl_eth_10g.bsp in xapp1305 to run 10G Ethernet, but 10G does not work.
At first I used petalinux v2018.1, but ethernet did not work. So I used petalinux v2018.2, also did not work. I Attach the log file(Changed to v2018.1 version log to resolve the controversy.).

I proceeded to refer to the following site.
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841830/PS+and+PL+based+Ethernet+in+Zynq+MPSoC#PSandPLbasedEthernetinZynqMPSoC-2.7.3PLEthernetBSPinstallation(10G)

bash> petalinux-create -t project -s ../reference/bsps/eth_10g.bsp
bash> cd pl_eth_10G/
bash> petalinux-config
# set sd card packaging
Image Packaging Configuration  --->
	Root filesystem type (SD card)  --->
	[ ] Copy final images to tftpboot
bash> petalinux-config -c kernel
# already settings (I do not change settings)
Device Drivers
	Network device support
		PHY Device support and infrastructure
			<*> Drivers for xilinx PHYs
	DMA Engine Support
		<> Xilinx AXI DMAS Engine
bash> vi project-spec/meta-user/recipes-bsp/device-tree/files/system-user.dtsi
#already settings xxv_ethernet
/include/ "system-conf.dtsi"
/ {
};

&xxv_ethernet_0 {
	local-mac-address = [00 0a 35 00 00 00];
};

&gem3 {
	phy@c {
		reg = <0xc>;
		ti,rx-internal-delay = <0x8>;
		ti,tx-internal-delay = <0xa>;
		ti,fifo-depth = <0x1>;
		ti,rxctrl-strap-worka;
	};
};

&sdhci1 {
	/delete-property/ no-1-8-v;
};
bash> petalinux-build
bash> cd image/linux
bash> petalinux-package --boot --fsbl zynqmp_fsbl.elf --fpga system.bit --u-boot --forc

 

copy BOOT.BIN, Image, system.dtb to mmcblk0p1
untar rootfs.tar.gz to mmcblk0p2
boot and setting pl_eth_10g.

bash> cat /etc/network/interfaces 
# Wired or wireless interfaces
auto eth0
iface eth0 inet dhcp

allow-hotplug eth1
iface eth1 inet static
	address 10.0.0.90
	netmask 255.0.0.0
	network 10.0.0.0
	gateway 10.0.0.1
root@pl_eth_10G:~# ifup eth1
[   64.915717] INFO: rcu_sched detected stalls on CPUs/tasks:
[   64.921135] 	3-...: (1 GPs behind) idle=02a/140000000000000/0 softirq=1107/1109 fqs=2625 
[   64.929286] 	(detected by 2, t=5254 jiffies, g=49, c=48, q=190)
[   64.935187] Task dump for CPU 3:
[   64.938397] ip              R  running task        0  2103   2099 0x00000002
[   64.945429] Call trace:
[   64.947866] [<ffffff8008085878>] __switch_to+0x98/0xb0
[   64.952985] [<ffffff80087e4f40>] sockfd_lookup_light+0x18/0x90
[   64.958799] [<ffffff80087e88f0>] __sys_sendmsg+0x20/0xa0
[   64.964093] [<ffffff80087e8980>] SyS_sendmsg+0x10/0x20
[   64.969213] Exception stack(0xffffff800d373ec0 to 0xffffff800d374000)
[   64.975638] 3ec0: 0000000000000003 0000007fc7c11e78 0000000000000000 0000007f992fc000
[   64.983452] 3ee0: 0000007fc7c19eb0 0000000000000004 0000000031687465 0000000031687465
[   64.991264] 3f00: 00000000000000d3 7f7f7f7f7fffffff 0101010101010101 0000000000000000
[   64.999076] 3f20: 0101010101010101 0000000000000038 0000007f991bcd98 0000007f991afd00
[   65.006888] 3f40: 0000007f99279588 0000000000475198 00000000000005db 0000000000000003
[   65.014699] 3f60: 000000005bf3e3ec 0000007fc7c1a650 0000007fc7c11e78 0000000000000000
[   65.022512] 3f80: 0000007fc7c11eb0 0000007fc7c1a660 0000000000475468 0000000000000000
[   65.030324] 3fa0: 0000000000000000 0000007fc7c11db0 0000000000443204 0000007fc7c11db0
[   65.038136] 3fc0: 0000007f992795b4 0000000080000000 0000000000000003 00000000000000d3
[   65.045948] 3fe0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[   65.053760] [<ffffff80080837b0>] el0_svc_naked+0x24/0x28

But not working. Is there something I missed?

I am using ubuntu 16.04, and the partition of the SD card is as follows.
mmcblk0p1 W95 FAT32 (vfat)
mmcblk0p2 Linux (ext4)

Tags (2)
0 Kudos