op-build update 1-31-2020

Changes Included for package occ, branch master-p10:
096141c - mbroyles - 2020-01-30 - Read Hcode and WOF Headers
998ee64 - Chris Cain - 2020-01-30 - Simics script updates to support latest simics builds and PGPE headers

Changes Included for package hostboot, branch master-p10:
9f30ac2 - Dan Crowell - 2020-01-30 - Remove simics setup from fsprelease builds
3edaa8a - Ilya Smirnov - 2020-01-30 - Integrate PM Complex
be5c7cb - Zane Shelley - 2020-01-30 - fix tool to get gerrit server
a274396 - hostboot - 2020-01-30 - Update simics level to: 2020-01-30_e105ca_simics.tar.gz 7ece5e36352daa49
c4ed03e - Caleb Palmer - 2020-01-30 - Add OCMB_CHIP support for BAD_DQ_BITMAP getters/setters
3fb33ff - Nicholas Landi - 2020-01-30 - Port rng_bist and init_phase1 (2/2)
22f3f5d - Nicholas Landi - 2020-01-30 - Port rng_bist and phase1/2 to P10 (1/2)
8b65ca3 - Joe McGill - 2020-01-30 - p10_scomoverride_chiplets -- create placeholder for IPL flow
4adb036 - Ben Gass - 2020-01-30 - Update p10_pcie_scominit to enable xram clocks.
5d69073 - Ben Gass - 2020-01-30 - Set PHBRESET in p10_pcie_scominit
b62c441 - Ben Gass - 2020-01-30 - Add p10_pcie_scominit - not completely implemented
f4379d4 - Zach Clark - 2020-01-30 - P10 I2C Updates
3960785 - Zach Clark - 2020-01-30 - Calculate HWP whitelist at compile-time
7e05b15 - Yun Pan - 2020-01-30 - OCMB MMIO error handling
f9747f5 - Greg Still - 2020-01-30 - PM: enable PFET sense polling for istep 4
e4598c1 - Jenny Huynh - 2020-01-30 - Initial version of p10_pau_scominit
79154a8 - Bill Hoffa - 2020-01-30 - Enable Istep 10.4 (call_proc_chiplet_scominit)
d613886 - Dean Sanner - 2020-01-30 - Replace spr/gpr numbers with names for arch dump
6d6d292 - Dan Crowell - 2020-01-30 - Cleanup a few istep/pass/fail indicators
c2764f5 - Matt Derksen - 2020-01-30 - Use EECACHE PNOR for dimm presence

Signed-off-by: hostboot <hostboot@us.ibm.com>
2 files changed
tree: ca1413fdeef18cb13d2eeee7b9bb13f13a50d330
  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