cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
keanfj421ss
Participant
Participant
886 Views
Registered: ‎07-31-2020

ZCU102 Software Emulation with Vitis

Jump to solution

I used to create software emulation with the following line of code for Alveo Boards 

 

make all BUILD_DIR=./build/ TARGET=sw_emu DEVICE=xilinx_u200_xdma_201830_2 ; export XCL_EMULATION_MODE=sw_emu ; emconfigutil --platform xilinx_u200_xdma_201830_2 --nd 1

 

I have installed this file ( ZCU102 Base 2020.1 ) for dependencies and changed the xilinx_u200_xdma_201830_2 above code snippet to xilinx_zcu102_base_202010_1 it compiles without any error but it doesn't run the execution file. How can I find a way to run simulations created for Vitis for ZCU102 ?

0 Kudos
Reply
1 Solution

Accepted Solutions
randyh
Xilinx Employee
Xilinx Employee
690 Views
Registered: ‎01-04-2013

First, it looks like your build completed successfully, and that is a good thing. During the packaging step (v++ -p) the tool created a script for you to use in launching software emulation:

INFO: [v++ 82-1022] Generating /home/ubuntu/Vitis_Accel_Examples/hello_world/package.sw_emu/launch_sw_emu.sh

This is the command you want to run, as it will launch the QEMU environment to model the embedded processor of the zcu102 platform. This is a pre-scripted form of the launch_emulator command that you need to setup and run software or hardware emulation.

Then you need to mount the sd_card in the QEMU environment, cd to that device, and setup the environment. 

mount /dev/mmcblk0p1 /mnt
cd /mnt
export LD_LIBRARY_PATH=/mnt:/tmp:$LD_LIBRARY_PATH
export XCL_EMULATION_MODE=sw_emu
export XILINX_XRT=/usr
export XILINX_VITIS=/mnt

Your host.elf and xclbin files should have been copied to the sd_card as part of the package process, so they should be visible from the mounted sd_card. You will want to run your application from that location:

./hello_world ./vadd.xclbin

 

You should be using the xbutil command instead of xbmgmt to query the hardware platform.  In addition, if you have a zcu102 platform, you can just program an sd_card with your application image, plug it into the platform, and boot the device to run it on hardware. The package step creates the sd_card image for you.

INFO: [v++ 82-1011] Creating sd_card directory

 

 

 

View solution in original post

9 Replies
randyh
Xilinx Employee
Xilinx Employee
876 Views
Registered: ‎01-04-2013

Generally, emconfigutil creates an emulation model for Data Center accelerator cards, and the launch_emulator command (or launch_sw_emu.sh) is needed for embedded platforms such as ZCU102. However, there are some additional details needed based on the software version you are running. Can you say which release you are using? 

0 Kudos
Reply
keanfj421ss
Participant
Participant
871 Views
Registered: ‎07-31-2020
Hello randyh,
Thank you for quick reply, I will be using Xilinx Vitis 2019.2 version and a explanatory guide will be very appreciated because I am new in FPGA development.

Thank you in advance!
0 Kudos
Reply
randyh
Xilinx Employee
Xilinx Employee
826 Views
Registered: ‎01-04-2013

The embedded system is a little different from the Data Center accelerator cards, because of the need to set up the embedded processor and move your application to the booted system. You need to make sure to install your software correctly, including the required software and platforms. Follow the directions here for software installation: 

https://www.xilinx.com/html_docs/xilinx2019_2/vitis_doc/dhg1543555360045.html

Follow the directions here for downloading and installing the zcu102 base platform and the base platform cross-compilation sysroot needed for the zcu102/104 platforms:

https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/embedded-platforms/2019-2.html

When you get this setup, you should be able to use the Vitis IDE to build your zcu102 application and run emulation. Follow the directions here to start your project:

https://www.xilinx.com/html_docs/xilinx2019_2/vitis_doc/Chunk1843199917.html#cpe1508968036414

 

keanfj421ss
Participant
Participant
722 Views
Registered: ‎07-31-2020

Hello I am trying to build sw_emu for the hello_world example for zcu102 with the following command :

 

 

 

 

make all TARGET=sw_emu DEVICE=/opt/xilinx/platforms/xilinx_zcu102_base_202010_1/xilinx_zcu102_base_202010_1/xilinx_zcu102_base_202010_1.xpfm HOST_ARCH=aarch64 SYSROOT=/home/ubuntu/hdf-examples/test-2020.1/images/linux/sdk/sysroots/aarch64-xilinx-linux EDGE_COMMON_SW=/home/ubuntu/Downloads/xilinx-zynqmp-common-v2020.1/

 

 

 

 

This is the output :

rm -rf run_app.sh
v++ -p ./build_dir.sw_emu.xilinx_zcu102_base_202010_1/vadd.xclbin -t sw_emu --platform /opt/xilinx/platforms/xilinx_zcu102_base_202010_1/xilinx_zcu102_base_202010_1/xilinx_zcu102_base_202010_1.xpfm --package.out_dir ./package.sw_emu --package.rootfs /home/ubuntu/Downloads/xilinx-zynqmp-common-v2020.1//rootfs.ext4 --package.sd_file /home/ubuntu/Downloads/xilinx-zynqmp-common-v2020.1//Image --package.sd_file xrt.ini --package.sd_file ./run_app.sh --package.sd_file ./hello_world -o vadd.xclbin
Option Map File Used: '/tools/Xilinx/Vitis/2020.1/data/vitis/vpp/optMap.xml'

****** v++ v2020.1 (64-bit)
  **** SW Build 2902540 on Wed May 27 19:54:35 MDT 2020
    ** Copyright 1986-2020 Xilinx, Inc. All Rights Reserved.

INFO: [v++ 60-1306] Additional information associated with this v++ package can be found at:
	Reports: /home/ubuntu/Vitis_Accel_Examples/hello_world/_x/reports/package
	Log files: /home/ubuntu/Vitis_Accel_Examples/hello_world/_x/logs/package
