Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp218555rwb; Wed, 9 Nov 2022 23:08:29 -0800 (PST) X-Google-Smtp-Source: AMsMyM6zqkUW36kHErPr7E6+ioG9hqrvudvP3ttS/5KW1wO1VUAZZk14VB7toA70t5TdXgUo0bfa X-Received: by 2002:a17:906:7949:b0:7ac:9917:90b9 with SMTP id l9-20020a170906794900b007ac991790b9mr58335567ejo.536.1668064108927; Wed, 09 Nov 2022 23:08:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668064108; cv=none; d=google.com; s=arc-20160816; b=T0Pw1cBgw0S+Xnn4uh99ap2Zahmmgtxcdnbis9hqbpt0oMiPiiNMX/3n+iyniNJNpH Kc3gYnNlnvqvBZcYCE0j/+ymBIQc9btxi4PqIvq1sHE4wPXHeHFqmdMP7heKqqf31dWA Xw3mUHW8gf9RQusukj1X0QNHuCwaf+YdfHvM2PMSXP606y1jwsYcArGs5UMrZ8rhXAXz 31NDh9tEUck8DzOLIvxnwBBxXz0qYu0sXN3MTAmd50mRfT8gRgCIuuHE3CziFQDq42Ie lK9S74y5B/z14hKMgykPkt+f+eksdB8NwxV1Ny+6KJc1ONaIhpeSMNbUPwvqMiXJrOO7 uS9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :content-language:references:cc:to:from:subject:user-agent :mime-version:date:message-id:dkim-signature:dkim-filter; bh=SfBt8l0StuIlhXHfiIXOhOe1e1OySq0YJvgq5p1+oRo=; b=joUeSsMmT0Ve09PTlezDq+naDNJ19HTa4ys7BYDPq1QnQliA8B/GjAR8UvfrTXypUW Af8lpNXs+VG+8fCX9ZqkaiCQzSFOMwVmtfKrR/VU+/XRL0KpWQY6njYIsorbnSECpHfQ PeS18NOQsE6bfl2GgSfAV8lLXy35H/n5sVU27NBcYAhKTtA0mCXr8LlrXIToOvI5lbZb YxeFqlrceBnoDafpKH/A8dWm8Tx93rUg9ZFY1CtvDDkneLUWKOx+qPGYu5XNcy2I0REx BwQmu+8J3QaL1SVGfhHc0SgZ8fXMxn4TTvtEmnVP4RYfZ73+uW0zSGq14VTZ8U6bIXoN p/8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@warmcat.com header.s=default header.b=N8t2GGDz; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=warmcat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ne28-20020a1709077b9c00b007a9c3366e9asi18842867ejc.716.2022.11.09.23.07.39; Wed, 09 Nov 2022 23:08:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@warmcat.com header.s=default header.b=N8t2GGDz; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=warmcat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232698AbiKJHGm (ORCPT + 66 others); Thu, 10 Nov 2022 02:06:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229697AbiKJHGl (ORCPT ); Thu, 10 Nov 2022 02:06:41 -0500 Received: from mog.warmcat.com (mog.warmcat.com [178.170.10.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7A42014016 for ; Wed, 9 Nov 2022 23:06:39 -0800 (PST) Received: from mx.warmcat.com (host31-53-12-215.range31-53.btcentralplus.com [31.53.12.215]) by mog.warmcat.com (Postfix) with ESMTPSA id 47070135602; Thu, 10 Nov 2022 07:06:38 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 mog.warmcat.com 47070135602 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=warmcat.com; s=default; t=1668063998; bh=SfBt8l0StuIlhXHfiIXOhOe1e1OySq0YJvgq5p1+oRo=; h=Date:Subject:From:To:Cc:References:In-Reply-To:From; b=N8t2GGDzGibp2X9/KeBOQDype9iCnd51WISFaO87nNHz/hsdQ+66fusZ0y7ePrOYM QiL1n0SL2/tw+72DiH4DTRdmeKwCN2oRCKv6Kzumom5+w11/wXg05kAH+Lxl4wI8fe IQBLMuCSo3h4XzKTEdO6EYj/J3Z8wz6MMG5THGQM= Received: from [192.168.4.115] (unknown [192.168.4.115]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by mx.warmcat.com (Postfix) with ESMTPSA id 4B8072A00DA; Thu, 10 Nov 2022 07:06:37 +0000 (GMT) Message-ID: <258c07af-5ca1-dbaa-ac19-6c30459b5fca@warmcat.com> Date: Thu, 10 Nov 2022 07:06:35 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: AP6275 / bcm43752 pcie on mainline brcmf From: Andy Green To: Arend Van Spriel , franky.lin@broadcom.com Cc: linux-wireless@vger.kernel.org References: <1D540F2B-17E8-4992-BD06-4AA4A66B1964@warmcat.com> <1845da4b838.279b.9b12b7fc0a3841636cfb5e919b41b954@broadcom.com> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 11/9/22 19:35, Andy Green wrote: > > On 11/9/22 18:26, Arend Van Spriel wrote: >> Can you share any kernel logs preferably with debug=0x1416 passed >> during insmod. >> > I passed that in modprobe.d/ but the only logs are its usual ones and > the ones I added It seems the debug logging needs a few additional config options additionally. [ 3.469000] brcmfmac: brcmfmac_module_init No platform data available. [ 3.469140] brcmfmac 0002:21:00.0: enabling device (0000 -> 0002) [ 3.469179] brcmfmac: brcmf_chip_recognition found AXI chip: BCM43752/2 [ 3.470077] brcmfmac: brcmf_chip_cores_check [1 ] core 0x800:65 base 0x18000000 wrap 0x18100000 [ 3.470079] brcmfmac: brcmf_chip_cores_check [2 ] core 0x812:82 base 0x18001000 wrap 0x18101000 [ 3.470081] brcmfmac: brcmf_chip_cores_check [3 ] core 0x83e:16 base 0x18002000 wrap 0x18102000 [ 3.470082] brcmfmac: brcmf_chip_cores_check [4 ] core 0x83c:65 base 0x18003000 wrap 0x18103000 [ 3.470084] brcmfmac: brcmf_chip_cores_check [5 ] core 0x829:26 base 0x18004000 wrap 0x18104000 [ 3.470085] brcmfmac: brcmf_chip_cores_check [6 ] core 0x844:2 base 0x18005000 wrap 0x18105000 [ 3.470087] brcmfmac: brcmf_chip_cores_check [7 ] core 0x840:15 base 0x18010000 wrap 0x00000000 [ 3.470088] brcmfmac: brcmf_chip_cores_check [8 ] core 0x827:35 base 0x18012000 wrap 0x00000000 [ 3.470090] brcmfmac: brcmf_chip_cores_check [9 ] core 0x240:0 base 0x00000000 wrap 0x1810a000 [ 3.470091] brcmfmac: brcmf_chip_cores_check [10] core 0x135:0 base 0x00000000 wrap 0x18112000 [ 3.470092] brcmfmac: brcmf_chip_cores_check [11] core 0x135:0 base 0x00000000 wrap 0x18113000 [ 3.470094] brcmfmac: brcmf_chip_set_passive Enter [ 3.579150] brcmfmac: brcmf_chip_set_passive Enter [ 3.579630] brcmfmac: brcmf_chip_tcm_rambase: 43752 OK [ 3.579631] brcmfmac: brcmf_chip_get_raminfo RAM: base=0x170000 size=1310720 (0x140000) sr=0 (0x0) [ 3.579655] brcmfmac: brcmf_chip_setup ccrev=65, pmurev=35, pmucaps=0x84565f23 [ 3.579657] brcmfmac: brcmf_get_module_param Enter, bus=2, chip=43752, rev=2 [ 3.579663] brcmfmac: brcmf_alloc Enter [ 3.579675] brcmfmac: brcmf_fw_alloc_request: using brcm/fw_bcm43752a2_pcie for chip BCM43752/2 [ 3.579678] brcmfmac: brcmf_fw_get_firmwares enter: dev=0002:21:00.0 [ 3.579680] brcmfmac: brcm_alt_fw_path FW alt path: brcm/fw_bcm43752a2_pcie.rockchip,rk3588-evb1-v10.bin [ 3.583510] brcmfmac: brcmf_fw_complete_request firmware brcm/fw_bcm43752a2_pcie.bin found [ 3.583516] brcmfmac: brcm_alt_fw_path FW alt path: brcm/fw_bcm43752a2_pcie.rockchip,rk3588-evb1-v10.txt [ 3.583726] brcmfmac: brcmf_fw_complete_request firmware brcm/fw_bcm43752a2_pcie.txt found [ 3.583727] brcmfmac: brcmf_fw_request_nvram_done enter: dev=0002:21:00.0 [ 3.583782] brcmfmac: brcmf_fw_request_nvram_done nvram 000000001685ccfe len 6040 [ 3.583784] brcmfmac: brcm_alt_fw_path FW alt path: brcm/fw_bcm43752a2_pcie.rockchip,rk3588-evb1-v10.clm_blob [ 3.584081] brcmfmac: brcmf_fw_complete_request firmware brcm/fw_bcm43752a2_pcie.clm_blob found [ 3.584278] brcmfmac: brcmf_chip_tcm_rambase: 43752 OK [ 3.584279] brcmfmac: brcmf_chip_get_raminfo RAM: base=0x170000 size=1310720 (0x140000) sr=0 (0x0) [ 3.677816] brcmfmac: Download NVRAM brcm/fw_bcm43752a2_pcie.txt [ 3.678423] brcmfmac: brcmf_pcie_download_fw_nvram: sharedram_addr 0xfa1a05e5 [ 3.678425] brcmfmac: brcmf_chip_set_active Enter [ 9.707127] brcmfmac 0002:21:00.0: brcmf_pcie_download_fw_nvram: FW failed to initialize [ 9.707144] brcmfmac: brcmf_detach Enter [ 9.731123] brcmfmac: brcmf_bus_change_state 0 -> 0 [ 9.731126] brcmfmac: brcmf_proto_detach Enter -Andy