[meta-virtualization] [meta-xilinx] Booting ZCU102 SD image on QEMU

Pello Heriz pello.heriz at alumni.mondragon.edu
Tue Mar 14 06:32:16 PDT 2017


Hi,

I have clone Xilinx qemu from here:  git clone git://
github.com/Xilinx/qemu.git

Anyway, if I go into qemu directory and I execute "qemu-system-aarch64
-machine help" command, in the supported machines response dosen't appear
xlnx-zcu102.

What do I nee to do?

Regards,
Pello

2017-03-14 13:34 GMT+01:00 Nathan Rossi <nathan at nathanrossi.com>:

> On 14 March 2017 at 18:57, Pello Heriz <pello.heriz at alumni.mondragon.edu>
> 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 at 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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20170314/812a1dd6/attachment.html>


More information about the meta-virtualization mailing list