commit | 3d8b8403fcc3f78bcded10b8ce67aa2b6d37c2a5 | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Thu Mar 01 15:26:01 2018 -0600 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Mon Jun 04 20:13:04 2018 +0000 |
tree | 698dacbbb749c8b491adf39e0e5710d14c6806ae | |
parent | 8e7f3e7db748a563fce8f4cc88b511caecdd761a [diff] |
obmc-flash-bmc: DeleteAll cleanup fixes for alt BMC A DeleteAll request first deletes individual software D-Bus objects and their corresponding rofs and kernel UBI volumes, then it calls the cleanup service to remove UBI volumes that were not part of a D-Bus object. 1. Only delete the rofs volume during a cleanup, this is the volume used to create D-Bus objects. Don't delete the kernel volume because if the system has an alt BMC chip, the backup kernel volume is deleted as part of this step which is undesirable. 2. Call createenvbackup as part of the cleanup service, to update the alt environment variables to point to the currently running image, because DeleteAll will delete all other images so the alt environment should be updated to point to the remaining image. Change-Id: Ibde8f9ef275c0536573cf0625c8291096c6cdd6e Signed-off-by: Adriana Kobylak <anoo@us.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 |
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.