meta-openembedded: flashrom: Update to v1.4.0
PATCH 1/1 meta-openembedded: flashrom: Update to v1.4.0
From: "Signed-off-by: Patrick Rudolph" <[email protected]>
Flashrom Release note:
https://www.flashrom.org/release_notes/v_1_4.html
---
...SCV-as-non-memory-mapped-I-O-archite.patch | 54 ++++++---------
...ess-use-__asm__-as-is-done-elsewhere.patch | 52 --------------
...-meson-Add-options-pciutils-ftdi-usb.patch | 48 +++++++++++++
.../flashrom/flashrom/meson-fixes.patch | 68 -------------------
.../{flashrom_1.2.1.bb => flashrom_1.4.0.bb} | 10 +--
5 files changed, 74 insertions(+), 158 deletions(-)
delete mode 100644 meta-oe/recipes-bsp/flashrom/flashrom/0001-hwaccess-use-__asm__-as-is-done-elsewhere.patch
create mode 100644 meta-oe/recipes-bsp/flashrom/flashrom/0002-meson-Add-options-pciutils-ftdi-usb.patch
delete mode 100644 meta-oe/recipes-bsp/flashrom/flashrom/meson-fixes.patch
rename meta-oe/recipes-bsp/flashrom/{flashrom_1.2.1.bb => flashrom_1.4.0.bb} (74%)meta-oe/recipes-bsp/flashrom/flashrom/0001-flashrom-Mark-RISCV-as-non-memory-mapped-I-O-archite.patch +20 -34
@@ -1,44 +1,30 @@ -From 2c777126765b4095bf481d5cfe4a21470374d940 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Tue, 30 Mar 2021 15:12:09 -0700 -Subject: [PATCH] flashrom: Mark RISCV as non memory-mapped I/O architecture +From bf5a30ef30818973eb2cfac792b80c642df8a721 Mon Sep 17 00:00:00 2001 +From: Patrick Rudolph <[email protected]> +Date: Mon, 14 Oct 2024 11:01:37 +0200 +Subject: [PATCH 1/2] flashrom: Mark RISCV as non memory-mapped I/O + architecture -Upstream-Status: Submitted [https://review.coreboot.org/c/flashrom/+/51960] -Signed-off-by: Khem Raj <[email protected]> -Change-Id: I55c4e8529d36f0850dd56441c3fb8602c5d889fd +Upstream-Status: Inactive-Upstream + +Change-Id: I46d7ede7af61e7fca631e1d465100e65c6ddeee9 +Signed-off-by: Patrick Rudolph <[email protected]> --- - Makefile | 2 +- - hwaccess.h | 4 ++++ - 2 files changed, 5 insertions(+), 1 deletion(-) + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile -index 6d37d55..203e04b 100644 +index 97f56b83..08e4c595 100644 --- a/Makefile +++ b/Makefile -@@ -559,7 +559,7 @@ endif - # Disable all drivers needing raw access (memory, PCI, port I/O) on - # architectures with unknown raw access properties. +@@ -372,7 +372,7 @@ endif + # Additionally disable all drivers needing raw access (memory, PCI, port I/O) + # on architectures with unknown raw access properties. # Right now those architectures are alpha hppa m68k sh s390 --ifneq ($(ARCH),$(filter $(ARCH),x86 mips ppc arm sparc arc)) -+ifneq ($(ARCH),$(filter $(ARCH),x86 mips ppc arm sparc arc riscv)) - ifeq ($(CONFIG_RAYER_SPI), yes) - UNSUPPORTED_FEATURES += CONFIG_RAYER_SPI=yes - else -diff --git a/hwaccess.h b/hwaccess.h -index 5602c15..e79988a 100644 ---- a/hwaccess.h -+++ b/hwaccess.h -@@ -295,6 +295,10 @@ int libpayload_wrmsr(int addr, msr_t msr); - - /* Non memory mapped I/O is not supported on ARC. */ - -+#elif IS_RISCV -+ -+/* Non memory mapped I/O is not supported on RISCV. */ -+ - #else +-ifneq ($(ARCH), $(filter $(ARCH), x86 mips ppc arm sparc arc e2k)) ++ifneq ($(ARCH), $(filter $(ARCH), x86 mips ppc arm sparc arc e2k riscv)) + $(call mark_unsupported,$(DEPENDS_ON_RAW_MEM_ACCESS)) + endif - #error Unknown architecture, please check if it supports PCI port IO. -- -2.31.1 +2.46.2
meta-oe/recipes-bsp/flashrom/flashrom/0001-hwaccess-use-__asm__-as-is-done-elsewhere.patch deleted +0 -52
52 lines not on this page · raw message
meta-oe/recipes-bsp/flashrom/flashrom/0002-meson-Add-options-pciutils-ftdi-usb.patch new file +48 -0
48 lines not on this page · raw message
meta-oe/recipes-bsp/flashrom/flashrom/meson-fixes.patch deleted +0 -68
68 lines not on this page · raw message
meta-oe/recipes-bsp/flashrom/flashrom_1.4.0.bb renamed from meta-oe/recipes-bsp/flashrom/flashrom_1.2.1.bb +6 -4
@@ -3,12 +3,12 @@ LICENSE = "GPL-2.0-or-later" HOMEPAGE = "http://flashrom.org" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" -SRC_URI = "https://download.flashrom.org/releases/flashrom-v${PV}.tar.bz2 \ - file://meson-fixes.patch \ +SRC_URI = "https://download.flashrom.org/releases/flashrom-v${PV}.tar.xz \ file://0001-flashrom-Mark-RISCV-as-non-memory-mapped-I-O-archite.patch \ - file://0001-hwaccess-use-__asm__-as-is-done-elsewhere.patch \ + file://0002-meson-Add-options-pciutils-ftdi-usb.patch \ " -SRC_URI[sha256sum] = "89a7ff5beb08c89b8795bbd253a51b9453547a864c31793302296b56bbc56d65" + +SRC_URI[sha256sum] = "eb0eb3e61a57fd1926c66f08664cf04a96f92cee23b600cf563087c2178d70d8" S = "${WORKDIR}/flashrom-v${PV}"
@@ -18,3 +18,5 @@ PACKAGECONFIG ??= "pci usb ftdi" PACKAGECONFIG[pci] = "-Dpciutils=true,-Dpciutils=false,pciutils" PACKAGECONFIG[usb] = "-Dusb=true,-Dusb=false,libusb" PACKAGECONFIG[ftdi] = "-Dftdi=true,-Dftdi=false,libftdi" + +EXTRA_OEMESON="-Dbash_completion=disabled -Dtests=disabled"
Signature · 1 line
2.42.0
Quoted 2 lines · Naresh Solanki via lists.openembedded.org
From: "Signed-off-by: Patrick Rudolph" <[email protected]>
This From line is incorrect.
It should be:
From: Patrick Rudolph <[email protected]>
Hi,
Quoted 5 lines · Fabio Estevam
Quoted 1 line · Naresh Solanki via lists.openembedded.org
Quoted 7 lines
Quoted 1 line
From: "Signed-off-by: Patrick Rudolph" <[email protected]>
This From line is incorrect.
It should be:
From: Patrick Rudolph <[email protected]>
Correct. Not sure why the tool picked it that way. Will check. Thanks
Naresh
Hi
Quoted 9 lines · Naresh Solanki
Hi,
Quoted 5 lines · Fabio Estevam
Quoted 1 line · Naresh Solanki via lists.openembedded.org
Quoted 8 lines
Quoted 7 lines
Quoted 1 line
From: "Signed-off-by: Patrick Rudolph" <[email protected]>
This From line is incorrect.
It should be:
From: Patrick Rudolph <[email protected]>
Correct. Not sure why the tool picked it that way. Will check.
Found that I had set the author name with the Signed-off-by string. Will be fixed in v2.
Thanks
Naresh
Quoted 2 lines
Thanks
Naresh
meta-oe/recipes-bsp/flashrom/flashrom/0001-flashrom-Mark-RISCV-as-non-memory-mapped-I-O-archite.patch line 7
Quoted 4 lines · Naresh Solanki via lists.openembedded.org
meta-oe/recipes-bsp/flashrom/flashrom/0001-flashrom-Mark-RISCV-as-non-memory-mapped-I-O-archite.patch +1
-3-Upstream-Status: Submitted [https://review.coreboot.org/c/flashrom/+/51960] -Signed-off-by: Khem Raj <[email protected]> -Change-Id: I55c4e8529d36f0850dd56441c3fb8602c5d889fd +Upstream-Status: Inactive-Upstream
Is that really the case? I mean it is just being updated to a new version, it doesn't look that inactive. That PR seems to be abandoned by the submitter at the first superficial sight, is this not the case?
meta-oe/recipes-bsp/flashrom/flashrom_1.4.0.bb PACKAGECONFIG ??= "pci usb ftdi" · line 22
Quoted 2 lines
meta-oe/recipes-bsp/flashrom/flashrom_1.4.0.bb renamed from meta-oe/recipes-bsp/flashrom/flashrom_1.2.1.bb +2
-0+ +EXTRA_OEMESON="-Dbash_completion=disabled -Dtests=disabled"
Nitpick: Could you please fix the whitespaces around the equal sign?
Hi
Quoted 9 lines · Gyorgy Sarvari
meta-oe/recipes-bsp/flashrom/flashrom/0001-flashrom-Mark-RISCV-as-non-memory-mapped-I-O-archite.patch line 7
Quoted 4 lines · Naresh Solanki via lists.openembedded.org
meta-oe/recipes-bsp/flashrom/flashrom/0001-flashrom-Mark-RISCV-as-non-memory-mapped-I-O-archite.patch +1
-3-Upstream-Status: Submitted [https://review.coreboot.org/c/flashrom/+/51960] -Signed-off-by: Khem Raj <[email protected]> -Change-Id: I55c4e8529d36f0850dd56441c3fb8602c5d889fd +Upstream-Status: Inactive-UpstreamIs that really the case? I mean it is just being updated to a new version, it doesn't look that inactive. That PR seems to be abandoned by the submitter at the first superficial sight, is this not the case?
Quoted 3 lines
meta-oe/recipes-bsp/flashrom/flashrom_1.4.0.bb PACKAGECONFIG ??= "pci usb ftdi" · line 22
Quoted 2 lines
meta-oe/recipes-bsp/flashrom/flashrom_1.4.0.bb renamed from meta-oe/recipes-bsp/flashrom/flashrom_1.2.1.bb +2
-0+ +EXTRA_OEMESON="-Dbash_completion=disabled -Dtests=disabled"Nitpick: Could you please fix the whitespaces around the equal sign?
Sure thing.
Regards,
Naresh
Quoted 1 line
Hi Gyorgy,
Quoted 9 lines · Gyorgy Sarvari
meta-oe/recipes-bsp/flashrom/flashrom/0001-flashrom-Mark-RISCV-as-non-memory-mapped-I-O-archite.patch line 7
Quoted 4 lines · Naresh Solanki via lists.openembedded.org
meta-oe/recipes-bsp/flashrom/flashrom/0001-flashrom-Mark-RISCV-as-non-memory-mapped-I-O-archite.patch +1
-3-Upstream-Status: Submitted [https://review.coreboot.org/c/flashrom/+/51960] -Signed-off-by: Khem Raj <[email protected]> -Change-Id: I55c4e8529d36f0850dd56441c3fb8602c5d889fd +Upstream-Status: Inactive-UpstreamIs that really the case? I mean it is just being updated to a new version, it doesn't look that inactive. That PR seems to be abandoned by the submitter at the first superficial sight, is this not the case?
Yes. its being inactive for long time.
Quoted 3 lines
meta-oe/recipes-bsp/flashrom/flashrom_1.4.0.bb PACKAGECONFIG ??= "pci usb ftdi" · line 22
Quoted 2 lines
meta-oe/recipes-bsp/flashrom/flashrom_1.4.0.bb renamed from meta-oe/recipes-bsp/flashrom/flashrom_1.2.1.bb +2
-0+ +EXTRA_OEMESON="-Dbash_completion=disabled -Dtests=disabled"Nitpick: Could you please fix the whitespaces around the equal sign?
Sure.
Regards,
Naresh
Quoted 1 line
Quoted 4 lines · Naresh Solanki
Hi Gyorgy,
Quoted 1 line · Gyorgy Sarvari
On 12.03.25 12:19, Naresh Solanki via lists.openembedded.org wrote:
Quoted 8 lines
Quoted 7 lines
meta-oe/recipes-bsp/flashrom/flashrom/0001-flashrom-Mark-RISCV-as-non-memory-mapped-I-O-archite.patch line 7
Quoted 4 lines
meta-oe/recipes-bsp/flashrom/flashrom/0001-flashrom-Mark-RISCV-as-non-memory-mapped-I-O-archite.patch +1
-3-Upstream-Status: Submitted [https://review.coreboot.org/c/flashrom/+/51960] -Signed-off-by: Khem Raj <[email protected]> -Change-Id: I55c4e8529d36f0850dd56441c3fb8602c5d889fd +Upstream-Status: Inactive-UpstreamIs that really the case? I mean it is just being updated to a new version, it doesn't look that inactive. That PR seems to be abandoned by the submitter at the first superficial sight, is this not the case?
Yes. its being inactive for long time.
The last commit date in the main branch of
https://review.coreboot.org/flashrom is "Sat Mar 1 19:19:16 2025 +1100"
- less than 2 weeks ago, with last release just before Christmas. It's not as busy as Yocto, but doesn't look abandoned.
Or am I looking at a wrong repo?
Quoted 7 lines
Quoted 3 lines
meta-oe/recipes-bsp/flashrom/flashrom_1.4.0.bb PACKAGECONFIG ??= "pci usb ftdi" · line 22
Quoted 2 lines
meta-oe/recipes-bsp/flashrom/flashrom_1.4.0.bb renamed from meta-oe/recipes-bsp/flashrom/flashrom_1.2.1.bb +2
-0+ +EXTRA_OEMESON="-Dbash_completion=disabled -Dtests=disabled"Nitpick: Could you please fix the whitespaces around the equal sign?
Sure.
Regards,
Naresh
Hi
Quoted 13 lines · Gyorgy Sarvari
Quoted 11 lines · Naresh Solanki
Hi Gyorgy,
Quoted 8 lines · Gyorgy Sarvari
meta-oe/recipes-bsp/flashrom/flashrom/0001-flashrom-Mark-RISCV-as-non-memory-mapped-I-O-archite.patch line 7
Quoted 4 lines · Naresh Solanki via lists.openembedded.org
meta-oe/recipes-bsp/flashrom/flashrom/0001-flashrom-Mark-RISCV-as-non-memory-mapped-I-O-archite.patch +1
-3-Upstream-Status: Submitted [https://review.coreboot.org/c/flashrom/+/51960] -Signed-off-by: Khem Raj <[email protected]> -Change-Id: I55c4e8529d36f0850dd56441c3fb8602c5d889fd +Upstream-Status: Inactive-UpstreamIs that really the case? I mean it is just being updated to a new version, it doesn't look that inactive. That PR seems to be abandoned by the submitter at the first superficial sight, is this not the case?
Quoted 7 lines
Quoted 1 line
Yes. its being inactive for long time.
The last commit date in the main branch of
https://review.coreboot.org/flashrom is "Sat Mar 1 19:19:16 2025 +1100"
- less than 2 weeks ago, with last release just before Christmas. It's not as busy as Yocto, but doesn't look abandoned.Or am I looking at a wrong repo?
Your right.
I can work on flashrom 1.5.1 release. Please let me know.
Thanks,
Naresh
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
meta-oe/recipes-bsp/flashrom/flashrom_1.4.0.bb PACKAGECONFIG ??= "pci usb ftdi" · line 22
Quoted 2 lines
meta-oe/recipes-bsp/flashrom/flashrom_1.4.0.bb renamed from meta-oe/recipes-bsp/flashrom/flashrom_1.2.1.bb +2
-0+ +EXTRA_OEMESON="-Dbash_completion=disabled -Dtests=disabled"Nitpick: Could you please fix the whitespaces around the equal sign?
Sure.
Regards,
Naresh
Quoted 21 lines · Naresh Solanki
Hi
Quoted 18 lines · Gyorgy Sarvari
Quoted 4 lines · Naresh Solanki
Hi Gyorgy,
Quoted 1 line · Gyorgy Sarvari
On 12.03.25 12:19, Naresh Solanki via lists.openembedded.org wrote:
Quoted 8 lines
Quoted 7 lines
meta-oe/recipes-bsp/flashrom/flashrom/0001-flashrom-Mark-RISCV-as-non-memory-mapped-I-O-archite.patch line 7
Quoted 4 lines
meta-oe/recipes-bsp/flashrom/flashrom/0001-flashrom-Mark-RISCV-as-non-memory-mapped-I-O-archite.patch +1
-3-Upstream-Status: Submitted [https://review.coreboot.org/c/flashrom/+/51960] -Signed-off-by: Khem Raj <[email protected]> -Change-Id: I55c4e8529d36f0850dd56441c3fb8602c5d889fd +Upstream-Status: Inactive-UpstreamIs that really the case? I mean it is just being updated to a new version, it doesn't look that inactive. That PR seems to be abandoned by the submitter at the first superficial sight, is this not the case?
Yes. its being inactive for long time.
The last commit date in the main branch of
https://review.coreboot.org/flashrom is "Sat Mar 1 19:19:16 2025 +1100"
- less than 2 weeks ago, with last release just before Christmas. It's not as busy as Yocto, but doesn't look abandoned.
Quoted 6 lines
Quoted 1 line
Or am I looking at a wrong repo?
Your right.
I can work on flashrom 1.5.1 release. Please let me know.Thanks,
Naresh
I was mostly interested about the Upstream-Status, thank you for the confirmation.
I have no strong opinion about the new version - please do as you see it fit.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
meta-oe/recipes-bsp/flashrom/flashrom_1.4.0.bb PACKAGECONFIG ??= "pci usb ftdi" · line 22
Quoted 2 lines
meta-oe/recipes-bsp/flashrom/flashrom_1.4.0.bb renamed from meta-oe/recipes-bsp/flashrom/flashrom_1.2.1.bb +2
-0+ +EXTRA_OEMESON="-Dbash_completion=disabled -Dtests=disabled"Nitpick: Could you please fix the whitespaces around the equal sign?
Sure.
Regards,
Naresh