commit | 2fb47c0588f373fe30459445a02963e8806ddae4 | [log] [tgz] |
---|---|---|
author | hostboot <hostboot@us.ibm.com> | Mon May 06 19:07:41 2019 -0500 |
committer | hostboot <hostboot@us.ibm.com> | Mon May 06 19:07:41 2019 -0500 |
tree | 148b4811ffe56176b002a416958a64c969c6d99d | |
parent | 3c8d15f0dac1a28e380fd3330a21dd9256c41f6d [diff] |
op-build update 5-6-2019 Changes Included for package sbe, branch master: 0268ea4 - Chris Steffen - 2019-05-05 - Axone Xbus Linearity b031344 - Ben Gass - 2019-05-05 - Add p9a.omi.pll.scan.initfile and ifCompiler support. ce819e5 - Joachim Fenkes - 2019-05-05 - p9_sbe_tracearray: Updates for Axone 3f92b56 - kswaroop - 2019-04-29 - Fix for race condition while copying "p9_xip_tool" 9c5d98e - Joachim Fenkes - 2019-04-28 - p9_sbe_nest_enable_ridi: Open up PCIe refclk drivers 673bc92 - Matt K. Light - 2019-04-25 - add GEMINI enum for ATTR_NAME 8acc5d3 - Matt K. Light - 2019-04-25 - add define to control inclusion of getCoreSelect plat impl fb4fa9c - Alvin Wang - 2019-04-25 - Move MCBIST lib to generic folder de09972 - Louis Stermole - 2019-04-18 - Add ATTR_FREQ_OMI_MHZ c94f972 - Prem Shanker Jha - 2019-04-16 - PM: Fixed error path handling of getscoms in HWP p9_query_core_access_state. ca17f0c - Mark Pizzutillo - 2019-04-16 - Added code for exp_getecid and unit tests 4bd4804 - Raja Das - 2019-04-10 - Update Backing build to customrc and update standalone simics patch Signed-off-by: hostboot <hostboot@us.ibm.com>
The OpenPOWER firmware build process uses Buildroot to create a toolchain and build the various components of the PNOR firmware, including Hostboot, Skiboot, OCC, Petitboot etc.
https://open-power.github.io/op-build/
See the doc/ directory for documentation source. Contributions are VERY welcome!
Issues, Milestones, pull requests and code hosting is on GitHub: https://github.com/open-power/op-build
See CONTRIBUTING.md for howto contribute code.
To build an image for a Palmetto system:
git clone --recursive git@github.com:open-power/op-build.git cd op-build ./op-build palmetto_defconfig && ./op-build
There are also default configurations for other platforms in openpower/configs/
. Current POWER8 platforms include Habanero, Firestone, and Garrison. Current POWER9 platforms include Witherspoon, Boston (p9dsu), Romulus, and Zaius.
Buildroot/op-build supports both native and cross-compilation - it will automatically download and build an appropriate toolchain as part of the build process, so you don't need to worry about setting up a cross-compiler. Cross-compiling from a x86-64 host is officially supported.
The machine your building on will need Python 2.7, GCC 6.2 (or later), and a handful of other packages (see below).
Install Ubuntu (>= 18.04) or Debian (>= 9) 64-bit.
Enable Universe (Ubuntu only):
sudo apt-get install software-properties-common sudo add-apt-repository universe
Install the packages necessary for the build:
sudo apt-get install cscope ctags libz-dev libexpat-dev \ python language-pack-en texinfo \ build-essential g++ git bison flex unzip \ libssl-dev libxml-simple-perl libxml-sax-perl libxml-parser-perl libxml2-dev libxml2-utils xsltproc \ wget bc rsync
Install Fedora (>= 25) 64-bit.
Install the packages necessary for the build:
sudo dnf install gcc-c++ flex bison git ctags cscope expat-devel patch \ zlib-devel zlib-static texinfo perl-bignum "perl(XML::Simple)" \ "perl(YAML)" "perl(XML::SAX)" "perl(Fatal)" "perl(Thread::Queue)" \ "perl(Env)" "perl(XML::LibXML)" "perl(Digest::SHA1)" libxml2-devel \ which wget unzip tar cpio python bzip2 bc findutils ncurses-devel