mpc85xx: Make AP3825i boot env partition writable
authorMartin Kennedy <hurricos@gmail.com>
Sun, 28 Aug 2022 04:05:46 +0000 (00:05 -0400)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 10 Sep 2022 23:30:11 +0000 (01:30 +0200)
End-users may need to be able to rewrite u-boot configuration on the
WS-AP3825i, which has had repeated issues with the exact configuration
of u-boot, e.g. commit 1d06277407 ("mpc85xx: Fix output location of
padded dtb") (alongside other failures documented for example in this
post[^1] from the main AP3825i porting thread).

To assist with this, remove the `read-only` property from the u-boot
configuration partitions cfg1 and cfg2.

[^1]: https://forum.openwrt.org/t/adding-openwrt-support-for-ws-ap3825i/101168/107

Signed-off-by: Martin Kennedy <hurricos@gmail.com>
target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts

index 2ea671846810088a2dac0127dd489c8795293e5d..c4bce497cc47bd716bf385d3a4ddd173ff0ad2da 100644 (file)
                                partition@3f00000 {
                                        reg = <0x3f00000 0x20000>;
                                        label = "cfg2";
-                                       read-only;
                                };
 
                                partition@3f20000 {
                                        reg = <0x3f20000 0x20000>;
                                        label = "cfg1";
-                                       read-only;
                                };
                        };
                };