From patchwork Thu Apr 29 07:25:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jian-Hong Pan X-Patchwork-Id: 12230597 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07ABAC43460 for ; Thu, 29 Apr 2021 07:27:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BED7C6143D for ; Thu, 29 Apr 2021 07:27:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239347AbhD2H2h (ORCPT ); Thu, 29 Apr 2021 03:28:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239229AbhD2H2f (ORCPT ); Thu, 29 Apr 2021 03:28:35 -0400 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99C79C06138C for ; Thu, 29 Apr 2021 00:27:48 -0700 (PDT) Received: by mail-pj1-x1034.google.com with SMTP id gc22-20020a17090b3116b02901558435aec1so6765173pjb.4 for ; Thu, 29 Apr 2021 00:27:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=endlessos.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lG7fN/8t7j6+iLVQDFN6M3QfpChMwMgL2bDEqLa02Qg=; b=o60cTcFzKjZX8No9QlOUH0ywJR5DGB2ckobVxKGj1L3r3yyfwakt0O58LTrx85TMaW ALH1hf0SggjV3NhjAH7Rx2OVX25cLd+rmewdhEKcfD7X+aH1uquihIKdlsB06SM1jvQ+ E7EIOPcGKx78e2lMjav+mliBO7ne05IjYkIQ02cCkNBleG2PSqrKOdtPgEXw9MohfzPG /08g4DLCOlEl+7kd1eIV3DivNXcZERo4zcmt4Z+ajuytA/VM0+zuIXgq2/4IusAmUtj8 a99w+D6UTZFgkScfcqdNddLqV75Gi65qbPyG4JNHichuA5jbPR+iwuL63SiORK4wuc0g 7LwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lG7fN/8t7j6+iLVQDFN6M3QfpChMwMgL2bDEqLa02Qg=; b=LnRpGYnyKlrooEpTkbhOQ01XmP2GWyMqUlNibWAAMJASmyH3/cqKWefcmZGsB5sFBH IxjuvyBDGKV5q6Rl9LsTJBnHnnukM3hjgh6iIcvtQdHjV/1+kM/s7ci0JSVLKAZ6G1gT RPHnm0/DNFI/X2t962IY5n05rQu1IGNCBl40Sljm1zyCWu7X/b9WUTyYxBU5bAxmG5Jr TvUTBOs45r3zpaEVkLdH5+FBDPoNCL8f/q1nKr2QiNkQRwWWzPFFo7+exx7Mg9cvuY42 oErJzHGjBTIQXBSjTYnPEDAGwO0CjHMNXledKInDoKxzOgL3GzHXlC2nToEAiE6MZBUs +OIQ== X-Gm-Message-State: AOAM533L8JjY8agRPSU1mdZ+SbWg2wuLVQviSf3eXSS90wAUZ0CgEBb1 KGR55fgImgztd4jKOSAIloWt8w== X-Google-Smtp-Source: ABdhPJx4W5jNoRZhQiC9645r/h31OFGTNwljVCcUp6NkakGEw9IMReUvVm8qBOVVaZtRC9a9uoS/5Q== X-Received: by 2002:a17:902:ec84:b029:ea:b28d:e53e with SMTP id x4-20020a170902ec84b02900eab28de53emr33378997plg.77.1619681268180; Thu, 29 Apr 2021 00:27:48 -0700 (PDT) Received: from starnight.localdomain (123-204-46-122.static.seed.net.tw. [123.204.46.122]) by smtp.googlemail.com with ESMTPSA id m9sm1674753pgt.65.2021.04.29.00.27.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Apr 2021 00:27:47 -0700 (PDT) From: Jian-Hong Pan List-Id: To: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , linux-firmware@kernel.org Cc: linux-wireless@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com, SHA-cyfmac-dev-list@infineon.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux@endlessos.org, Jian-Hong Pan Subject: [PATCH v2] brcm: Add a link to enable khadas VIM2's WiFi Date: Thu, 29 Apr 2021 15:25:03 +0800 Message-Id: <20210429072502.4350-1-jhp@endlessos.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org According to kernel message on khadas VIM2 board equipped with BCM4356: brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4356-sdio for chip BCM4356/2 usbcore: registered new interface driver brcmfmac brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac4356-sdio.khadas,vim2.txt failed with error -2 brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac4356-sdio.txt failed with error -2 System needs the NVRAM file "brcmfmac4356-sdio.khadas,vim2.txt" to enable the WiFi chip BCM4356. Found it can share with the same file "brcmfmac4356-sdio.vamrs,rock960.txt" with a soft link as "brcmfmac4356-sdio.khadas,vim2.txt". Both 2.4GHz and 5GHz WiFi are enabled with the linked config. This patch adds the link to brcmfmac4356-sdio.vamrs,rock960.txt for it. Signed-off-by: Jian-Hong Pan --- v2: Modified the commit description. WHENCE | 1 + 1 file changed, 1 insertion(+) diff --git a/WHENCE b/WHENCE index 3c29304..5773020 100644 --- a/WHENCE +++ b/WHENCE @@ -2780,6 +2780,7 @@ Link: brcm/brcmfmac43455-sdio.Raspberry\ Pi\ Foundation-Raspberry\ Pi\ Compute\ File: "brcm/brcmfmac43455-sdio.MINIX-NEO Z83-4.txt" File: "brcm/brcmfmac4356-pcie.gpd-win-pocket.txt" File: brcm/brcmfmac4356-sdio.vamrs,rock960.txt +Link: brcm/brcmfmac4356-sdio.khadas,vim2.txt -> brcmfmac4356-sdio.vamrs,rock960.txt Licence: GPLv2. See GPL-2 for details.