commit | 8c1f920df4f41adc9e7a88b2ec542d59bb7fdee8 | [log] [tgz] |
---|---|---|
author | Rick Altherr <raltherr@google.com> | Thu Dec 08 13:22:36 2016 -0800 |
committer | Patrick Williams <patrick@stwcx.xyz> | Thu Dec 22 01:33:25 2016 +0000 |
tree | f7e916cab3dbddc29c3d9682d0a91bfed90dea71 | |
parent | 934907241d876895b644229e7ed9f3a74ff71fac [diff] |
Use INITRAMFS_FSTYPES to build a u-boot ramdisk do_generate_flash() was manually packaging the initramfs cpio archive as a u-boot ramdisk legacy image. Add the u-boot type to INITRAMFS_FSTYPES to use the existing infrastructure instead. NOTE: if you have an existing build directory, this change may cause the build to fail while creating symlinks. This is caused by the .u-boot file changing from an actual file to a symlink. Change-Id: I9fa69620f97452671f89675768b1d1f33dbe97f2 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