linux-firmware.lore.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] brcm: Add a link to enable khadas VIM2's WiFi
@ 2021-04-28  8:32 Jian-Hong Pan
  2021-04-28 20:00 ` Rafał Miłecki
  0 siblings, 1 reply; 4+ messages in thread
From: Jian-Hong Pan @ 2021-04-28  8:32 UTC (permalink / raw)
  To: linux-firmware
  Cc: linux-wireless, brcm80211-dev-list.pdl, SHA-cyfmac-dev-list,
	netdev, linux-kernel, linux, Jian-Hong Pan

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. After test, found it can share with the same file
"brcmfmac4356-sdio.vamrs,rock960.txt".

This patch adds the link to brcmfmac4356-sdio.vamrs,rock960.txt for it.

Signed-off-by: Jian-Hong Pan <jhp@endlessos.org>
---
 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.
 
-- 
2.31.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] brcm: Add a link to enable khadas VIM2's WiFi
  2021-04-28  8:32 [PATCH] brcm: Add a link to enable khadas VIM2's WiFi Jian-Hong Pan
@ 2021-04-28 20:00 ` Rafał Miłecki
  2021-04-29  7:25   ` [PATCH v2] " Jian-Hong Pan
  0 siblings, 1 reply; 4+ messages in thread
From: Rafał Miłecki @ 2021-04-28 20:00 UTC (permalink / raw)
  To: Jian-Hong Pan, linux-firmware
  Cc: linux-wireless, brcm80211-dev-list.pdl, SHA-cyfmac-dev-list,
	netdev, linux-kernel, linux

On 28.04.2021 10:32, Jian-Hong Pan wrote:
> 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. After test, found it can share with the same file
> "brcmfmac4356-sdio.vamrs,rock960.txt".

Please elaborate: what test exactly?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v2] brcm: Add a link to enable khadas VIM2's WiFi
  2021-04-28 20:00 ` Rafał Miłecki
@ 2021-04-29  7:25   ` Jian-Hong Pan
  2021-05-03 13:10     ` Josh Boyer
  0 siblings, 1 reply; 4+ messages in thread
From: Jian-Hong Pan @ 2021-04-29  7:25 UTC (permalink / raw)
  To: Rafał Miłecki, linux-firmware
  Cc: linux-wireless, brcm80211-dev-list.pdl, SHA-cyfmac-dev-list,
	netdev, linux-kernel, linux, Jian-Hong Pan

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 <jhp@endlessos.org>
---
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.
 
-- 
2.31.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] brcm: Add a link to enable khadas VIM2's WiFi
  2021-04-29  7:25   ` [PATCH v2] " Jian-Hong Pan
@ 2021-05-03 13:10     ` Josh Boyer
  0 siblings, 0 replies; 4+ messages in thread
From: Josh Boyer @ 2021-05-03 13:10 UTC (permalink / raw)
  To: Jian-Hong Pan
  Cc: Rafał Miłecki, Linux Firmware, Linux Wireless,
	brcm80211-dev-list.pdl, SHA-cyfmac-dev-list, netdev,
	Linux-Kernel@Vger. Kernel. Org, linux

Applied and pushed out.

josh

On Thu, Apr 29, 2021 at 3:27 AM Jian-Hong Pan <jhp@endlessos.org> wrote:
>
> 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 <jhp@endlessos.org>
> ---
> 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.
>
> --
> 2.31.1
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-03 13:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-28  8:32 [PATCH] brcm: Add a link to enable khadas VIM2's WiFi Jian-Hong Pan
2021-04-28 20:00 ` Rafał Miłecki
2021-04-29  7:25   ` [PATCH v2] " Jian-Hong Pan
2021-05-03 13:10     ` Josh Boyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).