summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Krapp <achterin@googlemail.com>2020-08-09 13:40:26 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-08-11 01:18:04 +0200
commit5af87620af0a769e11a622e828fbc0b3575bf8db (patch)
tree974b71f0861e0487730f75de8d67082404b2df91
parentf9ffdf882531fb2d9d3fe27b59b0c1680039c8f8 (diff)
downloadopenwrt-5af87620af0a769e11a622e828fbc0b3575bf8db.tar.gz
openwrt-5af87620af0a769e11a622e828fbc0b3575bf8db.tar.bz2
openwrt-5af87620af0a769e11a622e828fbc0b3575bf8db.zip
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@googlemail.com> (cherry picked from commit 982c1f6e42c5b3e0f23eedd825a317a2872aa37b)
-rw-r--r--target/linux/ar71xx/image/generic.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/image/generic.mk b/target/linux/ar71xx/image/generic.mk
index 640557532c..ba5f9d90a6 100644
--- a/target/linux/ar71xx/image/generic.mk
+++ b/target/linux/ar71xx/image/generic.mk
@@ -1084,7 +1084,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@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@0x120000(firmware)
CMDLINE += mem=128M
IMAGES := sysupgrade.bin
KERNEL := kernel-bin | patch-cmdline | lzma | uImage lzma | jffs2 boot/vmlinux.lzma.uImage