From patchwork Fri May 20 22:13:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: John Thomson X-Patchwork-Id: 1634096 X-Patchwork-Delegate: hauke@hauke-m.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=AWvmPO7q; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=fastmail.com.au header.i=@fastmail.com.au header.a=rsa-sha256 header.s=fm1 header.b=cSZgNFjz; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm1 header.b=B7jm//cr; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4L4h1359njz9sGG for ; Sat, 21 May 2022 08:17:27 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=fcs+UWlg0t0nm3xfgJgQI/pBQNt6UPthlleehMK5H18=; b=AWvmPO7q6d8i+9 YLO0F2npF16esRXrn+3s/ncg362nh/djx0M7VVJLhYGDh1oQfyvU/Gn5/ghZjvqMxKnWLNEcZgGC1 7apoFxYfDjISr7g7kAV4pokbIPxsAl2De4YGRXpTggT9h0XhzgiStWBZ8r4CdvWM7C35UelDGff4x 72TuKA6cMLLIU1Gq/YzDsJFT2+/GWm41zEqrKS97wlDpHCFA3Fyvy4BujI48GSD07D01ef+02Y8Xx WKCeLP28lzTRjZSuMfIsCTAjLRjLZIAW5e1RPClrbmyuwb4o4m3TF6kAEAWLHmo1JA3365twCT4Bt lujTl0KHZCB0Tx28P1Uw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nsAss-00EigX-Ss; Fri, 20 May 2022 22:14:11 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nsAsl-00EifO-86 for openwrt-devel@lists.openwrt.org; Fri, 20 May 2022 22:14:08 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id D0E355C0214; Fri, 20 May 2022 18:13:55 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 20 May 2022 18:13:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com.au; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to; s=fm1; t=1653084835; x=1653171235; bh=rY lVLp1GLIFiY+Zoq3E7y1uzIFXigiJCBMfCE81WrKI=; b=cSZgNFjzii/7FOjd7p 0W5L/LKpBYqhNlDY0sUzruksSNr4EqzpzzcK5YT7bxC2bSsAoXBhnrtdkSSZQBe9 Q66MEK13Lbp/wcwUjJx4bzZk1KOOD4T0qZ7IrrcDqPVmXZ0d3XRj7IZvZPkaCpe2 VoSkhgL4mgk6vc6zb+mfDG61OtKmM0qRpeMRVJjvsUxi7XZA64DlaLKsd3tZgNFW 1UWl5vofZqefAvh4490oIKxM4umMpDh/27qj8ecNBvzDhA0wLiWS/QNpDyfnt7/9 UFJpVbRStlZQt9AdrcpOQuArxsT32kZkKJRTToogzK/Caz6C41zXiQP04IBmNW/q gu9w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1653084835; x=1653171235; bh=rYlVLp1GLIFiY +Zoq3E7y1uzIFXigiJCBMfCE81WrKI=; b=B7jm//crQpvTR6vHyzc2O9EKuUyjt fRx0ZE8e0wsxFDCaR14rPjNG/hjP1bC7RDda440tlO8BCaUD2G0gB9cLffQwYtIz WN2HOyln88CJKfmPSwid2ud2F3zdWJkfOdyfMURS63PI+MjcQVFwPCkHrgpN+MYC ZAoquCNoaiByNRPZ45h1yY1L69lyffZuexFuh2ZRvKuOwSkO9UgNRC0Ty5O77Wbu 3hgRSWV0ucSKg5SFx2TGMrVJSmD5GYr7oP8E1ak+SAFDlN+HyQ1z30e1WuJ3Vxcn h+bQIDU7dOl37ygQwQA19WT3Okchhq2I/OGLQ6YkyCPvCjvWcLWqLctEA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrieehgddthecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffogggtgfesthekredtredtjeenucfhrhhomheplfhohhhnucfv hhhomhhsohhnuceoghhithesjhhohhhnthhhohhmshhonhdrfhgrshhtmhgrihhlrdgtoh hmrdgruheqnecuggftrfgrthhtvghrnhepkeeigfegudfhveeuffdutdejveegieeiffdv gedvtdegffejueektdeikeehieejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomhepghhithesjhhohhhnthhhohhmshhonhdrfhgrshhtmhgrihhl rdgtohhmrdgruh X-ME-Proxy: Feedback-ID: ic081425d:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 20 May 2022 18:13:53 -0400 (EDT) From: John Thomson To: openwrt-devel@lists.openwrt.org Cc: hauke@hauke-m.de, John Thomson , Robert Marko Subject: [PATCH] ipq40xx: cut ath10k board file for mikrotik subtarget Date: Sat, 21 May 2022 08:13:21 +1000 Message-Id: <20220520221321.1806503-1-git@johnthomson.fastmail.com.au> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220520_151406_777183_C5E69C13 X-CRM114-Status: UNSURE ( 9.49 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) X-Spam-Report: =?unknown-8bit?q?Spam_detection_software=2C_running_on_the_sy?= =?unknown-8bit?q?stem_=22bombadil=2Einfradead=2Eorg=22=2C?= =?unknown-8bit?q?_has_NOT_identified_this_incoming_email_as_spam=2E__The_ori?= =?unknown-8bit?q?ginal?= =?unknown-8bit?q?_message_has_been_attached_to_this_so_you_can_view_it_or_la?= =?unknown-8bit?q?bel?= =?unknown-8bit?q?_similar_future_email=2E__If_you_have_any_questions=2C_see?= =?unknown-8bit?q?_the_administrator_of_that_system_for_details=2E?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_Content_preview=3A__Avoid_shipping_ath10k_board_file_in_Mi?= =?unknown-8bit?q?krotik_initram_images?= =?unknown-8bit?q?_Most_will_only_ever_need_to_use_these_initram_images_once?= =?unknown-8bit?q?=E2=80=94to_initially?= =?unknown-8bit?q?_load_OpenWrt=2C_but_fix_these_images_for_more_consistent_W?= =?unknown-8bit?q?i-Fi_performance_between?= =?unknown-8bit?q?_the_initram_and_installed_squashfs_images=2E_?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_Content_analysis_details=3A___=28-0=2E8_points=2C_5=2E0_re?= =?unknown-8bit?q?quired=29?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_pts_rule_name______________description?= =?unknown-8bit?q?_----_----------------------_------------------------------?= =?unknown-8bit?q?--------------------?= =?unknown-8bit?q?_-0=2E7_RCVD=5FIN=5FDNSWL=5FLOW______RBL=3A_Sender_listed_a?= =?unknown-8bit?q?t_https=3A//www=2Ednswl=2Eorg/=2C?= =?unknown-8bit?q?_low_trust?= =?unknown-8bit?b?IFs2Ni4xMTEuNC4yOCBsaXN0ZWQgaW4gbGlzdC5kbnN3bC5vcmdd?= =?unknown-8bit?q?_-0=2E0_SPF=5FPASS_______________SPF=3A_sender_matches_SPF_?= =?unknown-8bit?q?record?= =?unknown-8bit?q?_-0=2E0_SPF=5FHELO=5FPASS__________SPF=3A_HELO_matches_SPF_?= =?unknown-8bit?q?record?= =?unknown-8bit?q?_0=2E0_RCVD=5FIN=5FMSPIKE=5FH3______RBL=3A_Good_reputation_?= =?unknown-8bit?q?=28+3=29?= =?unknown-8bit?q?_=5B66=2E111=2E4=2E28_listed_in_wl=2Emailspike=2Enet=5D?= =?unknown-8bit?q?_-0=2E1_DKIM=5FVALID_____________Message_has_at_least_one_v?= =?unknown-8bit?q?alid_DKIM_or_DK_signature?= =?unknown-8bit?q?_0=2E1_DKIM=5FSIGNED____________Message_has_a_DKIM_or_DK_si?= =?unknown-8bit?q?gnature=2C_not_necessarily?= =?unknown-8bit?q?_valid?= =?unknown-8bit?q?_-0=2E1_DKIM=5FVALID=5FEF__________Message_has_a_valid_DKIM?= =?unknown-8bit?q?_or_DK_signature_from?= =?unknown-8bit?q?_envelope-from_domain?= =?unknown-8bit?q?_0=2E0_RCVD=5FIN=5FMSPIKE=5FWL______Mailspike_good_senders?= X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org 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/Makefile | 2 +- target/linux/ipq40xx/chromium/target.mk | 1 + target/linux/ipq40xx/generic/target.mk | 1 + target/linux/ipq40xx/mikrotik/target.mk | 1 - 4 files changed, 3 insertions(+), 2 deletions(-) diff --git a/target/linux/ipq40xx/Makefile b/target/linux/ipq40xx/Makefile index 7df920e2d8..19b63cdd65 100644 --- a/target/linux/ipq40xx/Makefile +++ b/target/linux/ipq40xx/Makefile @@ -19,6 +19,6 @@ DEFAULT_PACKAGES += \ kmod-leds-gpio kmod-gpio-button-hotplug swconfig \ kmod-ath10k-ct wpad-basic-wolfssl \ kmod-usb3 kmod-usb-dwc3 ath10k-firmware-qca4019-ct \ - ath10k-board-qca4019 uboot-envtools + uboot-envtools $(eval $(call BuildTarget)) diff --git a/target/linux/ipq40xx/chromium/target.mk b/target/linux/ipq40xx/chromium/target.mk index 3983a9281a..98bd37ed71 100644 --- a/target/linux/ipq40xx/chromium/target.mk +++ b/target/linux/ipq40xx/chromium/target.mk @@ -1,2 +1,3 @@ BOARDNAME:=Google Chromium FEATURES += emmc boot-part rootfs-part +DEFAULT_PACKAGES += ath10k-board-qca4019 diff --git a/target/linux/ipq40xx/generic/target.mk b/target/linux/ipq40xx/generic/target.mk index e158b1c98b..90c1b762af 100644 --- a/target/linux/ipq40xx/generic/target.mk +++ b/target/linux/ipq40xx/generic/target.mk @@ -1,2 +1,3 @@ BOARDNAME:=Generic FEATURES+=emmc +DEFAULT_PACKAGES += ath10k-board-qca4019 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