Cannot recreate QEMU Petalinux commands
AaronHW opened this issue · comments
Hello all,
I have followed the steps in the wiki:
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/822312999/Building+and+Running+QEMU+from+Source+Code
../configure --target-list="aarch64-softmmu,microblazeel-softmmu" --enable-fdt --disable-kvm --disable-xen --enable-gcrypt
However when I try to run the commands given by PetaLinux:
qemu-system-aarch64 -M arm-generic-fdt -serial mon:stdio -serial /dev/null -display none -device loader,file=/home/akelly/verilog/zcu104/vCosim/pre-built/linux/images/bl31.elf,cpu-num=0 -device loader,file=/home/akelly/verilog/zcu104/vCosim/pre-built/linux/images/ramdisk.cpio.gz.u-boot,addr=0x04000000,force-raw -device loader,file=/home/akelly/verilog/zcu104/vCosim/pre-built/linux/images/u-boot.elf -device loader,file=/home/akelly/verilog/zcu104/vCosim/pre-built/linux/images/Image,addr=0x00200000,force-raw -device loader,file=/home/akelly/verilog/zcu104/vCosim/pre-built/linux/images/system.dtb,addr=0x00100000,force-raw -device loader,file=/home/akelly/verilog/zcu104/vCosim/pre-built/linux/images/boot.scr,addr=0x20000000,force-raw -gdb tcp::9009 -net nic -net nic -net nic -net nic,netdev=eth0 -netdev user,id=eth0,tftp=/tftpboot -hw-dtb /home/akelly/verilog/zcu104/vCosim/pre-built/linux/images/zynqmp-qemu-multiarch-arm.dtb -machine-path /tmp/tmp.0TAuziGDlM -global xlnx,zynqmp-boot.cpu-num=0 -global xlnx,zynqmp-boot.use-pmufw=true -drive if=sd,format=raw,index=1,file=/home/akelly/verilog/zcu104/vCosim/pre-built/linux/images/rootfs.ext4 -m 4G
I get the error:
qemu-system-aarch64: Parameter 'type' expects a netdev backend type
I am currently using the 2021.2 tag of the Github repository. Trying to follow the TFTP development flow as outlined here:
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/821985356/Example+Development+Flow#ExampleDevelopmentFlow-TFTP
Am I missing some compile option or configuration?