[meta-xilinx] Problem with Xilinx QEMU & Yocto Flow
SMITH Peter T
peter.t.smith at alstom.com
Mon Nov 28 23:49:59 PST 2016
Alistair, no I did not make any changes, but I did work out what was wrong, but for the life of me I can't remember what it was other than something along the lines of finger trouble, suffice to say, I have it fully operational now. Thanks anyway. Peter
-----Original Message-----
From: Alistair Francis [mailto:alistair23 at gmail.com]
Sent: 29 November 2016 00:04
To: SMITH Peter T <peter.t.smith at alstom.com>
Cc: meta-xilinx at yoctoproject.org
Subject: Re: [meta-xilinx] Problem with Xilinx QEMU & Yocto Flow
On Mon, Nov 21, 2016 at 8:26 AM, SMITH Peter T <peter.t.smith at alstom.com> wrote:
> 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
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.wiki.xilinx.co
> m_QEMU-2BYocto-2BFlow&d=DQIFaQ&c=IV_clAzoPDE253xZdHuilRgztyh_RiV3wUrLr
> DQYWSI&r=-0xOp6WEUxZEZ28IafXrMa3oLhGTFvyj7y8nzyNrgGo&m=VfKpTfuXMG0O8Rf
> jz114ygfljveAfqKkU0wdQi_OaTo&s=E-4XI4mlmcfTrqoALJLCLcGaZpX_5vtt2NPeVUw
> Na9s&e=
>
>
>
> Any clues as to what is wrong?
Hello Peter,
That is a strange error. I haven't seen that before with the Yocto flow.
I'll see if I can reproduce it. Have you made any changes to the default/standard flow?
Thanks,
Alistair
>
>
>
> 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-tr
> usted-firmware-aarch64.elf,cpu=0
> -hw-dtb
> /yocto/peter/CSP/build/tmp/deploy/images/qemuzynqmp/qemu-hw-devicetree
> s/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/q
> emu-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-tr
> usted-firmware-aarch64.elf,cpu=0
> -hw-dtb
> /yocto/peter/CSP/build/tmp/deploy/images/qemuzynqmp/qemu-hw-devicetree
> s/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.
>
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx
>
________________________________
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.
More information about the meta-xilinx
mailing list