Created
July 15, 2023 02:57
-
-
Save zerog2k/75e6e27aeef0494504ae9d56bf690097 to your computer and use it in GitHub Desktop.
Downloads QCA9377 sdio wifi & bluetooth uart firmware for Armbian. Run as root.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Downloading QCA9377 firmware..." | |
# qca9377-sdio-wifi firmware | |
mkdir -p /lib/firmware/ath10k/QCA9377/hw1.0/ | |
cd /lib/firmware/ath10k/QCA9377/hw1.0/ | |
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/ath10k/QCA9377/hw1.0/board.bin | |
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/ath10k/QCA9377/hw1.0/board-2.bin | |
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/ath10k/QCA9377/hw1.0/firmware-sdio-5.bin | |
ln -s firmware-sdio-5.bin firmware-5.bin | |
# qca9377-bt firmware | |
cd /lib/firmware/qca/ | |
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/qca/rampatch_00230302.bin | |
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/qca/nvm_00230302.bin | |
cd | |
echo "Reboot to take effect." |
A change was approved to armbian edge (6.4+ kernels) that adds /boot/dtb/amlogic/meson-gxm-mini-m8s-pro.dtb
to the build.
It should be in board type aml-s9xx-box, for edge kernel.
Also with that DTB, the firmware was added to recent armbian-firmware releases, so correct firmware should load automatically. So if using latest (edge) release of armbian for aml-s9xx-box board type, with fdt meson-gxm-mini-m8s-pro.dtb, it should just work
sorry, maybe you have a different version of hardware, but QCA9377/LTM8830
The issue is that the correct fw for QCA9377 bt doesnt load unless
bluetooth {
compatible = "brcm,bcm43438-bt";
is actually
bluetooth {
compatible = "qcom,qca9377-bt";
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I have a Mini MXIII II that I am trying to make work with Armbian. I have managed to get almost all working by editing a bit this dts file: meson-gxl-s905x-khadas-vim.dtb
But I have still bluetooth not working. Wifi yes.
Inside I have seen a LMT8830 ic.
I have seen several of your post, is this script working? how could I get the correct information to change this piece of actual dts file?
How is it possible to have wifi working but BT not? Thanks a lot