commit | 5deba5b60864d284ac618de87f5aec5c51bf7404 | [log] [tgz] |
---|---|---|
author | Sergey Solomin <sergey.solomin@us.ibm.com> | Wed Aug 17 18:02:10 2016 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Tue Sep 06 21:12:45 2016 +0000 |
tree | 71480d424b55bf6c7dc631fd8a336685bd9f677e | |
parent | 4c5d57ffecaa01770af63e833ff7b4e0499eae70 [diff] |
i2c-tools - Mode 'd' for i2cdump - 4 byte read support. Current 'i2c-tools' utilities appear to be insufficient for one particular chip the Witherspoon lab team would like to interact with. The chip in question requires a 4 consecutive byte read without initial write of the regiser offset. Adding an enhancement to the existing utilities seems to be a better option than creating a brand new tool. Resolves openbmc/openbmc#466. Change-Id: Ifb7f68fb8f1112eaf494634b37dafb60d200fefd Signed-off-by: Sergey Solomin <sergey.solomin@us.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