commit | 8ce17d10f00bc1a916ea15a31811372f395aa767 | [log] [tgz] |
---|---|---|
author | Rick Altherr <raltherr@google.com> | Mon Jan 09 15:44:57 2017 -0800 |
committer | Rick Altherr <raltherr@google.com> | Mon Jan 09 16:03:10 2017 -0800 |
tree | 350316993ce8d02a6d64c01562ac2f75363812fc | |
parent | 96d8e177116c63f35b5be578116f78860cf5fa00 [diff] |
Only build FIT kernel images U-Boot has support for FIT images enabled. Yocto has been building both cuImage and fitImage for a while now. Dropping cuImage gets us closer to mainline Yocto. Using a FIT image clears the path for bundling the initramfs into the kernel image. Change-Id: I46f1e3d4196bab12b733c59efca40e9e50ca264d Signed-off-by: Rick Altherr <raltherr@google.com>
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