INFO: [v++ 60-1657] Initializing dispatch client.
Running Dispatch Server on port:42657
INFO: [v++ 60-1548] Creating build summary session with primary output /home/ubuntu/Vitis_Accel_Examples/hello_world/vadd.xclbin.package_summary, at Mon Nov  9 22:24:38 2020
INFO: [v++ 60-1316] Initiating connection to rulecheck server, at Mon Nov  9 22:24:38 2020
Running Rule Check Server on port:37889
INFO: [v++ 60-1315] Creating rulecheck session with output '/home/ubuntu/Vitis_Accel_Examples/hello_world/_x/reports/package/v++_package_vadd_guidance.html', at Mon Nov  9 22:24:39 2020
INFO: [v++ 60-895]   Target platform: /opt/xilinx/platforms/xilinx_zcu102_base_202010_1/xilinx_zcu102_base_202010_1/xilinx_zcu102_base_202010_1.xpfm
INFO: [v++ 60-1578]   This platform contains Xilinx Shell Archive '/opt/xilinx/platforms/xilinx_zcu102_base_202010_1/xilinx_zcu102_base_202010_1/hw/xilinx_zcu102_base_202010_1.xsa'
INFO: [v++ 60-2256] Packaging for software emulation
WARNING: [v++ 82-1077] Kernel image is not specified for linux domain
WARNING: [v++ 82-1097] Skipping boot image generation, since FSBL is directly loaded onto emulator
INFO: [v++ 82-1017] Deleting existing qemu_args.txt
INFO: [v++ 82-1016] Deleting existing pmc_args.txt
INFO: [v++ 82-1014] Deleting existing launch_hw_emulator.sh
INFO: [v++ 82-1022] Generating /home/ubuntu/Vitis_Accel_Examples/hello_world/package.sw_emu/launch_sw_emu.sh
INFO: [v++ 82-1018] Deleting existing sd_card directory
INFO: [v++ 82-1011] Creating sd_card directory
INFO: [v++ 82-1075] Deleting the existing directory /home/ubuntu/Vitis_Accel_Examples/hello_world/package.sw_emu/sd_card//data/emulation/unified
INFO: [v++ 82-1083] Deleting existing sd_card.img
FATSIZE:1124
fat_start:63
fat_end:2096639
fat_sector:2096577
ext4_start:0
ext4_sector:4142856
EXT4SIZE:2048
TOTALSIZE:3172
dummy_ext4_sector:51448
sd_card_fat_start:2048
sd_card_ext4_start:2195456
dummy_ext4_start:6338312
2096577+0 records in
2096577+0 records out
1073447424 bytes (1.1 GB, 1.0 GiB) copied, 7.66198 s, 140 MB/s
4142856+0 records in
4142856+0 records out
2121142272 bytes (2.1 GB, 2.0 GiB) copied, 21.7708 s, 97.4 MB/s
51448+0 records in
51448+0 records out
26341376 bytes (26 MB, 25 MiB) copied, 0.186632 s, 141 MB/s
INFO: [v++ 60-2343] Use the vitis_analyzer tool to visualize and navigate the relevant reports. Run the following command. 
    vitis_analyzer /home/ubuntu/Vitis_Accel_Examples/hello_world/vadd.xclbin.package_summary 
INFO: [v++ 60-791] Total elapsed time: 0h 0m 47s
INFO: [v++ 60-1653] Closing dispatch client.

Then when I try to run the command

 

 

 

 

./hello_world /build_dir.sw_emu.xilinx_zcu102_base_202010_1/vadd.xclbin

 

 

 

 

it gives me the following error :

 

 

 

 

XRT build version: 2.6.655
Build hash: 2d6bfe4ce91051d4e5b499d38fc493586dd4859a
Build date: 2020-05-22 12:05:03
Git branch: 2020.1
PID: 6506
UID: 1000
[Mon Nov  9 23:03:34 2020]
HOST: ubuntu
EXE: /home/ubuntu/Vitis_Accel_Examples/hello_world/hello_world
[XRT] ERROR: No devices found
[XRT] ERROR: No devices found
[XRT] ERROR: No devices found
/home/ubuntu/Vitis_Accel_Examples/common/includes/xcl2/xcl2.cpp:50 Error calling err = cl::Platform::get(&platforms), error code is: -1001

 

 

 

This is the result of

 

sudo /opt/xilinx/xrt/bin/xbmgmt flash --scan
No card is found!

 

At the beginning I have sourced Vitis2020.1, petalinux and xrt. What am I doing wrong or missing that it crucial ?

0 Kudos
Reply
randyh
Xilinx Employee
Xilinx Employee
691 Views
Registered: ‎01-04-2013

First, it looks like your build completed successfully, and that is a good thing. During the packaging step (v++ -p) the tool created a script for you to use in launching software emulation:

INFO: [v++ 82-1022] Generating /home/ubuntu/Vitis_Accel_Examples/hello_world/package.sw_emu/launch_sw_emu.sh

This is the command you want to run, as it will launch the QEMU environment to model the embedded processor of the zcu102 platform. This is a pre-scripted form of the launch_emulator command that you need to setup and run software or hardware emulation.

Then you need to mount the sd_card in the QEMU environment, cd to that device, and setup the environment. 

mount /dev/mmcblk0p1 /mnt
cd /mnt
export LD_LIBRARY_PATH=/mnt:/tmp:$LD_LIBRARY_PATH
export XCL_EMULATION_MODE=sw_emu
export XILINX_XRT=/usr
export XILINX_VITIS=/mnt

Your host.elf and xclbin files should have been copied to the sd_card as part of the package process, so they should be visible from the mounted sd_card. You will want to run your application from that location:

./hello_world ./vadd.xclbin

 

You should be using the xbutil command instead of xbmgmt to query the hardware platform.  In addition, if you have a zcu102 platform, you can just program an sd_card with your application image, plug it into the platform, and boot the device to run it on hardware. The package step creates the sd_card image for you.

INFO: [v++ 82-1011] Creating sd_card directory

 

 

 

View solution in original post

keanfj421ss
Participant
Participant
662 Views
Registered: ‎07-31-2020

Hello again,

I have managed to run the launch_sw.sh file and it generated following report

Current working dir /home/ubuntu/Vitis_Accel_Examples/hello_world/package.sw_emu
Required emulation files like qemu_args exists
Running SW Emulation
INFO :  [LAUNCH_EMULATOR] pl_sim_dir option is not provided.
Starting QEMU
 - Press <Ctrl-a h> for help 
Waiting for QEMU to start. qemu_port 7626
Qemu_pids 1787 1788
qemu-system-aarch64: -chardev socket,path=/tmp/1733/qemu-rport-_pmu@0,server,id=pmu-apu-rp: info: QEMU waiting for connection on: disconnected:unix:/tmp/1733/qemu-rport-_pmu@0,server
QEMU started. qemu_pid=1787.
Waiting for PMU to start. Qemu_pids 1791 1792
qemu-system-aarch64: -chardev socket,id=pl-rp,host=127.0.0.1,port=8082,server: info: QEMU waiting for connection on: disconnected:tcp:127.0.0.1:8082,server
PMC started. pmc_pid=1791
Starting PL simulation.Generating PLLauncher commandline
running PLL Launcher
PMU Firmware 2020.1	Jun 10 2020   09:15:23
PMU_ROM Version: xpbr-v8.1.0-0
NOTICE:  ATF running on XCZUUNKN/QEMU v4/RTL0.0 at 0xfffea000
NOTICE:  BL31: v2.2(release):v1.1-5588-g5918e656e
NOTICE:  BL31: Built : 09:12:30, Jun 10 2020


