commit | 400afbc9a84db1dee766ccc0fad40acc5c9d9d6d | [log] [tgz] |
---|---|---|
author | hostboot <hostboot@us.ibm.com> | Thu Dec 05 09:02:42 2019 -0600 |
committer | hostboot <hostboot@us.ibm.com> | Thu Dec 05 09:02:42 2019 -0600 |
tree | 4fab7cb083b791c0108263760f51c7e61e271c1c | |
parent | 09e9c002abc3652d65a8a2e97dbf8f5938625765 [diff] |
op-build update 12-5-2019 Changes Included for package occ, branch master-p10: 7fc81f4 - Douglas Gilbert - 2019-12-04 - GPE panic on arithmetic divide errors 7ffc9fe - Chris Cain - 2019-12-04 - Cleanup SIMICS support bb749c4 - Douglas Gilbert - 2019-12-03 - Update external interrupt configuration to match ekb Changes Included for package hostboot, branch master-p10: 1ffa56c - Bill Hoffa - 2019-12-05 - Updates to Simics Debug Tools for Hardocded Naming 79ec56a - Jayashankar Padath - 2019-12-05 - HDAT: Slot map data correction c74b569 - Bill Hoffa - 2019-12-04 - Update Sim Startup Script to find master CPU dynamically 26678de - Dean Sanner - 2019-12-04 - Add Simics debug hooks to openpower distro target cbacbda - Glenn Miles - 2019-12-04 - Stop ignoring failures from xgpe init HWP 9c58947 - hostboot - 2019-12-04 - Update simics level to: 2019-12-02_618979_simics.tar.gz 9bcac45 - Glenn Miles - 2019-12-04 - Fix xscom CI test to use P10 scratch reg addresses beffc89 - Ilya Smirnov - 2019-12-03 - Implement RC Setter for ReturnCode d683847 - Caleb Palmer - 2019-12-03 - Add DIMM_BAD_DQ_DATA field for DDR4 DDIMM SPD and bad dq tests b382814 - Yun Pan - 2019-12-03 - Define Parent/Child Relationship for PAUC/OMIC targets 967a013 - Zach Clark - 2019-12-03 - Update HWAS memory targeting hierarchy deconfiguration rules d0a723d - Steven Janssen - 2019-12-02 - Update proc_scomt makefile to build as a module in a library 0f42466 - Ben Gass - 2019-12-02 - Clear MBA_FARB0Q_CFG_WAIT_FOR_INIT_COMPLETE in exp_draminit for sim e56d5f2 - Ben Gass - 2019-12-02 - Skip exp_omi_setup and exp_omi_train_check in sim. 53a0c32 - Joachim Fenkes - 2019-12-02 - FAPI2: Add static compile time checks for some Target methods 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