[openwrt/openwrt] ramips: mt7621: make u_env partition r/w for Linksys EA7xxx devices

LEDE Commits lede-commits at lists.infradead.org
Sat Apr 16 08:20:16 PDT 2022


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

commit fb3f519e59653ead7ed02a3254e6f2f9ecfc8030
Author: Russell Morris <rmorris at rkmorris.us>
AuthorDate: Fri Apr 8 13:29:13 2022 -0500

    ramips: mt7621: make u_env partition r/w for Linksys EA7xxx devices
    
    Make u_env partition read/write - currently cannot write to it, which
    blocks fw_setenv. This in turn breaks features like Advanced Reboot,
    which rely on setting the environment variable boot_part (1 or 2).
    
    Signed-off-by: Russell Morris <rmorris at rkmorris.us>
---
 target/linux/ramips/dts/mt7621_linksys_ea7xxx.dtsi | 1 -
 1 file changed, 1 deletion(-)

diff --git a/target/linux/ramips/dts/mt7621_linksys_ea7xxx.dtsi b/target/linux/ramips/dts/mt7621_linksys_ea7xxx.dtsi
index ec232968a6..5e9c82507d 100644
--- a/target/linux/ramips/dts/mt7621_linksys_ea7xxx.dtsi
+++ b/target/linux/ramips/dts/mt7621_linksys_ea7xxx.dtsi
@@ -95,7 +95,6 @@
 		partition at 80000 {
 			label = "u_env";
 			reg = <0x80000 0x40000>;
-			read-only;
 		};
 
 		factory: partition at c0000 {




More information about the lede-commits mailing list