commit | d917e2750026c412afd6de8f6c7baa65e1ff215b | [log] [tgz] |
---|---|---|
author | Stewart Smith <stewart@linux.ibm.com> | Thu May 02 18:39:06 2019 +1000 |
committer | Stewart Smith <stewart@linux.ibm.com> | Thu May 02 18:39:06 2019 +1000 |
tree | 6601ac99078a235b78f31f70f1b796ee34c589e7 | |
parent | 40b0218ce812c991cfe406abc341164dce6bfc58 [diff] |
libflash: use skiboot v6.3-rc3 Changes for libflash,external/gard and external/pflash: Andrew Jeffery (53): pflash: Don't try update RO ToC libflash/test: Generate header dependencies for tests ffspart, libflash: Fix stack size warnings pflash: Increase stack frame size warning threshold gard: Fix warnings from gcc 8.2.0 Makefile: Paper over gard and pflash coverage issues test-ipmi-hiomap: Add ability to delay some IPMI messages test-ipmi-hiomap: Dump unexpected IPMI messages test-ipmi-hiomap: Ensure the completion code is set test-ipmi-hiomap: Print some information on early scenario_exit() libflash/ipmi-hiomap: Fix leak of msg in callback libflash/ipmi-hiomap: Overhaul error handling libflash/ipmi-hiomap: Overhaul event handling libflash/ipmi-hiomap: Remove unused close handling libflash/ipmi-hiomap: Enforce message size for empty response test-ipmi-hiomap: Add protocol-persistent-error test test-ipmi-hiomap: Add read-one-block test test-ipmi-hiomap: Add read-two-blocks test test-ipmi-hiomap: Add event-before-read test-ipmi-hiomap: Add event-during-read test test-ipmi-hiomap: Add write-one-block test test-ipmi-hiomap: Add write-two-blocks test test-ipmi-hiomap: Add event-before-write test test-ipmi-hiomap: Add event-during-write test test-ipmi-hiomap: Add erase-one-block test test-ipmi-hiomap: Add erase-two-blocks test test-ipmi-hiomap: Add event-before-erase test test-ipmi-hiomap: Add event-during-erase test-ipmi-hiomap: Add bad-sequence test test-ipmi-hiomap: Add action-error test test-ipmi-hiomap: Add get-flash-info test test-ipmi-hiomap: Add get-info-error test test-ipmi-hiomap: Add get-flash-info-error test test-ipmi-hiomap: Add create-read-window-error test test-ipmi-hiomap: Add create-write-window-error test test-ipmi-hiomap: Add mark-dirty-error test test-ipmi-hiomap: Add flush-error test test-ipmi-hiomap: Add ack-error test test-ipmi-hiomap: Add erase-error test test-ipmi-hiomap: Add ack-malformed tests test-ipmi-hiomap: Add get-info-malformed tests test-ipmi-hiomap: Add get-flash-info-malformed tests test-ipmi-hiomap: Add create-read-window-malformed tests test-ipmi-hiomap: Add create-write-window-malformed tests test-ipmi-hiomap: Add mark-dirty-malformed tests test-ipmi-hiomap: Add flush-malformed tests test-ipmi-hiomap: Add erase-malformed tests test-ipmi-hiomap: Add protocol-recovery-failure-ack test test-ipmi-hiomap: Add protocol-recovery-failure-get-info test test-ipmi-hiomap: Add protocol-recovery-get-flash-info-failure test test-ipmi-hiomap: Add read-one-block-twice test test-ipmi-hiomap: Add write-one-block-twice test test-ipmi-hiomap: Add erase-one-block-twice test Michal Suchanek (1): libffs: Fix string truncation gcc warning. Stewart Smith (1): pflash: Support encoding/decoding ECC'd partitions Vasant Hegde (6): libflash/ecc: Fix compilation warning libflash/ipmi-hiomap: Fix blocks count issue test-ipmi-hiomap: Assert if size is zero test-ipmi-hiomap: Add write-one-byte test test-ipmi-hiomap: Fix lpc-read-success test-ipmi-hiomap: Add read-one-byte test Signed-off-by: Stewart Smith <stewart@linux.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)" libxml2-devel \ which wget unzip tar cpio python bzip2 bc findutils ncurses-devel