Skip to contentSkip to conversation

ath10k-firmware: QCA9980 hw2.0: add ASRock G10 specific BDFs

DISCUSSION Christian Lamparter 2 participants 5 messages Apr 10, 2020 – Jan 21, 2022 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore
#0 lore raw

Hi,

this is a set of board.bin files for the ASRock G10, which I wish to be added to the ath10k-firmware repository.

As per the current "Submitting board files" guidelines [1]:

* description for what hardware this is:
- it is a IPQ8064 based board with
- one QCA9980 radio is used as 2.4 GHz radio
- one QCA9980 radio is used as 5 GHz radio

* origin of the board file (did you create it yourself or where you downloaded all files were extracted from official vendor firmware which was on the device.

* ids to be used with the board file (ATH10K_BD_IE_BOARD_NAME in ath10k)
- qca9980 hw2.0
+ bus=pci,bmi-chip-id=1,bmi-board-id=1,variant=ASRock-G10
+ bus=pci,bmi-chip-id=1,bmi-board-id=2,variant=ASRock-G10
* md5sum of each new board file to add

ae069744baeebfd6861e8080a92439ca bus=pci,bmi-chip-id=1,bmi-board-id=1,variant=ASRock-G10 9e196846841a186e61ea208cc873384c bus=pci,bmi-chip-id=1,bmi-board-id=2,variant=ASRock-G10

Best wishes
Christian Lamparter

[1] <https://wireless.wiki.kernel.org/en/users/drivers/ath10k/boardfiles>

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#1 lore raw
Quoted 13 lines · Christian Lamparter

this is a set of board.bin files for the ASRock G10, which I wish to be added to the ath10k-firmware repository.

As per the current "Submitting board files" guidelines [1]:

* description for what hardware this is:
- it is a IPQ8064 based board with
- one QCA9980 radio is used as 2.4 GHz radio
- one QCA9980 radio is used as 5 GHz radio

* origin of the board file (did you create it yourself or where you downloaded all files were extracted from official vendor firmware which was on the device.

Quoted 8 lines

* ids to be used with the board file (ATH10K_BD_IE_BOARD_NAME in ath10k)
- qca9980 hw2.0
+ bus=pci,bmi-chip-id=1,bmi-board-id=1,variant=ASRock-G10
+ bus=pci,bmi-chip-id=1,bmi-board-id=2,variant=ASRock-G10
* md5sum of each new board file to add

ae069744baeebfd6861e8080a92439ca bus=pci,bmi-chip-id=1,bmi-board-id=1,variant=ASRock-G10 9e196846841a186e61ea208cc873384c bus=pci,bmi-chip-id=1,bmi-board-id=2,variant=ASRock-G10

There is no QCA9880 directory in ath10k-firmware, do you mean this should be added to QCA988X/hw2.0/board-2.bin?

Signature · 8 lines
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
#2 lore raw

Hi Kalle,

Quoted 21 lines · Kalle Valo
Quoted 19 lines · Christian Lamparter

this is a set of board.bin files for the ASRock G10, which I wish to be added to the ath10k-firmware repository.

As per the current "Submitting board files" guidelines [1]:

* description for what hardware this is:
- it is a IPQ8064 based board with
- one QCA9980 radio is used as 2.4 GHz radio
- one QCA9980 radio is used as 5 GHz radio

* origin of the board file (did you create it yourself or where you downloaded all files were extracted from official vendor firmware which was on the device.

* ids to be used with the board file (ATH10K_BD_IE_BOARD_NAME in ath10k)
- qca9980 hw2.0
+ bus=pci,bmi-chip-id=1,bmi-board-id=1,variant=ASRock-G10
+ bus=pci,bmi-chip-id=1,bmi-board-id=2,variant=ASRock-G10
* md5sum of each new board file to add

Quoted 5 lines
Quoted 2 lines

ae069744baeebfd6861e8080a92439ca bus=pci,bmi-chip-id=1,bmi-board-id=1,variant=ASRock-G10 9e196846841a186e61ea208cc873384c bus=pci,bmi-chip-id=1,bmi-board-id=2,variant=ASRock-G10

There is no QCA9880 directory in ath10k-firmware, do you mean this should be added to QCA988X/hw2.0/board-2.bin?

It's a 9980 chip. This was 9984 predecessor.
^ = Watch out for that 9! <https://www.qualcomm.com/products/qca9980>

It would belong to the 99X0 directory of your ath10k-firmware repo:
https://github.com/kvalo/ath10k-firmware/tree/master/QCA99X0/hw2.0

But there's one issue: there is no v2 board-2.bin in there yet.

However the codeaurora's ath10k-firmware repo provides the board-2.bin here:
https://source.codeaurora.org/quic/qsdk/oss/firmware/ath10k-firmware/plain/ath10k/QCA99X0/hw2.0/board-2.bin

(this also includes the reference bmi-board-id for 2, 4 and 6. I guess this would help other people as well):
https://source.codeaurora.org/quic/qsdk/oss/firmware/ath10k-firmware/plain/ath10k/QCA99X0/hw2.0

So could you please add that board-2.bin from codeaurora and add the ASRock G10 specific variant to it? That would be sweet.

Thank you,
Christian

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#3 lore raw
Quoted 24 lines · Christian Lamparter

Hi Kalle,

Quoted 21 lines · Kalle Valo
Quoted 19 lines · Christian Lamparter

this is a set of board.bin files for the ASRock G10, which I wish to be added to the ath10k-firmware repository.

As per the current "Submitting board files" guidelines [1]:

* description for what hardware this is:
- it is a IPQ8064 based board with
- one QCA9980 radio is used as 2.4 GHz radio
- one QCA9980 radio is used as 5 GHz radio

* origin of the board file (did you create it yourself or where you downloaded all files were extracted from official vendor firmware which was on the device.

* ids to be used with the board file (ATH10K_BD_IE_BOARD_NAME in ath10k)
- qca9980 hw2.0
+ bus=pci,bmi-chip-id=1,bmi-board-id=1,variant=ASRock-G10
+ bus=pci,bmi-chip-id=1,bmi-board-id=2,variant=ASRock-G10
* md5sum of each new board file to add

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

ae069744baeebfd6861e8080a92439ca bus=pci,bmi-chip-id=1,bmi-board-id=1,variant=ASRock-G10 9e196846841a186e61ea208cc873384c bus=pci,bmi-chip-id=1,bmi-board-id=2,variant=ASRock-G10

There is no QCA9880 directory in ath10k-firmware, do you mean this should be added to QCA988X/hw2.0/board-2.bin?

It's a 9980 chip. This was 9984 predecessor.
^ = Watch out for that 9! <https://www.qualcomm.com/products/qca9980>

Good that you pointed out that 9, I missed it.

Quoted 2 lines

It would belong to the 99X0 directory of your ath10k-firmware repo:
https://github.com/kvalo/ath10k-firmware/tree/master/QCA99X0/hw2.0

Ok, then I would prefer that the subject starts with:

ath10k-firmware: QCA99X0 hw2.0: ...

Ie. I can directly derive the directory name from the subject. But no need to resend anything, this is just for the future.

Quoted 10 lines

But there's one issue: there is no v2 board-2.bin in there yet.

However the codeaurora's ath10k-firmware repo provides the board-2.bin here:
https://source.codeaurora.org/quic/qsdk/oss/firmware/ath10k-firmware/plain/ath10k/QCA99X0/hw2.0/board-2.bin

(this also includes the reference bmi-board-id for 2, 4 and 6. I guess this would help other people as well):
https://source.codeaurora.org/quic/qsdk/oss/firmware/ath10k-firmware/plain/ath10k/QCA99X0/hw2.0

So could you please add that board-2.bin from codeaurora

Done:

https://github.com/kvalo/ath10k-firmware/commit/2d8566686428430ebedfaea47e3782ac25901408

Quoted 1 line

and add the ASRock G10 specific variant to it? That would be sweet.

I'll do that next. Thanks for the thorough instructions, I appreciate it a lot.

Signature · 8 lines
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
#4 lore raw
In reply to Christian Lamparter
Quoted 15 lines · Christian Lamparter

Hi,

this is a set of board.bin files for the ASRock G10, which I wish to be added to the ath10k-firmware repository.

As per the current "Submitting board files" guidelines [1]:

* description for what hardware this is:
- it is a IPQ8064 based board with
- one QCA9980 radio is used as 2.4 GHz radio
- one QCA9980 radio is used as 5 GHz radio

* origin of the board file (did you create it yourself or where you downloaded all files were extracted from official vendor firmware which was on the device.

Quoted 8 lines

* ids to be used with the board file (ATH10K_BD_IE_BOARD_NAME in ath10k)
- qca9980 hw2.0
+ bus=pci,bmi-chip-id=1,bmi-board-id=1,variant=ASRock-G10
+ bus=pci,bmi-chip-id=1,bmi-board-id=2,variant=ASRock-G10
* md5sum of each new board file to add

ae069744baeebfd6861e8080a92439ca bus=pci,bmi-chip-id=1,bmi-board-id=1,variant=ASRock-G10 9e196846841a186e61ea208cc873384c bus=pci,bmi-chip-id=1,bmi-board-id=2,variant=ASRock-G10

Thanks, added to QCA99X0/hw2.0/board-2.bin:

New:
bus=pci,bmi-chip-id=1,bmi-board-id=1,variant=ASRock-G10 bus=pci,bmi-chip-id=1,bmi-board-id=2,variant=ASRock-G10

Changed:

Deleted:

2 board image(s) added, 0 changed, 0 deleted, 13 in total

https://github.com/kvalo/ath10k-firmware/commit/e404444dfc0baf7d0fcde21ab8ec333608c9960c

Signature · 8 lines
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k