[RFC PATCH] Add palmetto target to runqemu

Andrew Jeffery andrew at aj.id.au
Fri Mar 18 09:40:55 AEDT 2016


On Thu, 2016-03-17 at 10:53 -0500, Patrick Williams wrote:
> On Thu, Mar 17, 2016 at 03:22:47PM +1030, Andrew Jeffery wrote:
> > Hi all,
> > 
> > The patches modelling a bare-bones AST2400 in QEMU have been merged into
> > master for the upcoming 2.6 release. Attached is a half-hearted attempt at
> > integrating the necessary bits into openbmc so we can `bitbake
> > obmc-phosphor-image` then `runqemu palmetto` to boot the BMC kernel and some
> > representation of the userspace.
> > 
> > I'm not sure if the hacks I've made to runqemu{,-internal} are the right
> > approach or even something we'd want to carry going forward. Similarly, a
> > wholesale switch to qemu_git.bb might be a bit extreme - any thoughts there? I
> > must admit I haven't tried applying the AST2400 patches to 2.4, maybe that's a
> > better approach? Regardless, depending on 2.6 when it gets released is
> > prefereble, but that's probably a month or so away.
> > 
> > I'll split the patches up in the future, just wanted to get this on the list
> > for some feedback.
> > 
> > Cheers,
> > 
> > Andrew
> > 
> > Andrew Jeffery (1):
> >   RFC: Add palmetto target to runqemu
> > 
> >  yocto-poky/meta/recipes-devtools/qemu/qemu.inc     | 17 -----------------
> >  .../meta/recipes-devtools/qemu/qemu_2.4.0.bb       | 22 ----------------------
> >  yocto-poky/meta/recipes-devtools/qemu/qemu_git.bb  | 21 +++++++++++++++++++++
> >  yocto-poky/scripts/runqemu                         |  9 ++++++---
> >  yocto-poky/scripts/runqemu-internal                | 12 ++++++++++++
> 
> Please refrain from making changes to content in the yocto-poky tree.
> This is intended to be a clean mirror of upstream yocto.  Yocto has lots
> of capability for overrides in the openbmc parts of the tree.

Yep, just wasn't sure how to go about it, so I took the sledgehammer
approach and got something working. I'll take a look at the
Yocto/bitbake documentation to see how this is best achieved. Do you
have any good links on the subject?

Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20160318/a4120952/attachment.sig>


More information about the openbmc mailing list