From 602b5f6c60a2827bd918dfae0ffb271f8b88f4df Mon Sep 17 00:00:00 2001 From: John Thomson Date: Sat, 21 May 2022 08:13:21 +1000 Subject: ipq40xx: cut ath10k board file for mikrotik subtarget MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Avoid shipping ath10k board file in Mikrotik initram images Most will only ever need to use these initram images onceā€”to initially load OpenWrt, but fix these images for more consistent Wi-Fi performance between the initram and installed squashfs images. OpenWrt BUILDBOT config ignores -cut packages in the initram images build. This results in BUILDBOT initram images including the linux-firmware qca4019 board-2.bin, and (initram image booted) Mikrotik devices loading a generic BDF, rather than the intended BDF data loaded from NOR as an api 1 board_file. buildbot snapshot booted as initram image: cat /etc/openwrt_version r19679-810eac8c7f dmesg | grep ath10k | grep -E board\|BDF [ 9.794556] ath10k_ahb a000000.wifi: Loading BDF type 0 [ 9.807192] ath10k_ahb a000000.wifi: board_file api 2 bmi_id 0:16 crc32 11892f9b [ 12.457105] ath10k_ahb a800000.wifi: Loading BDF type 0 [ 12.464945] ath10k_ahb a800000.wifi: board_file api 2 bmi_id 0:17 crc32 11892f9b CC: Robert Marko Fixes: 5eee67a72fed ("ipq40xx: mikrotik: dont include ath10k-board-qca4019 by default") Signed-off-by: John Thomson Reviewed-by: Robert Marko --- target/linux/ipq40xx/mikrotik/target.mk | 1 - 1 file changed, 1 deletion(-) (limited to 'target/linux/ipq40xx/mikrotik') diff --git a/target/linux/ipq40xx/mikrotik/target.mk b/target/linux/ipq40xx/mikrotik/target.mk index 8b17c61585..4530a90985 100644 --- a/target/linux/ipq40xx/mikrotik/target.mk +++ b/target/linux/ipq40xx/mikrotik/target.mk @@ -2,4 +2,3 @@ BOARDNAME:=MikroTik FEATURES += minor KERNEL_IMAGES:=vmlinux IMAGES_DIR:=compressed -DEFAULT_PACKAGES += -ath10k-board-qca4019 -- cgit v1.2.3