commit | 12d5fc379b7f3b670479279bb96bd9fa1b3c2204 | [log] [tgz] |
---|---|---|
author | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | Wed Jul 20 05:39:30 2016 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Jul 27 18:22:27 2016 +0000 |
tree | 2d643d2a717e5af84ca2b4a31e2ad3654e3f1e47 | |
parent | a244dcdcd45c0b55023095fb6cc3e5dcc0e090b6 [diff] |
Disable launching host-ipmi-hw via systemd On the QEMU, host-ipmi-hw.py was emulating btbridge. host-ipmi-hw looks for user inputs from STDIN and when the user inputs the series of hex bytes for a particular ipmi netfn/cmd tuple and hits the enter key, it results in host-ipmi-hw broadcasting the signal that IPMI daemon would catch and process. because of how it works, we do not want to launch it via systemd and hence can be started manually while testing the IPMI functionality. host-ipmi-hw was initially written when btbridge was still being developed as we needed a vehicle to test the IPMI daemon in the absence of btbridge. Going forward, we can use 'ipmitool -I dbus' instead of this python script and if at all we see a need to use this python script, we can launch this on a need bassis and kill it than consuming the CPU and memory. Fixes openbmc/openbmc#409 Change-Id: Ia620dae07f8b496edcfe7637c08f06e2207e329d Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.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