[PATCH openbmc 0/2] Add palmetto target to runqemu
OpenBMC Patches
openbmc-patches at stwcx.xyz
Fri Mar 18 16:00:33 AEDT 2016
The patches modelling a bare-bones AST2400 in QEMU have been merged into
master for the upcoming 2.6 release. Attached is an 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.
There's no networking, but I'll be taking a look at how difficult adding some
support might be. I've also asked in #yocto about if there's a better way to
add the palmetto support to runqemu but haven't had a reply. I'll ask on the
mailing list if that query goes unanswered, but from the way the scripts are
written it doesn't look like there is much alternative.
Cheers,
Andrew
PS: qemu doesn't terminate if you `poweroff`. To kill it, issue 'Ctrl-A c' to
switch to the monitor, then 'quit'.
Since the initial RFC:
* Split the patch in two: add qemu_git.bb, then modify runqemu
* Don't supplant yocto-poky qemu_2.4.0.bb
* Change qemu_git.bb's fetch URL to avoid failures and add flexibility
* Add a note about invoking `runqemu palmetto` on oe-init-build-env
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/openbmc/openbmc/210)
<!-- Reviewable:end -->
https://github.com/openbmc/openbmc/pull/210
Andrew Jeffery (2):
meta-openbmc-bsp: Add qemu git recipe
runqemu: Add palmetto target
meta-openbmc-bsp/conf/layer.conf | 8 ++
.../recipes-devtools/qemu/qemu-targets.inc | 22 ++++
meta-openbmc-bsp/recipes-devtools/qemu/qemu.inc | 125 +++++++++++++++++++++
meta-openbmc-bsp/recipes-devtools/qemu/qemu_git.bb | 21 ++++
.../meta-palmetto/conf/bblayers.conf.sample | 1 +
.../meta-ibm/meta-palmetto/conf/conf-notes.txt | 3 +
.../meta-barreleye/conf/bblayers.conf.sample | 1 +
yocto-poky/scripts/runqemu | 9 +-
yocto-poky/scripts/runqemu-internal | 12 ++
9 files changed, 199 insertions(+), 3 deletions(-)
create mode 100644 meta-openbmc-bsp/conf/layer.conf
create mode 100644 meta-openbmc-bsp/recipes-devtools/qemu/qemu-targets.inc
create mode 100644 meta-openbmc-bsp/recipes-devtools/qemu/qemu.inc
create mode 100644 meta-openbmc-bsp/recipes-devtools/qemu/qemu_git.bb
--
2.7.1
More information about the openbmc
mailing list