From: wangmy@fujitsu.com
To: openembedded-devel@lists.openembedded.org
Cc: Wang Mingyu <wangmy@fujitsu.com>
Subject: [oe] [meta-oe] [PATCH 04/45] flashrom: upgrade 1.4.0 -> 1.5.1
Date: Tue, 25 Mar 2025 17:01:11 +0800 [thread overview]
Message-ID: <1742893312-3809-4-git-send-email-wangmy@fujitsu.com> (raw)
In-Reply-To: <1742893312-3809-1-git-send-email-wangmy@fujitsu.com>
From: Wang Mingyu <wangmy@fujitsu.com>
0001-flashrom-Mark-RISCV-as-non-memory-mapped-I-O-archite.patch
0001-linux_mtd-fix-build-with-clang-19.patch
removed since they're included in 1.5.1
0002-meson-Add-options-pciutils-ftdi-usb.patch
refreshed for 1.5.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
...SCV-as-non-memory-mapped-I-O-archite.patch | 30 --------------
...01-linux_mtd-fix-build-with-clang-19.patch | 39 -------------------
...-meson-Add-options-pciutils-ftdi-usb.patch | 13 ++++---
.../{flashrom_1.4.0.bb => flashrom_1.5.1.bb} | 4 +-
4 files changed, 8 insertions(+), 78 deletions(-)
delete mode 100644 meta-oe/recipes-bsp/flashrom/flashrom/0001-flashrom-Mark-RISCV-as-non-memory-mapped-I-O-archite.patch
delete mode 100644 meta-oe/recipes-bsp/flashrom/flashrom/0001-linux_mtd-fix-build-with-clang-19.patch
rename meta-oe/recipes-bsp/flashrom/{flashrom_1.4.0.bb => flashrom_1.5.1.bb} (75%)
diff --git a/meta-oe/recipes-bsp/flashrom/flashrom/0001-flashrom-Mark-RISCV-as-non-memory-mapped-I-O-archite.patch b/meta-oe/recipes-bsp/flashrom/flashrom/0001-flashrom-Mark-RISCV-as-non-memory-mapped-I-O-archite.patch
deleted file mode 100644
index 58f1aa4d43..0000000000
--- a/meta-oe/recipes-bsp/flashrom/flashrom/0001-flashrom-Mark-RISCV-as-non-memory-mapped-I-O-archite.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From bf5a30ef30818973eb2cfac792b80c642df8a721 Mon Sep 17 00:00:00 2001
-From: Patrick Rudolph <patrick.rudolph@9elements.com>
-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: Inactive-Upstream
-
-Change-Id: I46d7ede7af61e7fca631e1d465100e65c6ddeee9
-Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
----
- Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Makefile b/Makefile
-index 97f56b83..08e4c595 100644
---- a/Makefile
-+++ b/Makefile
-@@ -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 e2k))
-+ifneq ($(ARCH), $(filter $(ARCH), x86 mips ppc arm sparc arc e2k riscv))
- $(call mark_unsupported,$(DEPENDS_ON_RAW_MEM_ACCESS))
- endif
-
---
-2.46.2
-
diff --git a/meta-oe/recipes-bsp/flashrom/flashrom/0001-linux_mtd-fix-build-with-clang-19.patch b/meta-oe/recipes-bsp/flashrom/flashrom/0001-linux_mtd-fix-build-with-clang-19.patch
deleted file mode 100644
index 46bd0bba44..0000000000
--- a/meta-oe/recipes-bsp/flashrom/flashrom/0001-linux_mtd-fix-build-with-clang-19.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 615fae91dafdb89f0f8418129918dbb7ff879cf6 Mon Sep 17 00:00:00 2001
-From: Arnaud Ferraris <arnaud.ferraris@collabora.com>
-Date: Thu, 24 Oct 2024 17:51:29 +0200
-Subject: [PATCH] linux_mtd: fix build with clang >= 19
-
-Starting with version 19, clang issues a warning when using `strlen()`
-for initializing a static array's size. This causes the build to fail as
-the project also sets `-Werror`.
-
-This is fixed by using `sizeof()` instead, which is guaranteed to be
-evaluated at compilation time and therefore not triggering the
-problematic warning.
-
-Upstream-Status: Backport [https://github.com/flashrom/flashrom/commit/34b1a6aa57e910c0b5a518e8a0cab6841c7efaee]
-
-Change-Id: If470a65702e9ae08e4303123a0014e53a1fee56e
-Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
-Reviewed-on: https://review.coreboot.org/c/flashrom/+/84856
-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com>
-Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- linux_mtd.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/linux_mtd.c b/linux_mtd.c
-index eea0cf2..0cb2330 100644
---- a/linux_mtd.c
-+++ b/linux_mtd.c
-@@ -49,7 +49,7 @@ static int read_sysfs_string(const char *sysfs_path, const char *filename, char
- int i;
- size_t bytes_read;
- FILE *fp;
-- char path[strlen(LINUX_MTD_SYSFS_ROOT) + 32];
-+ char path[sizeof(LINUX_MTD_SYSFS_ROOT) + 31];
-
- snprintf(path, sizeof(path), "%s/%s", sysfs_path, filename);
-
diff --git a/meta-oe/recipes-bsp/flashrom/flashrom/0002-meson-Add-options-pciutils-ftdi-usb.patch b/meta-oe/recipes-bsp/flashrom/flashrom/0002-meson-Add-options-pciutils-ftdi-usb.patch
index bc43f17e9a..8dfed855b4 100644
--- a/meta-oe/recipes-bsp/flashrom/flashrom/0002-meson-Add-options-pciutils-ftdi-usb.patch
+++ b/meta-oe/recipes-bsp/flashrom/flashrom/0002-meson-Add-options-pciutils-ftdi-usb.patch
@@ -16,10 +16,10 @@ Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/meson.build b/meson.build
-index ae56b26c..21093a7f 100644
+index 6c8d3d3..61b794d 100644
--- a/meson.build
+++ b/meson.build
-@@ -151,9 +151,9 @@ systems_serial = [ 'linux', 'openbsd', 'freebsd', 'dragonfly', 'netbsd', 'da
+@@ -150,9 +150,9 @@ systems_serial = [ 'linux', 'openbsd', 'freebsd', 'dragonfly', 'netbsd', 'da
cpus_port_io = [ 'x86', 'x86_64' ]
@@ -33,16 +33,17 @@ index ae56b26c..21093a7f 100644
group_serial = get_option('programmer').contains('group_serial')
group_jlink = get_option('programmer').contains('group_jlink')
diff --git a/meson_options.txt b/meson_options.txt
-index 8a04114d..ae722509 100644
+index 87456a9..570b152 100644
--- a/meson_options.txt
+++ b/meson_options.txt
-@@ -25,3 +25,6 @@ option('ni845x_search_path', type : 'string', value : 'C:\Program Files (x86)\Na
- option('delay_minimum_sleep_us', type : 'integer', min : 0, value : 100000,
+@@ -24,4 +24,7 @@ option('ni845x_search_path', type : 'string', value : 'C:\Program Files (x86)\Na
+ option('delay_minimum_sleep_us', type : 'integer', min : 0, value : 100,
description : 'Minimum time in microseconds to suspend execution for (rather than polling) when a delay is required.'
+ ' Larger values may perform better on machines with low timer resolution, at the cost of increased power.')
+option('pciutils', type : 'boolean', value : false, description : 'Select programmer group pci')
+option('usb', type : 'boolean', value : false, description : 'Select programmer group usb')
+option('ftdi', type : 'boolean', value : false, description : 'Select programmer group ftdi')
+ option('rpmc', type : 'feature', value : 'auto', description : 'Support for Replay Protected Monotonic Counter (RPMC) commands as specified by JESD260')
--
-2.46.2
+2.43.0
diff --git a/meta-oe/recipes-bsp/flashrom/flashrom_1.4.0.bb b/meta-oe/recipes-bsp/flashrom/flashrom_1.5.1.bb
similarity index 75%
rename from meta-oe/recipes-bsp/flashrom/flashrom_1.4.0.bb
rename to meta-oe/recipes-bsp/flashrom/flashrom_1.5.1.bb
index 6c5d05f2d0..9a8e81bae3 100644
--- a/meta-oe/recipes-bsp/flashrom/flashrom_1.4.0.bb
+++ b/meta-oe/recipes-bsp/flashrom/flashrom_1.5.1.bb
@@ -4,12 +4,10 @@ HOMEPAGE = "http://flashrom.org"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
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://0002-meson-Add-options-pciutils-ftdi-usb.patch \
- file://0001-linux_mtd-fix-build-with-clang-19.patch \
"
-SRC_URI[sha256sum] = "eb0eb3e61a57fd1926c66f08664cf04a96f92cee23b600cf563087c2178d70d8"
+SRC_URI[sha256sum] = "1f934b076ed49eace203655ec249fc7861a6b8e87fe4aef732e47b6e485b6293"
S = "${WORKDIR}/flashrom-v${PV}"
--
2.43.0
next prev parent reply other threads:[~2025-03-25 9:02 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-25 9:01 [oe] [meta-oe] [PATCH 01/45] abseil-cpp: upgrade 20250127.0 -> 20250127.1 wangmy
2025-03-25 9:01 ` [oe] [meta-oe] [PATCH 02/45] adw-gtk3: upgrade 5.6 -> 5.7 wangmy
2025-03-25 9:01 ` [oe] [meta-oe] [PATCH 03/45] ddrescue: upgrade 1.29 -> 1.29.1 wangmy
2025-03-25 9:01 ` wangmy [this message]
2025-03-25 9:01 ` [oe] [meta-gnome] [PATCH 05/45] gnome-font-viewer: upgrade 47.0 -> 48.0 wangmy
2025-03-25 9:01 ` [oe] [meta-oe] [PATCH 06/45] icewm: upgrade 3.7.1 -> 3.7.2 wangmy
2025-03-25 9:01 ` [oe] [meta-oe] [PATCH 07/45] imlib2: upgrade 1.12.3 -> 1.12.4 wangmy
2025-03-25 9:01 ` [oe] [meta-oe] [PATCH 08/45] jwt-cpp: upgrade 0.7.0 -> 0.7.1 wangmy
2025-03-25 9:01 ` [oe] [meta-oe] [PATCH 09/45] libcbor: upgrade 0.11.0 -> 0.12.0 wangmy
2025-03-25 9:01 ` [oe] [meta-networking] [PATCH 10/45] libdaq: upgrade 3.0.18 -> 3.0.19 wangmy
2025-03-25 9:01 ` [oe] [meta-gnome] [PATCH 11/45] libdex: upgrade 0.8.1 -> 0.10.0 wangmy
2025-03-25 9:01 ` [oe] [meta-oe] [PATCH 12/45] libharu: upgrade 2.4.4 -> 2.4.5 wangmy
2025-03-25 9:01 ` [oe] [meta-oe] [PATCH 13/45] libnewt: upgrade 0.52.24 -> 0.52.25 wangmy
2025-03-25 9:01 ` [oe] [meta-gnome] [PATCH 14/45] libpanel: upgrade 1.8.1 -> 1.10.0 wangmy
2025-03-25 9:01 ` [oe] [meta-gnome] [PATCH 15/45] libpeas: upgrade 2.0.5 -> 2.0.7 wangmy
2025-03-25 9:01 ` [oe] [meta-gnome] [PATCH 16/45] libspelling: upgrade 0.4.6 -> 0.4.7 wangmy
2025-03-25 9:01 ` [oe] [meta-oe] [PATCH 17/45] libtinyxml2: upgrade 10.1.0 -> 11.0.0 wangmy
2025-03-25 9:01 ` [oe] [meta-networking] [PATCH 18/45] memcached: upgrade 1.6.37 -> 1.6.38 wangmy
2025-03-25 9:01 ` [oe] [meta-oe] [PATCH 19/45] php: upgrade 8.4.4 -> 8.4.5 wangmy
2025-03-25 9:01 ` [oe] [meta-python] [PATCH 20/45] python3-aiohappyeyeballs: upgrade 2.5.0 -> 2.6.1 wangmy
2025-03-25 9:01 ` [oe] [meta-python] [PATCH 21/45] python3-aiohttp: upgrade 3.11.13 -> 3.11.14 wangmy
2025-03-25 9:01 ` [oe] [meta-python] [PATCH 22/45] python3-bitarray: upgrade 3.1.1 -> 3.2.0 wangmy
2025-03-25 9:01 ` [oe] [meta-python] [PATCH 23/45] python3-coverage: upgrade 7.6.12 -> 7.7.1 wangmy
2025-03-25 9:01 ` [oe] [meta-python] [PATCH 24/45] python3-dbus-fast: upgrade 2.39.3 -> 2.39.6 wangmy
2025-03-25 9:01 ` [oe] [meta-python] [PATCH 25/45] python3-ecdsa: upgrade 0.19.0 -> 0.19.1 wangmy
2025-03-25 9:01 ` [oe] [meta-python] [PATCH 26/45] python3-grpcio-channelz: upgrade 1.70.0 -> 1.71.0 wangmy
2025-03-25 9:01 ` [oe] [meta-python] [PATCH 27/45] python3-grpcio-reflection: " wangmy
2025-03-25 9:01 ` [oe] [meta-python] [PATCH 28/45] python3-grpcio-tools: " wangmy
2025-03-25 9:01 ` [oe] [meta-python] [PATCH 29/45] python3-grpcio: " wangmy
2025-03-25 9:01 ` [oe] [meta-python] [PATCH 30/45] python3-huey: upgrade 2.5.2 -> 2.5.3 wangmy
2025-03-25 9:01 ` [oe] [meta-python] [PATCH 31/45] python3-inline-snapshot: upgrade 0.20.5 -> 0.20.8 wangmy
2025-03-25 9:01 ` [oe] [meta-python] [PATCH 32/45] python3-platformdirs: upgrade 4.3.6 -> 4.3.7 wangmy
2025-03-25 9:01 ` [oe] [meta-python] [PATCH 33/45] python3-protobuf: upgrade 5.29.4 -> 6.30.1 wangmy
2025-03-25 10:43 ` Gyorgy Sarvari
2025-03-25 21:57 ` Khem Raj
2025-03-25 9:01 ` [oe] [meta-python] [PATCH 34/45] python3-psycopg: upgrade 3.2.5 -> 3.2.6 wangmy
2025-03-25 9:01 ` [oe] [meta-python] [PATCH 35/45] python3-pymisp: upgrade 2.5.7.1 -> 2.5.8.1 wangmy
2025-03-25 9:01 ` [oe] [meta-python] [PATCH 36/45] python3-pymongo: upgrade 4.11.2 -> 4.11.3 wangmy
2025-03-25 9:01 ` [oe] [meta-python] [PATCH 37/45] python3-responses: upgrade 0.25.6 -> 0.25.7 wangmy
2025-03-25 9:01 ` [oe] [meta-python] [PATCH 38/45] python3-scikit-build-core: upgrade 0.11.0 -> 0.11.1 wangmy
2025-03-25 9:01 ` [oe] [meta-python] [PATCH 39/45] python3-sqlalchemy: upgrade 2.0.38 -> 2.0.39 wangmy
2025-03-25 9:01 ` [oe] [meta-python] [PATCH 40/45] python3-web3: upgrade 7.8.0 -> 7.9.0 wangmy
2025-03-25 9:01 ` [oe] [meta-python] [PATCH 41/45] python3-xmlschema: upgrade 3.4.3 -> 3.4.5 wangmy
2025-03-25 9:01 ` [oe] [meta-oe] [PATCH 42/45] qpdf: upgrade 11.10.1 -> 12.0.0 wangmy
2025-03-25 9:01 ` [oe] [meta-oe] [PATCH 43/45] rasdaemon: upgrade 0.8.2 -> 0.8.3 wangmy
2025-03-25 9:01 ` [oe] [meta-oe] [PATCH 44/45] thingsboard-gateway: upgrade 3.6.3 -> 3.7.2 wangmy
2025-03-25 9:01 ` [oe] [meta-gnome] [PATCH 45/45] xdg-desktop-portal-gtk: upgrade 1.15.2 -> 1.15.3 wangmy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1742893312-3809-4-git-send-email-wangmy@fujitsu.com \
--to=wangmy@fujitsu.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.