Home - csmart/openbmc GitHub Wiki

Welcome to the openbmc wiki!

HOWTO - Build using SDK

Building an image

obmc-phosphor-image is the image recipe we use. There are two build targets the team use, one for QEMU and the other for the OpenPower development machine, the Palmetto.

QEMU ARM

The qemu target is ‘qemuarm’. This is the default:

cd openbmc
$ . openbmc-env
$ bitbake obmc-phosphor-image

OpenPower Palmetto

The Palmetto target is palmetto.

If you are starting from scratch without a build/conf directory you can just:

$ cd openbmc
$ TEMPLATECONF=meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/conf . oe-init-build-env
$ obmc-phosphor-image

Rebuilds & Reconfiguration

You can reconfigure your build by removing the build/conf dir:

rm -rf build/conf

and running oe-init-build-env again (possibly with TEMPLATE_CONF set).