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>
1 file changed
tree: a783e79f2a797819a3a0ccdd761a768d7fa2c566
  1. import-layers/
  2. meta-openbmc-bsp/
  3. meta-openbmc-machines/
  4. meta-phosphor/
  5. .gitignore
  6. .gitreview
  7. .templateconf
  8. openbmc-env
  9. README.md
README.md

OpenBMC

Build Status

Building

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