commit | 45af9a22aabf38474a00698f511e334c14d84c76 | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Mon Nov 21 14:37:05 2016 +1030 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Nov 23 02:11:14 2016 +0000 |
tree | cc40f36232b95266852e6f047e45556f321adf11 | |
parent | bc5f4ddc170c888921f43b72ed813df518afb42e [diff] |
systemd: Configure shutdown watchdog to 20min There were reports of the shutdown watchdog firing in #522 which caused the flashing process to fail. Andrew Geissler suggested he reached ~77% before the watchdog bit, which by default is configured at 10 minutes. Back-of-the-envelope calculations suggest it would've taken approximately 13 minutes to complete the flash, therefore bump the number to 20min to give ourselves a bit of head-room. Change-Id: I967b13799469d22a380b29f5566ab8cc9432ce8c Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
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