Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4540194rwb; Sun, 13 Nov 2022 08:02:32 -0800 (PST) X-Google-Smtp-Source: AA0mqf7VF7BmIfQKudAmnXV4Nwj+krgnXMb5ARP9Ry+1YZDhHNnYOmiXChG0Z0NTr9ogRKLaKtll X-Received: by 2002:a17:906:824e:b0:7ae:77ef:d048 with SMTP id f14-20020a170906824e00b007ae77efd048mr8101541ejx.740.1668355352397; Sun, 13 Nov 2022 08:02:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668355352; cv=pass; d=google.com; s=arc-20160816; b=LBd07qIUJJRuvEdJW+QXublxKekDhYmYPqpVwWLu3rGDpTAI8FVXNLbyGGELtl2AKF q4XPABmlBXnoBps347fo5MC2ibd4mrcDclrf7DhyrMmO6W3L6XjDCEZNWZIzSkyGWX7F Nh/YFAr3vS1s+FvQAUgvyfN5Vs75TP+bHsVm9Lc9eGyppCx/QWWXr9W9pRWC9z8peYnN /O33yI+XzG5Oqm4hIsv1lCU2xawKFFlCIEGv4OHBlfR2uq9PLR3E1BeK8K9MNlajYWZn 0/MiFxP2DhX6Tnp6wTMF/xyBAPyi6KoG+u5tJakFvkSVqRxRzTsKiXYH0vZzP7A5X2+b QCrg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:subject:from:references:cc:to:user-agent:date :message-id:dkim-signature; bh=tvVVbNefCPFMTdGGhsli2wkZF+/jkHIH2tmD6Yz6iMY=; b=PmqTHnLm2MPyzevgCIbDeh6/QuERT2tf2tvWJfv2+K152QeATG2zh4CzPULGuedorq AYGg89s8I8vPEk2/IM5coWtI1aB7xPe/y9mefPP3FgUiuUN7W6ResyDOhdo9Wa9/5qs/ jLXleTiHRlusxpaiW96AjmJtW9SKFEH/x1L5+bvQuIY9yH3LrD5XDRGQMGpk7KQXCXsv aeTbwEs5t2Fy2FBRnzkx00KeO5fNPFjlPo6O+tEEKT3KbFGSc7PD5a8be412qItXqhnb bwhngOLEQPvR1GRLCbyxk1CLm7oDkP1qiQeWwM7ACi8XVJmvVz4p9Y5lanb3vKt0WoJe xZ9g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=fxzuOeUi; arc=pass (i=1); 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=QUARANTINE dis=NONE) header.from=outlook.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id he43-20020a1709073dab00b0078da5f6ed9esi8018263ejc.779.2022.11.13.08.01.55; Sun, 13 Nov 2022 08:02:32 -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=@outlook.com header.s=selector1 header.b=fxzuOeUi; arc=pass (i=1); 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=QUARANTINE dis=NONE) header.from=outlook.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235344AbiKMPw5 (ORCPT + 66 others); Sun, 13 Nov 2022 10:52:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235312AbiKMPwr (ORCPT ); Sun, 13 Nov 2022 10:52:47 -0500 Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01olkn2042.outbound.protection.outlook.com [40.92.98.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D311E09A for ; Sun, 13 Nov 2022 07:52:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i6m8onQhISrftR0vqLogxFGhbXHqm91TSGnvODXn16wiV/DezdUD704t5paK5PuAObEoLCvpbsSWD3RSTVGSxeO+So6uPvZBtp7JHfOxckUENeTxWssP8eOK6tGZwlsCQhnyCPFfkWkvDd7Pm9UCiwPgas5WkRifvaJ0AfCE9yA3LiufYiNxLOooeFlDkKsjSmuLUdwZ8rJi0dGHPurM0i20Jldgrn7vHn4jNp5gkYRbAztZY5BmomMBRKaZbvLPuKmvEBiLQ6iR+xcw/kzuOLLY+XZjoMfgAqFmm9BugpkwW0Nflov4/jqpjjwqpKK6+IHzNfXp47j8yS5Y2vnmgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=tvVVbNefCPFMTdGGhsli2wkZF+/jkHIH2tmD6Yz6iMY=; b=fk5fw6MCigNEGQEUrgXyd44sr5fQ+DeMDthl0QrUqfQ+Oa+2WBGwiYk9hgAmPmbvbUCMzZ1EDRElGNInnWrMDpqVoClY6sUILwfMrAZbQ1Kqx4TNpWBf0Q9iR/c7GLgJ4KJqaeckxidfrBgz8jngUbo/cHhJJEVFij2OtMJLKpiXqxlMecz69V0VT3ww9jouwiPqQj08QA2qBiAvoXv912/orcZJTqOJ5LDb/ETOQlq4ym0yW8svIlEOp7fKrKFTv9SdLvgKH5G7wb/geRnORwoD+Qdh2k4xs8nvaIMsimw39TAIxtHIMI8wM2mhPrIQg9BubGzS2+9uroYJsqkGLQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tvVVbNefCPFMTdGGhsli2wkZF+/jkHIH2tmD6Yz6iMY=; b=fxzuOeUiwgDBbVzXm5371hWDaeE1Z+l2UPA2XkOG9YPiCwLhUfaQVAIEu/IHBU9z4jrW8UZSSOOinumvnX/VdFcJSuIAgQcsd5S5DVGqOWEqpqw8dCeX1cGAYoAzxP70Bt/P4hRybuXRVjH9iqnTObPl8HKLJSj/nMK8rkFSxWXMyUUHwQjrmPOpVr5GYuwVQymMDD27o/ooXZZxj4Ynlwv+DtnbB+nKRx3uln9Gk9V7LBzlJ9Q/CBWSJCxT6krGN540d3BPKrXPN/hGJIAfR7YlUVmJiRenOfJw/2d4ln6DKfxvbJwhKSupQ2MQrPkS+VmwyUi4pGN//OeNMBPlzQ== Received: from TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:252::12) by OSZP286MB2160.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:189::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.17; Sun, 13 Nov 2022 15:52:43 +0000 Received: from TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM ([fe80::38d3:c4eb:fa2c:3953]) by TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM ([fe80::38d3:c4eb:fa2c:3953%7]) with mapi id 15.20.5813.017; Sun, 13 Nov 2022 15:52:43 +0000 Message-ID: Date: Sun, 13 Nov 2022 23:52:34 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 To: Arend Van Spriel , Andy Green Cc: franky.lin@broadcom.com, linux-wireless@vger.kernel.org References: <08416710-655a-c87c-a599-3fe2563f7de4@warmcat.com> <18470a1e910.279b.9b12b7fc0a3841636cfb5e919b41b954@broadcom.com> From: Shengyu Qu Subject: Re: AP6275 / bcm43752 pcie on mainline brcmf In-Reply-To: <18470a1e910.279b.9b12b7fc0a3841636cfb5e919b41b954@broadcom.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-TMN: [/UXbVYOIBtMLtGfY0WBB3ju/lQJ5S95q] X-ClientProxiedBy: SI2PR04CA0006.apcprd04.prod.outlook.com (2603:1096:4:197::13) To TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:252::12) X-Microsoft-Original-Message-ID: <2a2b9f47-1308-54f2-1413-2f1deedf6e5f@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TY3P286MB2611:EE_|OSZP286MB2160:EE_ X-MS-Office365-Filtering-Correlation-Id: eb9ef90b-afc3-47d3-627d-08dac58f18ba X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: f5NkLddLZMkmGHEcKHeEQuEswr/91xnz195lv0AV1+NgbYjFezQ6eEon7j3z8GJYgdfcEvLYOnmU4wi4F/1AOEn5tVH6Mj9OnFWVHtzD88m7HLZrBdABLJuYMu5oYJOtnH2OMZrdXCqp+KnvGB1NBd6tucVmYHWoofpW92HYyjTFUo+pcRyobdEEcGE6uT0wSThtttdKEoZySLMGOl/TAktJr6VZDpw1umK11QwxdhAxXAFHPhbO5kQevYNQJO7bHsQfAlzh7pdErHsaTloQIKqsUV18sIp0yd7vYKqYT8ATkwPxhdDvV/kZHd4i4/LcdAzeGw6KJnaG1yVCnT4jA1WYjc8Lc1rqE2xU9Xza6xdALoxjhIgC2i7WpIwN6DZsQs6Mf4BFYnXK5H4dwMRUzghwFrni9NkgQU4+RyM8US5OkVTqX7xQtNI/h/gwwvHEk7eQs/lMmlc4H/HtPQ3vWM4pBkkcSPIiqeEU7PoSeyiNMeqJrffmvvRS4cIXOdNr6Sg9fWJCibjVbeV6tgsviD3q05oJqsPo2vIPm8DQxkBdtkuPWY3+NoTvhvNpImMPa060DUZSAy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1XTzlkbE5EaXd5OUYwUXVDdUpwbHFQUE5hekhibWIvUHV5a3ln?= =?utf-8?B?bDdDR2J4c1pkRy84SEZML3VPODBXZUtra3FabEFMRVhxNUdRY3JGclRBPT0=?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: eb9ef90b-afc3-47d3-627d-08dac58f18ba X-MS-Exchange-CrossTenant-AuthSource: TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Nov 2022 15:52:43.2217 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSZP286MB2160 X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_MUA_MOZILLA, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=no 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 在 2022/11/13 18:56, Arend Van Spriel 写道: > On November 13, 2022 10:03:11 AM Andy Green wrote: > >> On 11/13/22 08:26, Shengyu Qu wrote: >> >>> Hello, I'm facing the same problem on sdio version of AP6275 module >>> in mainline kernel. But I found a very old version from here could >>> work with mainline brcmfmac driver. >>> Link: https://bbs.t-firefly.com/forum.php?mod=viewthread&tid=3107 >> >> Thanks for the info. >> >> The firmware on the firefly thread doesn't seem to have a CLM blob that >> the mainline driver wants, just two types of the ~900KB main firmware >> for AP mode support or not. > > A separate CLM blob may not be necessary when it is built-in in > firmware which can be overloaded by separate blob, but in that case it > is optional. > >> It also doesn't have _sdio or _pcie in the filenames... I tried it but >> although it's different in what it read after downloading NVRAM >> >> [    3.775602] brcmfmac: brcmf_pcie_download_fw_nvram: sharedram_addr >> 0xfa2c05d3 >> >> (the rockchip SDK firmware says 0xfa1a05e5) >> >> it still times it out a few seconds later as unresponsive after the fw >> load... maybe it is for SDIO only, or the lack of CLM, present in the >> Rockchip fw, means it won't get anywhere. > > That sharedram_addr looks wrong. Probably the firmware is not booting > for some reason. Can you provide a URL where I can download the > rockchip firmware? My internet search skills are lacking. > That error report happens when using sdio version firmware for pcie card. If you want a new version of rockchip firmware, check this: https://gitlab.com/rk3588_linux/linux/external/rkwifibt/-/tree/linux-5.10/firmware/broadcom Currently seems only firmware from firefly bbs above works with SDIO version and mainline now. And no known version PCIE firmware can work with mainline driver. >> >>> Besides who I should ask to make proper firmware for it into >>> linux-firmware repo? >> >> It would also be great to hear if the PCIe firmware from Rockchip aimed >> at the OOT driver was definitively incompatible with the mainline driver >> and we have to find a solution for that from Broadcom, or it is expected >> to basically work.  I realize it might not be easy to get an answer >> internally but this chipset is likely to appear in more RK3588 SBCs soon >> since it's the one on the evb. > > Right now I don't have enough information to comment on this. Besides, could you upload the firmware that works with mainline driver to linux-firmware repo? > > Regards, > Arend > >