op-build Update 10-4-2017

    - Add Hostboot patch for TOR Magic Header Support
    - Add SBE patch for TOR Magic Header Support

Changes Included for package hostboot-binaries, branch master:
ed06137 - William Hoffa - 2017-10-04 - Merge pull request #49 from wghoffa/master
cdc5f98 - Bill Hoffa - 2017-10-04 - Update HCODE to hw100417b.910

Changes Included for package sbe, branch master:
adbd88c - Nick Klazynski - 2017-10-04 - Add workarounds for HW421426 and HW422629, Swap IMCs around
794dd51 - spashabk-in - 2017-10-04 - [Whitelist/Blacklist] - Enable scom filter and testcase addition
4b8ed3f - spashabk-in - 2017-10-04 - [Whitelist/Blacklist] - Algorithm implementation
fcecddd - Christian Geddes - 2017-10-02 - Remove functionality from tp enable ridi and move it to nest enabled ridi
de2de6b - Greg Still - 2017-10-02 - PM: p9_pm_init, p9_pm_utils clean-up
a92029a - Joe McGill - 2017-10-02 - update HWP level metadata for nest, common files
d372aa8 - Lennard Streat - 2017-10-02 - Expanding MCU tag fifo settings to be freq dependent.
a0405f5 - Yue Du - 2017-09-29 - STOP: Properly clear DPLL unlock indication in dpll_setup
162ac98 - Yue Du - 2017-09-29 - STOP: attribute to halt upon phantom interrupts
b94571a - Claus Michael Olsen - 2017-09-29 - Overlays and multi-DD XIP related updates to xip_image and dd_container
0ebd974 - Richard J. Knight - 2017-09-28 - Update set_sbe_error macro exceeds line length
9a3a1f1 - Yue Du - 2017-09-27 - STOP: Fix MPIPL Dpll Lock via ensuring mode 1
4823131 - Joe McGill - 2017-09-27 - updates for NPU errata
04dca06 - David Kauer - 2017-09-27 - Added Nimbus & Cumulus attributes for INT initfiles
0cc0814 - Jacob Harvey - 2017-09-27 - Increment red_waterfall for low vdn fix
86a61f7 - Dan Crowell - 2017-09-27 - Set override flag for lots of PM attributes
8f352a0 - Sachin Gupta - 2017-09-27 - Updated backing build
af200c2 - Prasad Bg Ranganath - 2017-09-24 - SAFE mode:moved writing safe mode value from istep 6 to istep 10
d61fd2c - Greg Still - 2017-09-22 - PM: Move to chip EC based #V validity checking in p9_pstate_parameter_block
3c46b69 - Dean Sanner - 2017-09-22 - Allow request fused mode bit when in HW fused mode
9affdfc - Greg Still - 2017-09-21 - PM/MPIPL: p9_quad_power_off Level 3
0b779c5 - Nick Klazynski - 2017-09-21 - Core workarounds for multiple issues.
3263c3f - Prasad Bg Ranganath - 2017-09-21 - SBE PUTRING: Reduce function parameter count from 6 to 5
c765315 - Prasad Bg Ranganath - 2017-09-20 - SBE:Putring: Added more debug information
e52f9ab - Greg Still - 2017-09-20 - PM: clear OCB Heartbeat enable during pm_reset
0005004 - Yue Du - 2017-09-20 - STOP: remove union usage in p9_pm_hcd_flags.h
c9a1884 - Adam Hale - 2017-09-20 - PGPE: PGPE Op Trace updates
8e6db82 - Soma BhanuTej - 2017-09-20 - Nimbus DD22 support updates to ekb
48a3476 - Yue Du - 2017-09-20 - HWP: Fixing pfet sense bit bug in p9_hcd_common_poweronoff
136b67c - Amit Kumar - 2017-09-20 - PM Level 3 for multiple procedures
aeb2975 - spashabk-in - 2017-09-20 - Addition of missing registers in whitelist for IPL
ba9db7d - Raja Das - 2017-09-20 - Moved MPIPL isteps/functionalities to seeprom from pibmem
4 files changed
tree: 367f618badaa7444ea476e5a35e44812f29c1473
  1. ci/
  2. dl/
  3. openpower/
  4. output/
  5. .gitignore
  6. .gitmodules
  7. CONTRIBUTING.md
  8. LICENSE
  9. NOTICE
  10. op-build-env
  11. 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.

Development

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

Mailing list: openpower-firmware@lists.ozlabs.org
Info/Subscribe: https://lists.ozlabs.org/listinfo/openpower-firmware
Archives: https://lists.ozlabs.org/pipermail/openpower-firmware/

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-env
op-build palmetto_defconfig && op-build

There are also default configurations for other platforms in openpower/configs/ such as Habanero and Firestone.

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.

Dependencies for 64-bit Ubuntu/Debian systems

  1. Install Ubuntu (>= 14.04) or Debian (>= 7.5) 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 libxml2-dev libxml2-utils xsltproc \
       wget bc
    

Dependencies for 64-bit Fedora systems

  1. Install Fedora 25 64-bit (older Fedora should also work).

  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)" libxml2-devel \
       which wget unzip tar cpio python bzip2 bc findutils ncurses-devel