ipq40xx: mikrotik: make RouterBoot partition writeable
authorThibaut VARÈNE <hacks@slashdirt.org>
Fri, 17 Jun 2022 10:43:43 +0000 (12:43 +0200)
committerKoen Vandeputte <koen.vandeputte@ncentric.com>
Wed, 29 Jun 2022 10:34:49 +0000 (12:34 +0200)
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 <hacks@slashdirt.org>
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-cap-ac.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-hap-ac2.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-sxtsq-5-ac.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-hap-ac3.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-lhgg-60ad.dts

index 1afbf97f393be42dc3ae8562d216c94cd1e9babb..b18ba4d46a27984559a8b22e9d429843fcfc98c9 100644 (file)
                                #size-cells = <1>;
                                label = "RouterBoot";
                                reg = <0x80000 0x80000>;
-                               read-only;
 
                                hard_config {
                                        read-only;
index d03409b556efca1bbaf6e5813262f20baedc9623..b5818cef39a0a2adb43069b951a3243c3613c52e 100644 (file)
                                #size-cells = <1>;
                                label = "RouterBoot";
                                reg = <0x80000 0x80000>;
-                               read-only;
 
                                hard_config {
                                        read-only;
index fd11229dbb531f4b8650e0c76146bde4e3e09143..87bceecbba539fa8e14a1f474c0a2e568a7d0b4f 100644 (file)
                                #size-cells = <1>;
                                label = "RouterBoot";
                                reg = <0x80000 0x80000>;
-                               read-only;
 
                                hard_config {
                                        read-only;
index 9aa58ffcb460681937e0964e072b6c9b3889f8cc..c8b7e202fd78d79b7c4326ad47855622e0b519a6 100644 (file)
                                #size-cells = <1>;
                                label = "RouterBoot";
                                reg = <0x80000 0x80000>;
-                               read-only;
 
                                hard_config {
                                        read-only;
index bd61f4b69f25ae4d5df82ef02282a6a0790f907d..aecbb673bf0236ede3fb8b130ac4c283dc7b0f69 100644 (file)
                                #size-cells = <1>;
                                label = "RouterBoot";
                                reg = <0x80000 0x80000>;
-                               read-only;
 
                                hard_config {
                                        read-only;