From e23de62845adaae0ac9a474a4f3a333ac890fc44 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Tue, 14 Apr 2020 13:52:36 +0100 Subject: [PATCH 1/9] netifd: clean up netns functionality Signed-off-by: Daniel Golle --- package/network/config/netifd/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/network/config/netifd/Makefile b/package/network/config/netifd/Makefile index 7cc704b9f2..c914653c0e 100644 --- a/package/network/config/netifd/Makefile +++ b/package/network/config/netifd/Makefile @@ -1,13 +1,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=netifd -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL=$(PROJECT_GIT)/project/netifd.git PKG_SOURCE_DATE:=2020-04-14 -PKG_SOURCE_VERSION:=dbf97b47a53809a6ff812d4466d2082aa4d3efb6 -PKG_MIRROR_HASH:=c46c4c12edcf5a869b8d84197700415e538d3e4d5f1cbe35e2baa30f15d49a17 +PKG_SOURCE_VERSION:=cfccdc22ca6d8f28d70a2546a495c9ead4bbb765 +PKG_MIRROR_HASH:=4c680fa979f21b2a1280e8bffca9fa1412215a4058dfcde2569df9befea43999 PKG_MAINTAINER:=Felix Fietkau PKG_LICENSE:=GPL-2.0 From 7c2e0fa5865406d0f2d1987bdd2180c1d1913bf2 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Tue, 14 Apr 2020 16:11:05 +0100 Subject: [PATCH 2/9] procd: jail fixes and improvements 32c717e jail: only mess with rootfs if CLONE_NEWNS was set b275a62 instance: harmonize instance API 511fd97 jail: make /proc more secure 4953b7c jail: mount /sys read-only a4d6442 jail: replace /etc/resolv.conf with symlink in extroot+overlay a4cc165 jail: always mount /dev as additional tmpfs Signed-off-by: Daniel Golle --- package/system/procd/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/system/procd/Makefile b/package/system/procd/Makefile index 742a77e875..23d67beb87 100644 --- a/package/system/procd/Makefile +++ b/package/system/procd/Makefile @@ -12,9 +12,9 @@ PKG_RELEASE:=1 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL=$(PROJECT_GIT)/project/procd.git -PKG_SOURCE_DATE:=2020-04-09 -PKG_SOURCE_VERSION:=28a06e55cd4235faf52638dd85709e3da04c5c06 -PKG_MIRROR_HASH:=f747393e2208888fdb15444d0fad354f46e47cccc393fd408e8cb1c51ef1dfc8 +PKG_SOURCE_DATE:=2020-04-14 +PKG_SOURCE_VERSION:=a4cc165a9fdcc9d76a0ba58a2e9ccde605e5f40d +PKG_MIRROR_HASH:=773585b1616884829d86efe349ac61bc9b9e4a0c46e2ec0ed6ce913cced7806e CMAKE_INSTALL:=1 PKG_LICENSE:=GPL-2.0 From 9abf01246efc858b92f8211e37ecd0435e1a0474 Mon Sep 17 00:00:00 2001 From: Ansuel Smith Date: Tue, 14 Apr 2020 02:43:49 +0200 Subject: [PATCH 3/9] ipq806x: add patch to fix broken buttons From kernel 4.20 msm-gpio driver is broken and cause the malfunction of the buttons on every ipq806x target. Add a patch to fix this. Tested-by: Hannu Nyman Signed-off-by: Ansuel Smith --- ...rong-write-in-update_dual_edge.patch.patch | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 target/linux/generic/pending-5.4/001-v5.4-pinctrl-qcom-fix-wrong-write-in-update_dual_edge.patch.patch diff --git a/target/linux/generic/pending-5.4/001-v5.4-pinctrl-qcom-fix-wrong-write-in-update_dual_edge.patch.patch b/target/linux/generic/pending-5.4/001-v5.4-pinctrl-qcom-fix-wrong-write-in-update_dual_edge.patch.patch new file mode 100644 index 0000000000..e295311116 --- /dev/null +++ b/target/linux/generic/pending-5.4/001-v5.4-pinctrl-qcom-fix-wrong-write-in-update_dual_edge.patch.patch @@ -0,0 +1,31 @@ +From 17d4771b9740e0c504067b18d527cc29ba490e16 Mon Sep 17 00:00:00 2001 +From: Ansuel Smith +Date: Tue, 14 Apr 2020 02:28:00 +0200 +Subject: [PATCH] pinctrl: qcom: fix wrong write in update_dual_edge + +Fix a typo in the readl/writel accessor conversion where val is used +instead of pol changing the behavior of the original code. + +Fixes: 6c73698904aa pinctrl: qcom: Introduce readl/writel accessors + +Signed-off-by: Ansuel Smith +--- + drivers/pinctrl/qcom/pinctrl-msm.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/pinctrl/qcom/pinctrl-msm.c b/drivers/pinctrl/qcom/pinctrl-msm.c +index 1a948c3f54b7..9f1c9951949e 100644 +--- a/drivers/pinctrl/qcom/pinctrl-msm.c ++++ b/drivers/pinctrl/qcom/pinctrl-msm.c +@@ -692,7 +692,7 @@ static void msm_gpio_update_dual_edge_pos(struct msm_pinctrl *pctrl, + + pol = msm_readl_intr_cfg(pctrl, g); + pol ^= BIT(g->intr_polarity_bit); +- msm_writel_intr_cfg(val, pctrl, g); ++ msm_writel_intr_cfg(pol, pctrl, g); + + val2 = msm_readl_io(pctrl, g) & BIT(g->in_bit); + intstat = msm_readl_intr_status(pctrl, g); +-- +2.25.1 + From 0bea89a1d0f98af102cef32d6a8302bc28606180 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0tetiar?= Date: Tue, 14 Apr 2020 17:55:55 +0200 Subject: [PATCH 4/9] kernel: bump 5.4 to 5.4.32 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refreshed patches, removed upstreamed patches: generic: 746-stable-net-dsa-mt7530-fix-null-pointer-dereferencing-in-por.patch Run tested: qemu-x86-64, apalis Build tested: x86/64, imx6, sunxi/a53 Signed-off-by: Petr Štetiar --- include/kernel-version.mk | 4 +- ...th79-Implement-the-spi_mem-interface.patch | 6 +-- ...t7530-add-support-for-port-mirroring.patch | 2 +- ...ix-null-pointer-dereferencing-in-por.patch | 39 ------------------- ...rong-write-in-update_dual_edge.patch.patch | 7 +--- ...d-spi-nor-Add-support-for-mx25r3235f.patch | 2 +- 6 files changed, 7 insertions(+), 53 deletions(-) delete mode 100644 target/linux/generic/backport-5.4/746-stable-net-dsa-mt7530-fix-null-pointer-dereferencing-in-por.patch diff --git a/include/kernel-version.mk b/include/kernel-version.mk index 860a2cd285..4a720da249 100644 --- a/include/kernel-version.mk +++ b/include/kernel-version.mk @@ -8,11 +8,11 @@ endif LINUX_VERSION-4.14 = .172 LINUX_VERSION-4.19 = .108 -LINUX_VERSION-5.4 = .31 +LINUX_VERSION-5.4 = .32 LINUX_KERNEL_HASH-4.14.172 = 2318a1ab937580a079351ed20557c336a3d95b664f667b14e3ba49e3271b217a LINUX_KERNEL_HASH-4.19.108 = 09aeeca5b08efea2f54b977b2999afb60d42f93b9f65b2b0111969f183f750a3 -LINUX_KERNEL_HASH-5.4.31 = a11083f8f809887f6a0f8d4467532385b99418f17998fe6e837807491c276eeb +LINUX_KERNEL_HASH-5.4.32 = 192d99fab7a47a537493b6d7eddb52892b98f8ada655c0bbb419b360a995f2b3 remove_uri_prefix=$(subst git://,,$(subst http://,,$(subst https://,,$(1)))) sanitize_uri=$(call qstrip,$(subst @,_,$(subst :,_,$(subst .,_,$(subst -,_,$(subst /,_,$(1))))))) diff --git a/target/linux/ath79/patches-5.4/410-spi-ath79-Implement-the-spi_mem-interface.patch b/target/linux/ath79/patches-5.4/410-spi-ath79-Implement-the-spi_mem-interface.patch index 81a328f8f6..2a6b9857fb 100644 --- a/target/linux/ath79/patches-5.4/410-spi-ath79-Implement-the-spi_mem-interface.patch +++ b/target/linux/ath79/patches-5.4/410-spi-ath79-Implement-the-spi_mem-interface.patch @@ -8,10 +8,8 @@ Signed-off-by: Luiz Angelo Daros de Luca drivers/spi/spi-ath79.c | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) -Index: linux-5.4.22/drivers/spi/spi-ath79.c -=================================================================== ---- linux-5.4.22.orig/drivers/spi/spi-ath79.c -+++ linux-5.4.22/drivers/spi/spi-ath79.c +--- a/drivers/spi/spi-ath79.c ++++ b/drivers/spi/spi-ath79.c @@ -15,6 +15,7 @@ #include #include diff --git a/target/linux/generic/backport-5.4/745-v5.7-net-dsa-mt7530-add-support-for-port-mirroring.patch b/target/linux/generic/backport-5.4/745-v5.7-net-dsa-mt7530-add-support-for-port-mirroring.patch index 4185547264..acd09013af 100644 --- a/target/linux/generic/backport-5.4/745-v5.7-net-dsa-mt7530-add-support-for-port-mirroring.patch +++ b/target/linux/generic/backport-5.4/745-v5.7-net-dsa-mt7530-add-support-for-port-mirroring.patch @@ -82,7 +82,7 @@ Signed-off-by: David S. Miller static enum dsa_tag_protocol mtk_get_tag_protocol(struct dsa_switch *ds, int port) { -@@ -1606,6 +1664,8 @@ static const struct dsa_switch_ops mt753 +@@ -1609,6 +1667,8 @@ static const struct dsa_switch_ops mt753 .port_vlan_prepare = mt7530_port_vlan_prepare, .port_vlan_add = mt7530_port_vlan_add, .port_vlan_del = mt7530_port_vlan_del, diff --git a/target/linux/generic/backport-5.4/746-stable-net-dsa-mt7530-fix-null-pointer-dereferencing-in-por.patch b/target/linux/generic/backport-5.4/746-stable-net-dsa-mt7530-fix-null-pointer-dereferencing-in-por.patch deleted file mode 100644 index 1775bfb32c..0000000000 --- a/target/linux/generic/backport-5.4/746-stable-net-dsa-mt7530-fix-null-pointer-dereferencing-in-por.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 0452800f6db4ed0a42ffb15867c0acfd68829f6a Mon Sep 17 00:00:00 2001 -From: Chuanhong Guo -Date: Fri, 3 Apr 2020 19:28:24 +0800 -Subject: net: dsa: mt7530: fix null pointer dereferencing in port5 setup -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -The 2nd gmac of mediatek soc ethernet may not be connected to a PHY -and a phy-handle isn't always available. -Unfortunately, mt7530 dsa driver assumes that the 2nd gmac is always -connected to switch port 5 and setup mt7530 according to phy address -of 2nd gmac node, causing null pointer dereferencing when phy-handle -isn't defined in dts. -This commit fix this setup code by checking return value of -of_parse_phandle before using it. - -Fixes: 38f790a80560 ("net: dsa: mt7530: Add support for port 5") -Signed-off-by: Chuanhong Guo -Reviewed-by: Vivien Didelot -Reviewed-by: Florian Fainelli -Tested-by: René van Dorst -Signed-off-by: David S. Miller ---- - drivers/net/dsa/mt7530.c | 3 +++ - 1 file changed, 3 insertions(+) - ---- a/drivers/net/dsa/mt7530.c -+++ b/drivers/net/dsa/mt7530.c -@@ -1411,6 +1411,9 @@ mt7530_setup(struct dsa_switch *ds) - continue; - - phy_node = of_parse_phandle(mac_np, "phy-handle", 0); -+ if (!phy_node) -+ continue; -+ - if (phy_node->parent == priv->dev->of_node->parent) { - interface = of_get_phy_mode(mac_np); - id = of_mdio_parse_addr(ds->dev, phy_node); diff --git a/target/linux/generic/pending-5.4/001-v5.4-pinctrl-qcom-fix-wrong-write-in-update_dual_edge.patch.patch b/target/linux/generic/pending-5.4/001-v5.4-pinctrl-qcom-fix-wrong-write-in-update_dual_edge.patch.patch index e295311116..b9015236f4 100644 --- a/target/linux/generic/pending-5.4/001-v5.4-pinctrl-qcom-fix-wrong-write-in-update_dual_edge.patch.patch +++ b/target/linux/generic/pending-5.4/001-v5.4-pinctrl-qcom-fix-wrong-write-in-update_dual_edge.patch.patch @@ -13,11 +13,9 @@ Signed-off-by: Ansuel Smith drivers/pinctrl/qcom/pinctrl-msm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/drivers/pinctrl/qcom/pinctrl-msm.c b/drivers/pinctrl/qcom/pinctrl-msm.c -index 1a948c3f54b7..9f1c9951949e 100644 --- a/drivers/pinctrl/qcom/pinctrl-msm.c +++ b/drivers/pinctrl/qcom/pinctrl-msm.c -@@ -692,7 +692,7 @@ static void msm_gpio_update_dual_edge_pos(struct msm_pinctrl *pctrl, +@@ -688,7 +688,7 @@ static void msm_gpio_update_dual_edge_po pol = msm_readl_intr_cfg(pctrl, g); pol ^= BIT(g->intr_polarity_bit); @@ -26,6 +24,3 @@ index 1a948c3f54b7..9f1c9951949e 100644 val2 = msm_readl_io(pctrl, g) & BIT(g->in_bit); intstat = msm_readl_intr_status(pctrl, g); --- -2.25.1 - diff --git a/target/linux/ipq40xx/patches-5.4/304-mtd-spi-nor-Add-support-for-mx25r3235f.patch b/target/linux/ipq40xx/patches-5.4/304-mtd-spi-nor-Add-support-for-mx25r3235f.patch index 476673077d..ba0447b20e 100644 --- a/target/linux/ipq40xx/patches-5.4/304-mtd-spi-nor-Add-support-for-mx25r3235f.patch +++ b/target/linux/ipq40xx/patches-5.4/304-mtd-spi-nor-Add-support-for-mx25r3235f.patch @@ -15,7 +15,7 @@ Signed-off-by: David Bauer --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c -@@ -2286,6 +2286,8 @@ static const struct flash_info spi_nor_i +@@ -2313,6 +2313,8 @@ static const struct flash_info spi_nor_i { "mx25u6435f", INFO(0xc22537, 0, 64 * 1024, 128, SECT_4K) }, { "mx25l12805d", INFO(0xc22018, 0, 64 * 1024, 256, 0) }, { "mx25l12855e", INFO(0xc22618, 0, 64 * 1024, 256, 0) }, From 14cbd8fb2dd8c81bad06d3c3bb45213685c19c98 Mon Sep 17 00:00:00 2001 From: Paul Spooren Date: Wed, 8 Apr 2020 10:17:01 -1000 Subject: [PATCH 5/9] scripts: JSON merge don't crash if no JSON found MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The JSON `WORK_DIR` ($(KDIR)/json_info_files) is only created if the new image generation methods from `image.mk` are used. However some targets like `armvirt` do not use it yet, so the folder is never created. The `json_overview_image_info.py` script used to raise an error if the given `WORK_DIR` isn't a folder, however it should just notify about missing JSON files. This patch removes the Python assert and exists with code 0 even if no JSON files were found, as this is not necessarily an error but simply not yet implemented. Using `glob` on an not existing `Path` results in an empty list, therefore the for loop won't run. Signed-off-by: Paul Spooren CC: Petr Štetiar --- scripts/json_overview_image_info.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/json_overview_image_info.py b/scripts/json_overview_image_info.py index 5ed829249b..a1418e366d 100755 --- a/scripts/json_overview_image_info.py +++ b/scripts/json_overview_image_info.py @@ -15,8 +15,6 @@ assert getenv("WORK_DIR"), "$WORK_DIR required" work_dir = Path(getenv("WORK_DIR")) -assert work_dir.is_dir(), "$WORK_DIR not a directory" - output = {} for json_file in work_dir.glob("*.json"): From c737a9ee6a9c47b6e553ac81bf293b1161e59799 Mon Sep 17 00:00:00 2001 From: Paul Spooren Date: Mon, 6 Apr 2020 01:53:19 -1000 Subject: [PATCH 6/9] scripts/download: add sources CDN as first mirror OpenWrt now has a CDN for sources at sources.cdn.openwrt.org which mirrors sources.openwrt.org. Downloading sources outside Europe or US (mainland) could result in low throughput, extremely slowing down the first compilation of the build system. This patch adds sources.cdn.openwrt.org as the first mirror to offer worldwide fast download speeds by default. If the CDN goes down for whatever reason, the script jumps to the next available mirror and downloads requested files as before (in regional varying speed). Signed-off-by: Paul Spooren Acked-by: Eneas U de Queiroz --- scripts/download.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/download.pl b/scripts/download.pl index dd49255367..1d3ff02c5b 100755 --- a/scripts/download.pl +++ b/scripts/download.pl @@ -258,6 +258,7 @@ foreach my $mirror (@ARGV) { } } +unshift @mirrors, 'https://sources.cdn.openwrt.org'; #push @mirrors, 'https://mirror1.openwrt.org'; push @mirrors, 'https://sources.openwrt.org'; push @mirrors, 'https://mirror2.openwrt.org/sources'; From f814121600e5cf43fd75fe93e5b1b54f65b71bcd Mon Sep 17 00:00:00 2001 From: Paul Spooren Date: Thu, 9 Apr 2020 23:54:52 -1000 Subject: [PATCH 7/9] x86: append metadata to combined images Now that the x86 target uses the new image generation code we can also attach metadata to the created images. As currently the `SUPPORTED_DEVICES` list is empty, no JSON metadata is attached, however the signing happens in the same step. This results in signature verification for x86 images. Signed-off-by: Paul Spooren --- target/linux/x86/image/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/target/linux/x86/image/Makefile b/target/linux/x86/image/Makefile index 7a474e7a6e..77516a4a9d 100644 --- a/target/linux/x86/image/Makefile +++ b/target/linux/x86/image/Makefile @@ -113,15 +113,15 @@ endef DEVICE_VARS += GRUB2_VARIANT define Device/Default ARTIFACT/image.iso := grub-config iso | iso - IMAGE/combined.img := grub-config pc | combined | grub-install - IMAGE/combined.img.gz := grub-config pc | combined | grub-install | gzip + IMAGE/combined.img := grub-config pc | combined | grub-install | append-metadata + IMAGE/combined.img.gz := grub-config pc | combined | grub-install | gzip | append-metadata IMAGE/combined.vdi := grub-config pc | combined | grub-install | qemu-image vdi IMAGE/combined.vmdk := grub-config pc | combined | grub-install | qemu-image vmdk IMAGE/rootfs.img := append-rootfs IMAGE/rootfs.img.gz := append-rootfs | gzip ARTIFACT/image-efi.iso := grub-config iso | iso efi - IMAGE/combined-efi.img := grub-config efi | combined efi | grub-install efi - IMAGE/combined-efi.img.gz := grub-config efi | combined efi | grub-install efi | gzip + IMAGE/combined-efi.img := grub-config efi | combined efi | grub-install efi | append-metadata + IMAGE/combined-efi.img.gz := grub-config efi | combined efi | grub-install efi | gzip | append-metadata IMAGE/combined-efi.vdi := grub-config efi | combined efi | grub-install efi | qemu-image vdi IMAGE/combined-efi.vmdk := grub-config efi | combined efi | grub-install efi | qemu-image vmdk ifeq ($(CONFIG_TARGET_IMAGES_GZIP),y) From ad19751edc21ae713bd95df6b93be64bd1e0c612 Mon Sep 17 00:00:00 2001 From: Chuanhong Guo Date: Wed, 15 Apr 2020 09:32:02 +0800 Subject: [PATCH 8/9] ramips: mt7621: enable lzma-loader for some devices ubnt er-x/xiaomi/netgear sercomm devices are known to have troble extracting a big kernel from flash and has support for uncompressed uimage This commit uses uncompressed uimage with lzma-loader for these devices to fix boot issue. Signed-off-by: Chuanhong Guo --- target/linux/ramips/image/mt7621.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index 8980ff70d4..6e64fb8bf1 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -565,6 +565,7 @@ endef TARGET_DEVICES += netgear_ex6150 define Device/netgear_sercomm_nand + $(Device/uimage-lzma-loader) BLOCKSIZE := 128k PAGESIZE := 2048 KERNEL_SIZE := 4096k @@ -658,6 +659,7 @@ endef TARGET_DEVICES += netgear_r6850 define Device/netgear_wndr3700-v5 + $(Device/uimage-lzma-loader) BLOCKSIZE := 64k IMAGE_SIZE := 15232k SERCOMM_HWID := AYB @@ -794,6 +796,7 @@ endef TARGET_DEVICES += tplink_re650-v1 define Device/ubnt_edgerouter_common + $(Device/uimage-lzma-loader) DEVICE_VENDOR := Ubiquiti IMAGE_SIZE := 256768k FILESYSTEMS := squashfs @@ -870,6 +873,7 @@ endef TARGET_DEVICES += wevo_w2914ns-v2 define Device/xiaomi_mir3g + $(Device/uimage-lzma-loader) BLOCKSIZE := 128k PAGESIZE := 2048 KERNEL_SIZE := 4096k @@ -889,6 +893,7 @@ endef TARGET_DEVICES += xiaomi_mir3g define Device/xiaomi_mir3g-v2 + $(Device/uimage-lzma-loader) IMAGE_SIZE := 14848k DEVICE_VENDOR := Xiaomi DEVICE_MODEL := Mi Router 3G @@ -901,6 +906,7 @@ endef TARGET_DEVICES += xiaomi_mir3g-v2 define Device/xiaomi_mir3p + $(Device/uimage-lzma-loader) BLOCKSIZE := 128k PAGESIZE := 2048 KERNEL_SIZE:= 4096k From 508462a399c8a68fdcdf599a1aa17441bdaad20b Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Wed, 15 Apr 2020 12:45:28 +0200 Subject: [PATCH 9/9] ath79: add SUPPORTED_DEVICES for TP-Link TL-WA901ND v2 This adds the board name from ar71xx to support upgrade without -F for the TP-Link TL-WA901ND v2. Signed-off-by: Adrian Schmutzler --- target/linux/ath79/image/tiny-tp-link.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ath79/image/tiny-tp-link.mk b/target/linux/ath79/image/tiny-tp-link.mk index eff205f897..c6ef224da3 100644 --- a/target/linux/ath79/image/tiny-tp-link.mk +++ b/target/linux/ath79/image/tiny-tp-link.mk @@ -166,6 +166,7 @@ define Device/tplink_tl-wa901nd-v2 DEVICE_MODEL := TL-WA901ND DEVICE_VARIANT := v2 TPLINK_HWID := 0x09010002 + SUPPORTED_DEVICES += tl-wa901nd-v2 endef TARGET_DEVICES += tplink_tl-wa901nd-v2