Skip to contentSkip to conversation

linux-firmware: add iwlwifi-8000C-19 version

PATCH New Saul Wold 1 participant 1 message Jun 16, 2016

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH v2 1/1 linux-firmware: add iwlwifi-8000C-19 version

This version is required for certain iwlwifi hardware can not use the most recent firmware blob.

[YOCTO #9771]

---
v2: use kernel.org version of file
removed extra do_install_append

 meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 9 +++++++++
 1 file changed, 9 insertions(+)
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +9 -0
index 52fd176..2393afb 100644
@@ -178,6 +178,12 @@ PV = "0.0+git${SRCPV}"
 
 SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git"
 
+# Some devices need a specific version, not the latest
+SRC_URI += "https://git.kernel.org/cgit/linux/kernel/git/iwlwifi/linux-firmware.git/plain/iwlwifi-8000C-19.ucode;name=iwlwifi-19"
+
+SRC_URI[iwlwifi-19.md5sum] = "132fbaee36beec5e98714f0bd66f7a1d"
+SRC_URI[iwlwifi-19.sha256sum] = "2034470df64d323b827c4f2d4d0d55be2846b7360179b5574aa28ff77b6c9471"
+
 S = "${WORKDIR}/git"
 
 inherit allarch update-alternatives
@@ -207,6 +213,9 @@ do_install() {
 
 	# fixup wl12xx location, after 2.6.37 the kernel searches a different location for it
 	( cd ${D}/lib/firmware ; ln -sf ti-connectivity/* . )
+
+        # Copy the iwlwifi ucode
+        cp ${WORKDIR}/iwlwifi-8000C-19.ucode ${D}/lib/firmware/
 }
 
 
Signature · 1 line
2.5.0