U-Boot 2020.01 (Jun 10 2020 - 09:13:25 +0000)

Model: ZynqMP ZCU102 Rev1.0
Board: Xilinx ZynqMP
DRAM:  4 GiB
PMUFW:	v1.1
EL Level:	EL2
Chip ID:	unknown
NAND:  0 MiB
MMC:   mmc@ff170000: 0
In:    serial@ff000000
Out:   serial@ff000000
Err:   serial@ff000000
Bootmode: SD_MODE1
Reset reason:	
Net:   
ZYNQ GEM: ff0e0000, mdio bus ff0e0000, phyaddr 12, interface rgmii-id

Warning: ethernet@ff0e0000 using MAC address from DT
eth0: ethernet@ff0e0000
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
2007 bytes read in 25 ms (78.1 KiB/s)
## Executing script at 20000000
17138176 bytes read in 4847 ms (3.4 MiB/s)
44203 bytes read in 37 ms (1.1 MiB/s)
## Flattened Device Tree blob at 00100000
   Booting using the fdt blob at 0x100000
   Loading Device Tree to 000000000fff2000, end 000000000ffffcaa ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.4.0-xilinx-v2020.1 (oe-user@oe-host) (gcc version 9.2.0 (GCC)) #1 SMP Thu May 28 13:14:33 UTC 2020
