commit | 97d65793400cb0a032d3543d6d084d23ef59ff49 | [log] [tgz] |
---|---|---|
author | hostboot <hostboot@us.ibm.com> | Fri Jan 24 11:18:16 2020 -0600 |
committer | hostboot <hostboot@us.ibm.com> | Fri Jan 24 11:18:16 2020 -0600 |
tree | 75e91e66969d365a2a77f21463de80ef70410e6f | |
parent | 0f784288acb5ce619066196baa8a650fd6b82f71 [diff] |
op-build update 1-24-2020 Changes Included for package occ, branch master-p10: 3df4311 - Chris Cain - 2020-01-24 - Simics script updates Changes Included for package sbe, branch master-p10: 0071576 - Ben Gass - 2020-01-22 - Update register headers 35a967d - Ben Gass - 2020-01-22 - Create separate files for PPE/OCI regs with their own namespace. Changes Included for package hostboot, branch master-p10: 5ae937d - Ben Gass - 2020-01-24 - Initial pass at code to get x/a/omi links up and trained. 4edd029 - Jenny Huynh - 2020-01-24 - Implement p10_fabric_link_layer procedure (2/2) fa195ee - Bill Hoffa - 2020-01-24 - Display sim search path during sim startup 2e82a89 - Jayashankar Padath - 2020-01-24 - HDAT: Update on BMC family and CEC IPL Minor Type 254c0af - Greg Still - 2020-01-24 - PM: reintroduce p10_pm_pba_bar_config for firmware use d9b2f15 - Andre A. Marin - 2020-01-23 - Snapshot explorer hwp and xml from ekb/master 206d325 - Ben Gass - 2020-01-23 - Add shell for p10_omi_scominit f06a3c8 - Mark Pizzutillo - 2020-01-23 - Create workaround for gemini MENTERP register bug f1ceb99 - Mark Pizzutillo - 2020-01-23 - Add PRBS training sequence to exp_omi_setup dfe4635 - Mark Pizzutillo - 2020-01-23 - Add omi_workarounds blank files for PRBS OMI training workarounds 8884746 - Bill Hoffa - 2020-01-23 - Revert Simics Level to: 2020-01-16_df2a85_simics.tar.gz ac09c85 - Bill Hoffa - 2020-01-23 - Temporarily Remove SBE PSU Deadman Timer Testcase Signed-off-by: hostboot <hostboot@us.ibm.com>
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.
https://open-power.github.io/op-build/
See the doc/ directory for documentation source. Contributions are VERY welcome!
Issues, Milestones, pull requests and code hosting is on GitHub: https://github.com/open-power/op-build
See CONTRIBUTING.md for howto contribute code.
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).
Install Ubuntu (>= 18.04) or Debian (>= 9) 64-bit.
Enable Universe (Ubuntu only):
sudo apt-get install software-properties-common sudo add-apt-repository universe
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
Install Fedora (>= 25) 64-bit.
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