commit | 2a4edf11ecec6403cc315f9ce068cd2147d11250 | [log] [tgz] |
---|---|---|
author | hostboot <hostboot@us.ibm.com> | Fri Mar 05 00:44:26 2021 -0600 |
committer | hostboot <hostboot@us.ibm.com> | Fri Mar 05 00:44:26 2021 -0600 |
tree | 7bcb709e64c45921ef8ebbcb83234bb49abab5a6 | |
parent | 3205b5ebbc0c7cd280b93db0ebdef06177cfe035 [diff] |
op-build update 3-5-2021 Changes Included for package sbe, branch master-p10: 2352a3d - Sunil Kumar - 2021-03-04 - Add compression/decomrpession logic for .sb_verification base code. d133bda - Sunil Kumar - 2021-03-04 - Remove the verification loading address in PIBMEM. ae7fb08 - Greg Still - 2021-03-04 - PM: add mrw tagging to ATTR_CURRENT_SCALING_FACTOR attribute 9d58ceb - Sunil Kumar - 2021-03-03 - Create image for SBE verification 473d568 - Sunil Kumar - 2021-03-03 - Moved TPM driver code to common path for measurement and verification. 997994b - akhis023 - 2021-03-03 - Argument change for signSbeImage for SBE standalone simics da35d7d - Matthew Raybuck - 2021-03-03 - Remove releaseData function from FirstFailureData e1d1ebf - Sunil Kumar - 2021-03-02 - Added TPM operations as part of Secure boot flow. 0327bdb - Srikantha Meesala - 2021-03-02 - Reading sbe boot image using SPI read operation Changes Included for package hostboot, branch master-p10: 47245b3 - Mike Baiocchi - 2021-03-04 - Look for TPM Deconfig Protect bit in Security Switch Registers 46498c8 - Dan Crowell - 2021-03-04 - Remove 20 second delay in ocmb_check_for_ready 8b2378d - Christian Geddes - 2021-03-04 - Update forceTpmDeconfigCallout from forcing DELAYED_DECONFIG->DECONFIG 9389894 - Christian Geddes - 2021-03-04 - Lock OCMB's SCOM_ACCESS_MUTEX attribute when performing OCMB scom e8fadcb - Matt Derksen - 2021-03-04 - Fix CDM_DOMAIN with every DECONFIG_GARDABLE unit 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 Blackbird system:
git clone --recursive git@github.ibm.com:open-power/op-build.git cd op-build ./op-build rainier_defconfig && ./op-build
There are also default configurations for other platforms in openpower/configs/
. 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 gawk cpio xxd \ 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)" \ "perl(FindBin)" "perl(English)" "perl(Time::localtime)" \ libxml2-devel which wget unzip tar cpio python bzip2 bc findutils ncurses-devel \ openssl-devel make libxslt vim-common lzo-devel python2 rsync hostname