commit | 1e2a358bfad544d161035a9cba2b760726e6c9a0 | [log] [tgz] |
---|---|---|
author | hostboot <hostboot@us.ibm.com> | Wed May 20 00:35:10 2020 -0500 |
committer | hostboot <hostboot@us.ibm.com> | Wed May 20 00:35:10 2020 -0500 |
tree | ed1d140aa1fe082fe67859a74b3180acdbff39cf | |
parent | 75e438893b1397d74079c306ce74cdf3a851b2a3 [diff] |
op-build update 5-20-2020 Changes Included for package sbe, branch master-p10: 922da9c - Srikantha Meesala - 2020-05-19 - SPI test cases was added into measurment seeprom e1cc434 - Prasad Bg Ranganath - 2020-05-19 - SBE: Pass proc chip target to getRing chipop Changes Included for package hcode, branch master-p10: 4dbb905 - hostboot - 2020-05-19 - Release tag & head commit information updated for hw051920a.opmst10 29eddc6 - Ben Gass - 2020-05-19 - Update moveregs.pl to be more robust 4a7a016 - Prem Shanker Jha - 2020-05-19 - Self-Save-Restore: Ported some SMF changes from P9 to P10. ea5f134 - hostboot - 2020-05-19 - Release tag & head commit information updated for hw051820a.opmst10 de86f1c - Murulidhar Nataraju - 2020-05-19 - Update PM procedures to make it useable by SBE e8d317c - Prem Shanker Jha - 2020-05-19 - Image Build: Added support for scan ring override. 3d63aeb - Amit Tendolkar - 2020-05-19 - Changes to use proposed error log common files with OCC b693c74 - Ben Gass - 2020-05-19 - Move unused registers to unused files. f781410 - Murulidhar Nataraju - 2020-05-19 - Update PM procedures to make it useable by SBE 82a4623 - Prem Shanker Jha - 2020-05-19 - Image Build: Added support for scan ring override. c834bed - Prem Shanker Jha - 2020-05-19 - PM HWP: Added support for parameter block in P10 HOMER. a238ccb - Prem Shanker Jha - 2020-05-19 - XGPE Boot: Code infrastructure for XGPE boot. b9ddb1a - Greg Still - 2020-05-19 - p10_pm_pgpe_init and p10_pm_pba_init Level 2 dc3689d - Prem Shanker Jha - 2020-05-19 - Image Build: P10 hcode image build for QME. 6f10b05 - hostboot - 2020-05-19 - Fix auto-mirror d4e44c6 - Amit Tendolkar - 2020-05-19 - Changes to use proposed error log common files with OCC e1b88ee - Ben Gass - 2020-05-19 - Move unused registers to unused files. d2ee77e - Sumit Kumar - 2020-05-19 - Delete hcode_occ_errldefs.h as per EKB commit 96978 Changes Included for package hostboot, branch master-p10: 4ce5a62 - Nick Bofferding - 2020-05-19 - Make ATTR_PROC_FABRIC_TOPOLOGY_ID a global to support MRW customization dcc64a3 - Zach Clark - 2020-05-19 - Miscellaneous PLDM utilities and cleanup de64f15 - Zach Clark - 2020-05-19 - Only check partial-good rules for children of PROC targets fb81ca2 - Caleb Palmer - 2020-05-19 - PRD: Add more dependencies for hwp_wrappers.H 9654a2f - Prem Shanker Jha - 2020-05-19 - Image Build: Added support for scan ring override. 6542ff8 - Dan Crowell - 2020-05-19 - Enable 2nd Proc in Standalone Simulation 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