commit | 59761f32c548fe67dc61c7dda927c4abfdb1eea2 | [log] [tgz] |
---|---|---|
author | Milton Miller <miltonm@us.ibm.com> | Thu Jun 09 10:32:21 2016 -0500 |
committer | Milton Miller <miltonm@us.ibm.com> | Thu Jun 23 11:24:00 2016 -0500 |
tree | 847a1e525b691da54237afa5455bdbdda151921b | |
parent | f81616d2dd9f38743a7b93bbf6276be83d2eaddc [diff] |
image_types_uboot: Don't truncate when assembling flash The generate_flash_image step was creating a file then using dd to fill in the pieces, but missed adding the conv=notrunc flag, so each step was shortening the file to its output. Add the forgotten conversion flag to each dd command. Signed-off-by: Milton Miller <miltonm@us.ibm.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