image builder has incorrect board name for wr842n-v1 causes sysupgrade error for ath79 upgrade
Username: Rod Egan
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=2094
Boardname mismatch in imagebuilder (and suspected release builds) for tplink wr842n-v1
Doesn't appear to be an issue if upgrading to another ar71xxx image but sysupgrade fails when upgrading to ath79 image for wr842n-v1 due to board mismatch.
from existing ar71xxx wr842n-v1 system
head -n5 /etc/board.json
{
"model": {
"id": "tl-mr3420",
"name": "TP-Link TL-WR842N/ND v1"
},
in file openwrt-imagebuilder-18.06.1-ar71xx-generic.Linux-x86_64/target/linux/ar71xx/image/generic-tp-link.mk
define Device/tl-wr842n-v1
$(Device/tplink-8m)
DEVICE_TITLE := TP-LINK TL-WR842N/ND v1
DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
BOARDNAME := TL-MR3420
DEVICE_PROFILE := TLWR842
TPLINK_HWID := 0x08420001
endef
TARGET_DEVICES += tl-wr842n-v1
Supply the following if possible:
-
Device problem occurs on
-
Software versions of OpenWrt/LEDE release, packages, etc.
-
Steps to reproduce
Discussed in form thread