commit | 956c5d638d6f7b2d9a1dcfe549b417ef771705ba | [log] [tgz] |
---|---|---|
author | Joel Stanley <joel@jms.id.au> | Thu Nov 03 13:06:57 2016 +1030 |
committer | Patrick Williams <patrick@stwcx.xyz> | Fri Nov 04 11:17:31 2016 +0000 |
tree | ecf1d7ea5afa433869562319d703f2600fc4866a | |
parent | 050e88e60764e9cbd9d6184a8efaf5db2a640a98 [diff] |
meta-phosphor: Update skeleton for flasher fixes This resolves issues seen with using libflash via MTD. flasher: BMC partition addresses are relative to start of flash flasher: Remove flash tuned message flasher: Unify flash setup functions flasher: Use BMC_MTD to represent bmc flasher: unify cleanup commands flasher: Remove relocking of flash flasher: remove unused ffs_index flasher: Remove unsued blocklevel_get_info Fixes: openbmc/openbmc#740 Fixes: openbmc/openbmc#741 Change-Id: Ie28f7b4d2216529389baf72bc657aa88225af519 Signed-off-by: Joel Stanley <joel@jms.id.au>
OpenBMC uses Yocto/Open-Embedded for a build system, which supports an out-of-tree build. It is recommended that you create an empty directory somewhere to hold the build. This directory will get big.
On Ubuntu 14.04 the following packages are required to build the default target
sudo apt-get install -y git build-essential libsdl1.2-dev texinfo gawk chrpath diffstat
On Fedora 23 the following packages are required to build the default target:
sudo dnf install -y git patch diffstat texinfo chrpath SDL-devel bitbake sudo dnf groupinstall "C Development Tools and Libraries"
To start a build:
cd <builddir> . <repodir>/openbmc-env bitbake obmc-phosphor-image