Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot recreate QEMU Petalinux commands #78

Open
AaronHW opened this issue Mar 8, 2023 · 1 comment
Open

Cannot recreate QEMU Petalinux commands #78

AaronHW opened this issue Mar 8, 2023 · 1 comment

Comments

@AaronHW
Copy link

AaronHW commented Mar 8, 2023

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?

@saipava
Copy link
Contributor

saipava commented Mar 9, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants