[OE-core] [PATCH 1/5] qemuarm: Swap for an arm7ve (A15) configuration

richard.purdie at linuxfoundation.org richard.purdie at linuxfoundation.org
Thu Mar 21 23:48:18 UTC 2019


On Thu, 2019-03-21 at 16:35 -0400, Denys Dmytriyenko wrote:
> On Wed, Mar 20, 2019 at 12:25:02AM +0000, 
> richard.purdie at linuxfoundation.org wrote:
> > On Tue, 2019-03-19 at 20:22 -0400, Denys Dmytriyenko wrote:
> > > On Mon, Mar 11, 2019 at 03:12:26AM +0000, Richard Purdie wrote:
> > > > From: Jon Mason <jdmason at kudzu.us>
> > > > 
> > > > Add new QEMU BSP for a Arm Cortex-A15 system and use this as
> > > > qemuarm,
> > > > moving the old armv5te Versatile PB based machine to qemuarmv5.
> > > > 
> > > > The new machine uses the QEMU virt machine type, which should
> > > > be
> > > > faster to emulate and updates the qemuarm support to a modern
> > > > architecture.
> > > > 
> > > > Signed-off-by: Jon Mason <jdmason at kudzu.us>
> > > > Signed-off-by: Richard Purdie <
> > > > richard.purdie at linuxfoundation.org>
> > > > ---
> > > >  meta/conf/machine/qemuarm.conf                | 34
> > > > +++++++++++++
> > > > ------
> > > >  meta/conf/machine/qemuarmv5.conf              | 23
> > > > +++++++++++++
> > > >  .../linux/linux-yocto-rt_4.19.bb              |  2 +-
> > > >  .../linux/linux-yocto-rt_5.0.bb               |  2 +-
> > > >  .../linux/linux-yocto-tiny_4.19.bb            |  2 +-
> > > >  .../linux/linux-yocto-tiny_5.0.bb             |  2 +-
> > > >  meta/recipes-kernel/linux/linux-yocto_4.19.bb |  2 +-
> > > >  meta/recipes-kernel/linux/linux-yocto_5.0.bb  |  2 +-
> > > >  8 files changed, 52 insertions(+), 17 deletions(-)
> > > >  create mode 100644 meta/conf/machine/qemuarmv5.conf
> > > > 
> > > > diff --git a/meta/conf/machine/qemuarm.conf
> > > > b/meta/conf/machine/qemuarm.conf
> > > > index a5443126273..95550461899 100644
> > > > --- a/meta/conf/machine/qemuarm.conf
> > > > +++ b/meta/conf/machine/qemuarm.conf
> > > ...
> > > > +KMACHINE_qemuarmv5 = "qemuarm"
> > > > \ No newline at end of file
> > > > diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_4.19.bb
> > > > b/meta/recipes-kernel/linux/linux-yocto-rt_4.19.bb
> > > > index 07dc5b77a14..36761b99437 100644
> > > > --- a/meta/recipes-kernel/linux/linux-yocto-rt_4.19.bb
> > > > +++ b/meta/recipes-kernel/linux/linux-yocto-rt_4.19.bb
> > > > @@ -31,7 +31,7 @@ KCONF_BSP_AUDIT_LEVEL = "2"
> > > >  
> > > >  LINUX_KERNEL_TYPE = "preempt-rt"
> > > >  
> > > > -COMPATIBLE_MACHINE = "(qemux86|qemux86-
> > > > 64|qemuarm|qemuarm64|qemuppc|qemumips)"
> > > > +COMPATIBLE_MACHINE = "(qemux86|qemux86-
> > > > 64|qemuarm|qemuarma15|qemuarm64|qemuppc|qemumips)"
> > > 
> > > Did you mean to list here "qemuarmv5" instead of "qemuarma15"?
> > 
> > Yes!
> > 
> > > > @@ -40,7 +40,7 @@ KCONF_BSP_AUDIT_LEVEL = "2"
> > > >  
> > > >  KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb"
> > > >  
> > > > -COMPATIBLE_MACHINE =
> > > > "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-
> > > > 64"
> > > > +COMPATIBLE_MACHINE =
> > > > "qemuarm|qemuarmv5|qemuarm64|qemux86|qemuppc|qemumips|qemumips6
> > > > 4|qe
> > > > mux86-64"
> > > 
> > > Ok, "qemuarmv5" - I see a pattern here! Was it a challenge? :)
> > 
> > It definitely was a challenge, perhaps not the way you mean it
> > though!
> > :)
> > 
> > Patches to fix up the mess I made of this gratefully received, or
> > I'll
> > sort it out tomorrow, thanks for highlighting it.
> 
> Submitted a patch last night:
> http://lists.openembedded.org/pipermail/openembedded-core/2019-March/280345.html
> 
> Not sure if you got to it sooner and fixed it yourself (don't see it
> in git yet). Either way is fine. Let me know if you need anything
> else. Thanks.

Looks good, thanks. I'm struggling a bit after some travel
unfortunately but doing my best to keep the patches moving. Its testing
in -next now.

Cheers,

Richard



More information about the Openembedded-core mailing list