op-build update 7-4-2020 + Hostboot-Binaries Build Updates

  - The HCODE compilation process requires 2 new binary
    files: p10.dynamic_features.bin +
           p10.dynamic_services.bin
    so these will be 'built' (i.e. copied into the staging area)
    when the hostboot-binaries package is built

  - Also include the regular package updates listed below

Changes Included for package hostboot-binaries, branch master:
1c550f9 - hostboot - 2020-07-04 - UPDATE executables for the NVIDIA gpu and/or ring files for hw070420a.opmst10
9c9ff76 - hostboot - 2020-07-04 - UPDATE executables for the NVIDIA gpu and/or ring files for hw070220a.opmst10

Changes Included for package sbe, branch master-p10:
4218249 - Mark Pizzutillo - 2020-07-03 - Port p9a_omi_init to p10
d4ae16f - Mark Pizzutillo - 2020-07-03 - Fix modal_symbol_count port
e5c6631 - Mark Pizzutillo - 2020-07-03 - Port omi procedures and PRBS workarounds to P10
a0e1561 - Mark Pizzutillo - 2020-07-03 - Change proc_type::P10 to proc_type::PROC_P10
b0445e5 - Andre A. Marin - 2020-07-03 - Snapshot of mss generic, explorer, and pmic source
1566076 - Andre A. Marin - 2020-07-03 - Snapshot explorer hwp and xml from ekb/master
c895860 - Andre A. Marin - 2020-07-03 - Update generic utils lib from ekb/master
7232a6b - Andre A. Marin - 2020-07-03 - Update p10 snapshot for exp_draminit from p9a
db73331 - Matt Derksen - 2020-07-03 - Support EXP_FW_LOG command to get Explorer FW logs
6e9ba06 - Christian Geddes - 2020-07-03 - Introduce exp_getidec HWP
e6ea558 - Mark Pizzutillo - 2020-07-03 - Add PRBS training sequence to exp_omi_setup
22b3c36 - Andre Marin - 2020-07-03 - Add missing attributes needed to be set for generic mss_kind
d84cc06 - Andre Marin - 2020-07-03 - Port P10 HB compile flag mss error, update p10_lib mk
03cea6c - Thi Tran - 2020-07-03 - P10 - Imports code (from P9) to support Memory HWPs in istep 7
e441e4d - Andre A. Marin - 2020-07-03 - Add snapshot of ocmb/explorer for master-p10 branch
5aee303 - Andre A. Marin - 2020-07-03 - Add snapshot of generic/memory for master-p10
aefea23 - Li Meng - 2020-07-03 - Creates LRDIMM mrep/dwl calibration recorder class
f3e8936 - Christian Geddes - 2020-07-03 - Add forceBE option to endian_utils.H
fbfcd84 - Louis Stermole - 2020-07-03 - Move MSS volt attr setters to generic folder
97e3485 - Andre Marin - 2020-07-03 - Add exp_draminit and fix data_structs constants
4c6b6c9 - Christian Geddes - 2020-07-03 - Add exp_i2c_scom driver that will be consumed by HB/SBE platforms
6866fb6 - Ryan King - 2020-07-03 - Add sensor cache read as an explorer inband command
dddddca - Ben Gass - 2020-07-03 - Adding p9a_get/put_mmio and explorer_inband
861e297 - Andre Marin - 2020-07-03 - Initial mss_field endian modification
490a23e - Stephen Glancy - 2020-07-03 - Moves sync code to generic folder
04d0a51 - Stephen Glancy - 2020-07-03 - Moves CAS latency algorithm to generic folder
b2fb6f4 - Stephen Glancy - 2020-07-03 - Adds explorer OMI training code
7352ab5 - Stephen Glancy - 2020-07-03 - Moves generic xml directories to be in generic/procedures
c8851e0 - Andre Marin - 2020-07-03 - Implement exp_check_for_ready
786d10b - Andre Marin - 2020-07-03 - Added I2C fields, EXP_FW_STATUS API
615227b - Stephen Glancy - 2020-07-03 - Moves conversions to be in the generic code space
5c4a650 - Stephen Glancy - 2020-07-03 - Adds Explorer OMI setup - step 12.8a
71237d6 - Andre Marin - 2020-07-03 - Generalize byte reading from SPD reading, for exp i2c reuse
899168c - Andre Marin - 2020-07-03 - Add emtpy exp_i2c_fields.H file for mirroring
608661d - Andre Marin - 2020-07-03 - Remove Nimbus dependencies from the SPD decoder
df96708 - Andre Marin - 2020-07-03 - Add empty mss_byte.H and mss_generic_check to ease HB mirroring
c24f666 - Andre Marin - 2020-07-03 - Add empty memory explorer error XML
5f91f2d - Andre Marin - 2020-07-03 - Add empty explorer "check_for_ready" procedure files
ed53026 - Andre Marin - 2020-07-03 - Add SPD reader and traits DDR4 def
f83ba98 - Andre Marin - 2020-07-03 - Add empty files for refactored SPD read API
50cf3f1 - Joe McGill - 2020-07-03 - Worthwhile Toad: RAM procedure workaround
a09ad6b - Joachim Fenkes - 2020-07-03 - ringUtils: Remove temporary implementation of Target::reduceType()
d9d2358 - Sumit Kumar - 2020-07-03 - Append dynamic init binaries to hw image
174520a - Sumit Kumar - 2020-07-03 - Dynamic init coordination
adf803b - Murulidhar Nataraju - 2020-07-03 - Add p10_sbe_sync_quiesce_states.C Procedures

Changes Included for package hcode, branch master-p10:
ed0269d - hostboot - 2020-07-04 - Release tag & head commit information updated for hw070420a.opmst10
c7abfaf - Minoru Fernando - 2020-07-04 - INT Scan/Scom Initfile Updates
e45ae1f - hostboot - 2020-07-04 - Release tag & head commit information updated for hw070220a.opmst10
702567d - Sumit Kumar - 2020-07-04 - Dynamic init coordination
aeda77c - Joe McGill - 2020-07-04 - Worthwhile Toad: RAM procedure workaround
2dcb3bd - Sumit Kumar - 2020-07-04 - Append dynamic init binaries to hw image
338a7a0 - Sumit Kumar - 2020-07-04 - Dynamic init coordination
c6e4a5f - Joe McGill - 2020-07-04 - Worthwhile Toad: RAM procedure workaround
c7e17fc - Sunil Kumar - 2020-07-04 - Making ATTR_NAME and ATTR_EC attributes, virtual.
7f455e1 - Sumit Kumar - 2020-07-03 - Fix in hw image to append dynamic init binaries

Changes Included for package hostboot, branch master-p10:
3e15d28 - hostboot - 2020-07-03 - Update HCODE commit to ead35e9... Fix Recursive Inclusion for in plat.H
ba5d30b - hostboot - 2020-07-03 - Update simics level to: 2020-07-02_9742bb_simics.tar.gz 9c99c544461f2461
3319b53 - Christopher M Riedl - 2020-07-03 - vbu/contained: Randomize and set thread seeds for exercisers
2c1878c - Sumit Kumar - 2020-07-03 - Append dynamic init binaries to hw image

Inclue Dynamic Binaries When Building Hostboot-Binaries

  - The HCODE compilation process requires 2 new binary
    files: p10.dynamic_features.bin +
           p10.dynamic_services.bin
    so these will be 'built' (i.e. copied into the staging area)
    when the hostboot-binaries package is built

Signed-off-by: Bill Hoffa <wghoffa@us.ibm.com>
5 files changed
tree: 2d2d54520b46123935556e9c711659a9bafe18b7
  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.ibm.com:open-power/op-build.git
cd op-build
./op-build rainier_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