[OpenWrt-Devel] ath79: wnr1000v2: fix image header information
diff mbox series

Message ID 20191022152612.66f9498b@kosmio.komorska
State Accepted
Delegated to: John Crispin
Headers show
Series
  • [OpenWrt-Devel] ath79: wnr1000v2: fix image header information
Related show

Commit Message

Michal Cieslakiewicz Oct. 22, 2019, 1:26 p.m. UTC
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>
---
 target/linux/ath79/image/tiny-netgear.mk | 2 ++
 1 file changed, 2 insertions(+)

Patch
diff mbox series

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