summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Walleij2026-01-23 20:24:47 +0000
committerLinus Walleij2026-02-11 07:47:45 +0000
commit4a59012dbb704b334b19425ee8b53ba6bee7c6da (patch)
treea237d8fa4a60a085abe43faa12fc61e837868f5c
parent62818bda833d89f8d87fec66c4f54f6879693afc (diff)
downloadopenwrt-4a59012dbb704b334b19425ee8b53ba6bee7c6da.tar.gz
gemini: Fix up the rootfs device for SQ201
The rootfs partition is /dev/mtdblock3, fix it up. Link: https://github.com/openwrt/openwrt/pull/21662 (cherry picked from commit 8dec72061f523227e2535863f25f8ff239c441b3) Link: https://github.com/openwrt/openwrt/pull/21973 Signed-off-by: Linus Walleij <linusw@kernel.org>
-rw-r--r--target/linux/gemini/patches-6.12/301-ARM-dts-gemini-iTian-SQ201-need-to-boot-from-mtdbloc.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/gemini/patches-6.12/301-ARM-dts-gemini-iTian-SQ201-need-to-boot-from-mtdbloc.patch b/target/linux/gemini/patches-6.12/301-ARM-dts-gemini-iTian-SQ201-need-to-boot-from-mtdbloc.patch
new file mode 100644
index 0000000000..593e66f629
--- /dev/null
+++ b/target/linux/gemini/patches-6.12/301-ARM-dts-gemini-iTian-SQ201-need-to-boot-from-mtdbloc.patch
@@ -0,0 +1,24 @@
+From e2bb2bcf9ea335b0a874683a5a56940c39901fcd Mon Sep 17 00:00:00 2001
+From: Linus Walleij <linusw@kernel.org>
+Date: Fri, 23 Jan 2026 21:04:10 +0100
+Subject: [PATCH] ARM: dts: gemini: iTian SQ201 need to boot from mtdblock3
+
+Alter the rootfs partition to the one actually used for the
+rootfs.
+
+Signed-off-by: Linus Walleij <linusw@kernel.org>
+---
+ arch/arm/boot/dts/gemini/gemini-sq201.dts | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/arch/arm/boot/dts/gemini/gemini-sq201.dts
++++ b/arch/arm/boot/dts/gemini/gemini-sq201.dts
+@@ -20,7 +20,7 @@
+ };
+
+ chosen {
+- bootargs = "console=ttyS0,115200n8 root=/dev/mtdblock2 rw rootfstype=squashfs,jffs2 rootwait";
++ bootargs = "console=ttyS0,115200n8 root=/dev/mtdblock3 rw rootfstype=squashfs,jffs2 rootwait";
+ stdout-path = &uart0;
+ };
+