[    0.000000] Machine model: ZynqMP ZCU102 Rev1.0
[    0.000000] earlycon: cdns0 at MMIO 0x00000000ff000000 (options '115200n8')
[    0.000000] printk: bootconsole [cdns0] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 512 MiB at 0x000000005fc00000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 22 pages/cpu s49944 r8192 d31976 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] CPU features: detected: ARM erratum 843419
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1031940
[    0.000000] Kernel command line: earlycon console=ttyPS0,115200 clk_ignore_unused root=/dev/mmcblk0p2 rw rootwait cma=512M
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x5bc00000-0x5fc00000] (64MB)
[    0.000000] Memory: 3505504K/4193280K available (11644K kernel code, 672K rwdata, 3624K rodata, 704K init, 323K bss, 163488K reserved, 524288K cma-reserved)
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] irq-xilinx: /amba/axi-interrupt-ctrl: num_irq=32, sw_irq=0, edge=0x0
[    0.000000] random: get_random_bytes called from start_kernel+0x2a8/0x42c with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 65.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xefdb196da, max_idle_ns: 440795204367 ns
[    0.000303] sched_clock: 56 bits at 65MHz, resolution 15ns, wraps every 2199023255550ns
[    0.029617] Console: colour dummy device 80x25
[    0.032170] Calibrating delay loop (skipped), value calculated using timer frequency.. 130.00 BogoMIPS (lpj=260000)
[    0.032937] pid_max: default: 32768 minimum: 301
[    0.040352] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.041342] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.139013] ASID allocator initialised with 32768 entries
[    0.142683] rcu: Hierarchical SRCU implementation.
[    0.152708] EFI services will not be available.
[    0.165928] smp: Bringing up secondary CPUs ...
[    0.198022] Detected VIPT I-cache on CPU1
[    0.201706] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.237608] Detected VIPT I-cache on CPU2
[    0.239288] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.264896] Detected VIPT I-cache on CPU3
[    0.266519] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.270883] smp: Brought up 1 node, 4 CPUs
[    0.273445] SMP: Total of 4 processors activated.
[    0.278725] CPU features: detected: 32-bit EL0 Support
[    0.283683] CPU features: detected: CRC32 instructions
[    0.303913] CPU: All CPU(s) started at EL2
[    0.307533] alternatives: patching kernel code
[    0.389990] devtmpfs: initialized
[    0.503127] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.504385] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.600566] xor: measuring software checksum speed
[    0.645973]    8regs     :   500.000 MB/sec
[    0.700934]    32regs    :   515.000 MB/sec
[    0.763441]    arm64_neon:   480.000 MB/sec
[    0.764255] xor: using function: 32regs (515.000 MB/sec)
[    0.779270] pinctrl core: initialized pinctrl subsystem
[    0.848148] NET: Registered protocol family 16
[    0.879988] DMA: preallocated 256 KiB pool for atomic allocations
[    0.881202] audit: initializing netlink subsys (disabled)
[    0.896565] audit: type=2000 audit(0.612:1): state=initialized audit_enabled=0 res=1
[    0.923648] cpuidle: using governor menu
[    0.929597] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    1.231355] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    1.232625] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    1.232844] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    1.233614] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    5.065532] DRBG: Continuing without Jitter RNG
[    5.236109] raid6: neonx8   gen()   686 MB/s
[    5.327732] raid6: neonx8   xor()   231 MB/s
[    5.416953] raid6: neonx4   gen()   625 MB/s
[    5.532685] raid6: neonx4   xor()   265 MB/s
[    5.608937] raid6: neonx2   gen()   319 MB/s
[    5.692272] raid6: neonx2   xor()   228 MB/s
[    5.793217] raid6: neonx1   gen()   412 MB/s
[    5.894592] raid6: neonx1   xor()   258 MB/s
[    6.002383] raid6: int64x8  gen()   582 MB/s
[    6.093160] raid6: int64x8  xor()   250 MB/s
[    6.179982] raid6: int64x4  gen()   247 MB/s
[    6.274614] raid6: int64x4  xor()   398 MB/s
[    6.359701] raid6: int64x2  gen()   440 MB/s
[    6.484604] raid6: int64x2  xor()   293 MB/s
[    6.570433] raid6: int64x1  gen()   313 MB/s
[    6.671720] raid6: int64x1  xor()   219 MB/s
[    6.672254] raid6: using algorithm neonx8 gen() 686 MB/s
[    6.674147] raid6: .... xor() 231 MB/s, rmw enabled
[    6.674879] raid6: using neon recovery algorithm
[    6.684075] iommu: Default domain type: Translated 
[    6.706975] SCSI subsystem initialized
[    6.714238] usbcore: registered new interface driver usbfs
[    6.715999] usbcore: registered new interface driver hub
[    6.720337] usbcore: registered new device driver usb
[    6.722368] mc: Linux media interface: v0.10
[    6.722962] videodev: Linux video capture interface: v2.00
[    6.724463] pps_core: LinuxPPS API ver. 1 registered
[    6.725403] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    6.726608] PTP clock support registered
[    6.732023] EDAC MC: Ver: 3.0.0
[    6.772409] zynqmp-ipi-mbox mailbox@ff990400: Registered ZynqMP IPI mbox with TX/RX channels.
[    6.787912] FPGA manager framework
[    6.804008] Advanced Linux Sound Architecture Driver Initialized.
[    6.841734] Bluetooth: Core ver 2.22
[    6.843555] NET: Registered protocol family 31
[    6.850090] Bluetooth: HCI device and connection manager initialized
[    6.851261] Bluetooth: HCI socket layer initialized
[    6.851731] Bluetooth: L2CAP socket layer initialized
[    6.852576] Bluetooth: SCO socket layer initialized
[    6.916082] clocksource: Switched to clocksource arch_sys_counter
[    6.936303] VFS: Disk quotas dquot_6.6.0
[    6.939530] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    7.167074] NET: Registered protocol family 2
[    7.210132] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    7.211294] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    7.215999] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    7.220481] TCP: Hash tables configured (established 32768 bind 32768)
[    7.240554] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    7.242509] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    7.249673] NET: Registered protocol family 1
[    7.274518] RPC: Registered named UNIX socket transport module.
[    7.275290] RPC: Registered udp transport module.
[    7.275725] RPC: Registered tcp transport module.
[    7.276060] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    7.295159] PCI: CLS 0 bytes, default 64
[    7.337083] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    7.358052] hw perfevents: enabled with armv8_pmuv3 PMU driver, 5 counters available
[    7.378052] Initialise system trusted keyrings
[    7.392548] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    7.443763] NFS: Registering the id_resolver key type
[    7.445300] Key type id_resolver registered
[    7.447653] Key type id_legacy registered
[    7.448737] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    7.450681] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    7.557450] NET: Registered protocol family 38
[    7.558256] Key type asymmetric registered
[    7.558812] Asymmetric key parser 'x509' registered
[    7.561751] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    7.562846] io scheduler mq-deadline registered
[    7.566239] io scheduler kyber registered
[    8.971214] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    9.216816] brd: module loaded
[    9.382199] loop: module loaded
[    9.400350] mtdoops: mtd device (mtddev=name/number) must be supplied
[    9.442623] libphy: Fixed MDIO Bus: probed
[    9.479340] tun: Universal TUN/TAP device driver, 1.6
[    9.486508] CAN device driver interface
[    9.499418] usbcore: registered new interface driver asix
[    9.500318] usbcore: registered new interface driver ax88179_178a
[    9.501984] usbcore: registered new interface driver cdc_ether
[    9.503126] usbcore: registered new interface driver net1080
[    9.513852] usbcore: registered new interface driver cdc_subset
[    9.514383] usbcore: registered new interface driver zaurus
[    9.514911] usbcore: registered new interface driver cdc_ncm
[    9.535730] usbcore: registered new interface driver uas
[    9.541663] usbcore: registered new interface driver usb-storage
[    9.593310] rtc_zynqmp ffa60000.rtc: registered as rtc0
[    9.594977] i2c /dev entries driver
[    9.678915] usbcore: registered new interface driver uvcvideo
[    9.685366] USB Video Class driver (1.1.1)
[    9.735831] Bluetooth: HCI UART driver ver 2.3
[    9.742208] Bluetooth: HCI UART protocol H4 registered
[    9.744764] Bluetooth: HCI UART protocol BCSP registered
[    9.745580] Bluetooth: HCI UART protocol LL registered
[    9.746128] Bluetooth: HCI UART protocol ATH3K registered
[    9.746707] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    9.747679] Bluetooth: HCI UART protocol Intel registered
[    9.749900] Bluetooth: HCI UART protocol QCA registered
[    9.751510] usbcore: registered new interface driver bcm203x
[    9.752214] usbcore: registered new interface driver bpa10x
[    9.752914] usbcore: registered new interface driver bfusb
[    9.761289] usbcore: registered new interface driver btusb
[    9.762739] usbcore: registered new interface driver ath3k
[    9.778061] EDAC MC: ECC not enabled
[    9.783453] EDAC ZynqMP-OCM: ECC not enabled - Disabling EDAC driver
[    9.815492] sdhci: Secure Digital Host Controller Interface driver
[    9.818931] sdhci: Copyright(c) Pierre Ossman
[    9.819467] sdhci-pltfm: SDHCI platform and OF driver helper
[    9.845571] ledtrig-cpu: registered to indicate activity on CPUs
[    9.851438] zynqmp_firmware_probe Platform Management API v1.1
[    9.852112] zynqmp_firmware_probe Trustzone version v1.0
[   10.037374] zynqmp-pinctrl firmware:zynqmp-firmware:pinctrl: zynqmp pinctrl initialized
[   11.182799] alg: No test for xilinx-zynqmp-aes (zynqmp-aes)
[   11.186593] zynqmp_aes zynqmp_aes: AES Successfully Registered
[   11.186593] 
[   11.205581] alg: No test for xilinx-keccak-384 (zynqmp-keccak-384)
[   11.231315] alg: No test for xilinx-zynqmp-rsa (zynqmp-rsa)
[   11.243156] usbcore: registered new interface driver usbhid
[   11.243711] usbhid: USB HID core driver
[   11.348122] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[   11.359243] usbcore: registered new interface driver snd-usb-audio
[   11.398170] pktgen: Packet Generator for packet performance testing. Version: 2.75
[   11.463616] Initializing XFRM netlink socket
[   11.468069] NET: Registered protocol family 10
[   11.537765] Segment Routing with IPv6
[   11.547466] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[   11.598033] hrtimer: interrupt took 48970354 ns
[   11.609034] NET: Registered protocol family 17
[   11.613719] NET: Registered protocol family 15
[   11.615130] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[   11.617200] can: controller area network core (rev 20170425 abi 9)
[   11.618812] NET: Registered protocol family 29
[   11.619746] can: raw protocol (rev 20170425)
[   11.620513] can: broadcast manager protocol (rev 20170425 t)
[   11.620935] can: netlink gateway (rev 20190810) max_hops=1
[   11.628184] Bluetooth: RFCOMM TTY layer initialized
[   11.630306] Bluetooth: RFCOMM socket layer initialized
[   11.641360] Bluetooth: RFCOMM ver 1.11
[   11.643250] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   11.645502] Bluetooth: BNEP filters: protocol multicast
[   11.649040] Bluetooth: BNEP socket layer initialized
[   11.651205] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[   11.651543] Bluetooth: HIDP socket layer initialized
[   11.660112] 9pnet: Installing 9P2000 support
[   11.666618] Key type dns_resolver registered
[   11.671131] registered taskstats version 1
[   11.671757] Loading compiled-in X.509 certificates
[   11.694658] Btrfs loaded, crc32c=crc32c-generic
[   11.888374] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 43, base_baud = 2170138) is a xuartps
[   11.896353] printk: console [ttyPS0] enabled
[   11.896353] printk: console [ttyPS0] enabled
[   11.902814] printk: bootconsole [cdns0] disabled
[   11.902814] printk: bootconsole [cdns0] disabled
[   11.957879] ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 44, base_baud = 2170138) is a xuartps
[   11.972267] of-fpga-region fpga-full: FPGA Region probed
[   12.096785] xilinx-dpdma fd4c0000.dma: Xilinx DPDMA engine is probed
[   12.108140] xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success
[   12.112064] xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success
[   12.121683] xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success
[   12.126540] xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success
[   12.133310] xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success
[   12.136322] xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success
[   12.139509] xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success
[   12.154076] xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success
[   12.168066] xilinx-zynqmp-dma ffa80000.dma: ZynqMP DMA driver Probe success
[   12.178989] xilinx-zynqmp-dma ffa90000.dma: ZynqMP DMA driver Probe success
[   12.189414] xilinx-zynqmp-dma ffaa0000.dma: ZynqMP DMA driver Probe success
[   12.204164] xilinx-zynqmp-dma ffab0000.dma: ZynqMP DMA driver Probe success
[   12.207887] xilinx-zynqmp-dma ffac0000.dma: ZynqMP DMA driver Probe success
[   12.211939] xilinx-zynqmp-dma ffad0000.dma: ZynqMP DMA driver Probe success
[   12.231177] xilinx-zynqmp-dma ffae0000.dma: ZynqMP DMA driver Probe success
[   12.250461] xilinx-zynqmp-dma ffaf0000.dma: ZynqMP DMA driver Probe success
[   12.305223] xilinx-psgtr fd400000.zynqmp_phy: Lane:1 type:8 protocol:4 pll_locked:yes
[   12.529760] ------------[ cut here ]------------
[   12.537447] More than allowed devices are using the vpll_int, which is forbidden
[   12.539775] WARNING: CPU: 2 PID: 40 at drivers/clk/zynqmp/pll.c:193 zynqmp_pll_set_rate+0x1c4/0x218
[   12.540573] Modules linked in:
[   12.541554] CPU: 2 PID: 40 Comm: kworker/2:1 Not tainted 5.4.0-xilinx-v2020.1 #1
[   12.542099] Hardware name: ZynqMP ZCU102 Rev1.0 (DT)
[   12.544576] Workqueue: events deferred_probe_work_func
[   12.545474] pstate: 60000005 (nZCv daif -PAN -UAO)
[   12.546009] pc : zynqmp_pll_set_rate+0x1c4/0x218
[   12.549628] lr : zynqmp_pll_set_rate+0x1c4/0x218
[   12.550841] sp : ffffffc011283650
[   12.551191] x29: ffffffc011283650 x28: ffffff887aae2f00 
[   12.554552] x27: 0000000000000001 x26: 000000000169cfa1 
[   12.554987] x25: 0000000000000060 x24: ffffff887987e300 
[   12.555396] x23: ffffffc010d134a8 x22: ffffff887a031280 
[   12.555790] x21: 00000000ffffffa9 x20: 000000000000b61b 
[   12.556180] x19: 0000000059682ef1 x18: 0000000000000010 
[   12.556574] x17: 0000000000000000 x16: 0000000000000001 
[   12.556941] x15: ffffff887a0316a8 x14: ffffffffffffffff 
[   12.557297] x13: ffffffc091283397 x12: ffffffc01128339f 
[   12.557534] x11: ffffffc01104c000 x10: 0000000000000000 
[   12.557986] x9 : ffffffc0110e1000 x8 : 0000000000000104 
[   12.562639] x7 : 0000000000000006 x6 : ffffffc0110e10b3 
[   12.563282] x5 : 0000000000000003 x4 : 0000000000000000 
[   12.563546] x3 : 0000000000000000 x2 : 00000000ffffffff 
[   12.563787] x1 : ac08d6dc7d1ed400 x0 : 0000000000000000 
[   12.564329] Call trace:
[   12.564760]  zynqmp_pll_set_rate+0x1c4/0x218
[   12.565013]  clk_change_rate+0x140/0x290
[   12.565220]  clk_core_set_rate_nolock+0x184/0x1c0
[   12.565454]  clk_set_rate+0x34/0xa0
[   12.565650]  xilinx_dp_codec_probe+0xb0/0x1c8
[   12.565880]  platform_drv_probe+0x50/0xa0
[   12.566228]  really_probe+0xd8/0x2f8
[   12.567321]  driver_probe_device+0x54/0xe8
[   12.567687]  __device_attach_driver+0x80/0xb8
[   12.568050]  bus_for_each_drv+0x74/0xc0
[   12.568283]  __device_attach+0xdc/0x138
[   12.568609]  device_initial_probe+0x10/0x18
[   12.568847]  bus_probe_device+0x90/0x98
[   12.569057]  device_add+0x334/0x600
[   12.569265]  of_device_add+0x4c/0x58
[   12.569463]  of_platform_device_create_pdata+0xb4/0x120
[   12.569717]  of_platform_bus_create+0x178/0x388
[   12.569938]  of_platform_populate+0x50/0xd8
[   12.570584]  zynqmp_dpsub_probe+0xd8/0x158
[   12.570834]  platform_drv_probe+0x50/0xa0
[   12.571066]  really_probe+0xd8/0x2f8
[   12.571305]  driver_probe_device+0x54/0xe8
[   12.571581]  __device_attach_driver+0x80/0xb8
[   12.571859]  bus_for_each_drv+0x74/0xc0
[   12.572170]  __device_attach+0xdc/0x138
[   12.572394]  device_initial_probe+0x10/0x18
[   12.572652]  bus_probe_device+0x90/0x98
[   12.572906]  deferred_probe_work_func+0x6c/0xa0
[   12.573179]  process_one_work+0x1c4/0x338
[   12.573403]  worker_thread+0x260/0x488
[   12.573649]  kthread+0x120/0x128
[   12.573881]  ret_from_fork+0x10/0x18
[   12.574579] ---[ end trace 9a06619db1323ba0 ]---
[   12.578921] zynqmp_pll_set_rate() set divider failed for vpll_int, ret = -87
[   12.756665] ------------[ cut here ]------------
[   12.757072] More than allowed devices are using the vpll_int, which is forbidden
[   12.757467] WARNING: CPU: 2 PID: 40 at drivers/clk/zynqmp/pll.c:193 zynqmp_pll_set_rate+0x1c4/0x218
[   12.760819] Modules linked in:
[   12.761381] CPU: 2 PID: 40 Comm: kworker/2:1 Tainted: G        W         5.4.0-xilinx-v2020.1 #1
[   12.762068] Hardware name: ZynqMP ZCU102 Rev1.0 (DT)
[   12.762247] Workqueue: events deferred_probe_work_func
[   12.762673] pstate: 60000005 (nZCv daif -PAN -UAO)
[   12.762846] pc : zynqmp_pll_set_rate+0x1c4/0x218
[   12.762983] lr : zynqmp_pll_set_rate+0x1c4/0x218
[   12.763112] sp : ffffffc011283650
[   12.763211] x29: ffffffc011283650 x28: ffffff887aae2f00 
[   12.763367] x27: ffffff88799d0880 x26: 00000000001f4ed6 
[   12.763521] x25: 0000000000000060 x24: ffffff887987e300 
[   12.763674] x23: ffffffc010d134a8 x22: ffffff887a031280 
[   12.763826] x21: 00000000ffffffa9 x20: 0000000000000fc2 
[   12.763973] x19: 000000005b64cf46 x18: 0000000000000010 
[   12.764120] x17: 0000000000000000 x16: 0000000000000001 
[   12.764267] x15: ffffff887a0316a8 x14: ffffffffffffffff 
[   12.764415] x13: ffffffc091283397 x12: ffffffc01128339f 
[   12.764562] x11: ffffffc01104c000 x10: 0000000000000000 
[   12.764708] x9 : ffffffc0110e1000 x8 : 0000000000000141 
[   12.764854] x7 : 0000000000000006 x6 : ffffffc0110e10b3 
[   12.765019] x5 : 0000000000000003 x4 : 0000000000000000 
[   12.765166] x3 : 0000000000000000 x2 : 00000000ffffffff 
[   12.765314] x1 : ac08d6dc7d1ed400 x0 : 0000000000000000 
[   12.765459] Call trace:
[   12.765548]  zynqmp_pll_set_rate+0x1c4/0x218
[   12.765675]  clk_change_rate+0x140/0x290
[   12.765794]  clk_core_set_rate_nolock+0x184/0x1c0
[   12.765927]  clk_set_rate+0x34/0xa0
[   12.766044]  xilinx_dp_codec_probe+0xb0/0x1c8
[   12.766206]  platform_drv_probe+0x50/0xa0
[   12.770610]  really_probe+0xd8/0x2f8
[   12.771026]  driver_probe_device+0x54/0xe8
[   12.771275]  __device_attach_driver+0x80/0xb8
[   12.771515]  bus_for_each_drv+0x74/0xc0
[   12.772032]  __device_attach+0xdc/0x138
[   12.772254]  device_initial_probe+0x10/0x18
[   12.772517]  bus_probe_device+0x90/0x98
[   12.773883]  device_add+0x334/0x600
[   12.774223]  of_device_add+0x4c/0x58
[   12.777733]  of_platform_device_create_pdata+0xb4/0x120
[   12.778056]  of_platform_bus_create+0x178/0x388
[   12.778460]  of_platform_populate+0x50/0xd8
[   12.783010]  zynqmp_dpsub_probe+0xd8/0x158
[   12.783262]  platform_drv_probe+0x50/0xa0
[   12.783496]  really_probe+0xd8/0x2f8
[   12.783713]  driver_probe_device+0x54/0xe8
[   12.783946]  __device_attach_driver+0x80/0xb8
[   12.784185]  bus_for_each_drv+0x74/0xc0
[   12.784406]  __device_attach+0xdc/0x138
[   12.784625]  device_initial_probe+0x10/0x18
[   12.784862]  bus_probe_device+0x90/0x98
[   12.785079]  deferred_probe_work_func+0x6c/0xa0
[   12.785335]  process_one_work+0x1c4/0x338
[   12.785580]  worker_thread+0x260/0x488
[   12.785810]  kthread+0x120/0x128
[   12.786004]  ret_from_fork+0x10/0x18
[   12.786187] ---[ end trace 9a06619db1323ba1 ]---
[   12.786718] zynqmp_pll_set_rate() set divider failed for vpll_int, ret = -87
[   12.846595] xilinx-dp-snd-codec fd4a0000.zynqmp-display:zynqmp_dp_snd_codec0: Failed to get required clock freq
[   12.853881] xilinx-dp-snd-codec: probe of fd4a0000.zynqmp-display:zynqmp_dp_snd_codec0 failed with error -22
[   12.864088] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm0: Xilinx DisplayPort Sound PCM probed
[   12.870030] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm1: Xilinx DisplayPort Sound PCM probed
[   12.881337] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: ASoC: failed to init link xilinx-dp0: -517
[   12.893299] OF: graph: no port node found in /amba/zynqmp-display@fd4a0000
[   12.907188] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   12.917040] [drm] No driver support for vblank timestamp query.
[   12.932511] xlnx-drm xlnx-drm.0: bound fd4a0000.zynqmp-display (ops 0xffffffc010ca7138)
[   13.286332] Console: switching to colour frame buffer device 128x48
[   13.344418] zynqmp-display fd4a0000.zynqmp-display: fb0: xlnxdrmfb frame buffer device
[   13.378697] [drm] Initialized xlnx 1.0.0 20130509 for fd4a0000.zynqmp-display on minor 0
[   13.383016] zynqmp-display fd4a0000.zynqmp-display: ZynqMP DisplayPort Subsystem driver probed
[   13.394691] ahci-ceva fd0c0000.ahci: fd0c0000.ahci supply ahci not found, using dummy regulator
[   13.399462] ahci-ceva fd0c0000.ahci: fd0c0000.ahci supply phy not found, using dummy regulator
[   13.411279] ahci-ceva fd0c0000.ahci: fd0c0000.ahci supply target not found, using dummy regulator
[   13.426916] xilinx-psgtr fd400000.zynqmp_phy: Lane:3 type:3 protocol:2 pll_locked:yes
[   13.436875] ahci-ceva fd0c0000.ahci: AHCI 0001.0000 32 slots 2 ports 1.5 Gbps 0x3 impl platform mode
[   13.437605] ahci-ceva fd0c0000.ahci: flags: 64bit ncq only 
[   13.488842] scsi host0: ahci-ceva
[   13.497788] scsi host1: ahci-ceva
[   13.510350] ata1: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x100 irq 41
[   13.513846] ata2: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x180 irq 41
[   13.570700] spi-nor spi0.0: found mt25qu512a (n25q512a), expected m25p80
[   13.610964] spi-nor spi0.0: mt25qu512a (n25q512a) (131072 Kbytes)
[   13.615092] 3 fixed-partitions partitions found on MTD device spi0.0
[   13.615564] Creating 3 MTD partitions on "spi0.0":
[   13.621292] 0x000000000000-0x000001e00000 : "boot"
[   13.663652] 0x000001e00000-0x000001e40000 : "bootenv"
[   13.686974] 0x000001e40000-0x000004240000 : "kernel"
[   13.858045] ata1: SATA link down (SStatus 0 SControl 300)
[   13.872772] ata2: SATA link down (SStatus 0 SControl 300)
[   13.947080] macb ff0e0000.ethernet: Not enabling partial store and forward
[   13.948194] macb: GEM doesn't support hardware ptp.
[   13.966456] libphy: MACB_mii_bus: probed
[   14.071049] Marvell 88E1118 ff0e0000.ethernet-ffffffff:0c: attached PHY driver [Marvell 88E1118] (mii_bus:phy_addr=ff0e0000.ethernet-ffffffff:0c, irq=POLL)
[   14.072800] macb ff0e0000.ethernet eth0: Cadence GEM rev 0x40070106 at 0xff0e0000 irq 31 (00:0a:35:00:22:01)
[   14.087553] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
[   14.101034] xilinx-axipmon fd0b0000.perf-monitor: Probed Xilinx APM
[   14.109887] xilinx-axipmon fd490000.perf-monitor: Probed Xilinx APM
[   14.114183] xilinx-axipmon ffa10000.perf-monitor: Probed Xilinx APM
[   14.272186] dwc3 fe200000.dwc3: Failed to get clk 'ref': -2
[   14.273114] dwc3 fe200000.dwc3: this is not a DesignWare USB3 DRD Core
[   14.335355] pca953x 0-0020: 0-0020 supply vcc not found, using dummy regulator
[   14.384630] pca953x 0-0021: 0-0021 supply vcc not found, using dummy regulator
[   14.649378] i2c i2c-0: Added multiplexed i2c bus 3
[   14.814914] i2c i2c-0: Added multiplexed i2c bus 4
[   14.882913] max20751 5-0072: Failed to identify chip capabilities
[   14.944693] max20751 5-0073: Failed to identify chip capabilities
[   14.948127] i2c i2c-0: Added multiplexed i2c bus 5
[   14.951856] i2c i2c-0: Added multiplexed i2c bus 6
[   14.952359] pca954x 0-0075: registered 4 multiplexed busses for I2C mux pca9544
[   14.957980] cdns-i2c ff020000.i2c: 400 kHz mmio ff020000 irq 33
[   15.021412] at24 7-0054: 1024 byte 24c08 EEPROM, writable, 1 bytes/write
[   15.022782] i2c i2c-1: Added multiplexed i2c bus 7
[   15.026970] i2c i2c-1: Added multiplexed i2c bus 8
[   15.135702] si570 9-005d: registered, current frequency 300000000 Hz
[   15.137271] i2c i2c-1: Added multiplexed i2c bus 9
[   15.187638] random: fast init done
[   15.233456] si570 10-005d: registered, current frequency 148500000 Hz
[   15.234626] i2c i2c-1: Added multiplexed i2c bus 10
[   15.242142] si5324 11-0069: si5328 probed
[   15.505660] si5324 11-0069: si5328 probe successful
[   15.506775] i2c i2c-1: Added multiplexed i2c bus 11
[   15.509840] i2c i2c-1: Added multiplexed i2c bus 12
[   15.512045] i2c i2c-1: Added multiplexed i2c bus 13
[   15.522306] i2c i2c-1: Added multiplexed i2c bus 14
[   15.522931] pca954x 1-0074: registered 8 multiplexed busses for I2C switch pca9548
[   15.541413] i2c i2c-1: Added multiplexed i2c bus 15
[   15.547202] i2c i2c-1: Added multiplexed i2c bus 16
[   15.558506] i2c i2c-1: Added multiplexed i2c bus 17
[   15.582262] i2c i2c-1: Added multiplexed i2c bus 18
[   15.585506] i2c i2c-1: Added multiplexed i2c bus 19
[   15.588752] i2c i2c-1: Added multiplexed i2c bus 20
[   15.606610] i2c i2c-1: Added multiplexed i2c bus 21
[   15.614350] i2c i2c-1: Added multiplexed i2c bus 22
[   15.614826] pca954x 1-0075: registered 8 multiplexed busses for I2C switch pca9548
[   15.615730] cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 34
[   15.725627] cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer with timeout 60s
[   15.732941] cdns-wdt ff150000.watchdog: Xilinx Watchdog Timer with timeout 10s
[   15.763496] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 277777 KHz
[   15.779840] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 299999 KHz
[   15.994533] mmc0: SDHCI controller on ff170000.mmc [ff170000.mmc] using ADMA 64-bit
[   16.014283] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: ASoC: failed to init link xilinx-dp0: -517
[   16.026483] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: ASoC: failed to init link xilinx-dp0: -517
[   16.082288] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[   16.104446] rtc_zynqmp ffa60000.rtc: setting system clock to 2020-11-10T21:44:49 UTC (1605044689)
[   16.110216] of_cfs_init
[   16.112247] of_cfs_init: OK
[   16.119122] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   16.136348] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: ASoC: failed to init link xilinx-dp0: -517
[   16.225073] mmc0: Problem switching card into high-speed mode!
[   16.230776] mmc0: new SDHC card at address 4567
[   16.247123] mmcblk0: mmc0:4567 QEMU! 3.05 GiB 
[   16.295823]  mmcblk0: p1 p2
[   16.299150] mmcblk0: p2 size 4300800 extends beyond EOD, truncated
[   16.317869] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: ASoC: failed to init link xilinx-dp0: -517
[   16.718383] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   16.719675] clk: Not disabling unused clocks
[   16.720112] ALSA device list:
[   16.720910]   No soundcards found.
[   16.743657] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   16.745924] cfg80211: failed to load regulatory.db
[   17.123189] EXT4-fs (mmcblk0p2): recovery complete
[   17.136609] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[   17.138594] VFS: Mounted root (ext4 filesystem) on device 179:2.
[   17.164654] devtmpfs: mounted
[   17.468099] Freeing unused kernel memory: 704K
[   17.523488] Run /sbin/init as init process
INIT: version 2.88 booting
Starting udev
[   24.178337] udevd[164]: starting version 3.2.8
[   24.273322] random: udevd: uninitialized urandom read (16 bytes read)
[   24.291639] random: udevd: uninitialized urandom read (16 bytes read)
[   24.298410] random: udevd: uninitialized urandom read (16 bytes read)
[   25.010561] udevd[165]: starting eudev-3.2.8
[   26.165744] urandom_read: 2 callbacks suppressed
[   26.166292] random: udevd: uninitialized urandom read (16 bytes read)
[   26.178593] random: udevd: uninitialized urandom read (16 bytes read)
[   26.179882] random: udevd: uninitialized urandom read (16 bytes read)
[   26.926703] zocl: loading out-of-tree module taints kernel.
[   27.049950] [drm] Probing for xlnx,zocl
[   27.054446] zocl-drm amba:zyxclmm_drm: IRQ index 32 not found
[   27.058033] [drm] FPGA programming device pcap founded.
[   27.058597] [drm] PR Isolation addr 0x0
[   27.104191] [drm] Initialized zocl 2018.2.1 20180313 for amba:zyxclmm_drm on minor 1
[   27.151981] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: ASoC: failed to init link xilinx-dp0: -517
[   29.441484] mali-utgard: probe of fd4b0000.gpu failed with error -14
[   45.114796] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   51.754632] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
hwclock: select() to /dev/rtc0 to wait for clock tick timed out
INIT: Entering runlevel: 5
Configuring network interfaces... [   77.274055] macb ff0e0000.ethernet eth0: link up (1000/Full)
[   77.275601] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
udhcpc: started, v1.31.0
udhcpc: sending discover
udhcpc: sending select for 10.0.2.15
udhcpc: lease of 10.0.2.15 obtained, lease time 86400
/etc/udhcpc.d/50default: Adding DNS 10.0.2.3
done.
Starting system message bus: dbus.
Starting haveged: haveged: listening socket at 3
haveged: haveged starting up


Starting Xserver
Starting Dropbear SSH server: 
dropbear.

X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.10.0-693.el7.x86_64 x86_64 
Current Operating System: Linux zynqmp-common-2020_1 5.4.0-xilinx-v2020.1 #1 SMP Thu May 28 13:14:33 UTC 2020 aarch64
Kernel command line: earlycon console=ttyPS0,115200 clk_ignore_unused root=/dev/mmcblk0p2 rw rootwait cma=512M
Build Date: 26 May 2020  09:01:47PM
 
Current version of pixman: 0.38.4
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Nov 10 21:46:00 2020
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   87.188879] [drm] Pid 552 opened device
[   87.202281] [drm] Pid 552 closed device
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported high keycode 372 for name <I372> ignored
>                   X11 cannot support keycodes above 255.
>                   This warning only shows for the first high keycode.
Errors from xkbcomp are not fatal to the X server
haveged: haveged: ver: 1.9.5; arch: generic; vend: ; build: (gcc 9.2.0 CTV); collect: 128K

haveged: haveged: cpu: (VC); data: 16K (D V); inst: 16K (D V); idx: 11/40; sz: 15456/64452

haveged: haveged: tot tests(BA8): A:1/1 B:1/1 continuous tests(B):  last entropy estimate 8.00213

