-
Notifications
You must be signed in to change notification settings - Fork 155
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
Comments
Hi Aaron,
Your build and command line looks good. Didn’t see this issue anytime.
You can use this instead.
-net nic -net nic -net nic -net user,tftp=<>
Regards,
Sai Pavan
From: Aaron ***@***.***>
Sent: Wednesday, March 8, 2023 8:12 AM
To: Xilinx/qemu ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [Xilinx/qemu] Cannot recreate QEMU Petalinux commands (Issue #78)
CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email.
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?
—
Reply to this email directly, view it on GitHub<#78>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AD73MGIERN6BFK67F7OXJVTW27WWNANCNFSM6AAAAAAVTHOXF4>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.******@***.***>>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?
The text was updated successfully, but these errors were encountered: