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

Add QCA6174 0x32 to firmware files #20

Open
Geramy opened this issue Aug 3, 2019 · 9 comments
Open

Add QCA6174 0x32 to firmware files #20

Geramy opened this issue Aug 3, 2019 · 9 comments

Comments

@Geramy
Copy link
Contributor

Geramy commented Aug 3, 2019

I have a firmware file for the QCA6174, 0x32 chipset hardware revision, I need to add it in to the repository for now I will put the google share link here to it.

@Geramy
Copy link
Contributor Author

Geramy commented Aug 3, 2019

The file can be found here, https://drive.google.com/open?id=107PePJLBYtp8AhbbDAKTpDERePvMO5x5
I cannot give instructions on how to rename this file for the QCA6174 model for this branch but you can figure it out, its very self explanatory. checkout my branch if you need some Instructables I did the best I could with the time I have.

@k0pernicus
Copy link

k0pernicus commented Aug 3, 2019

Thanks @Geramy :)

So, as I understood, a bin file (in /boot/modules) is related to a ko file (in /boot/kernel).
As we compile different hw versions, we just need to rename the binary file from your Google Drive account to the last hw version of the binary board compiled file, right?

In this case, we just need to replace the last hw board version file with this one?

Thanks a lot for your help!!!! :D

@Geramy
Copy link
Contributor Author

Geramy commented Aug 3, 2019

You do, but you need to replace it in the source before you compile and then you have to compile the program again because it creates the .ko files which are like a header in a sense for the .bin files which the kernel uses the .ko to be able to load the .bin or thats kind of how I see it. @k0pernicus Let me know how it goes.

@Geramy
Copy link
Contributor Author

Geramy commented Aug 3, 2019

Inside the following path in the image below you will replace the board.bin file with the one from my drive, once you replace the file you will need to recompile everything and then you will be able to put the .ko files where they belong and the .bin files where they belong, checkout my arvif branch for more information it has a readme available. I will at some point put together an installer script and compile a Alpha version so you don't have to do anything. Please look out for that in the coming future.

image

@Geramy
Copy link
Contributor Author

Geramy commented Aug 3, 2019

I re-applied the link above, I gave you the link to the board-2.bin file I actually added the board.bin too for the 0x32, but QCA6174 in this kernel port does not have board-2.bin files that have multiple board files in it. so please re-download from the link above again. Sorry, its hard to remember when you switch from ath10k and the port for freebsd haha.
https://drive.google.com/open?id=107PePJLBYtp8AhbbDAKTpDERePvMO5x5

@k0pernicus
Copy link

Thanks @Geramy.
Using board-2.bin, I had a core dump again ;)

I will try replacing the board.bin of hw-3.0 with the one you just shared.

I keep in touch in a few minutes

@k0pernicus
Copy link

k0pernicus commented Aug 3, 2019

@Geramy So, I moved the board.bin file in the contrib folder, compiled everything, copies the dedicated ko & bin files in dedicated folders and...

kldload commands don't failed :D

Unfortunately, after the kldload if_athp, I don't have any output...
I checked the dmesg output but I did not found anything related to the module(s) load 🤔

Btw, I just loaded hw_3.0 files, not hw_2.1 ones... Do I need to load the hw_2.1 as well?

If I try an ifconfig just after, I only have l0, not wlan one...
And, if I try to create a wlandev, I have the error SIOCIFCREATE2: Device not configured.

Did I missed something during the kernel module loading stuff?

@Geramy
Copy link
Contributor Author

Geramy commented Aug 3, 2019

Please open a new ticket and give me as much logs as you can please, pictures work but files are better.

@k0pernicus
Copy link

Thanks @Geramy, I did it here #22.

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

No branches or pull requests

2 participants