haveged: haveged: fills: 0, generated: 0 

[   90.790323] random: crng init done
[   90.790580] random: 2 urandom warning(s) missed due to ratelimiting
D-BUS per-session daemon address is: unix:abstract=/tmp/dbus-Lbrorvzl7k,guid=8b772a895ae0987722c6f9de5fab0a1f
hwclock: select() to /dev/rtc0 to wait for clock tick timed out
Starting internet superserver: inetd.
Starting syslogd/klogd: done
matchbox: Cant find a keycode for keysym 269025056
matchbox: ignoring key shortcut XF86Calendar=!$contacts

matchbox: Cant find a keycode for keysym 2809
matchbox: ignoring key shortcut telephone=!$dates

matchbox: Cant find a keycode for keysym 269025050
matchbox: ignoring key shortcut XF86Start=!matchbox-remote -desktop

Starting tcf-agent: [settings daemon] Forking. run with -n to prevent fork
OK
dbus-daemon[611]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=0 pid=630 comm="matchbox-desktop ")
dbus-daemon[611]: Successfully activated service 'org.a11y.atspi.Registry'
SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry

PetaLinux 2020.1 zynqmp-common-2020_1 ttyPS0


root@zynqmp-common-2020_1:~# 
** (matchbox-desktop:630): WARNING **: 21:46:30.544: Error loading icon: Icon 'applications-multimedia' not present in theme Sato

