commit | 927394011a2d63a23ce65dbefd35476a260bb8a3 | [log] [tgz] |
---|---|---|
author | Xo Wang <xow@google.com> | Mon Dec 12 16:56:53 2016 -0800 |
committer | Xo Wang <xow@google.com> | Mon Dec 12 17:05:56 2016 -0800 |
tree | ba2edd834f84882a56295c5c09f9a53212c7be3c | |
parent | 1da3a353e58e6439f5b7c5a0634e1b382bb27bfc [diff] |
op-pdbg-host-control: Fix boot scripts for pdbg The current scripts use ecmd-style bit ranges and call a "putcfam" function/command that doesn't exist. Use latest VCS fix and IPL start commands from Dean Sanner (including scratch register 8 value), converted to pdbg masked read-modify-write format. Add optional argument to scripts for specifying pdbg's '-d' flag. Scripts tested to boot a Zaius machine, but not tested with systemd services for sequencing. Partially resolves openbmc/openbmc#647. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I87761d1454306ebf4ad597057d2160eae10dc8cb
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