commit | 256628455dd9ae685c0afb1dda2dce24bceb4210 | [log] [tgz] |
---|---|---|
author | hostboot <hostboot@us.ibm.com> | Wed Jan 29 00:36:33 2020 -0600 |
committer | hostboot <hostboot@us.ibm.com> | Wed Jan 29 00:36:33 2020 -0600 |
tree | 511b00fdb4c949cf4958fa1b33807acb84be9d02 | |
parent | 3afb755745a0170cc220bddf20fd4803aa1bb3b3 [diff] |
op-build update 1-29-2020 Changes Included for package sbe, branch master-p10: 25ba3dd - Matthew Raybuck - 2020-01-28 - Changes to SBE SPI HWP to allow Bootloader compilation 9b1f04c - chirshar - 2020-01-28 - Support in ipl_customize for MVPD ring table version check 84190ee - Ben Gass - 2020-01-28 - Update register header files from drop Y. 80a267d - Ben Gass - 2020-01-28 - Update register header files with drop X data f081e88 - Ben Gass - 2020-01-28 - Update register header files with drop V figdb (really) 7dbf8a6 - Ben Gass - 2020-01-28 - Update register headers from drop V figdb ff5341a - Ben Gass - 2020-01-28 - Update register header files from e10020 release data c553a11 - Ben Gass - 2020-01-28 - Updates to register headers Changes Included for package hostboot, branch master-p10: 641e7f2 - Jenny Huynh - 2020-01-28 - Issue switch_cd from master chip only cb868c5 - Jenny Huynh - 2020-01-28 - Placeholder scom initfiles and apply nmmu epsilon values 3d81718 - Jenny Huynh - 2020-01-28 - Apply switch_cd in p10_chiplet_scominit instead of p10_build_smp 964c5b8 - Ben Gass - 2020-01-28 - Updates for io simulation speed-up - drop Y engd 371b238 - Ben Gass - 2020-01-28 - Adding p10_omi_init, p10_chiplet_scominit, and related omi initfiles. 8bc50be - Matthew Raybuck - 2020-01-28 - SPI Device Driver: RAS Tweaks 649be39 - Matthew Raybuck - 2020-01-28 - SPI Device Driver: RAS User Details Parameter Logging 6fafeec - Matthew Raybuck - 2020-01-28 - Add standalone reason code decoder to src/build/debug bce101a - Caleb Palmer - 2020-01-28 - PRD: Remove old P9 code 8cdeb12 - Matthew Raybuck - 2020-01-28 - SPI Device Driver: Change SPI init to use HWP 9ddb499 - Caleb Palmer - 2020-01-28 - PRD: Remove Cumulus and Nimbus plat code c3272ef - Matthew Raybuck - 2020-01-27 - Changes to SBE SPI HWP to allow Bootloader compilation 813a88e - Greg Still - 2020-01-27 - STOP: manage enablement timefac shadow based on TOD state 8686021 - Sumit Kumar - 2020-01-27 - Fix for parsing scripts to pickup different perl version d150a5d - Jenny Huynh - 2020-01-27 - Use iovalid bits that have been remapped to pauc chiplet f2f8c5c - Jenny Huynh - 2020-01-27 - Generalize fabric inits and cleanup for fbc/smp procedures 495d311 - Matthew Raybuck - 2020-01-27 - SPI Device Driver: HWP to initialize SPI to use PIB 1094967 - Bill Hoffa - 2020-01-27 - Enable proc_build_smp functionality (Istep 10.1) 7298553 - Christian Geddes - 2020-01-27 - Make RT_TARG id generation code common between IPL time and runtime 1a4d6ff - Ben Gass - 2020-01-27 - Fix p10_fabric_iovalid compile issue. b7e6693 - Jenny Huynh - 2020-01-27 - Implement p10_fabric_iovalid procedure (2/2) a72aeee - Nick Bofferding - 2020-01-24 - Dump elapsed time for each istep during CI 2a76d57 - chirshar - 2020-01-24 - Support in ipl_customize for MVPD ring table version check c91d81f - Jenny Huynh - 2020-01-24 - Updates to nmmu initfiles with suggested workbook values 3bd5ff2 - Alistair Popple - 2020-01-24 - p10_sbe_attributes.xml: Add complete initialisation values 3e4282d - Roland Veloz - 2020-01-24 - P10: Enable runtime test libraries 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)" "perl(ExtUtils::MakeMaker)" \ libxml2-devel which wget unzip tar cpio python bzip2 bc findutils ncurses-devel \ openssl-devel make libxslt vim-common