commit | a5bc2c466ed8c3333405111f80870c49b9d75682 | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Wed Sep 13 12:59:26 2017 -0500 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Sep 26 18:29:02 2017 +0000 |
tree | 14e50cfb18becd26805d23efb00f400a4b805907 | |
parent | 8c9b2b341334c730d7df05df9e9203609635dfdb [diff] |
obmc-flash-bmc: Fixes to the logic to delete volumes - The current logic was preventing deleting the volume based on the kernelname environment variable, but this variable changes during a code update, and doesn't reflect the current running version. Change that to create the kernelname based on the current running version since it prevents users from doing back-to-back updates with no BMC reboot in between. - Check the mtd of the volume to be deleted against the currently running mtd, because the version name may be the same. This is the case when the 2 chips have the same version as when the come out of manufacturing. - Enhance the remove function to accept an mtd parameter, so that it deletes the volume on the specified mtd instead of the first one that it finds. This is to support duplicate version as well. - Clear the priority env variable when a volume is deleted as part of the cleanup. Change-Id: I5725bb71ac2b75abaf3e2b365fbd18f116651c7b Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Saqib Khan <khansa@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, Open-Embedded, Systemd and DBus 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-openpower/[company]/[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 a 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