On 14 March 2017 at 18:57, Pello Heriz <[email protected]> wrote: > Hi, > > I'm trying to launch QEMU from my SD card but I'm having some problems. > > I have followed the instructions that appears on page 37 in the next link: > https://japan.xilinx.com/support/documentation/sw_manuals_j/xilinx2016_2/ug1169-zynqmp-qemu.pdf > > All the process was fine until arriving into step number 4. When I tried to > boot QEMU from the SD card, I can see in the terminal that the machine that > I'm trying to use is not supported. Here is the report: > > pello@pello-VirtualBox:/opt/yocto_GE/yocto_master/poky/build$ > qemu-system-aarch64 -M arm-generic-fdt -nographic -device > loader,file=/opt/yocto_GE/yocto_master/poky/build/tmp/deploy/images/zcu102-zynqmp/fsbl.elf,cpu=0 > -dtb > /opt/yocto_GE/yocto_master/poky/build/tmp/deploy/images/zcu102-zynqmp/Image--4.6-xilinx-v2016.4+git0+2762bc9163-r0-zynqmp-zcu102-revB-20170306094246.dtb > -device loader,addr=0xfd1a0104,data=0x8000000e,data-len=4 -drive > file=/media/pello/5A08-C4B7/zynqmp_master.img,if=sd,format=raw,index=0-boot > mode=3 > qemu-system-aarch64: -drive > file=/media/pello/5A08-C4B7/zynqmp_master.img,if=sd,format=raw,index=0-boot: > unsupported machine type > Use -machine help to list supported machines > pello@pello-VirtualBox:/opt/yocto_GE/yocto_master/poky/build$ > > What can I do?
Make sure you are using the correct qemu-system-aarch64 binary. By default the qemu built that is in the images recipe-sysroot/usr/bin/ is the mainline qemu, but you want the qemu-xilinx one. If you are building meta-xilinx with zcu102-zynqmp (presumably master), you will need to dive one level deeper to use usr/bin/qemu-xilinx/qemu-system-aarch64. Regards, Nathan -- _______________________________________________ meta-virtualization mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-virtualization
