commit | 7a5340bd5014a9af06b2de9443479100acd02eaa | [log] [tgz] |
---|---|---|
author | Ratan Gupta <ratagupt@in.ibm.com> | Tue Mar 20 15:26:20 2018 +0530 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Thu Mar 29 03:50:51 2018 +0000 |
tree | 8a376d07d66ca8e528444d71ad5cb659cec990fb | |
parent | afc77225f4881a26fe3705251da3c156a6d21a34 [diff] |
Network: Bring libnl into the openbmc image We would be writing a new app in the phosphor-netwokd repo. libnl would be used for IPC mechanism between kernel and user space process. In issue 2931 we need to talk with kernel for certain NCSI commands(nelink) through libnl. NCSI commands are as follows NCSI_CMD_PKG_INFO: which returns information on packages and their associated channels. NCSI_CMD_SET_INTERFACE which allows a specific package or package/channel combination to be set as the preferred choice. NCSI_CMD_CLEAR_INTERFACE which clears any preferred setting Partilally Resolves openbmc/openbmc#2931 Change-Id: I9b90a43d44c082a403ec93aa6a5a1f1cdb68a992 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
The OpenBMC project can be described as a Linux distribution for embedded devices that have a BMC; typically, but not limited to, things like servers, top of rack switches or RAID appliances. The OpenBMC stack uses technologies such as Yocto, OpenEmbedded, systemd, and D-Bus to allow easy customization for your server platform.
sudo apt-get install -y git build-essential libsdl1.2-dev texinfo gawk chrpath diffstat
sudo dnf install -y git patch diffstat texinfo chrpath SDL-devel bitbake sudo dnf groupinstall "C Development Tools and Libraries"
git clone git@github.com:openbmc/openbmc.git cd openbmc
Any build requires an environment variable known as TEMPLATECONF
to be set to a hardware target. OpenBMC has placed all known hardware targets in a standard directory structure meta-openbmc-machines/meta-[architecture]/meta-[company]/meta-[target]
. You can see all of the known targets with find meta-openbmc-machines -type d -name conf
. Choose the hardware target and then move to the next step. Additional examples can be found in the OpenBMC Cheatsheet
Machine | TEMPLATECONF |
---|---|
Palmetto | meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/conf |
Barreleye | meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/conf |
Zaius | meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/conf |
Witherspoon | meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/conf |
As an example target Palmetto
export TEMPLATECONF=meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/conf
. openbmc-env bitbake obmc-phosphor-image
Additional details can be found in the docs repository.
Commits submitted by members of the OpenBMC GitHub community are compiled and tested via our Jenkins server. Commits are run through two levels of testing. At the repository level the makefile make check
directive is run. At the system level, the commit is built into a firmware image and run with an arm-softmmu QEMU model against a barrage of CI tests.
Commits submitted by non-members do not automatically proceed through CI testing. After visual inspection of the commit, a CI run can be manually performed by the reviewer.
Automated testing against the QEMU model along with supported systems are performed. The OpenBMC project uses the Robot Framework for all automation. Our complete test repository can be found here.
Support of additional hardware and software packages is always welcome. Please follow the contributing guidelines when making a submission. It is expected that contributions contain test cases.
Issues are managed on GitHub. It is recommended you search through the issues before opening a new one.
Feature List
Features In Progress
Features Requested but need help
Dive deeper in to OpenBMC by opening the docs repository.