{"id":4170,"date":"2016-09-22T11:36:23","date_gmt":"2016-09-22T01:36:23","guid":{"rendered":"https:\/\/www.flamingspork.com\/blog\/?p=4170"},"modified":"2016-09-22T11:36:23","modified_gmt":"2016-09-22T01:36:23","slug":"compiling-your-own-firmware-for-barreleye-opencompute-openpower-system","status":"publish","type":"post","link":"https:\/\/www.flamingspork.com\/blog\/2016\/09\/22\/compiling-your-own-firmware-for-barreleye-opencompute-openpower-system\/","title":{"rendered":"Compiling your own firmware for Barreleye (OpenCompute OpenPOWER system)"},"content":{"rendered":"<p><a href=\"http:\/\/blog.rackspace.com\/now-get-your-own-barreleye\">Aaron Sullivan announced on the Rackspace Blog that you can now get your own Barreleye system<\/a>! What&#8217;s great is that the code for the Barreleye platform is upstream in the op-build project, which means you can build your own firmware for them (just like <a href=\"https:\/\/www.flamingspork.com\/blog\/2016\/09\/12\/compiling-your-own-firmware-for-the-s822lc-for-hpc\/\">garrison, the &#8220;IBM S822LC for HPC&#8221;<\/a> system I blogged about a few days ago).<\/p>\n<p>Remarkably, to build an image for the host firmware, it&#8217;s eerily similar to any other platform:<\/p>\n<pre>git clone --recursive https:\/\/github.com\/open-power\/op-build.git\r\ncd op-build\r\n. op-build-env\r\nop-build barreleye_defconfig\r\nop-build<\/pre>\n<p>&#8230;and then you wait. You can cross compile on x86.<\/p>\n<p>You&#8217;ve been able to build firmware for these machines with <strong>upstream<\/strong> code since <a href=\"https:\/\/github.com\/open-power\/op-build\/commit\/a793a4f4217e85ba52d371c1026ccbeb554688ab#diff-bc742b1672e42176cf44a32aa301407e\">Feb<\/a>\/<a href=\"https:\/\/github.com\/open-power\/skiboot\/commit\/9a25fcc0503488c63c4443a8dde9f77e90c314a5#diff-c31b50320cbb24a125605084a194428e\">March<\/a> (I wouldn&#8217;t recommend running with builds from then though, try the latest release instead).<\/p>\n<p>Hopefully, someone involved in OpenBMC can write on how to build the BMC firmware.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Aaron Sullivan announced on the Rackspace Blog that you can now get your own Barreleye system! What&#8217;s great is that the code for the Barreleye platform is upstream in the op-build project, which means you can build your own firmware &hellip; <a href=\"https:\/\/www.flamingspork.com\/blog\/2016\/09\/22\/compiling-your-own-firmware-for-barreleye-opencompute-openpower-system\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[76,570,588,615],"tags":[655,636,587,251],"class_list":["post-4170","post","type-post","status-publish","format-standard","hentry","category-code","category-ibm-work-et-al","category-opal","category-powerpc","tag-barreleye","tag-opal","tag-openpower","tag-rackspace"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5a6n8-15g","jetpack-related-posts":[{"id":4345,"url":"https:\/\/www.flamingspork.com\/blog\/2017\/12\/11\/a-simplified-view-of-openpower-firmware-development\/","url_meta":{"origin":4170,"position":0},"title":"A (simplified) view of OpenPOWER Firmware Development","author":"Stewart Smith","date":"2017-12-11","format":false,"excerpt":"I've been working on trying to better document the whole flow of code that goes into a build of firmware for an OpenPOWER machine. This is partially to help those not familiar with it get a better grasp of the sheer scale of what goes into that 32\/64MB of flash.\u2026","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2017\/12\/devflow-legend.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2017\/12\/devflow-legend.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2017\/12\/devflow-legend.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2017\/12\/devflow-legend.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":4072,"url":"https:\/\/www.flamingspork.com\/blog\/2016\/06\/20\/building-opal-firmware-for-power9\/","url_meta":{"origin":4170,"position":1},"title":"Building OPAL firmware for POWER9","author":"Stewart Smith","date":"2016-06-20","format":false,"excerpt":"Recently, we merged into the op-build project (the build scripts for OpenPOWER Firmware) a defconfig for building OPAL for (certain) POWER9 simulators. I won't bother linking over to articles on the POWER9 chip or schedule (there's search engines for that), but with this commit - if you happen to be\u2026","rel":"","context":"In &quot;IBM&quot;","block_context":{"text":"IBM","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/ibm-work-et-al\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4166,"url":"https:\/\/www.flamingspork.com\/blog\/2016\/09\/12\/compiling-your-own-firmware-for-the-s822lc-for-hpc\/","url_meta":{"origin":4170,"position":2},"title":"Compiling your own firmware for the S822LC for HPC","author":"Stewart Smith","date":"2016-09-12","format":false,"excerpt":"IBM (my employer) recently announced\u00c2\u00a0 the new S822LC for HPC POWER8+NVLINK NVIDIA P100 GPUs server (press release, IBM Systems Blog, The Register). The \"For HPC\" suffix on the model number is significant, as the S822LC is a different machine. What makes the \"for HPC\" variant different is that the POWER8\u2026","rel":"","context":"In &quot;IBM&quot;","block_context":{"text":"IBM","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/ibm-work-et-al\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4508,"url":"https:\/\/www.flamingspork.com\/blog\/2019\/12\/10\/looking-at-the-state-of-blackbird-firmware\/","url_meta":{"origin":4170,"position":3},"title":"Looking at the state of Blackbird firmware","author":"Stewart Smith","date":"2019-12-10","format":false,"excerpt":"Having been somewhat involved in OpenPOWER firmware, I have a bunch of experience and opinions on maintaining firmware trees for products, what working with upstream looks like and all that. So, with my new Blackbird system I decided to take a bit of a look as to what the firmware\u2026","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3940,"url":"https:\/\/www.flamingspork.com\/blog\/2015\/02\/03\/building-openpower-firmware-for-use-in-power8-simulator\/","url_meta":{"origin":4170,"position":4},"title":"Building OpenPower firmware for use in POWER8 Simulator","author":"Stewart Smith","date":"2015-02-03","format":false,"excerpt":"Previously, I blogged on how to Run skiboot (OPAL) on the POWER8 Simulator. If you want to build the full Open Power firmware environment, including the Petitboot bootloader and kernel, you can now do so! My pull request for an op-build target for the simulator has been merged, so you\u2026","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4046,"url":"https:\/\/www.flamingspork.com\/blog\/2016\/04\/29\/openpower-opencompute-and-fostering-a-firmware-development-community\/","url_meta":{"origin":4170,"position":5},"title":"OpenPOWER, OpenCompute and fostering a firmware development community","author":"Stewart Smith","date":"2016-04-29","format":false,"excerpt":"Recently, I was at the OpenPOWER Summit in San Jose where people could see the Barreleye server (specs and design here, initial Rackspace blog post here). Barreleye is an OpenCompute form factor POWER8 server. It's not only an OpenPOWER machine, which means all of the host firmware is free and\u2026","rel":"","context":"In &quot;IBM&quot;","block_context":{"text":"IBM","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/ibm-work-et-al\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/4170","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/comments?post=4170"}],"version-history":[{"count":1,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/4170\/revisions"}],"predecessor-version":[{"id":4171,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/4170\/revisions\/4171"}],"wp:attachment":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/media?parent=4170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/categories?post=4170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/tags?post=4170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}