From: Michael Pratt Date: Fri, 1 Jan 2021 22:08:34 +0000 (-0500) Subject: ath79: make Engenius fakeroot partitions read-only X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=51360a913b492d042a697a9658a21f820a027fa1;p=openwrt%2Fstaging%2Fmans0n.git ath79: make Engenius fakeroot partitions read-only For: - ENH202 v1 - ENS202EXT v1 These boards were committed before it was discovered that for all Engenius boards with a "failsafe" image, forcing the failsafe image to load next boot can be achieved by editing the u-boot environment like: `fw_setenv rootfs_checksum 0` So it's not necessary to delete a partition to boot to failsafe image. Signed-off-by: Michael Pratt --- diff --git a/target/linux/ath79/dts/ar7240_engenius_enh202-v1.dts b/target/linux/ath79/dts/ar7240_engenius_enh202-v1.dts index 77b2f3fa1a..1d26a9765b 100644 --- a/target/linux/ath79/dts/ar7240_engenius_enh202-v1.dts +++ b/target/linux/ath79/dts/ar7240_engenius_enh202-v1.dts @@ -136,6 +136,7 @@ partition@1a0000 { label = "fakeroot"; reg = <0x1a0000 0x10000>; + read-only; }; fwconcat0: partition@1b0000 { diff --git a/target/linux/ath79/dts/ar9341_engenius_ens202ext-v1.dts b/target/linux/ath79/dts/ar9341_engenius_ens202ext-v1.dts index 8b28d581b1..6e296ab496 100644 --- a/target/linux/ath79/dts/ar9341_engenius_ens202ext-v1.dts +++ b/target/linux/ath79/dts/ar9341_engenius_ens202ext-v1.dts @@ -130,6 +130,7 @@ partition@220000 { label = "fakeroot"; reg = <0x220000 0x010000>; + read-only; }; fwconcat0: partition@230000 {