aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Cieslakiewicz <michal.cieslakiewicz@wp.pl>2019-10-22 15:26:12 +0200
committerJohn Crispin <john@phrozen.org>2019-10-27 13:42:31 +0100
commit3f275f2ac824da0f7e2005b54e308c30e1e55302 (patch)
tree978cb4af5fdb9d0e97dd335ff72494973f206e09
parent99835e09992bb411519fda1f8d16a6d07df7f598 (diff)
downloadupstream-3f275f2ac824da0f7e2005b54e308c30e1e55302.tar.gz
upstream-3f275f2ac824da0f7e2005b54e308c30e1e55302.tar.bz2
upstream-3f275f2ac824da0f7e2005b54e308c30e1e55302.zip
ath79: wnr1000v2: fix image header information
Factory image generated for Netgear WNR1000 v2 has incorrect device and hardware ID information in header due to missing makefile variables. This fix adds them to device section. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
-rw-r--r--target/linux/ath79/image/tiny-netgear.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ath79/image/tiny-netgear.mk b/target/linux/ath79/image/tiny-netgear.mk
index 0df19390bb..d257ddd0ec 100644
--- a/target/linux/ath79/image/tiny-netgear.mk
+++ b/target/linux/ath79/image/tiny-netgear.mk
@@ -33,6 +33,8 @@ define Device/netgear_wnr1000-v2
DEVICE_MODEL := WNR1000
DEVICE_VARIANT := v2
NETGEAR_KERNEL_MAGIC := 0x31303031
+ NETGEAR_BOARD_ID := WNR1000V2
+ NETGEAR_HW_ID := 29763331+4+32
IMAGE_SIZE := 3712k
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | netgear-squashfs | append-rootfs | pad-rootfs
SUPPORTED_DEVICES += wnr1000-v2