op-build update 3-6-2020

Changes Included for package hcode, branch master-p10:
19b73fe - hostboot - 2020-03-05 - Release tag & head commit information updated for hw030520a.opmst10
076367f - Matthew Raybuck - 2020-03-05 - SPI Device Driver: Add policy changes to FAPI2 for Bootloader compilation
0e6e04d - Rahul Batra - 2020-03-05 - PGPE: Trace Bug Fixes
515563e - Rahul Batra - 2020-03-05 - PGPE: PGPE Produce WOF Values
20e8fe6 - Matthew Raybuck - 2020-03-05 - SPI Device Driver: Add policy changes to FAPI2 for Bootloader compilation
e84251f - Rahul Batra - 2020-03-05 - PGPE: Trace Bug Fixes
65f37e1 - Rahul Batra - 2020-03-05 - PGPE: PGPE Produce WOF Values
24e707d - Rahul Batra - 2020-03-05 - PGPE: PMCR Fwd Fixes
f302446 - Joachim Fenkes - 2020-03-05 - FAPI2/utils: Add ARRAY_SIZE macro
3d10739 - Rahul Batra - 2020-03-05 - PGPE: WOF
b4356bd - Joachim Fenkes - 2020-03-05 - FAPI2: Add method to conditionally compile code by platform
427204f - Joachim Fenkes - 2020-03-05 - FAPI2: Add enum to identify current platform
24ed11e - Rahul Batra - 2020-03-05 - PGPE: DDS Calculation
34d05cd - Rahul Batra - 2020-03-05 - PGPE: PMSR/PMCR Fixes
3e061ee - Yue Du - 2020-03-05 - PPE: Update Generic qme/gpe scom macros
12b578b - Christopher M Riedl - 2020-03-05 - Generate an appropriate error message in FAPY_TRY
c9663e2 - Joachim Fenkes - 2020-03-05 - FAPI2: Clarify that broadcast groups must be mapped explicitly
438fb56 - Rahul Batra - 2020-03-05 - PGPE10: Basic Pstates Set 2
1fbda40 - Rahul Batra - 2020-03-05 - PGPE: Basic Pstates for P10
15ddfca - Rahul Batra - 2020-03-05 - PGPE: New P10 Infrastructure
98144f0 - Joachim Fenkes - 2020-03-05 - FAPI2: Multicast API 2/2: Introduce the actual multicast functions
e7d75e0 - Joachim Fenkes - 2020-03-05 - FAPI2: Multicast API 1/2: Platform-breaking changes
93fb41d - Joel Stanley - 2020-03-05 - fapi2: Use correct RingMode type
6648d87 - Stephen Glancy - 2020-03-05 - Adds endian_swap to fapi2
575b91c - Richard J. Knight - 2020-03-05 - Add prototype for releasing platform data pointer storage function
cf46aab - Matt K. Light - 2020-03-05 - adding fapi2::putSpyWithCare()
342f6c5 - Richard J. Knight - 2020-03-05 - Update set_sbe_error macro exceeds line length
ab43be1 - Brian Stegmiller - 2020-03-05 - EKB: HWP Fail Isolation Fapi Hooks
e8e30c5 - Kahn Evans - 2020-03-05 - Change RingID to RingId_t in putRing
a7ea15a - Santosh Puranik - 2020-03-05 - Some updates to FAPI files
a0edf7d - Patrick Williams - 2020-03-05 - fapi2: Update misc functions to honor platform value type.
6525884 - Patrick Williams - 2020-03-05 - fapi2: Update hw_access functions to honor platform value type.
49d19af - Matt K. Light - 2020-03-05 - add fapi2::getSpy with ring mode option to enable fastarray code
6d4b52e - Richard J. Knight - 2020-03-05 - Need fapi2 interface for special wakeup
9f9341b - Bilicon Patil - 2020-03-05 - Removing inline specifier for fapi2::putRing
60d1dd8 - Matt K. Light - 2020-03-05 - remove unused fapi2 multiscom function
33ff97d - Bilicon Patil - 2020-03-05 - Updates to the fapi2 putRing API
925ec2c - Richard J. Knight - 2020-03-05 - Need an option to allow HWP to return an error log to platform code.
9211470 - Dan Crowell - 2020-03-05 - Remove unrequired thread include
3a0dd3e - Kahn Evans - 2020-03-05 - fapi2 doxygen warning/error cleanup from ecmd repository
9f66856 - Thi Tran - 2020-03-05 - FAPI2 - Error/FFDC work related updates
38e08e1 - Prachi Gupta - 2020-03-05 - Build Sequencer for one initfile, parse attr ovd, target resolution
7a90cbd - Matt K. Light - 2020-03-05 - change putSpy inputs to be const, fixed incorrect assert comment
6a278db - Patrick Williams - 2020-03-05 - FAPI2: Add extra includes to fapi2.H
fd4c907 - Brian Silver - 2020-03-05 - Change fapi2::delay interface to include DFT fixed identification
c23da5a - Matt K. Light - 2020-03-05 - added module vpd get/set interfaces
681ae61 - Greg Still - 2020-03-05 - Add additional __PPE protection for currently unsupported PPE functions
a3cd997 - Brian Silver - 2020-03-05 - Additional FAPI migration to fapi2
87f3015 - Thi Tran - 2020-03-05 - FAPI2 Direct attribute access support
80079fe - Brian Silver - 2020-03-05 - Add missing ifdef doxygen for putSpy
e9fe88d - Brian Silver - 2020-03-05 - Update FFDC mechanism to better handle targets, buffers
ee9c2fe - Bilicon Patil - 2020-03-05 - FAPI_TRY will now add trace as an ERR type instead of DBG type.
4769683 - Brian Silver - 2020-03-05 - Migrate headers to support platform specializations
da3b0d5 - Brian Silver - 2020-03-05 - Add fapi2.H
bbdb2e2 - Matt K. Light - 2020-03-05 - added fapi2::delay()
c87a955 - Brian Silver - 2020-03-05 - Add FFDC xml parsing documentation
3d6ce44 - Brian Silver - 2020-03-05 - Error/xml parsing and FFDC classes
5f62339 - hostboot - 2020-03-05 - Fix auto-mirror
439652e - Amit Tendolkar - 2020-03-05 - Add check in QME to check if running on Simics

Changes Included for package hostboot, branch master-p10:
bcfa76d - Dan Crowell - 2020-03-06 - Define new HBRT interfaces for P10 work
0a5caf0 - Jet Li - 2020-03-06 - Enable testExpFwUpdate function
1deef18 - Jenny Huynh - 2020-03-05 - Leave pau mmio bars unsecured by default
d33d6a7 - Joe McGill - 2020-03-05 - HWP updates for istep 18
3e909c3 - Thi Tran - 2020-03-05 - Add SRAM access for QME, OCC, and PCIe
45e186c - Ben Gass - 2020-03-05 - Fix p10_pcie_config function name
e30b70d - Corey Swenson - 2020-03-05 - Enable IStep 11 for P10
e91d262 - Zane Shelley - 2020-03-05 - Minor fixes to addCopyright and pre-commit hooks
9b546f8 - Thi Tran - 2020-03-05 - HWP supports for istep 14.3 p10_load_iop_xram
de31556 - Ricardo Mata Jr - 2020-03-05 - Updates added based on comments from review.
60fd619 - Zane Shelley - 2020-03-05 - PRD: <capture_group> updates to Chip Data XML definition
33464b7 - Zane Shelley - 2020-03-05 - PRD: renamed P10 FIRs in Chip Data XML
17010c9 - Matthew Raybuck - 2020-03-05 - SPI Device Driver: Add policy changes to FAPI2 for Bootloader compilation
5ca873a - Rahul Batra - 2020-03-05 - PM: Fix Immediate Mode Flags Setting
6db418b - Amit Tendolkar - 2020-03-05 - Add check in QME to check if running on Simics
7a1e20f - Jenny Huynh - 2020-03-05 - Update p10_chiplet_fabric_scominit for multidrawer
fa38dbb - Prasad Bg Ranganath - 2020-03-05 - PPB:Voltaget/Current slope enable
9fe0b4c - Zach Clark - 2020-03-05 - Enable core testcases, add testcase for unique_ptr
465273a - Matthew Raybuck - 2020-03-05 - Downgrade HWAS common to be compatibile with fips compiler
1279c15 - Zach Clark - 2020-03-05 - HDAT SPI info collection interface (commit 1 of 2)
bff05ef - Yun Pan - 2020-03-05 - Enable Istep 12.6
9ea5399 - Chris Cain - 2020-03-05 - Update OCC Homer structure and remove unused OCC checkstop code
34cbe76 - Matt Derksen - 2020-03-05 - Resolve EECACHE path in bmc_files for simics
c407ca6 - Matt Derksen - 2020-03-05 - Fix findParity function in ecc.py for EECACHE
ba09c58 - Zach Clark - 2020-03-05 - IStep 9.5

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