Qualcomm RB3 Gen2 WiFi firmware pull
Hello,
I'm planning to send the following pull request to linux-firmware, adding WiFi DSP firmware for the RB3 Gen2 board. However before doing that I wanted to check if it's fine with all affected maintainers.
Qualcomm RB3 Gen2 board resets if it's used with the existing WCN6750 firmware, most likely because of the differences in the TZ setup. This pull request adds firmware specific to the qcm6490 / qcs6490 SoC family.
@Kalle, I understand that you cannot and won't fully support this firmware set. As a preparation to adding these files I moved existing files to the sc7280/ subdir and pil-squashed them. It is a generic preference to use a single MBN file instead of MDT + Bnn files. The mdt_loader detects the format without using the extension, handles the differences internally and doesn't require any changes to the driver or to the DT. Could you please ack such a change?
@Bjorn, @Konrad in the past we have pushed all WPSS / WiFi firmware to ath10k and ath11k even if gets executed on the host. I should have caught this while reviewing DT changes. This branch uses firmware name that isn't compatible with the existing DT files. Would you insist on adding compatibility symlink or we'd better fix the DT files?
---
The following changes since commit 4a0367b33aeaa7fe1255a920d0e39f825b6985c1:
Merge branch 'rtl8852b' into 'main' (2024-09-11 11:00:41 +0000)
are available in the Git repository at:
https://gitlab.com/lumag/linux-firmware rb3gen2-wpss
for you to fetch changes up to fb8c67987c89b6f33fb787dfc6ff6e5e0f317f6d:
ath11k: add device-specific firmware for QCM6490 boards (2024-09-12 11:58:57 +0300)
----------------------------------------------------------------
Dmitry Baryshkov (2):
ath11k: move WCN6750 firmware to the device-specific subdir
ath11k: add device-specific firmware for QCM6490 boards
WHENCE | 18 ++++++++----------
ath11k/WCN6750/hw1.0/qcm6490/wpss.mbn | Bin 0 -> 7734064 bytes
ath11k/WCN6750/hw1.0/{wpss.b04 => sc7280/wpss.mbn} | Bin 5819999 -> 7463728 bytes
ath11k/WCN6750/hw1.0/wpss.b00 | Bin 340 -> 0 bytes
ath11k/WCN6750/hw1.0/wpss.b01 | Bin 6848 -> 0 bytes
ath11k/WCN6750/hw1.0/wpss.b02 | Bin 10300 -> 0 bytes
ath11k/WCN6750/hw1.0/wpss.b03 | Bin 4096 -> 0 bytes
ath11k/WCN6750/hw1.0/wpss.b05 | Bin 164332 -> 0 bytes
ath11k/WCN6750/hw1.0/wpss.b06 | Bin 266684 -> 0 bytes
ath11k/WCN6750/hw1.0/wpss.b07 | Bin 1176368 -> 0 bytes
ath11k/WCN6750/hw1.0/wpss.b08 | 0
ath11k/WCN6750/hw1.0/wpss.mdt | Bin 7188 -> 0 bytes
12 files changed, 8 insertions(+), 10 deletions(-)
create mode 100644 ath11k/WCN6750/hw1.0/qcm6490/wpss.mbn
rename ath11k/WCN6750/hw1.0/{wpss.b04 => sc7280/wpss.mbn} (77%)
delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b00
delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b01
delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b02
delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b03
delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b05
delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b06
delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b07
delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b08
delete mode 100644 ath11k/WCN6750/hw1.0/wpss.mdtQuoted 10 lines · Dmitry Baryshkov
Hello,
I'm planning to send the following pull request to linux-firmware, adding WiFi DSP firmware for the RB3 Gen2 board. However before doing that I wanted to check if it's fine with all affected maintainers.
Qualcomm RB3 Gen2 board resets if it's used with the existing WCN6750 firmware, most likely because of the differences in the TZ setup. This pull request adds firmware specific to the qcm6490 / qcs6490 SoC family.
Given that this firmware runs on the SoC, isn't it device specific? Does it make sense to carry this under ath11k/, when it's expected to have the same form and distribution as the other remoteproc firmware?
Quoted 8 lines
@Kalle, I understand that you cannot and won't fully support this firmware set. As a preparation to adding these files I moved existing files to the sc7280/ subdir and pil-squashed them. It is a generic preference to use a single MBN file instead of MDT + Bnn files. The
mdt_loaderdetects the format without using the extension, handles the differences internally and doesn't require any changes to the driver or to the DT. Could you please ack such a change?
I much prefer that we switch this to the single-file version, so I'm onboard with this.
Quoted 7 lines
@Bjorn, @Konrad in the past we have pushed all WPSS / WiFi firmware to ath10k and ath11k even if gets executed on the host. I should have caught this while reviewing DT changes. This branch uses firmware name that isn't compatible with the existing DT files. Would you insist on adding compatibility symlink or we'd better fix the DT files?
I think we have a limited user base of sc7280-chrome-common, so we should be able to fix up the DeviceTree, and avoid the symlink.
But I'd prefer Doug's ack on that.
Quoted 14 lines
---
The following changes since commit
4a0367b33aeaa7fe1255a920d0e39f825b6985c1:Merge branch 'rtl8852b' into 'main' (2024-09-11 11:00:41 +0000)
are available in the Git repository at:
https://gitlab.com/lumag/linux-firmware rb3gen2-wpss
for you to fetch changes up to
fb8c67987c89b6f33fb787dfc6ff6e5e0f317f6d:ath11k: add device-specific firmware for QCM6490 boards (2024-09-12 11:58:57 +0300)
Quoted 7 lines
----------------------------------------------------------------
Dmitry Baryshkov (2):
ath11k: move WCN6750 firmware to the device-specific subdir
ath11k: add device-specific firmware for QCM6490 boardsWHENCE | 18 ++++++++---------- ath11k/WCN6750/hw1.0/qcm6490/wpss.mbn | Bin 0 -> 7734064 bytes
qcm or qcs?
Regards,
Bjorn
Quoted 22 lines
ath11k/WCN6750/hw1.0/{wpss.b04 => sc7280/wpss.mbn} | Bin 5819999 -> 7463728 bytes
ath11k/WCN6750/hw1.0/wpss.b00 | Bin 340 -> 0 bytes
ath11k/WCN6750/hw1.0/wpss.b01 | Bin 6848 -> 0 bytes
ath11k/WCN6750/hw1.0/wpss.b02 | Bin 10300 -> 0 bytes
ath11k/WCN6750/hw1.0/wpss.b03 | Bin 4096 -> 0 bytes
ath11k/WCN6750/hw1.0/wpss.b05 | Bin 164332 -> 0 bytes
ath11k/WCN6750/hw1.0/wpss.b06 | Bin 266684 -> 0 bytes
ath11k/WCN6750/hw1.0/wpss.b07 | Bin 1176368 -> 0 bytes
ath11k/WCN6750/hw1.0/wpss.b08 | 0
ath11k/WCN6750/hw1.0/wpss.mdt | Bin 7188 -> 0 bytes
12 files changed, 8 insertions(+), 10 deletions(-)
create mode 100644 ath11k/WCN6750/hw1.0/qcm6490/wpss.mbn
rename ath11k/WCN6750/hw1.0/{wpss.b04 => sc7280/wpss.mbn} (77%)
delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b00
delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b01
delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b02
delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b03
delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b05
delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b06
delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b07
delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b08
delete mode 100644 ath11k/WCN6750/hw1.0/wpss.mdtQuoted 8 lines · Bjorn Andersson
Quoted 6 lines · Dmitry Baryshkov
Hello,
I'm planning to send the following pull request to linux-firmware, adding WiFi DSP firmware for the RB3 Gen2 board. However before doing that I wanted to check if it's fine with all affected maintainers.
Quoted 8 lines
Quoted 4 lines
Qualcomm RB3 Gen2 board resets if it's used with the existing WCN6750 firmware, most likely because of the differences in the TZ setup. This pull request adds firmware specific to the qcm6490 / qcs6490 SoC family.
Given that this firmware runs on the SoC, isn't it device specific? Does it make sense to carry this under ath11k/, when it's expected to have the same form and distribution as the other remoteproc firmware?
This is an interesting question. I think that having all WiFi-related firmware under athNk makes sense. For example wlanmdsp.mbn files are also stored under ath10k/WCN3990/ subdirs.
So do q6 and m3 firmware files under ath11k/IPQ*/.
Quoted 21 lines
Quoted 9 lines
@Kalle, I understand that you cannot and won't fully support this firmware set. As a preparation to adding these files I moved existing files to the sc7280/ subdir and pil-squashed them. It is a generic preference to use a single MBN file instead of MDT + Bnn files. The
mdt_loaderdetects the format without using the extension, handles the differences internally and doesn't require any changes to the driver or to the DT. Could you please ack such a change?I much prefer that we switch this to the single-file version, so I'm onboard with this.
Quoted 7 lines
@Bjorn, @Konrad in the past we have pushed all WPSS / WiFi firmware to ath10k and ath11k even if gets executed on the host. I should have caught this while reviewing DT changes. This branch uses firmware name that isn't compatible with the existing DT files. Would you insist on adding compatibility symlink or we'd better fix the DT files?
Quoted 2 lines
I think we have a limited user base of sc7280-chrome-common, so we should be able to fix up the DeviceTree, and avoid the symlink.
I think we should keep the ath11k/WCN6750/hw1.0/wpss.mdt symlink, that's fine. I was talking about adding the qcom/qcm6490/wpss.mbn -> ath11k/WCN6750/hw1.0/wpss.mbn and the same for qcs6490 (just for the sake of existing DT files) or it's fine to fix the DT files instead and omit the symlink.
Quoted 22 lines
But I'd prefer Doug's ack on that.
Quoted 19 lines
---
The following changes since commit
4a0367b33aeaa7fe1255a920d0e39f825b6985c1:Merge branch 'rtl8852b' into 'main' (2024-09-11 11:00:41 +0000)
are available in the Git repository at:
https://gitlab.com/lumag/linux-firmware rb3gen2-wpss
for you to fetch changes up to
fb8c67987c89b6f33fb787dfc6ff6e5e0f317f6d:ath11k: add device-specific firmware for QCM6490 boards (2024-09-12 11:58:57 +0300)
----------------------------------------------------------------
Dmitry Baryshkov (2):
ath11k: move WCN6750 firmware to the device-specific subdir
ath11k: add device-specific firmware for QCM6490 boards
Quoted 4 lines
Quoted 2 lines
WHENCE | 18 ++++++++---------- ath11k/WCN6750/hw1.0/qcm6490/wpss.mbn | Bin 0 -> 7734064 bytesqcm or qcs?
qcm6490 as the main location, qcs6490 is symlinked via WHENCE file.
Quoted 26 lines
Regards,
BjornQuoted 22 lines
ath11k/WCN6750/hw1.0/{wpss.b04 => sc7280/wpss.mbn} | Bin 5819999 -> 7463728 bytes ath11k/WCN6750/hw1.0/wpss.b00 | Bin 340 -> 0 bytes ath11k/WCN6750/hw1.0/wpss.b01 | Bin 6848 -> 0 bytes ath11k/WCN6750/hw1.0/wpss.b02 | Bin 10300 -> 0 bytes ath11k/WCN6750/hw1.0/wpss.b03 | Bin 4096 -> 0 bytes ath11k/WCN6750/hw1.0/wpss.b05 | Bin 164332 -> 0 bytes ath11k/WCN6750/hw1.0/wpss.b06 | Bin 266684 -> 0 bytes ath11k/WCN6750/hw1.0/wpss.b07 | Bin 1176368 -> 0 bytes ath11k/WCN6750/hw1.0/wpss.b08 | 0 ath11k/WCN6750/hw1.0/wpss.mdt | Bin 7188 -> 0 bytes 12 files changed, 8 insertions(+), 10 deletions(-) create mode 100644 ath11k/WCN6750/hw1.0/qcm6490/wpss.mbn rename ath11k/WCN6750/hw1.0/{wpss.b04 => sc7280/wpss.mbn} (77%) delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b00 delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b01 delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b02 delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b03 delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b05 delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b06 delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b07 delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b08 delete mode 100644 ath11k/WCN6750/hw1.0/wpss.mdt
Signature · 2 lines
With best wishes Dmitry
Quoted 15 lines · Dmitry Baryshkov
Quoted 13 lines · Bjorn Andersson
Quoted 10 lines · Dmitry Baryshkov
Hello,
I'm planning to send the following pull request to linux-firmware, adding WiFi DSP firmware for the RB3 Gen2 board. However before doing that I wanted to check if it's fine with all affected maintainers.
Qualcomm RB3 Gen2 board resets if it's used with the existing WCN6750 firmware, most likely because of the differences in the TZ setup. This pull request adds firmware specific to the qcm6490 / qcs6490 SoC family.
Quoted 9 lines
Quoted 3 lines
Given that this firmware runs on the SoC, isn't it device specific? Does it make sense to carry this under ath11k/, when it's expected to have the same form and distribution as the other remoteproc firmware?
This is an interesting question. I think that having all WiFi-related firmware under athNk makes sense. For example wlanmdsp.mbn files are also stored under ath10k/WCN3990/ subdirs.
So do q6 and m3 firmware files under ath11k/IPQ*/.
I was under the impression that wlanmdsp.mbn (as being run in a protection domain) had lower security/signature requirements than the wpss.mbn.
If wpss.mbn is not vendor-signed (in a real product...) then I have no concerns with keeping it under ath11k/
Quoted 21 lines
Quoted 21 lines
Quoted 9 lines
@Kalle, I understand that you cannot and won't fully support this firmware set. As a preparation to adding these files I moved existing files to the sc7280/ subdir and pil-squashed them. It is a generic preference to use a single MBN file instead of MDT + Bnn files. The
mdt_loaderdetects the format without using the extension, handles the differences internally and doesn't require any changes to the driver or to the DT. Could you please ack such a change?I much prefer that we switch this to the single-file version, so I'm onboard with this.
Quoted 7 lines
@Bjorn, @Konrad in the past we have pushed all WPSS / WiFi firmware to ath10k and ath11k even if gets executed on the host. I should have caught this while reviewing DT changes. This branch uses firmware name that isn't compatible with the existing DT files. Would you insist on adding compatibility symlink or we'd better fix the DT files?
Quoted 9 lines
Quoted 2 lines
I think we have a limited user base of sc7280-chrome-common, so we should be able to fix up the DeviceTree, and avoid the symlink.
I think we should keep the ath11k/WCN6750/hw1.0/wpss.mdt symlink, that's fine. I was talking about adding the qcom/qcm6490/wpss.mbn -> ath11k/WCN6750/hw1.0/wpss.mbn and the same for qcs6490 (just for the sake of existing DT files) or it's fine to fix the DT files instead and omit the symlink.
Perhaps I'm mistaken, but does WiFi work on those boards today? I'm inclined to just have us fix up the DT and avoid sprinkling the symlinks all over the place.
I guess this shows that I need to start holding back on future firmware-name entries until the linux-firmware structure is known.
Quoted 22 lines
Quoted 22 lines
But I'd prefer Doug's ack on that.
Quoted 19 lines
---
The following changes since commit
4a0367b33aeaa7fe1255a920d0e39f825b6985c1:Merge branch 'rtl8852b' into 'main' (2024-09-11 11:00:41 +0000)
are available in the Git repository at:
https://gitlab.com/lumag/linux-firmware rb3gen2-wpss
for you to fetch changes up to
fb8c67987c89b6f33fb787dfc6ff6e5e0f317f6d:ath11k: add device-specific firmware for QCM6490 boards (2024-09-12 11:58:57 +0300)
----------------------------------------------------------------
Dmitry Baryshkov (2):
ath11k: move WCN6750 firmware to the device-specific subdir
ath11k: add device-specific firmware for QCM6490 boards
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
WHENCE | 18 ++++++++---------- ath11k/WCN6750/hw1.0/qcm6490/wpss.mbn | Bin 0 -> 7734064 bytesqcm or qcs?
qcm6490 as the main location, qcs6490 is symlinked via WHENCE file.
Ok!
Regards,
Bjorn
Quoted 33 lines
Quoted 26 lines
Regards,
BjornQuoted 22 lines
ath11k/WCN6750/hw1.0/{wpss.b04 => sc7280/wpss.mbn} | Bin 5819999 -> 7463728 bytes ath11k/WCN6750/hw1.0/wpss.b00 | Bin 340 -> 0 bytes ath11k/WCN6750/hw1.0/wpss.b01 | Bin 6848 -> 0 bytes ath11k/WCN6750/hw1.0/wpss.b02 | Bin 10300 -> 0 bytes ath11k/WCN6750/hw1.0/wpss.b03 | Bin 4096 -> 0 bytes ath11k/WCN6750/hw1.0/wpss.b05 | Bin 164332 -> 0 bytes ath11k/WCN6750/hw1.0/wpss.b06 | Bin 266684 -> 0 bytes ath11k/WCN6750/hw1.0/wpss.b07 | Bin 1176368 -> 0 bytes ath11k/WCN6750/hw1.0/wpss.b08 | 0 ath11k/WCN6750/hw1.0/wpss.mdt | Bin 7188 -> 0 bytes 12 files changed, 8 insertions(+), 10 deletions(-) create mode 100644 ath11k/WCN6750/hw1.0/qcm6490/wpss.mbn rename ath11k/WCN6750/hw1.0/{wpss.b04 => sc7280/wpss.mbn} (77%) delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b00 delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b01 delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b02 delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b03 delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b05 delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b06 delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b07 delete mode 100644 ath11k/WCN6750/hw1.0/wpss.b08 delete mode 100644 ath11k/WCN6750/hw1.0/wpss.mdtSignature · 2 lines
With best wishes Dmitry
Hi,
Quoted 18 lines · Bjorn Andersson
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
@Bjorn, @Konrad in the past we have pushed all WPSS / WiFi firmware to ath10k and ath11k even if gets executed on the host. I should have caught this while reviewing DT changes. This branch uses firmware name that isn't compatible with the existing DT files. Would you insist on adding compatibility symlink or we'd better fix the DT files?
Quoted 9 lines
Quoted 2 lines
I think we have a limited user base of sc7280-chrome-common, so we should be able to fix up the DeviceTree, and avoid the symlink.
I think we should keep the ath11k/WCN6750/hw1.0/wpss.mdt symlink, that's fine. I was talking about adding the qcom/qcm6490/wpss.mbn -> ath11k/WCN6750/hw1.0/wpss.mbn and the same for qcs6490 (just for the sake of existing DT files) or it's fine to fix the DT files instead and omit the symlink.
Quoted 10 lines
Perhaps I'm mistaken, but does WiFi work on those boards today? I'm inclined to just have us fix up the DT and avoid sprinkling the symlinks all over the place.
I guess this shows that I need to start holding back on future firmware-name entries until the linux-firmware structure is known.
Quoted 2 lines
Quoted 2 lines
But I'd prefer Doug's ack on that.
As far as I know you can count the number of users of sc7280 Chrome taking your shoes off. It might just be Abhniav and Jessica at Qualcomm. I think they do care about WiFi but they could probably handle a device tree fixup as long as you let them know. Certainly there aren't any devices in the field.
-Doug
Quoted 27 lines · Bjorn Andersson
Quoted 15 lines · Dmitry Baryshkov
Quoted 13 lines · Bjorn Andersson
Quoted 10 lines · Dmitry Baryshkov
Hello,
I'm planning to send the following pull request to linux-firmware, adding WiFi DSP firmware for the RB3 Gen2 board. However before doing that I wanted to check if it's fine with all affected maintainers.
Qualcomm RB3 Gen2 board resets if it's used with the existing WCN6750 firmware, most likely because of the differences in the TZ setup. This pull request adds firmware specific to the qcm6490 / qcs6490 SoC family.
Quoted 9 lines
Quoted 3 lines
Given that this firmware runs on the SoC, isn't it device specific? Does it make sense to carry this under ath11k/, when it's expected to have the same form and distribution as the other remoteproc firmware?
This is an interesting question. I think that having all WiFi-related firmware under athNk makes sense. For example wlanmdsp.mbn files are also stored under ath10k/WCN3990/ subdirs.
So do q6 and m3 firmware files under ath11k/IPQ*/.
Quoted 6 lines
I was under the impression that wlanmdsp.mbn (as being run in a protection domain) had lower
security/signaturerequirements than the wpss.mbn.If wpss.mbn is not vendor-signed (in a real product...) then I have no concerns with keeping it under ath11k/
I think both are vendor-signed. On Pixel phones wlanmdsp.mbn is signed with the Google certificates:
Certificate: C=US,STATEORPROVINCENAME=CA,L=Mountain View,O=Google\, Inc.,OU=Android,CN=PixelRoot,[email protected]
Certificate: C=US,STATEORPROVINCENAME=CA,L=Mountain
View,OU=Android,O=Google Inc.,CN=Pixel2018CA
Quoted 32 lines
Quoted 22 lines
Quoted 22 lines
Quoted 10 lines
@Kalle, I understand that you cannot and won't fully support this firmware set. As a preparation to adding these files I moved existing files to the sc7280/ subdir and pil-squashed them. It is a generic preference to use a single MBN file instead of MDT + Bnn files. The
mdt_loaderdetects the format without using the extension, handles the differences internally and doesn't require any changes to the driver or to the DT. Could you please ack such a change?I much prefer that we switch this to the single-file version, so I'm onboard with this.
Quoted 7 lines
@Bjorn, @Konrad in the past we have pushed all WPSS / WiFi firmware to ath10k and ath11k even if gets executed on the host. I should have caught this while reviewing DT changes. This branch uses firmware name that isn't compatible with the existing DT files. Would you insist on adding compatibility symlink or we'd better fix the DT files?
Quoted 9 lines
Quoted 2 lines
I think we have a limited user base of sc7280-chrome-common, so we should be able to fix up the DeviceTree, and avoid the symlink.
I think we should keep the ath11k/WCN6750/hw1.0/wpss.mdt symlink, that's fine. I was talking about adding the qcom/qcm6490/wpss.mbn -> ath11k/WCN6750/hw1.0/wpss.mbn and the same for qcs6490 (just for the sake of existing DT files) or it's fine to fix the DT files instead and omit the symlink.
Quoted 7 lines
Perhaps I'm mistaken, but does WiFi work on those boards today? I'm inclined to just have us fix up the DT and avoid sprinkling the symlinks all over the place.
I guess this shows that I need to start holding back on future firmware-name entries until the linux-firmware structure is known.
Maybe just for the cases where we don't have established practice.
--
With best wishes
Dmitry