From 344ecf433abc7754e5653cabfb92d696afbeebd2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thibaut=20VAR=C3=88NE?= Date: Fri, 17 Jun 2022 12:43:43 +0200 Subject: [PATCH] ipq40xx: mikrotik: make RouterBoot partition writeable MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Linux MTD requires the parent partition be writable for a child partition to be allowed write permission. In order for soft_config to be writeable (and modifiable via sysfs), the parent RouterBoot partition must be writeable Signed-off-by: Thibaut VARÈNE (cherry picked from commit bb929a0f9cbabef59eaced57d5162d112640c3cd) --- .../ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-cap-ac.dts | 1 - .../ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-hap-ac2.dts | 1 - .../ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-sxtsq-5-ac.dts | 1 - .../ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-hap-ac3.dts | 1 - .../ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-lhgg-60ad.dts | 1 - 5 files changed, 5 deletions(-) diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-cap-ac.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-cap-ac.dts index 1afbf97f39..b18ba4d46a 100644 --- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-cap-ac.dts +++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-cap-ac.dts @@ -185,7 +185,6 @@ #size-cells = <1>; label = "RouterBoot"; reg = <0x80000 0x80000>; - read-only; hard_config { read-only; diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-hap-ac2.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-hap-ac2.dts index d03409b556..b5818cef39 100644 --- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-hap-ac2.dts +++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-hap-ac2.dts @@ -187,7 +187,6 @@ #size-cells = <1>; label = "RouterBoot"; reg = <0x80000 0x80000>; - read-only; hard_config { read-only; diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-sxtsq-5-ac.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-sxtsq-5-ac.dts index fd11229dbb..87bceecbba 100644 --- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-sxtsq-5-ac.dts +++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-sxtsq-5-ac.dts @@ -189,7 +189,6 @@ #size-cells = <1>; label = "RouterBoot"; reg = <0x80000 0x80000>; - read-only; hard_config { read-only; diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-hap-ac3.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-hap-ac3.dts index 9aa58ffcb4..c8b7e202fd 100644 --- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-hap-ac3.dts +++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-hap-ac3.dts @@ -249,7 +249,6 @@ #size-cells = <1>; label = "RouterBoot"; reg = <0x80000 0x80000>; - read-only; hard_config { read-only; diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-lhgg-60ad.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-lhgg-60ad.dts index bd61f4b69f..aecbb673bf 100644 --- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-lhgg-60ad.dts +++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-lhgg-60ad.dts @@ -209,7 +209,6 @@ #size-cells = <1>; label = "RouterBoot"; reg = <0x80000 0x80000>; - read-only; hard_config { read-only; -- 2.30.2