[RFC PATCH] Add palmetto target to runqemu

Patrick Williams patrick at stwcx.xyz
Sat Mar 19 02:54:39 AEDT 2016


On Fri, Mar 18, 2016 at 09:10:55AM +1030, Andrew Jeffery wrote:
> 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

I understand it was just RFC quality code.

The "Mega Manual" is the definitive source of documentation on
everything Yocto.  It is, unfortunately, rather complete.

I would start with this chapter:

http://www.yoctoproject.org/docs/1.8/mega-manual/mega-manual.html#using-bbappend-files

-- 
Patrick Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20160318/2fed3d97/attachment.sig>


More information about the openbmc mailing list