commit | e1dcc231d780c910538722433fd09077314b53d7 | [log] [tgz] |
---|---|---|
author | Xo Wang <xow@google.com> | Wed Nov 30 17:02:18 2016 -0800 |
committer | Patrick Williams <patrick@stwcx.xyz> | Thu Dec 08 03:18:19 2016 +0000 |
tree | 1b4a8f4b69f4082e80b2548c65191cd61aae8572 | |
parent | ecfbe34a7f8978e1441c7935ce198c7496aa2058 [diff] |
meta-zaius: Fix up host reference clock after power on Zaius's host reference clock generator IC requires an output configuration fixup before trying to send the P9 host any FSI transactions. The IC is powered by the main 3.3V rail (the BMC runs from standby 3.3V), so the fixup has to be applied every time after it is powered on. Add script that performs the I2C writes to the clock gen. Add systemd service that launches the script following power on. Add bitbake recipe to install service. Add image build append to build service into image. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I8b1b83d0dabbb86439a043f8a1d9cdcb56986c45
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