[meta-xilinx] Problem with Xilinx QEMU & Yocto Flow

SMITH Peter T peter.t.smith at alstom.com
Mon Nov 21 08:26:31 PST 2016


Hi,

I am trying to run Xilinx's QEMU (as built by meta-xilinx release 2016.3) and am receiving the following error

qemu: RAM size must be less than 4GB to boot Linux kernel using ATAGS (try passing a device tree using -dtb)

on running ../sources/meta-xilinx/scripts/runqemu qemuzynqmp as instructed here http://www.wiki.xilinx.com/QEMU+Yocto+Flow

Any clues as to what is wrong?

Here is the log
peter at peter-VirtualBox:/yocto/peter/CSP/build$ ../sources/meta-xilinx/scripts/runqemu qemuzynqmp

Continuing with the following parameters:
KERNEL: [/yocto/peter/CSP/build/tmp/deploy/images/csprtguest-zynqmp/Image--4.6-xilinx+git0+0e4e407149-r0-csprtguest-zynqmp-20161121130524.bin]
ROOTFS: [/yocto/peter/CSP/build/tmp/deploy/images/csprtguest-zynqmp/petalinux-minimal-csprtguest-zynqmp-20161121130524.rootfs.ext3]
FSTYPE: [ext3]
Setting up tap interface under sudo
Acquiring lockfile for tap0...
-net nic -net nic -net nic -net nic -net user,net=10.10.70.0,dhcpstart=10.10.70.1,host=10.0.2.2 -M arm-generic-fdt -serial mon:stdio -device loader,file=/yocto/peter/CSP/build/tmp/deploy/images/qemuzynqmp/arm-trusted-firmware-aarch64.elf,cpu=0 -hw-dtb /yocto/peter/CSP/build/tmp/deploy/images/qemuzynqmp/qemu-hw-devicetrees/zcu102-arm-single.dtb -device loader,addr=0xfd1a0104,data=0x8000000e,data-len=4 -nographic -tftp /yocto/peter/CSP/build/tmp/deploy/images/qemuzynqmp    -m 2048
Running qemu-system-aarch64...
/yocto/peter/CSP/build/tmp/sysroots/x86_64-linux/usr/bin/qemu-xilinx/qemu-system-aarch64 -kernel /yocto/peter/CSP/build/tmp/deploy/images/csprtguest-zynqmp/Image--4.6-xilinx+git0+0e4e407149-r0-csprtguest-zynqmp-20161121130524.bin -net nic -net nic -net nic -net nic -net user,net=10.10.70.0,dhcpstart=10.10.70.1,host=10.0.2.2 -M arm-generic-fdt -serial mon:stdio -device loader,file=/yocto/peter/CSP/build/tmp/deploy/images/qemuzynqmp/arm-trusted-firmware-aarch64.elf,cpu=0 -hw-dtb /yocto/peter/CSP/build/tmp/deploy/images/qemuzynqmp/qemu-hw-devicetrees/zcu102-arm-single.dtb -device loader,addr=0xfd1a0104,data=0x8000000e,data-len=4 -nographic -tftp /yocto/peter/CSP/build/tmp/deploy/images/qemuzynqmp -no-reboot -m 2048 -serial null -append "mem= rootfstype=ext3 "
--------------------------------------------------------------------
Xilinx QEMU Nov 21 2016 16:09:08.
--------------------------------------------------------------------
qemu: RAM size must be less than 4GB to boot Linux kernel using ATAGS (try passing a device tree using -dtb)
Set 'tap0' nonpersistent
Releasing lockfile of preconfigured tap device 'tap0'


Peter Smith
Principal Engineer, Chief Engineering, Grid Solutions

T +44 1785 786406


________________________________
CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20161121/a340ef1c/attachment.html>


More information about the meta-xilinx mailing list