skiboot v5.7-76-g830fc9a0ed0a (also bump libflash)

On top of bumping skiboot to the latest, libflash (used by petitboot)
is also bumped to the latest.

Alistair Popple (2):
      xscom: Add xscom_write_mask() function
      hw/npu2.c: Add temporary scominits to enable NVLink mode on DD2

Cyril Bur (19):
      Makefile.check: Fix `make check`
      libflash: Adding debugging output
      libflash/file: Fix bad subtraction in file erase path
      libflash/file: Break up MTD erase ioctl() calls
      external/ffspart: Add .gitignore
      libflash/libffs: Don't require 'part' size to be known by callers
      external/pflash: Add description of flags
      external/pflash: Check the result of strtoul
      external/pflash: Stop using exit() in the main
      external/pflash: Correct erase alignment checks
      external/pflash: Remove global flash details
      external/pflash: Update the code pathes for "--tune"
      external/pflash: Move write and read size calculation together
      external/pflash: Remove use of exit() and fix memory leaks
      external/pflash: Make the progress bar safe for big numbers
      external/pflash: Reinstate the progress bars
      external: Consolidate Makefile.check for external tools
      external/pflash: Add tests
      external/pflash: tests: Move the test-miscprint to pflash tests

Frederic Barrat (1):
      phb4: Enable PCI peer-to-peer
Haren Myneni (5):
      NX: Add P9 NX register defines for 842 / gzip engines
      NX: Organize NX compression code to include 842 and gzip support
      NX: Add P9 NX support for 842 compression engine
      NX: Add P9 NX support for gzip compression engine
      NX: Describe device-tree changes for P9 NX compression engines

Reza Arbab (10):
      npu2: Add a function to detect POWER9 DD1
      npu2: Fix indirect SCOM addresses
      npu2: Fix NPU/PHY0/PHY1 stack order
      npu2: Rename variable in npu2_assign_gmb()
      npu2: Use read-modify-write in npu2_assign_gmb()
      npu2: Add NPU2_GPU1_MEM_BAR
      npu2: Adjust content of the GENID BAR
      npu2: Adjust content of the NTL BAR
      npu2: Set the XTS config2 register
      npu2: Allow POWER9 DD2 in ec level check

Stewart Smith (5):
      nx: PR_INFO that NX RNG and Crypto not yet supported on POWER9
      hw/npu2: fix typo in comment
      doc: update copyright notices
      doc: RST syntax fixes
      doc/console-log: minor updates
      hdata/spira: POWER9 NX isn't software compatible with P7/P8 NX, don't claim so

Sukadev Bhattiprolu (9):
      Define helpers to extract P9 node/chip ids
      vas: Create xscom DT node in hdata
      vas: Define macros of constants and register fields
      vas: Initialize VAS registers
      vas: Define helpers to compute window paste address
      vas: Create MMIO device tree node
      vas: Define vas_get_hvwc_mmio_bar interface
      vas: Define vas_get_wcbs_bar interface
      nx: Add device tree node for Power9

Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2 files changed
tree: a88b1d8dd8d00365097f42a037f5d1f93b54b7d4
  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