[openwrt/openwrt] mpc85xx: Make AP3825i boot env partition writable

LEDE Commits lede-commits at lists.infradead.org
Sat Sep 10 16:53:44 PDT 2022


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/9efbcdfdeeef430f654ef1bc47a1e80bf6289ae4

commit 9efbcdfdeeef430f654ef1bc47a1e80bf6289ae4
Author: Martin Kennedy <hurricos at gmail.com>
AuthorDate: Sun Aug 28 00:05:46 2022 -0400

    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 <hurricos at gmail.com>
---
 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 at 3f00000 {
 					reg = <0x3f00000 0x20000>;
 					label = "cfg2";
-					read-only;
 				};
 
 				partition at 3f20000 {
 					reg = <0x3f20000 0x20000>;
 					label = "cfg1";
-					read-only;
 				};
 			};
 		};




More information about the lede-commits mailing list