aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-06-11 23:25:39 +0200
committerChristian Lamparter <chunkeey@gmail.com>2019-06-15 19:55:32 +0200
commit502b28b4a98f4f28bbf0785813c4838d6bec35f8 (patch)
tree3bde96fdc8838e28d4ac001d35e2cb77a9b57685 /target
parent86098ea87e8ef4051da5f3a1d7f75737e36df512 (diff)
downloadupstream-502b28b4a98f4f28bbf0785813c4838d6bec35f8.tar.gz
upstream-502b28b4a98f4f28bbf0785813c4838d6bec35f8.tar.bz2
upstream-502b28b4a98f4f28bbf0785813c4838d6bec35f8.zip
gemini: Make root filesystem writeable
The squashfs+jffs2 root filesystem only came up as read-only and the config would not take: [ 25.600237] mount_root: Could not open mtd device: /dev/mtd4 [ 25.634674] mount_root: reading rootfs_data failed [ 25.665346] mount_root: Could not open mtd device: /dev/mtd3 [ 25.699802] mount_root: reading rootfs failed [ 25.726426] mount_root: mounting /dev/root Well that is not very strange since the whole firmware partition is made read-only in the device tree. Let's fix that by augmenting the OpenWrt patch. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'target')
-rw-r--r--target/linux/gemini/patches-4.19/0020-ARM-dts-Augment-DIR-685-partition-table-for-OpenWrt.patch14
1 files changed, 8 insertions, 6 deletions
diff --git a/target/linux/gemini/patches-4.19/0020-ARM-dts-Augment-DIR-685-partition-table-for-OpenWrt.patch b/target/linux/gemini/patches-4.19/0020-ARM-dts-Augment-DIR-685-partition-table-for-OpenWrt.patch
index bb4076558d..6ef931c16c 100644
--- a/target/linux/gemini/patches-4.19/0020-ARM-dts-Augment-DIR-685-partition-table-for-OpenWrt.patch
+++ b/target/linux/gemini/patches-4.19/0020-ARM-dts-Augment-DIR-685-partition-table-for-OpenWrt.patch
@@ -1,7 +1,7 @@
-From 854934b0ce8e758ce581f5ddbc30e618ab46fbdb Mon Sep 17 00:00:00 2001
+From ea99e7570882df53478f9b5fa5886a6e92fc2c7f Mon Sep 17 00:00:00 2001
From: Linus Walleij <linus.walleij@linaro.org>
Date: Mon, 11 Mar 2019 15:44:29 +0100
-Subject: [PATCH 2/2] ARM: dts: Augment DIR-685 partition table for OpenWrt
+Subject: [PATCH] ARM: dts: Augment DIR-685 partition table for OpenWrt
Rename the firmware partition so that the firmware MTD
splitter will do its job, drop the rootfs arguments as
@@ -9,8 +9,8 @@ the MTD splitter will set this up automatically.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
- arch/arm/boot/dts/gemini-dlink-dir-685.dts | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
+ arch/arm/boot/dts/gemini-dlink-dir-685.dts | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
--- a/arch/arm/boot/dts/gemini-dlink-dir-685.dts
+++ b/arch/arm/boot/dts/gemini-dlink-dir-685.dts
@@ -23,7 +23,7 @@ Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
stdout-path = "uart0:19200n8";
};
-@@ -286,7 +286,8 @@
+@@ -286,9 +286,9 @@
* this is called "upgrade" on the vendor system.
*/
partition@40000 {
@@ -31,5 +31,7 @@ Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
+ compatible = "wrg";
+ label = "firmware";
reg = <0x00040000 0x01f40000>;
- read-only;
+- read-only;
};
+ /* RGDB, Residental Gateway Database? */
+ partition@1f80000 {