Barreleye is the openPOWER server that Rackspace helped build. It runs openBMC for it’s management.
In my work at Rackspace, I often build custom openBMC builds for the sake of testing stability / new features.
Here’s how you can build your own openBMC binary for Barreleye.
If you are building on Ubuntu you need to install following packages before you build openBMC:
sudo apt-get install -y git build-essential libsdl1.2-dev texinfo gawk chrpath diffstat
If you are building on Fedora 23 you need to install the following packages before you build openBMC
sudo dnf install -y git patch diffstat texinfo chrpath SDL-devel bitbake
sudo dnf groupinstall "C Development Tools and Libraries"
First, clone the openBMC repository. If you are cloning form master this is how you’d do it:
git clone https://github.com/openbmc/openbmc
Then run the following commands:
TEMPLATECONF=meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/conf . oe-init-build-env
If you run it a laptop with decent power, it takes about 2-3 hours. If you run it on a Barreleye (this is where I make you jealous) it takes about 35 minutes to build the binary.
The built binaries are in openbmc/build/tmp/deploy/images/barreleye location
In my case I use the barreleye-20160818194255.all.tar image and untar it to get an file named ‘image-bmc’ about 32MB in size .
You can use a flash programmer to flash your BMC chip with this new version or use the openBMC online upgrade process.
If you wanna rebuild your binary, then you will have to first clear your config before you run above 3 commands again.
This is the command to clear the config:
rm -rf build/conf
Comment here for any issues you run into, while building the binary or if you want a link to a latest binary.