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

S905X Tbee-box QCA9377 WIFI Working #98

Closed
DiogoSilva48 opened this issue Feb 1, 2022 · 9 comments
Closed

S905X Tbee-box QCA9377 WIFI Working #98

DiogoSilva48 opened this issue Feb 1, 2022 · 9 comments

Comments

@DiogoSilva48
Copy link

Hi, I have a S905X box with a QCA9377 Wireless Chip, the WIFI is not working on this box with this Armbian build, but it does work on the LibreElec Test Build, I know this box is some kind of rebranding but I don't know which, I have pictures of the board if you need. The QCA9377 should use ath10k driver and I have some error on dmesg (picture attached).
image

@DiogoSilva48
Copy link
Author

I think I tried an older version by mistake, I tried again with the 5.10 kernel and I have a different error, firmware, but I think I can fix it, I remember having this on other armbian builds a few years ago. Going to try and report.
image

@DiogoSilva48
Copy link
Author

DiogoSilva48 commented Feb 1, 2022

Ok, I tried this fix, to add the right firmware and worked well, I hope this helps other users.

Basically:
cd /tmp; git clone -b bd-sdmac https://github.com/erstrom/ath10k-firmware.git

mkdir /lib/firmware/ath10k; cp -rf ath10k-firmware/QCA9887/ /lib/firmware/ath10k

cp /lib/firmware/ath10k/QCA9377/hw1.0/firmware-5.bin_WLAN.TF.1.0-00267-1 /lib/firmware/ath10k/QCA9377/hw1.0/firmware-5.bin

cp /lib/firmware/ath10k/QCA9377/hw1.0/untested/firmware-sdio-5.bin_WLAN.TF.1.1.1-00061-QCATFSWPZ-1 /lib/firmware/ath10k/QCA9377/hw1.0/firmware-sdio-5.bin

image
image

Also, I tried on Kernel 5.10 now, I can try on 5.4 after, if needed.

@DiogoSilva48
Copy link
Author

Don't know if I should close this or not, because I fixed it but I don't know if you want to include the firmware by default or not. Also, sorry for the spam.

@DiogoSilva48
Copy link
Author

I still have to wait 5 minutes for "a start job is running for the raise network", before I can use Armbian or ssh into it, I tried a fix I found online, didn't work, any idea ? Thanks.

@ophub
Copy link
Owner

ophub commented Feb 2, 2022

thank you for your sharing. When it is convenient, you can test the long-term updated kernels of 5.4/5.10/5.15.

If common, it can be added to the default firmware.

@DiogoSilva48
Copy link
Author

DiogoSilva48 commented Feb 2, 2022

Hi, thanks for answering. I found a much easier way to fix wifi. First, you do the usual "sudo apt update" and "sudo apt upgrade" and then "sudo armbian-config" and navigate to the option software and there's an option that says "install full firmware package". After that, installs the required firmware to make wifi work, so might not be necessary to include by default : ). I'm going to try to switch kernels as well to see and update this.

@ophub
Copy link
Owner

ophub commented Feb 2, 2022

OK, thanks for testing and sharing. Which .dtb and u-boot file did your box use? Does it support writing to emmc? The default values are recorded in /etc/ophub-release, if you customize them, update them.

You are the first friend who reported using this box, so you can find an online product introduction link and post it at your convenience. I add to the box list. thanks.

@DiogoSilva48
Copy link
Author

I used the default .dtb and u-boot that and just worked fine. I can't use writting to emmc as of now because I think I broke my emmc, I bricked it many times before but I was always was able to fix it even after months, but this time I just can't get it to flash anything, I get errors flashing the u-boot I think and I don't have the stock firmware. Also, armbian even detect the emmc. The box is this one, and this is what the board looks like.
image

@ophub
Copy link
Owner

ophub commented Feb 2, 2022

Thank you for sharing

@ophub ophub closed this as completed Feb 3, 2022
@ophub ophub changed the title S905X QCA9377 WIFI Not Working S905X Tbee-box QCA9377 WIFI Working Feb 7, 2023
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