commit | a8f26b67add63a916409823c1fad4adf28776e2f | [log] [tgz] |
---|---|---|
author | Milton D. Miller II <miltonm@us.ibm.com> | Sat Feb 27 16:04:32 2016 -0600 |
committer | Milton D. Miller II <miltonm@us.ibm.com> | Fri Mar 04 10:51:49 2016 -0600 |
tree | a1e17db791129a4234c90b0d7921452ea54532f4 | |
parent | 90b68474b0708c74e49947de0d495a311b9f54ac [diff] |
init: Use image of read only file system in RAM if present If a read-only file system image is in /run, specifically /run/image-rofs, then mount it instead of the mtd partition. This will allow running from ram to allow the flash to be updated, either from a downloaded image, a packaged image, or an image copied at boot. 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