Xilinx / qemu

Xilinx's fork of Quick EMUlator (QEMU) with improved support and modelling for the Xilinx platforms.
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/821395464/QEMU+User+Documentation
Other
231 stars 150 forks source link

qemu-system-aarch64: Connection refused #91

Open FaiqueAli opened 5 months ago

FaiqueAli commented 5 months ago

Hi,

I am trying to create a VM for QNX OS using Qemu which I have installed using PetaLinux. when I am trying to create a VM with the command below I am getting a connection refused error. /home/xxx/QEMU/Qemu-PetaLinux/components/yocto/buildtools_extended/sysroots/x86_64-petalinux-linux/usr/bin/qemu-system-aarch64 -M arm-generic-fdt -serial mon:stdio -serial /dev/null -display none -device loader,file=/home/xxx/bl31.elf,cpu-num=0 -device loader,file=/home/xxx/rootfs.cpio.gz.u-boot,addr=0x04000000,force-raw=on -device loader,file=/home/xxx/_fsbl_a53_0_app.elf -device loader,file=/home/xxx/ABC,addr=0x00200000,force-raw=on -device loader,file=/home/xxx/system.dtb,addr=0x00100000,force-raw=on -device loader,file=/home/xxx/boot.scr,addr=0x20000000,force-raw=on -hw-dtb /home/xxx/zynqmp-qemu-multiarch-arm.dtb -global xlnx,zynqmp-boot.cpu-num=0 -global xlnx,zynqmp-boot.use-pmufw=true -m 4G -machine-path /home/xxx/arm-machine -gdb tcp::9000

my intended target OS is QNX ARM64, and having xilling xyznq zcu102 board, I am not using a prebuild image (custom image for our QNX OS QNX-IFS) After execution of the command I am getting the error below

qemu-system-aarch64: Failed to connect to '/home/xxx/arm-machine/qemu-rport-_pmu@0': Connection refused qemu-system-aarch64: info: QEMU waiting for connection on: disconnected:unix:/home/xxx/arm-machine/qemu-rport-_pmu@0,server=on

I have installed tftp which is also working fine. @edgarigl could you please have a look on this, looking forward for the help.