commit | f6d54b57a8ab96bcab0db69d10e9faea9d5ad5f2 | [log] [tgz] |
---|---|---|
author | Stewart Smith <stewart@linux.ibm.com> | Tue Nov 27 13:39:38 2018 +1100 |
committer | Stewart Smith <stewart@linux.ibm.com> | Tue Nov 27 13:39:38 2018 +1100 |
tree | 974f51378c6065e618e55dcebb68194460f04340 | |
parent | 9d986164b79fb8bb8e9a1d7d6a247fd2f4cc6892 [diff] |
pflash and libflash: bump to v6.2-rc1 Previously we were based off skiboot v5.10.1, let's bump things up to where we're going to do the next skiboot release from. Rough changelog (for libflash/ and external/pflash/ in skiboot): Adriana Kobylak (1): pflash: Add --skip option for reading Andrew Jeffery (11): libflash: Add ipmi-hiomap astbmc: Prefer ipmi-hiomap for PNOR access platform: Restructure bmc_platform type libflash/ipmi-hiomap: Cleanup allocation on init failure libflash/ipmi-hiomap: Improve event handling libflash/ipmi-hiomap: Restore window state on window/protocol reset libflash/ipmi-hiomap: Use error codes rather than abort() libflash/test: Rewrite Makefile.check to improve scalability libflash/ipmi-hiomap: Fix argument type warning on x86-64 libflash/ipmi-hiomap: Add support for unit tests libflash/ipmi-hiomap: Respect daemon presence and flash control Balbir singh (3): mbox/flash: Remove dead code libflash/blocklevel_write: Fix missing error handling libflash/blocklevel.c: Remove unused store to ecc_len Cyril Bur (19): libflash/blocklevel: Correct miscalculation in blocklevel_smart_erase() mbox: Harden against BMC daemon errors mbox: Reduce default BMC timeouts libffs: Standardise ffs partition flags external/pflash: Use ffs_entry_user_to_string() to standardise flag strings libflash/libffs: Add setter for a partitions actual size libflash/libffs: ffs_close() should use ffs_hdr_free() libflash/libffs: Always add entries to the end of the TOC libflash/libffs: Remove the 'sides' from the FFS TOC generation code libflash/libffs: Remove backup partition from TOC generation code libflash/libffs: Switch to storing header entries in an array libflash/libffs: Refcount ffs entries libflash/libffs: Allow caller to specifiy header partition external/ffspart: Use new interface libffs: Fix bad checks for partition overlap libflash/ecc: Add functions to deal with unaligned ECC memcpy libflash/ecc: Add helpers to align a position within an ecc buffer libflash/blocklevel: Return region start from ecc_protected() libflash/blocklevel: Make read/write be ECC agnostic for callers Joel Stanley (2): libflash/ecc: Remove hand rolled parity asm pflash: Use correct prefix when installing Nicholas Piggin (1): build: use thin archives rather than incremental linking Pridhiviraj Paidipeddi (1): libflash/blocklevel: Add missing newline to debug messages Stewart Smith (5): libflash: fix gcov build libflash: quieten our logging hiomap: free ipmi message in callback hiomap: fix missing newline at end of 'Flushing writes' prlog() hiomap: quieten warning on failing to move a window 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-env 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.
Install Ubuntu (>= 14.04) or Debian (>= 7.5) 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
Install Fedora 25 64-bit (older Fedora should also work).
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