summaryrefslogtreecommitdiffstats
path: root/openpower/package/libflash
Commit message (Collapse)AuthorAgeFilesLines
* Revup skibootRaptor Engineering Development Team2019-04-301-1/+1
| | | | This pulls in the IPMI timer patch required for FreeBSD to boot properly
* Revup skibootRaptor Engineering Development Team2019-04-261-1/+1
|
* Redirect all relevant GitHub references to RCS GIT repositoriesRaptor Engineering Development Team2019-04-171-1/+2
|
* libflash from skiboot v6.2Stewart Smith2018-12-171-1/+1
| | | | | | | | | | | Samuel Mendoza-Jonas (2): libflash: Restore blocklevel tests libflash: Don't merge ECC-protected ranges Stewart Smith (1): libflash/file: greatly increase perf of file_erase() Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* Merge pull request #2488 from stewart-ibm/add-opal-gardStewart Smith2018-11-282-0/+14
|\ | | | | opal-gard: add package as part of libflash build
| * opal-gard: add package as part of libflash buildStewart Smith2018-11-272-0/+14
| | | | | | | | Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* | pflash and libflash: bump to v6.2-rc1Stewart Smith2018-11-271-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Bump libflash to v5.10.1Stewart Smith2018-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Not all of these are applicable to libflash/pflash as we use them, but this gets us onto the latest release. Cyril Bur (11): libflash/mbox-flash: Always close windows before opening a new window libflash/mbox-flash: Move sequence handling to driver level libflash/mbox-flash: Allow mbox-flash to tell the driver msg timeouts libflash/mbox-flash: Simplify message sending libflash/mbox-flash: Use BMC suggested timeout value libflash/mbox-flash: Use static arrays of function pointers libflash/mbox-flash: Understand v3 libflash/mbox-flash: Add the ability to lock flash libflash/test: Add tests for mbox-flash pflash: Respect write(2) return values libflash/blocklevel: Correct miscalculation in blocklevel_smart_erase() Frédéric Bonnard (1): Add man pages for xscom-utils and pflash Stewart Smith (3): libflash/mbox-flash: only wait for MBOX_DEFAULT_POLL_MS if busy libflash/mbox-flash: fallback to requesting lower MBOX versions from BMC pflash: Fix makefile dependency issue Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Bump libflash/pflash to v5.9-166-g70f14f4dd86eStewart Smith2017-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | Adriana Kobylak (2): pflash: Support for volatile flag pflash: Support for clean_on_ecc_error flag Cyril Bur (1): external/pflash: Fix erasing within a single erase block Oliver O'Halloran (1): libflash: Fix parity calculation on ARM Stewart Smith (2): libflash/blocklevel: suppress debug printout ffspart/pflash: fix tests for new VOLATILE flag Suraj Jitindar Singh (1): external/pflash: Fix non-zero return code for successful read when size%256 != 0 Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* libflash: Update to upstream version v5.8-123-gc06ed583Samuel Mendoza-Jonas2017-10-041-1/+1
| | | | | | | | Update libflash to the latest upstream commit, in particular to pick up the commit "pflash: Fix erase command for unaligned start address", which fixes an issue resulting in incomplete erases. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* libflash: Set SKIBOOT_VERSION for host-libflashSamuel Mendoza-Jonas2017-08-301-1/+2
| | | | | | | | | | | | | | | The recent change to install host-pflash can cause the build to fail since PFLASH_VERSION is not set: version.c:1:2: error: #error You need to set PFLASH_VERSION environment variable #error You need to set PFLASH_VERSION environment variable ^ rules.mk:39: recipe for target 'version.o' failed PFLASH_VERSION is set from SKIBOOT_VERSION, add it to the build command as we do for normal libflash build command. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* openpower-pnor: build a PNOR squashfs as consumed by OpenBMCCharles P. Hofer2017-08-161-1/+10
| | | | | | | | | | | | | | | Recently, OpenBMC has started supporting a firmware update mechanism that requires a specially formatted tarball to be passed to it. Since we want op-build to produce images that are easily consumable, this patch makes the openpower-pnor build produce one of these images. There is currently no documentation of this format, although the code that produces it from a PNOR is open source. Signed-off-by: Charles P. Hofer <charles.hofer@ibm.com> [stewart@linux.vnet.ibm.com: flattened commit history, rewrote commit message] Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* libflash: Add option to install pflashSamuel Mendoza-Jonas2017-08-112-9/+21
| | | | | | | | Extend the libflash package to also install the pflash utility. This enables users to query and modify the PNOR safely from the host, as well as supporting future automation changes. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* skiboot v5.7-76-g830fc9a0ed0a (also bump libflash)Stewart Smith2017-08-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Add foo_LICENSE_FILES for all OpenPOWER projects that are missing themStewart Smith2017-01-101-0/+2
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* openpower/libflash: Correctly install to targetSam Mendoza-Jonas2016-02-191-1/+1
| | | | | | | Fix a copy/paste error that results in libflash.so being installed to staging instead of the target directory. Signed-off-by: Sam Mendoza-Jonas <sam@mendozajonas.com>
* openpower: Add libflash packageSam Mendoza-Jonas2016-02-102-0/+40
Add a new 'libflash' package to install the libflash shared library from Skiboot without the rest of the build depending on a certain Skiboot version. Signed-off-by: Sam Mendoza-Jonas <sam@mendozajonas.com>
OpenPOWER on IntegriCloud