commit | 5840dcafa085cbe6e3b2ce7758a9e04fb82ed2cc | [log] [tgz] |
---|---|---|
author | hostboot <hostboot@us.ibm.com> | Thu Feb 13 16:29:29 2020 -0600 |
committer | hostboot <hostboot@us.ibm.com> | Thu Feb 13 16:29:29 2020 -0600 |
tree | 3a399e82612abe66bc1433542e5e137ae2adf3f8 | |
parent | 51ca6dd8b0f149f8fde538d4916cc927b06f416a [diff] |
op-build update 2-13-2020 Changes Included for package occ, branch master-p10: 76651c4 - mbroyles - 2020-02-13 - Static Frequency Point and FFO mode support Changes Included for package sbe, branch master-p10: 3eaad73 - Srikantha Meesala - 2020-02-13 - Added default COUNTER REG values after spi_read/spi_write 9538f93 - Joachim Fenkes - 2020-02-13 - fastarray: Apply setup rings before dump d3528a1 - Thi Tran - 2020-02-13 - Add SRAM access for QME, OCC, and PCIe Changes Included for package hostboot, branch master-p10: 82262d8 - Srikantha Meesala - 2020-02-13 - Added default COUNTER REG values after spi_read/spi_write bba5d02 - Ben Gass - 2020-02-13 - Update register header files from RITA2 data. b8a09ce - Thi Tran - 2020-02-13 - Add SRAM access for QME, OCC, and PCIe 83a35b5 - Greg Still - 2020-02-13 - PM: OCC Pstate Parameter Block refinements 65dc227 - Zane Shelley - 2020-02-13 - PRD: update addCopyright tool for XML files a7b5b01 - Nick Bofferding - 2020-02-13 - Fix IPMI compile errors in runtime HTMGT code 0ac84ac - Matt Derksen - 2020-02-13 - Add eecache parameters to runsim 5602efa - Roland Veloz - 2020-02-13 - Synced the substeps, for istep 21, in HB with the latest P10 IPL Flow 3c50378 - Zane Shelley - 2020-02-13 - Chip data file XML format and Explorer XML 30363dc - Zane Shelley - 2020-02-13 - High level design for error analysis data files 592bb3b - Mike Baiocchi - 2020-02-13 - Add README.md files to the secureboot component 1bc265f - chirshar - 2020-02-13 - Dyninits support: Adding a new section in SBE image e63e4c5 - Thi Tran - 2020-02-13 - Building fastarray control data to SBE image 7ea7518 - Greg Still - 2020-02-13 - PM: p10_hcode_image_build update to PGPE header bd40dcd - Greg Still - 2020-02-13 - STOP: self-restore enablement fixes a0189d1 - Joachim Fenkes - 2020-02-13 - fastarray: Apply setup rings before dump 52f01c1 - Joe McGill - 2020-02-13 - VBU -- add awan4d and gsd2pib support, cleanup template config files 12a7fb9 - chirshar - 2020-02-13 - MVPD 'report' support in ipl_image_tool 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