commit | c9c10a84fc033df61c4803834a2c8e3b186177f7 | [log] [tgz] |
---|---|---|
author | hostboot <hostboot@us.ibm.com> | Wed Jul 07 00:49:43 2021 -0500 |
committer | hostboot <hostboot@us.ibm.com> | Wed Jul 07 00:49:43 2021 -0500 |
tree | 2fd77aac01cfbbcbdb89596edd87538d8fa9a083 | |
parent | 398f5c8b169e4d2c03ceb8651eeba184a040595c [diff] |
op-build update 7-7-2021 Changes Included for package hostboot, branch master-p10: 8c3f044 - Thi Tran - 2021-07-06 - p10_mss_eff_grouping RAS updates d4252bd - Christian Geddes - 2021-07-06 - RAS Review: p10_boot_mode_errors.xml ecad3df - Zach Clark - 2021-07-06 - Pending BIOS Attributes: Implement attribute latching (commit 2/n) ee91799 - Nicholas Landi - 2021-07-06 - Add correct FFDC info for RNG regs 3f3cd48 - Yue Du - 2021-07-06 - QME: enable MMA dynamic mode 31a1b7d - hostboot - 2021-07-06 - Update HCODE commit to 832d6cb... PMDisplay: update OCC Flag regs for EC bf4bcd3 - hostboot - 2021-07-06 - Update SBE commit to f75b514... Fetch sbe debug tools from x86.nfp in ca 695a71d - Joe McGill - 2021-07-06 - p10_frequency_buckets -- adjust DDR 2933 mesh clock speed constant 03ae6b0 - Rahul Batra - 2021-07-06 - PM: Fix dpll_pstate0_value endianess issue 62f343d - Nicholas Landi - 2021-07-06 - p10_config_links: add check for remote link config 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 Blackbird 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 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 gawk cpio xxd \ 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(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)" \ "perl(FindBin)" "perl(English)" "perl(Time::localtime)" \ libxml2-devel which wget unzip tar cpio python bzip2 bc findutils ncurses-devel \ openssl-devel make libxslt vim-common lzo-devel python2 rsync hostname