[meta-xilinx] Question on QEMU failure

Mong, Tab (GE Transportation) Tab.Mong at ge.com
Tue Oct 18 06:34:09 PDT 2016


Hello,

 

Having trouble launching QEMU for the ZCU102 configuration.  Here is the
output of the QEMU command.  What am I missing?

 

I see it is picking the wrong MACHINE and CPU but can't find the right
combination of command line options/environment variables to get it to boot
properly.

 

BuildMachine:~/CleanRoom/poky/build$ runqemu qemuarm64
tmp/deploy/images/zcu102-zynqmp/Image-zcu102-zynqmp.bin
tmp/deploy/images/zcu102-zynqmp/diskimage.ext4 qemuparams="-m 2048"

 

Continuing with the following parameters:

KERNEL: [tmp/deploy/images/zcu102-zynqmp/Image-zcu102-zynqmp.bin]

ROOTFS:
[/home/trmong/CleanRoom/poky/build/tmp/deploy/images/zcu102-zynqmp/diskimage
.ext4]

FSTYPE: [ext4]

Acquiring lockfile for tap0...

Using preconfigured tap device 'tap0'

If this is not intended, touch /tmp/qemu-tap-locks/tap0.skip to make runqemu
skip tap0.

-netdev tap,id=net0,ifname=tap0,script=no,downscript=no -device
virtio-net-device,netdev=net0  -machine virt -cpu cortex-a57 -drive
id=disk0,file=/home/trmong/CleanRoom/poky/build/tmp/deploy/images/zcu102-zyn
qmp/diskimage.ext4,if=none,format=raw -device virtio-blk-device,drive=disk0
-nographic   -m 2048

Running qemu-system-aarch64...

/home/trmong/CleanRoom/poky/build/tmp/sysroots/x86_64-linux/usr/bin/qemu-sys
tem-aarch64 -kernel tmp/deploy/images/zcu102-zynqmp/Image-zcu102-zynqmp.bin
-netdev tap,id=net0,ifname=tap0,script=no,downscript=no -device
virtio-net-device,netdev=net0 -machine virt -cpu cortex-a57 -drive
id=disk0,file=/home/trmong/CleanRoom/poky/build/tmp/deploy/images/zcu102-zyn
qmp/diskimage.ext4,if=none,format=raw -device virtio-blk-device,drive=disk0
-nographic -no-reboot -m 2048 -serial mon:stdio -m 2048 -device
virtio-serial-device -chardev null,id=virtcon -device
virtconsole,chardev=virtcon --append "root=/dev/vda rw console=ttyAMA0,38400
mem=2048M highres=off ip=192.168.7.2::192.168.7.1:255.255.255.0
rootfstype=ext4 "

qemu: terminating on signal 15 from pid 14352

Releasing lockfile of preconfigured tap device 'tap0'

BuildMachine:~/CleanRoom/poky/build$

 

 

Thanks.

 

Tab

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20161018/1b881cfd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6627 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20161018/1b881cfd/attachment.bin>


More information about the meta-xilinx mailing list