[RFC PATCH openbmc v3 0/8] Add palmetto target to runqemu, with networking

Joel Stanley joel at jms.id.au
Thu Mar 24 13:53:34 AEDT 2016


LGTM, lets merge it.


On Wed, Mar 23, 2016 at 6:33 PM, Andrew Jeffery <andrew at aj.id.au> 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 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.
>
> This revision includes support for slirp and tun/tap networking: The machine
> will come up at either 10.0.2.15 or 192.168.7.2 respectively. Note that the
> network controller modelled is a Cadence GEM and not the ftgmac device, which
> is a little inaccurate but means we can have networking sooner rather than
> later.
>
> The patches are also available on Github:
>
>   https://github.com/amboar/openbmc/commits/runqemu-palmetto
>
> I'd appreciate some testing and comments. I'm not sure about the approach of
> baking in the Cadence driver for both environments (hardware, qemu) for
> instance. Maybe we should use a different bitbake target altogether?
>
> Cheers,
>
> Andrew
>
> Andrew Jeffery (8):
>   meta-openbmc-bsp: Add qemu git recipe
>   runqemu: Add palmetto target
>   qemu_git.bb: Update to palmetto-bmc model with Cadence GEM
>   linux-obmc: Allow processing of multiple device trees
>   linux-obmc: Add a devicetree for QEMU palmetto-bmc machine
>   palmetto: Configure macb driver into kernel
>   palmetto: Build devicetrees for hardware and QEMU
>   runqemu-internal: Configure tun/tap network for palmetto-bmc
>
>  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-palmetto/conf/machine/palmetto.conf       |   1 +
>  ...d-qemupalmetto-dts-with-Cadence-GEM-suppo.patch |  43 +++++++
>  .../recipes-kernel/linux/linux-obmc/palmetto.cfg   |   2 +
>  .../recipes-kernel/linux/linux-obmc_%.bbappend     |   1 +
>  .../meta-barreleye/conf/bblayers.conf.sample       |   1 +
>  .../common/recipes-kernel/linux/linux-obmc_4.3.bb  |   2 +-
>  yocto-poky/scripts/runqemu                         |   9 +-
>  yocto-poky/scripts/runqemu-internal                |  16 +++
>  14 files changed, 251 insertions(+), 4 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
>  create mode 100644 meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-kernel/linux/linux-obmc/0001-arch-arm-Add-qemupalmetto-dts-with-Cadence-GEM-suppo.patch
>
> --
> 2.5.0
>
> _______________________________________________
> openbmc mailing list
> openbmc at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openbmc


More information about the openbmc mailing list