Last active
June 22, 2020 09:59
-
-
Save iberianpig/5b7c275bed9ec69562b7bc728c84b8d1 to your computer and use it in GitHub Desktop.
Update ath10k-firmware firmware for XPS 13 9360. git clone https://github.com/kvalo/ath10k-firmware and put Makefile in project root
This file contains 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
.PHONY: all | |
TODAY := $(shell date --rfc-3339 date) | |
all: help | |
backup_QCA6174: ## backup | |
mkdir -p backup/$(TODAY)/ | |
cp -a /lib/firmware/ath10k/QCA6174 backup/$(TODAY)/QCA6174 | |
diff: ## diff | |
diff QCA6174/hw2.1/firmware-5.bin_SW_RM.1.1.1-00157-QCARMSWPZ-1 /lib/firmware/ath10k/QCA6174/hw2.1/firmware-5.bin | |
diff QCA6174/hw3.0/firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1 /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin | |
diff QCA6174/hw3.0/4.4.1/firmware-6.bin_WLAN.RM.4.4.1-00151-QCARMSWPZ-2 /lib/firmware/ath10k/QCA6174/hw3.0/firmware-6.bin | |
update: ## use latest firmware | |
sudo rm -r /lib/firmware/ath10k/QCA6174 | |
sudo cp -a QCA6174 /lib/firmware/ath10k/QCA6174 | |
sudo mv /lib/firmware/ath10k/QCA6174/hw2.1/firmware-5.bin_SW_RM.1.1.1-00157-QCARMSWPZ-1 /lib/firmware/ath10k/QCA6174/hw2.1/firmware-5.bin | |
sudo mv /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1 /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin | |
sudo mv /lib/firmware/ath10k/QCA6174/hw3.0/4.4.1/firmware-6.bin_WLAN.RM.4.4.1-00151-QCARMSWPZ-2 /lib/firmware/ath10k/QCA6174/hw3.0/firmware-6.bin | |
sudo chown -R root:root /lib/firmware/ath10k/QCA6174 | |
reload: ## reload module | |
sudo modprobe -r ath10k_pci ath10k_core | |
sudo modprobe ath10k_pci | |
sudo modprobe ath10k_core | |
help: ## show this messages | |
@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment