From 9efbcdfdeeef430f654ef1bc47a1e80bf6289ae4 Mon Sep 17 00:00:00 2001 From: Martin Kennedy Date: Sun, 28 Aug 2022 00:05:46 -0400 Subject: [PATCH] mpc85xx: Make AP3825i boot env partition writable 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 --- target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts | 2 -- 1 file changed, 2 deletions(-) diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts index 2ea6718468..c4bce497cc 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts @@ -126,13 +126,11 @@ partition@3f00000 { reg = <0x3f00000 0x20000>; label = "cfg2"; - read-only; }; partition@3f20000 { reg = <0x3f20000 0x20000>; label = "cfg1"; - read-only; }; }; }; -- 2.30.2