[openwrt/openwrt] gemini: Add DTS fix from upstream kernel
LEDE Commits
lede-commits at lists.infradead.org
Tue Feb 10 23:48:14 PST 2026
linusw pushed a commit to openwrt/openwrt.git, branch openwrt-25.12:
https://git.openwrt.org/62818bda833d89f8d87fec66c4f54f6879693afc
commit 62818bda833d89f8d87fec66c4f54f6879693afc
Author: Linus Walleij <linusw at kernel.org>
AuthorDate: Fri Jan 23 16:32:10 2026 +0100
gemini: Add DTS fix from upstream kernel
This contains small but important DTS fixes for the
RedBoot partitions.
Link: https://github.com/openwrt/openwrt/pull/21662
(cherry picked from commit 92682593d53104f43f8b06c52faa5d05d471dea8)
Link: https://github.com/openwrt/openwrt/pull/21973
Signed-off-by: Linus Walleij <linusw at kernel.org>
---
...0001-ARM-dts-gemini-Fix-partition-offsets.patch | 41 ++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/target/linux/gemini/patches-6.12/0001-ARM-dts-gemini-Fix-partition-offsets.patch b/target/linux/gemini/patches-6.12/0001-ARM-dts-gemini-Fix-partition-offsets.patch
new file mode 100644
index 0000000000..45cf889f8e
--- /dev/null
+++ b/target/linux/gemini/patches-6.12/0001-ARM-dts-gemini-Fix-partition-offsets.patch
@@ -0,0 +1,41 @@
+From 771db4a77c5fb6da4908825e65f500ad67f86e5f Mon Sep 17 00:00:00 2001
+From: Linus Walleij <linusw at kernel.org>
+Date: Fri, 23 Jan 2026 16:24:49 +0100
+Subject: [PATCH] ARM: dts: gemini: Fix partition offsets
+
+These FIS partition offsets were never right: the comment clearly
+states the FIS index is at 0xfe0000 and 0x7f * 0x200000 is
+0xfe0000.
+
+Tested on the iTian SQ201.
+
+Fixes: d88b11ef91b1 ("ARM: dts: Fix up SQ201 flash access")
+Fixes: b5a923f8c739 ("ARM: dts: gemini: Switch to redboot partition parsing")
+Signed-off-by: Linus Walleij <linusw at kernel.org>
+---
+ arch/arm/boot/dts/gemini/gemini-sl93512r.dts | 2 +-
+ arch/arm/boot/dts/gemini/gemini-sq201.dts | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+--- a/arch/arm/boot/dts/gemini/gemini-sl93512r.dts
++++ b/arch/arm/boot/dts/gemini/gemini-sl93512r.dts
+@@ -146,7 +146,7 @@
+ partitions {
+ compatible = "redboot-fis";
+ /* Eraseblock at 0xfe0000 */
+- fis-index-block = <0x1fc>;
++ fis-index-block = <0x7f>;
+ };
+ };
+
+--- a/arch/arm/boot/dts/gemini/gemini-sq201.dts
++++ b/arch/arm/boot/dts/gemini/gemini-sq201.dts
+@@ -134,7 +134,7 @@
+ partitions {
+ compatible = "redboot-fis";
+ /* Eraseblock at 0xfe0000 */
+- fis-index-block = <0x1fc>;
++ fis-index-block = <0x7f>;
+ };
+ };
+
More information about the lede-commits
mailing list