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>
3 files changed
tree: 3a399e82612abe66bc1433542e5e137ae2adf3f8
  1. ci/
  2. dl/
  3. doc/
  4. openpower/
  5. output/
  6. .gitignore
  7. .gitmodules
  8. .travis.yml
  9. CONTRIBUTING.md
  10. LICENSE
  11. NOTICE
  12. op-build
  13. op-build-env
  14. README.md
README.md

OpenPOWER Firmware Build Environment

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.

Documentation

https://open-power.github.io/op-build/

See the doc/ directory for documentation source. Contributions are VERY welcome!

Development

Issues, Milestones, pull requests and code hosting is on GitHub: https://github.com/open-power/op-build

See CONTRIBUTING.md for howto contribute code.

Building an image

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).

Dependencies for 64-bit Ubuntu/Debian systems

  1. Install Ubuntu (>= 18.04) or Debian (>= 9) 64-bit.

  2. Enable Universe (Ubuntu only):

     sudo apt-get install software-properties-common
     sudo add-apt-repository universe
    
  3. 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
    

Dependencies for 64-bit Fedora systems

  1. Install Fedora (>= 25) 64-bit.

  2. 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