** (matchbox-desktop:630): WARNING **: 21:46:30.696: Error loading icon: Icon 'applications-multimedia' not present in theme Sato

In  the end I entered these commands you mentioned ( All the thread of CPUs were %95 used)

PetaLinux 2020.1 zynqmp-common-2020_1 ttyPS0


root@zynqmp-common-2020_1:~# 
** (matchbox-desktop:630): WARNING **: 21:46:30.544: Error loading icon: Icon 'applications-multimedia' not present in theme Sato

** (matchbox-desktop:630): WARNING **: 21:46:30.696: Error loading icon: Icon 'applications-multimedia' not present in theme Sato

root@zynqmp-common-2020_1:~# mount /dev/mmcblk0p1 /mnt
root@zynqmp-common-2020_1:~# cd /mnt
Hoot@zynqmp-common-2020_1:/mnt# export LD_LIBRARY_PATH=/mnt:/tmp:$LD_LIBRARY_PATH
root@zynqmp-common-2020_1:/mnt# export XCL_EMULATION_MODE=sw_emu
root@zynqmp-common-2020_1:/mnt# export XILINX_XRT=/usr
root@zynqmp-common-2020_1:/mnt# export XILINX_VITIS=/mnt
root@zynqmp-common-2020_1:/mnt# ls
Image	  data	       init.sh		  run_app.sh  vadd.xclbin
boot.scr  hello_world  platform_desc.txt  system.dtb  xrt.ini
root@zynqmp-common-2020_1:/mnt# ./hello_world ./vadd.xclbin
-sh: ./hello_world: cannot execute binary file: Exec format error
root@zynqmp-common-2020_1:/mnt# ./hello_world ./vadd.xclbin
-sh: ./hello_world: cannot execute binary file: Exec format error
root@zynqmp-common-2020_1:/mnt# ./run_app.sh
./run_app.sh: line 5: ./hello_world: cannot execute binary file: Exec format error
ERROR: host run failed, RC=126
INFO: host run completed.

 

