summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines
diff options
context:
space:
mode:
authorAdriana Kobylak <anoo@us.ibm.com>2017-06-08 12:17:20 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-06-09 14:32:03 +0000
commitb9feb507913597eaf658e77d0528158078ba62ab (patch)
tree71c6cfaa6091b2a21816bdae1a2b449beb8fe675 /meta-openbmc-machines
parentd43691a13ef066da5e053e712322e458e0400496 (diff)
downloadtalos-openbmc-b9feb507913597eaf658e77d0528158078ba62ab.tar.gz
talos-openbmc-b9feb507913597eaf658e77d0528158078ba62ab.zip
skiboot.inc: Bump version
Pick up the latest skiboot version (5.6.0) to pick among the fixes the pflash support for non-4K erase block partitions. Also remove the mtd labels patch since that's also included in the upstream version. Change-Id: If790c731c8b0e2d54e6b9faf09e92290e5bc84bd Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to 'meta-openbmc-machines')
-rw-r--r--meta-openbmc-machines/meta-openpower/common/recipes-bsp/skiboot/skiboot.inc5
-rw-r--r--meta-openbmc-machines/meta-openpower/common/recipes-bsp/skiboot/skiboot/0002-arch_flash_arm-Don-t-assume-mtd-partitions-are-short.patch52
2 files changed, 2 insertions, 55 deletions
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-bsp/skiboot/skiboot.inc b/meta-openbmc-machines/meta-openpower/common/recipes-bsp/skiboot/skiboot.inc
index 702d86512..a20be183f 100644
--- a/meta-openbmc-machines/meta-openpower/common/recipes-bsp/skiboot/skiboot.inc
+++ b/meta-openbmc-machines/meta-openpower/common/recipes-bsp/skiboot/skiboot.inc
@@ -3,14 +3,13 @@ LICENSE = "Apache-2.0"
SRC_URI += "git://github.com/open-power/skiboot.git;nobranch=1"
SRC_URI += "file://0001-external-Use-more-standard-PREFIX-vs-prefix.patch"
-SRC_URI += "file://0002-arch_flash_arm-Don-t-assume-mtd-partitions-are-short.patch"
FILESEXTRAPATHS_append := "${THISDIR}/skiboot:"
LIC_FILES_CHKSUM = "file://${S}/LICENCE;md5=3b83ef96387f14655fc854ddc3c6bd57"
-SRCREV = "skiboot-5.4.0"
-PV = "5.4.0"
+SRCREV = "skiboot-5.6.0"
+PV = "5.6.0"
S = "${WORKDIR}/git"
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-bsp/skiboot/skiboot/0002-arch_flash_arm-Don-t-assume-mtd-partitions-are-short.patch b/meta-openbmc-machines/meta-openpower/common/recipes-bsp/skiboot/skiboot/0002-arch_flash_arm-Don-t-assume-mtd-partitions-are-short.patch
deleted file mode 100644
index d05659ad2..000000000
--- a/meta-openbmc-machines/meta-openpower/common/recipes-bsp/skiboot/skiboot/0002-arch_flash_arm-Don-t-assume-mtd-partitions-are-short.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From 112b4eebe614ebc384dbb7806ae8508474b44212 Mon Sep 17 00:00:00 2001
-From: Joel Stanley <joel@jms.id.au>
-Date: Wed, 16 Nov 2016 13:33:32 +1030
-Subject: [PATCH] arch_flash_arm: Don't assume mtd labels are short
-To: skiboot@lists.ozlabs.org,
- Cyril Bur <cyril.bur@au1.ibm.com>
-
-pflash relies on arch_flash_arm parsing /proc/mtd to discover the pnor
-partition. It helpfully uses strcasestr so it can handle the string
-changing, which is what has happened as we moved to upstream compliant
-mtd device tree bindings.
-
-We currently have a string like this:
-
-dev: size erasesize name
-mtd0: 00060000 00001000 "u-boot"
-mtd1: 00020000 00001000 "u-boot-env"
-mtd2: 00280000 00001000 "kernel"
-mtd3: 001c0000 00001000 "initramfs"
-mtd4: 01740000 00001000 "rofs"
-mtd5: 00400000 00001000 "rwfs"
-mtd6: 02000000 00001000 "1e620000.flash-controller:flash@1"
-mtd7: 08000000 00001000 "1e630000.flash-controller:pnor@0"
-
-Unfortunately arch_flash_arm assumes the string will be at most 50
-characters. That's right before the label we're looking for starts so
-we ignore that line and keep searching.
-
-Fix it by allowing for a 255 character line.
-
-Fixes: 48ab7ce09504 (external/pflash: Add --mtd)
-Signed-off-by: Joel Stanley <joel@jms.id.au>
----
- external/common/arch_flash_arm.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/external/common/arch_flash_arm.c b/external/common/arch_flash_arm.c
-index bb8800ff556d..3cdd41ded0a9 100644
---- a/external/common/arch_flash_arm.c
-+++ b/external/common/arch_flash_arm.c
-@@ -241,7 +241,7 @@ static char *get_dev_mtd(enum flash_access access)
- {
- FILE *f;
- char *ret = NULL, *pos = NULL;
-- char line[50];
-+ char line[255];
-
- if (access != BMC_MTD && access != PNOR_MTD)
- return NULL;
---
-2.10.2
-
OpenPOWER on IntegriCloud