commit | 185c8aea0bf7420605dd87d59c0f4c5eac0f346d | [log] [tgz] |
---|---|---|
author | George McCollister <george.mccollister@gmail.com> | Thu May 26 08:55:16 2016 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Jan 11 15:53:25 2017 +0000 |
tree | 589c643f2a38caa2d54e4e71141d2616a0c14af0 | |
parent | d5813b4bc57e83259ff601f015ccacce70adacd5 [diff] |
kernel-fitimage: add initramfs support If INITRAMFS_IMAGE is set, build an additional fitImage containing the initramfs. Copy the additional fitImage and the source (*.its) file, used to create it to DEPLOYDIR. The fitImage containing the initramfs must be built before do_deploy and after do_install to avoid circular dependencies. UBOOT_RD_LOADADDRESS - Specifies the load address used by u-boot for the initramfs. UBOOT_RD_ENTRYPOINT - Specifies the entry point used by u-boot for the initramfs. (From OE-Core rev: b406a89935f148779569fa3770776e009dd51f13) Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ec755d2524fcbd9dfded23a576f25c990d405a6c) Change-Id: I2a544c58ef66b0f0af21a8b1f9aa5dfb8ec0a043 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