What could be the potential cause for this error ?

 

Thank you!

0 Kudos
Reply
randyh
Xilinx Employee
Xilinx Employee
631 Views
Registered: ‎01-04-2013

Maybe the hello_world executable was not properly compiled? Can you check your command line against the specified options? 

https://www.xilinx.com/html_docs/xilinx2020_1/vitis_doc/buildinghostprogram.html#wlt1557174264452

 

0 Kudos
Reply
keanfj421ss
Participant
Participant
612 Views
Registered: ‎07-31-2020
Hello @randyh. Sorry for bothering you again but I have tried other examples and I run into the problem of missing #include <CL/cl2.cpp> eventhough I run the sudo apt install opencl-headers command it still shows this. Is this related to my problem ?

There are some examples that won't work with ZCU102 and gives a message but I am sure this hello_world can work on this platform because it didn't give any error message isn't it ?


0 Kudos
Reply
ViratAgarwal
Xilinx Employee
Xilinx Employee
529 Views
Registered: ‎06-24-2020

Hi, 

Even I have observed this error where running the example for a PCIE board followed by an embedded board brings this failure -

./run_app.sh: line 5: ./hello_world: cannot execute binary file: Exec format error ERROR: host run failed, RC=126

For your zcu102 run can you please try to do "make cleanall" and then run again for only zcu102 (with the steps you followed earlier).