Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QCA9888: Board file for Kuwfi WB5G08 #56

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

grosjo
Copy link

@grosjo grosjo commented Dec 28, 2024

No description provided.

@hauke
Copy link
Member

hauke commented Jan 4, 2025

@Ansuel or @robimarko Is this looking fine?

It is related to this PR: openwrt/openwrt#17281

@grosjo
Copy link
Author

grosjo commented Jan 4, 2025

yes

@grosjo
Copy link
Author

grosjo commented Jan 5, 2025

@hauke once this PR is approved, what is the process to use the board file in my PR openwrt/openwrt#17281 ?

@grosjo grosjo changed the title QCA988x: Board file for Kuwfi WG5G08 QCA9888: Board file for Kuwfi WG5G08 Jan 5, 2025
@grosjo grosjo changed the title QCA9888: Board file for Kuwfi WG5G08 QCA9888: Board file for Kuwfi WB5G08 Jan 5, 2025
@testuser7
Copy link
Contributor

@hauke once this PR is approved, what is the process to use the board file in my PR openwrt/openwrt#17281 ?

You can then add a commit to your PR like this: https://github.com/openwrt/openwrt/pull/17254/commits

@grosjo
Copy link
Author

grosjo commented Jan 6, 2025

I still don't understand. Where should I place the board.bin file in my PR file tree to have it included ? Or are you referring to something else ?

@robimarko
Copy link
Contributor

This is not valid, its not even wrapped by ath10k-bdencoder, it just looks like plain BDF

@grosjo
Copy link
Author

grosjo commented Jan 7, 2025

This is not valid, its not even wrapped by ath10k-bdencoder, it just looks like plain BDF

This is the board.bin from the initial firmware

What should I do to make it valid ?

@robimarko
Copy link
Contributor

Yes, but its just plain BDF.

For use in OpenWrt you need to wrap it with ath10k-bdencoder

@grosjo
Copy link
Author

grosjo commented Jan 9, 2025

@robimarko Can you explain how ? No docs available here...

@testuser7
Copy link
Contributor

@grosjo ath10k-bdencoder tool: https://github.com/qca/qca-swiss-army-knife/blob/master/tools/scripts/ath10k/ath10k-bdencoder

  1. Rename your BDF to bus=pci,bmi-chip-id=0,bmi-board-id=16,variant=KuWfi-WB5G08.bin (your board-id is 16)
  2. Create board-2.json file:
    [
        {
            "names": [
                "bus=pci,bmi-chip-id=0,bmi-board-id=16,variant=KuWfi-WB5G08"
            ],
            "data": "bus=pci,bmi-chip-id=0,bmi-board-id=16,variant=KuWfi-WB5G08.bin"
        }
    ]
    
  3. Run ath10k-bdencoder -c board-2.json -o board-kuwfi_wb5g08.qca9888

@grosjo
Copy link
Author

grosjo commented Jan 9, 2025

@robimarko @testuser7
Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants