op-build update 5-4-2020

Changes Included for package rainier-xml, branch master:
df7be8a - Shawn M McCarney - 2020-05-04 - Merge pull request #28 from shawnmm/regulators_json
d90478a - Shawn McCarney - 2020-04-28 - Add Rainier regulators JSON config file

Changes Included for package hostboot, branch master-p10:
0ebc105 - Christian Geddes - 2020-05-04 - Add src/include/asm/byteorder.h to satisfy reqs from openbmc/pldm
2b0f61d - Ricardo Mata Jr - 2020-05-04 - Update to p10_pcie_scominit, p10_pcie_config, and pcie attributes.
dcadb5a - Dan Crowell - 2020-05-04 - Compile with new PCIE attributes
e843452 - Andre Marin - 2020-05-04 - P10 port - mv chip specific eff_config files from generic
3c644b1 - Christian Geddes - 2020-05-01 - Fixes to PMIC presence detection
0191582 - Zach Clark - 2020-05-01 - Initialize lcov coverage report with all-zero data
48eb218 - Caleb Palmer - 2020-05-01 - PRD: Fix MPE error path asserts
210e67e - Caleb Palmer - 2020-05-01 - PRD: Update spare info in mem dq bitmap
80a98fa - Zane Shelley - 2020-05-01 - PRD: Updates to EQ_QME_FIR addresses
a032dcd - Zach Clark - 2020-05-01 - Fix code coverage relative path conversion
5dbfeaa - hostboot - 2020-05-01 - Update simics level to: 2020-04-30_e7e59f_simics.tar.gz b44a620a80990af0
2ee484b - Roland Veloz - 2020-05-01 - P10: 14.2::Initilaize the Thermal Sensor - updated for P10
0ccd37b - Roland Veloz - 2020-05-01 - Added new attribute ATTR_MFG_FLAGS to supplant ATTR_MNFG_FLAGS
394aa15 - Andre A. Marin - 2020-05-01 - Snapshot of mss generic, explorer, and pmic source
d1da3f3 - Andre A. Marin - 2020-05-01 - Snapshot explorer hwp and xml from ekb/master
c5ddc50 - Mark Pizzutillo - 2020-05-01 - Move exp_inband to lib directory
f9b35b7 - Andre Marin - 2020-05-01 - Update step7 p10 HWPs, port exp_mss_eff_config_thermal
82b5101 - Andre A. Marin - 2020-05-01 - Add snapshot of ocmb/explorer for master-p10 branch
099f889 - Andre A. Marin - 2020-05-01 - Add snapshot of generic/memory for master-p10
b71547c - Andre Marin - 2020-05-01 - Add throttle_sync port for P10

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