Skip to contentSkip to conversation

brcm: Link CM4's WiFi firmware with DMI machine name.

PATCH In review jlinton 3 participants 3 messages Apr 8, 2021 – Apr 19, 2021

lore
Share & tools
lore

jlinton

author
#0 lore raw

PATCH 1/1 brcm: Link CM4's WiFi firmware with DMI machine name.

From: Jeremy Linton <[email protected]>

The kernel when booted in ACPI mode with SMBIOS/DMI data uses the DMI data to set the machine manufacture/model.

The WiFi driver uses the machine string to select the correct firmware image. Because of this, an additional link to select the correct firmware is needed.

Cc Hans de Goede <[email protected]>
Cc Peter Robinson <[email protected]>
Cc Josh Boyer <[email protected]>
---
 WHENCE | 1 +
 1 file changed, 1 insertion(+)
WHENCE +1 -0
index aa96404..1eaee0b 100644
@@ -2723,6 +2723,7 @@ File: "brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt"
 Link: brcm/brcmfmac43455-sdio.raspberrypi,3-model-a-plus.txt -> brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt
 File: "brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt"
 Link: brcm/brcmfmac43455-sdio.Raspberry\ Pi\ Foundation-Raspberry\ Pi\ 4\ Model\ B.txt -> brcmfmac43455-sdio.raspberrypi,4-model-b.txt
+Link: brcm/brcmfmac43455-sdio.Raspberry\ Pi\ Foundation-Raspberry\ Pi\ Compute\ Module\ 4.txt -> brcmfmac43455-sdio.raspberrypi,4-model-b.txt
 File: "brcm/brcmfmac43455-sdio.MINIX-NEO Z83-4.txt"
 File: "brcm/brcmfmac4356-pcie.gpd-win-pocket.txt"
 File: brcm/brcmfmac4356-sdio.vamrs,rock960.txt
Signature · 1 line
2.29.2
Reviewed-by on v1 1/1
#1 lore raw

Hi,

Quoted 6 lines · jlinton

From: Jeremy Linton <[email protected]>

The kernel when booted in ACPI mode with SMBIOS/DMI data uses the DMI data to set the machine manufacture/model.

Quoted 8 lines

The WiFi driver uses the machine string to select the correct firmware image. Because of this, an additional link to select the correct firmware is needed.

Cc Hans de Goede <[email protected]>
Cc Peter Robinson <[email protected]>
Cc Josh Boyer <[email protected]>

Thanks, patch looks good to me:

Regards,

Hans

Quoted 17 lines
---
 WHENCE | 1 +
 1 file changed, 1 insertion(+)
WHENCE +1 -0
index aa96404..1eaee0b 100644
@@ -2723,6 +2723,7 @@ File: "brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt"
 Link: brcm/brcmfmac43455-sdio.raspberrypi,3-model-a-plus.txt -> brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt
 File: "brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt"
 Link: brcm/brcmfmac43455-sdio.Raspberry\ Pi\ Foundation-Raspberry\ Pi\ 4\ Model\ B.txt -> brcmfmac43455-sdio.raspberrypi,4-model-b.txt
+Link: brcm/brcmfmac43455-sdio.Raspberry\ Pi\ Foundation-Raspberry\ Pi\ Compute\ Module\ 4.txt -> brcmfmac43455-sdio.raspberrypi,4-model-b.txt
 File: "brcm/brcmfmac43455-sdio.MINIX-NEO Z83-4.txt"
 File: "brcm/brcmfmac4356-pcie.gpd-win-pocket.txt"
 File: brcm/brcmfmac4356-sdio.vamrs,rock960.txt
#2 lore raw

Applied and pushed out.

josh

Quoted 47 lines · Hans de Goede

Hi,

Quoted 6 lines · jlinton

From: Jeremy Linton <[email protected]>

The kernel when booted in ACPI mode with SMBIOS/DMI data uses the DMI data to set the machine manufacture/model.

Quoted 8 lines

The WiFi driver uses the machine string to select the correct firmware image. Because of this, an additional link to select the correct firmware is needed.

Cc Hans de Goede <[email protected]>
Cc Peter Robinson <[email protected]>
Cc Josh Boyer <[email protected]>

Thanks, patch looks good to me:

Regards,

Hans

Quoted 17 lines
---
 WHENCE | 1 +
 1 file changed, 1 insertion(+)
WHENCE +1 -0
index aa96404..1eaee0b 100644
@@ -2723,6 +2723,7 @@ File: "brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt"
 Link: brcm/brcmfmac43455-sdio.raspberrypi,3-model-a-plus.txt -> brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt
 File: "brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt"
 Link: brcm/brcmfmac43455-sdio.Raspberry\ Pi\ Foundation-Raspberry\ Pi\ 4\ Model\ B.txt -> brcmfmac43455-sdio.raspberrypi,4-model-b.txt
+Link: brcm/brcmfmac43455-sdio.Raspberry\ Pi\ Foundation-Raspberry\ Pi\ Compute\ Module\ 4.txt -> brcmfmac43455-sdio.raspberrypi,4-model-b.txt
 File: "brcm/brcmfmac43455-sdio.MINIX-NEO Z83-4.txt"
 File: "brcm/brcmfmac4356-pcie.gpd-win-pocket.txt"
 File: brcm/brcmfmac4356-sdio.vamrs,rock960.txt