[meta-xilinx] [PATCH v1] qemuzynmp: Add the qemuzynqmp machine

Alistair Francis alistair.francis at xilinx.com
Mon Jun 13 09:25:02 PDT 2016


On Tue, May 17, 2016 at 9:40 AM, Alistair Francis
<alistair.francis at xilinx.com> wrote:
> On Tue, May 17, 2016 at 6:27 AM, Nathan Rossi <nathan at nathanrossi.com> wrote:
>> On Tue, May 17, 2016 at 8:20 AM, Alistair Francis
>> <alistair.francis at xilinx.com> wrote:
>>> On Mon, May 16, 2016 at 9:39 AM, Alistair Francis
>>> <alistair.francis at xilinx.com> wrote:
>>>> On Sun, May 15, 2016 at 10:10 AM, Peter Crosthwaite
>>>> <crosthwaitepeter at gmail.com> wrote:
>>>>> On Sun, May 15, 2016 at 1:17 AM, Nathan Rossi <nathan at nathanrossi.com> wrote:
>>>>>> On Sat, May 14, 2016 at 2:54 AM, Alistair Francis
>>>>>> <alistair.francis at xilinx.com> wrote:
>>>>>>> On Fri, May 13, 2016 at 2:35 AM, Nathan Rossi <nathan at nathanrossi.com> wrote:
>>>>>>>> On Fri, May 13, 2016 at 6:11 AM, Alistair Francis
>>>>>>>> <alistair.francis at xilinx.com> wrote:
>>>>>>>>> Add the qemuzynqmp machine based on the physical ZCU02 revB board.
>>>>>>>>
>>>>>>>> Hi Alistair,
>>>>>>>>
>>>>>>>> So I am a little confused, is this machine supposed to emulate the
>>>>>>>> ep108 (the args to QEMU appear to be for the ep108) or the zcu102? or
>>>>>>>> are both able to be emulated?
>>>>>>>
>>>>>>> Hey Nathan,
>>>>>>>
>>>>>>> This machine is supposed to be emulating the ZCU102.
>>>>>>>
>>>>>>> At the moment we only have the EP108 in upstream QEMU. It isn't worth
>>>>>>> adding a ZCU102 model upstream yet as at the moment we don't have
>>>>>>> enough modeled upstream to notice any differences between the boards.
>>>>>>
>>>>>> Ah ok, so in the future QEMU will have models for both the EP108 and
>>>>>> the ZCU102 boards. In that case I don't actually see a need for a
>>>>>> 'qemuzynqmp' machine, since the ep108-zynqmp already provides the
>>>>>> setup for QEMU. The same can be done for the zcu102-zynqmp board, this
>>>>>> would also make it easier to maintain consistency (aka changes only
>>>>>> need to be made to the zcu102-zynqmp machine).
>>>>>>
>>>>>
>>>>> +1, qemuzynq as well as the "zynq" machine model in upstream QEMU are
>>>>> legacy convention that we should replace with concrete boards going
>>>>> forward.
>>>>
>>>> Ok, I'll look into adding a ZCU102 machine similar to what we do for the EP108.
>>>
>>> How can I run the EP108 on QEMU? I can't find how I can start QEMU with Yocto.
>>
>> There is no runqemu support though the ep108 machine is setup to build
>> qemu-native for use. But there was a guide created back when first
>> adding zynqmp, essentially it is manually running QEMU with the
>> correct args. http://www.wiki.xilinx.com/Yocto+for+zynqmp
>
> Ok, but I'm looking for adding runqemu support to Yocto. The way that
> everyone else seems to do it is by architecture and not by board so I
> think that is my only option.
>
> Do you have a better idea of adding runqemu support?

This has been accepted in poky master branch with this commit:
commit ff3bc6c61f5946aa5e91a77442d828ec1a03387d
Author: Alistair Francis <alistair.francis at xilinx.com>
Date:   Thu May 12 14:37:39 2016 -0700

    runqemu: Add suport for qemuzynqmp

    (From OE-Core rev: d2a7c1db9bff6ae3844e3d017e94f29d1501bf57)

    Signed-off-by: Alistair Francis <alistair.francis at xilinx.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>


Can we work on merging this in meta-xilinx now?

Thanks,

Alistair

>
> Thanks,
>
> Alistair



More information about the meta-xilinx mailing list