commit | 42ec9caac0e8c2cfd745288b9c75e7f97d479583 | [log] [tgz] |
---|---|---|
author | hostboot <hostboot@us.ibm.com> | Tue Apr 21 13:13:41 2020 -0500 |
committer | hostboot <hostboot@us.ibm.com> | Tue Apr 21 13:13:41 2020 -0500 |
tree | 69a936703660c1c0aceb334fdfa2bb55da5c6397 | |
parent | 36e1e6a4e7c876f7a786d6b317c39c1937b14eed [diff] |
op-build update 4-21-2020 Changes Included for package sbe, branch master-p10: 38e52b8 - Jenny Huynh - 2020-04-21 - Use common attributes to configure LCO settings 30d2805 - Olsen - 2020-04-21 - Fix in p10_ipl_customize for "invalid buffer" fail 6022711 - Roland Veloz - 2020-04-21 - Added new attribute ATTR_MFG_FLAGS to supplant ATTR_MNFG_FLAGS Changes Included for package hostboot, branch master-p10: eec96d8 - hostboot - 2020-04-21 - Update simics level to: 2020-04-20_5fc54c_simics.tar.gz fd00b1d6ade52b9a 386b6b8 - Deb McLemore - 2020-04-21 - SBE enable sbe_update tests 3be8ac8 - aravnair-in - 2020-04-21 - Move MC_PLL_BUCKET to under proc target c9be6b3 - Caleb Palmer - 2020-04-21 - PRD: Update OCMB_LFIR[38] to defaultMaskedError c2c2d10 - Caleb Palmer - 2020-04-21 - PRD: Ignore mainline IUE if on at same time as mainline UE d1b87b4 - Caleb Palmer - 2020-04-21 - PRD: Simplify getConnected, remove getAssociationType 29006b1 - hostboot - 2020-04-21 - Update SBE commit to 052a3e1... SPR/GPR updates and Core Target related Changes Included for package pnor, branch master-p10: f30f5d4 - Nicholas E Bofferding - 2020-04-21 - Merge pull request #15 from lkammath/sha_disable 0ce6b75 - Lakshminarayana R. Kammath - 2020-04-21 - Disable sha512 for DEVTREE bringup 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(bigint)" "perl(XML::Simple)" \ "perl(YAML)" "perl(XML::SAX)" "perl(Fatal)" "perl(Thread::Queue)" \ "perl(Env)" "perl(XML::LibXML)" "perl(Digest::SHA1)" "perl(ExtUtils::MakeMaker)" \ libxml2-devel which wget unzip tar cpio python bzip2 bc findutils ncurses-devel \ openssl-devel make libxslt vim-common lzo-devel python2