From 7d93473efff91b8c09d44d828be6baf2336829d5 Mon Sep 17 00:00:00 2001 From: Lech Perczak Date: Wed, 26 Aug 2020 23:35:37 +0200 Subject: ath79: ubnt-xm: make u-boot-env partition read-only This partition isn't normally modified during boot process. Make it read-only to prevent accidental overwrite. If needed this can be overriden with installing kmod-mtd-rw; the same way as for installing modified U-boot. Signed-off-by: Lech Perczak --- target/linux/ath79/dts/ar724x_ubnt_xm.dtsi | 1 + 1 file changed, 1 insertion(+) (limited to 'target') diff --git a/target/linux/ath79/dts/ar724x_ubnt_xm.dtsi b/target/linux/ath79/dts/ar724x_ubnt_xm.dtsi index b36b0d4fe2..ad216116a9 100644 --- a/target/linux/ath79/dts/ar724x_ubnt_xm.dtsi +++ b/target/linux/ath79/dts/ar724x_ubnt_xm.dtsi @@ -43,6 +43,7 @@ partition@40000 { label = "u-boot-env"; reg = <0x040000 0x010000>; + read-only; }; partition@50000 { -- cgit v1.2.3