cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
208 Views
Registered: ‎06-17-2020

Petalinux qemu boot crashes

I've exported an XSA file from Vivado.

Then, from the Petalinux side, I've run the following:

$ petalinux-create --type project --template zynq --name petalinux_project
$ cd petalinux_project
$ petalinux-config --get-hw-description=/path/to/xsa
$ petalinux-build
$ petalinux-boot --qemu --kernel

At this point, qemu starts up with:

INFO: sourcing build tools
INFO: The image provided is a zImage
INFO: Set QEMU tftp to /path/to/petalinux_project/images/linux 
INFO: TCP PORT is free 
INFO: Starting arm QEMU
INFO:  qemu-system-aarch64 -M arm-generic-fdt-7series -machine linux=on   -serial /dev/null -serial mon:stdio -display none -kernel /path/to/build.elf -gdb tcp::9000 -dtb /path/to/system.dtb  -net nic,netdev=eth0 -netdev user,id=eth0,tftp=/path/to/petalinux_project/images/linux -net nic -device loader,addr=0xf8000008,data=0xDF0D,data-len=4 -device loader,addr=0xf8000140,data=0x00500801,data-len=4 -device loader,addr=0xf800012c,data=0x1ed044d,data-len=4 -device loader,addr=0xf8000108,data=0x0001e008,data-len=4 -device loader,addr=0xF8000910,data=0xF,data-len=0x4   
**
ERROR:/scratch/petalinux-yocto/yocto_downloads_2019.2_zynq-generic/build_zynq-generic/tmp/work/x86_64-nativesdk-petalinux-linux/nativesdk-qemu-xilinx/v2.11.1-xilinx-v2019.2+gitAUTOINC+6617fbc8be-r0/git/qom/object.c:1630:object_get_canonical_path_component: assertion failed: (obj)
petalinux-qemu-boot: line 837:  1034 Aborted                 (core dumped) $QEMU_DEBUG ${qemu_cmd} ${qemu_mach} ${nic_list} ${qemu_serial} ${qemu_display} ${qemu_img_opt} -gdb tcp::${start_port} ${dtb_option} ${slirp_option} ${zynq_fsbl_args} ${extra_args} ${aarch64_beta2_args} ${mem_option}

 

What could be going wrong and how can I debug this? Thanks in advance for any help! 

1 Reply
Highlighted
Visitor
Visitor
187 Views
Registered: ‎06-17-2020

having same issue. would appreciate quick response! thanks

0 Kudos