[RFC PATCH] Add palmetto target to runqemu

Andrew Jeffery andrew at aj.id.au
Thu Mar 17 15:52:47 AEDT 2016


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 ++++++++++++
 5 files changed, 39 insertions(+), 42 deletions(-)
 delete mode 100644 yocto-poky/meta/recipes-devtools/qemu/qemu_2.4.0.bb
 create mode 100644 yocto-poky/meta/recipes-devtools/qemu/qemu_git.bb

-- 
2.5.0



More information about the openbmc mailing list