Hello,
I have recently bought a Ultra96v2 board and I would like to run the Vitis_Accel_Examples here. I have previously worked with Alveo boards and ZCU102 boards with terminal commands. For example I use the following command to create a software emulation for zcu102 board:
$ make cleanall;make all TARGET=sw_emu DEVICE=/opt/xilinx/platforms/xilinx_zcu102_base_202010_1/xilinx_zcu102_base_202010_1.xpfm HOST_ARCH=aarch64 SYSROOT=/opt/petalinux/2020.1/sysroots/aarch64-xilinx-linux EDGE_COMMON_SW=/opt/xilinx/xilinx-zynqmp-common-v2020.1;./package.sw_emu/launch_sw_emu.sh
So I downloaded the ULTRA96V2_VITIS_2020_1.tar.gz file from the sharepoint website.Extracted it to a directory and modified the instruction to have the xpfm file of the Ultra96v2 as the following
$ make cleanall;make all TARGET=sw_emu DEVICE=/opt/xilinx/platforms/ULTRA96V2/ULTRA96V2.xpfm HOST_ARCH=aarch64 SYSROOT=/opt/petalinux/2020.1/sysroots/aarch64-xilinx-linux EDGE_COMMON_SW=/opt/xilinx/xilinx-zynqmp-common-v2020.1;./package.sw_emu/launch_sw_emu.sh
The rest of the instruction is not required to modify I think because the Xilinx website here ( https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/embedded-platforms/2020-1.html ) states that :
Important Information
The ‘common image’ packages below contain a prebuilt Linux kernel, root file system and sysroot that can be used with any Zynq or ZynqMP board for embedded Vitis platform developers.
The build process is very fast compared to zcu102 instruction and when the PS-QEMU launches it doesn't allow me to enter any input it shows the following messages:
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, 2.76072 s, 389 MB/s
4142856+0 records in
4142856+0 records out
2121142272 bytes (2.1 GB, 2.0 GiB) copied, 5.28124 s, 402 MB/s
51448+0 records in
51448+0 records out
26341376 bytes (26 MB, 25 MiB) copied, 0.0740622 s, 356 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/workspace/project/fpga.xclbin.package_summary
INFO: [v++ 60-791] Total elapsed time: 0h 0m 23s
INFO: [v++ 60-1653] Closing dispatch client.
Current working dir /home/ubuntu/workspace/project/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 8166
Qemu_pids 18785 18786
qemu-system-aarch64: -chardev socket,path=/tmp/18731/qemu-rport-_pmu@0,server,id=pmu-apu-rp: info: QEMU waiting for connection on: disconnected:unix:/tmp/18731/qemu-rport-_pmu@0,server
QEMU started. qemu_pid=18785.
Waiting for PMU to start. Qemu_pids 18789 18790
qemu-system-aarch64: -chardev socket,id=pl-rp,host=127.0.0.1,port=8859,server: info: QEMU waiting for connection on: disconnected:tcp:127.0.0.1:8859,server
PMC started. pmc_pid=18789
Starting PL simulation.Generating PLLauncher commandline
running PLL Launcher
After the PLL Launcher the terminal freezes it does not allow any inputs. When I type Ctrl+A+X command the QEMU launcher disconnects. What should I do to fix this issue ?
Thank you!