Hi,
In UltraZed-3EG-IO-Card.
1. I cannot read from memory of PL side, when I am in sdcard mode. in sdk mode I don't have problem reading those addresses.
2. I cannot also set the USB3
Although I done huge effort that all tools and files will have the same version 2018.2 ( I installed new Petlinux 2018.2, create new project with bsp of 2018.2, created a new project from scratsch in Vivado 2018.2, also installed Vivado 2018.2)
I cannot read from PL memory, I tried all options:
devmem 0x80000000 16
devmem 0x80000000 32
I got the following response:
root@uz3eg-2016-2:~# devmem 0x80000000 16
[ 132.165708] INFO: rcu_sched detected stalls on CPUs/tasks:
[ 132.171117] 1-...: (3 GPs behind) idle=43b/140000000000000/0 softirq=1625/1627 fqs=1
[ 132.179018] (detected by 0, t=5267 jiffies, g=1120, c=1119, q=15)
[ 132.185175] Task dump for CPU 1:
[ 132.188385] devmem R running task 0 1893 1885 0x00000000
[ 132.195416] Call trace:
[ 132.197855] [<ffffffc00008529c>] __switch_to+0x94/0xa8
[ 132.202974] [<ffffffc0004710f4>] memory_open+0x54/0x70
[ 132.208094] [<ffffffc000170830>] chrdev_open+0xc0/0x190
[ 132.213302] [<ffffffc00016a330>] do_dentry_open.isra.15+0x1c4/0x2ec
[ 132.219550] [<ffffffc071b88878>] 0xffffffc071b88878
[ 132.224410] rcu_sched kthread starved for 5250 jiffies! g1120 c1119 f0x0 s3 ->state=0x1
When I read the DDR memory I don't have problem
devmem 0x5000
I tried to set the memory to be dedicated to 0xa0000000
In the dtsi file I have added the memory dedicated part also, but I got the same response
/include/ "system-conf.dtsi"
/include/ "openamp.dtsi"
/{
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
reserved: dma_buffer@0 {
reg = <0x0 0x0 0x0 0x00A00000>;
};
};
reserved-driver@0 {
compatible = "xlnx,reserved-memory";
memory-region = <&reserved>;
};
chosen {
bootargs = "earlycon console=ttyPS0,115200 clk_ignore_unused root=/dev/mmcblk0p2 rw rootwait isolcpus=3";
};
----------------------
I also cannot set the USB3,
I tried with the following commands to set the USB3:
ifconfig usb0 192.168.100.1 netmask 255.255.255.0 and modprobe g_ether
But they were not recognized
[ 1661.448807] Configuring USB3:
[ 1661.451673] enable g_ether driver...
modprobe: module g_ether not found in modules.dep
[ 1661.458012] usb0 up...
ifconfig: SIOCGIFFLAGS: No such device
[ 1661.470591] setting Static IP to 192.168.100.1
ifconfig: SIOCSIFADDR: No such device
[ 1661.484095] setting MTU to 15300
ifconfig: SIOCSIFMTU: No such device
Thanks in advance,
Shiri.