[PATCH] ath79/nand: fix factory image generation for Netgear boards

Paul Fertser fercerpav at gmail.com
Thu Feb 11 16:10:51 EST 2021


The factory images need to embed specific IDs to pass verification with
the OEM firmware (including TFTP recovery), so they need to be
per-device variables.

Fixes: ab1584a797 ("ath79: netgear: trim down uImage customisations")
Acked-By: Marcin Juszkiewicz <marcin-openwrt at juszkiewicz.com.pl>
Signed-off-by: Paul Fertser <fercerpav at gmail.com>
---
 target/linux/ath79/image/nand.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ath79/image/nand.mk b/target/linux/ath79/image/nand.mk
index 37fcb36937..351239e2b3 100644
--- a/target/linux/ath79/image/nand.mk
+++ b/target/linux/ath79/image/nand.mk
@@ -1,4 +1,4 @@
-DEVICE_VARS += RAS_ROOTFS_SIZE RAS_BOARD RAS_VERSION
+DEVICE_VARS += RAS_ROOTFS_SIZE RAS_BOARD RAS_VERSION NETGEAR_BOARD_ID NETGEAR_HW_ID
 
 # attention: only zlib compression is allowed for the boot fs
 define Build/zyxel-buildkerneljffs
-- 
2.20.1




More information about the openwrt-devel mailing list