[openwrt/openwrt] ar71xx: change u-boot-env to read-write for ZyXEL NBG6616

LEDE Commits lede-commits at lists.infradead.org
Sun Aug 9 18:08:37 EDT 2020


adrian pushed a commit to openwrt/openwrt.git, branch openwrt-19.07:
https://git.openwrt.org/8ad674e90b15015b29e7ee85eb02e186183717f1

commit 8ad674e90b15015b29e7ee85eb02e186183717f1
Author: Christoph Krapp <achterin at googlemail.com>
AuthorDate: Sun Aug 9 13:40:26 2020 +0200

    ar71xx: change u-boot-env to read-write for ZyXEL NBG6616
    
    As the ath79 port of this device uses a combined kernel + root
    partition the uboot bootcmd variable needs to be changed. As using
    cli/luci is more convenient than opening up the case and using a uart
    connection, lets unlock the uboot-env partition for write access.
    
    Signed-off-by: Christoph Krapp <achterin at googlemail.com>
    (cherry picked from commit 982c1f6e42c5b3e0f23eedd825a317a2872aa37b)
---
 target/linux/ar71xx/image/generic.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ar71xx/image/generic.mk b/target/linux/ar71xx/image/generic.mk
index 3ba27aa659..7347b21cfe 100644
--- a/target/linux/ar71xx/image/generic.mk
+++ b/target/linux/ar71xx/image/generic.mk
@@ -1067,7 +1067,7 @@ define Device/NBG6616
   BOARDNAME := NBG6616
   KERNEL_SIZE := 2048k
   IMAGE_SIZE := 15323k
-  MTDPARTS := spi0.0:192k(u-boot)ro,64k(env)ro,64k(RFdata)ro,384k(zyxel_rfsd),384k(romd),64k(header),2048k(kernel),13184k(rootfs),15232k at 0x120000(firmware)
+  MTDPARTS := spi0.0:192k(u-boot)ro,64k(env),64k(RFdata)ro,384k(zyxel_rfsd),384k(romd),64k(header),2048k(kernel),13184k(rootfs),15232k at 0x120000(firmware)
   CMDLINE += mem=128M
   RAS_BOARD := NBG6616
   RAS_ROOTFS_SIZE := 14464k



More information about the lede-commits mailing list