commit | 70162a730c1f3ebb9834b62d131712160ad47e1f | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Wed Jan 25 13:06:03 2017 +1030 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Jan 25 13:10:32 2017 +0000 |
tree | a783e79f2a797819a3a0ccdd761a768d7fa2c566 | |
parent | 05fb69f2f20ec0858e8ab3d62031d7457f290626 [diff] |
mboxd: Update udev rule for /dev/aspeed-mbox At least one bug prevented the discovery that the udev rule was broken, mainly that the Wants/After directives were in the wrong section of the systemd unit file[1]. systemd logged and ignored the broken Wants/After directives and launched the service anyway, which lead to the impression that everthing was working as expected. Fix the problem by inspecting the device with udevdm to determine it's properties: $ udevadm info -q all -a /dev/aspeed-mbox`: looking at device '/devices/platform/ahb/1e789000.lpc/1e789080.lpc-host/1e789200.mbox/misc/aspeed-mbox': KERNEL=="aspeed-mbox" SUBSYSTEM=="misc" DRIVER=="" ... [1] https://github.com/openbmc/openbmc/issues/999 Change-Id: I91c410da44224ee7b5c527ee4a744b7e7ecd5a9b 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