commit | 3ef4ee05977cb58bddb513d274488df37f005818 | [log] [tgz] |
---|---|---|
author | hostboot <hostboot@us.ibm.com> | Mon Apr 06 00:36:13 2020 -0500 |
committer | hostboot <hostboot@us.ibm.com> | Mon Apr 06 00:36:13 2020 -0500 |
tree | 94f6584eca3831aea36f7c8631a16737b2b5a743 | |
parent | 1bce808f913cb32f505b17d0af5dc5564b288018 [diff] |
op-build update 4-6-2020 Changes Included for package sbe, branch master-p10: 1a036c1 - Srikantha Meesala - 2020-04-03 - Simics build updated with GPR/SPR/FPR fixes Changes Included for package hcode, branch master-p10: 1efc314 - hostboot - 2020-04-05 - Release tag & head commit information updated for hw040520a.opmst10 5c95ae6 - hostboot - 2020-04-03 - Release tag & head commit information updated for hw040320a.opmst10 Changes Included for package hostboot, branch master-p10: be2098e - hostboot - 2020-04-04 - Update HCODE commit to 6a396df... PM: add Vretention voltage and Altitud 2d1408e - hostboot - 2020-04-04 - Update SBE commit to 8d3ed2f... Add new enum, OCMB_FW_UPDATE, to ATTR_RE c1886e9 - Dan Crowell - 2020-04-03 - Allow very long attribute names 32d80dd - Ilya Smirnov - 2020-04-03 - Add New HOMER Map/Unmap Interfaces 133d2f1 - Chen Du - 2020-04-03 - Support HDAT mining of dynamic module ID 7c7860b - Dan Crowell - 2020-04-03 - Add LPCREFCLKENDPT target type 90be58c - hostboot - 2020-04-03 - Update simics level to: 2020-04-03_ff7eb0_simics.tar.gz 6e84d23fa6f1cb46 2efd313 - Prem Shanker Jha - 2020-04-03 - Image Build: Fixed calculation of QME image size for block copy. ea7fc20 - Greg Still - 2020-04-03 - PM: add Vretention voltage and Altitude Adjustment to OCC Parameter Block 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