[PATCH v2 3/3] mikrotik: make soft_config writable

Oskari Lemmela oskari at lemmela.net
Tue Jan 4 11:41:26 PST 2022


The parent partition must be writable. Otherwise,
all child partitions are in read-only mode.

Signed-off-by: Oskari Lemmela <oskari at lemmela.net>
Tested-by: Stefan Hellermann <stefan at the2masters.de>
---
 target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5n.dtsi   | 1 -
 target/linux/ath79/dts/qca9533_mikrotik_routerboard-16m.dtsi     | 1 -
 .../ath79/dts/qca9556_mikrotik_routerboard-wap-g-5hact2hnd.dts   | 1 -
 target/linux/ramips/dts/mt7621_mikrotik.dtsi                     | 1 -
 4 files changed, 4 deletions(-)

diff --git a/target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5n.dtsi b/target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5n.dtsi
index 3ed50abefa..86136289de 100644
--- a/target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5n.dtsi
+++ b/target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5n.dtsi
@@ -99,7 +99,6 @@
 			partition at 0 {
 				label = "RouterBoot";
 				reg = <0x0 0x20000>;
-				read-only;
 				compatible = "mikrotik,routerboot-partitions";
 				#address-cells = <1>;
 				#size-cells = <1>;
diff --git a/target/linux/ath79/dts/qca9533_mikrotik_routerboard-16m.dtsi b/target/linux/ath79/dts/qca9533_mikrotik_routerboard-16m.dtsi
index f0473c7497..dbbe67d33d 100644
--- a/target/linux/ath79/dts/qca9533_mikrotik_routerboard-16m.dtsi
+++ b/target/linux/ath79/dts/qca9533_mikrotik_routerboard-16m.dtsi
@@ -38,7 +38,6 @@
 			partition at 0 {
 				label = "RouterBoot";
 				reg = <0x0 0x20000>;
-				read-only;
 				compatible = "mikrotik,routerboot-partitions";
 				#address-cells = <1>;
 				#size-cells = <1>;
diff --git a/target/linux/ath79/dts/qca9556_mikrotik_routerboard-wap-g-5hact2hnd.dts b/target/linux/ath79/dts/qca9556_mikrotik_routerboard-wap-g-5hact2hnd.dts
index f5c6731bb7..f6e04ae0a4 100644
--- a/target/linux/ath79/dts/qca9556_mikrotik_routerboard-wap-g-5hact2hnd.dts
+++ b/target/linux/ath79/dts/qca9556_mikrotik_routerboard-wap-g-5hact2hnd.dts
@@ -73,7 +73,6 @@
 			partition at 0 {
 				label = "RouterBoot";
 				reg = <0x0 0x20000>;
-				read-only;
 				compatible = "mikrotik,routerboot-partitions";
 				#address-cells = <1>;
 				#size-cells = <1>;
diff --git a/target/linux/ramips/dts/mt7621_mikrotik.dtsi b/target/linux/ramips/dts/mt7621_mikrotik.dtsi
index 1fc523ea14..ace194c6d6 100644
--- a/target/linux/ramips/dts/mt7621_mikrotik.dtsi
+++ b/target/linux/ramips/dts/mt7621_mikrotik.dtsi
@@ -37,7 +37,6 @@
 			partition at 0 {
 				label = "RouterBoot";
 				reg = <0x0 0x40000>;
-				read-only;
 				compatible = "mikrotik,routerboot-partitions";
 				#address-cells = <1>;
 				#size-cells = <1>;
-- 
2.25.1




More information about the openwrt-devel mailing list