From: Thibaut VARÈNE Date: Fri, 17 Jun 2022 10:43:43 +0000 (+0200) Subject: ipq40xx: mikrotik: make RouterBoot partition writeable X-Git-Tag: v22.03.0-rc5~34 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=344ecf433abc7754e5653cabfb92d696afbeebd2;p=openwrt%2Fopenwrt.git ipq40xx: mikrotik: make RouterBoot partition writeable 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) --- 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;