Skip to contentSkip to conversation

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

PATCH Superseded Saul Wold 3 participants 3 messages Jun 14, 2016 – Jun 15, 2016

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 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]

---
When this is merged, I will remove this blob from meta-intel, as they will conflict

 .../linux-firmware/iwlwifi-8000C-19.ucode             | Bin 0 -> 2382972 bytes
 .../linux-firmware/linux-firmware_git.bb              |  10 ++++++++++
 2 files changed, 10 insertions(+)
 create mode 100644 meta/recipes-kernel/linux-firmware/linux-firmware/iwlwifi-8000C-19.ucode
meta/recipes-kernel/linux-firmware/linux-firmware/iwlwifi-8000C-19.ucode new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..230f957ac0ca0d5d968af8ca2008b6552a85d772
GIT binary patch
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +10 -0
index 52fd176..acde1fa 100644
@@ -178,6 +178,13 @@ 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 += "file://iwlwifi-8000C-19.ucode"
+
+do_install_append() {
+}
+
+
 S = "${WORKDIR}/git"
 
 inherit allarch update-alternatives
@@ -207,6 +214,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
#1 lore raw
Quoted 6 lines · Saul Wold

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

[YOCTO #9771]

Quoted 8 lines

---
When this is merged, I will remove this blob from meta-intel, as they will conflict

 .../linux-firmware/iwlwifi-8000C-19.ucode             | Bin 0 -> 2382972 bytes
 .../linux-firmware/linux-firmware_git.bb              |  10 ++++++++++
 2 files changed, 10 insertions(+)
 create mode 100644 meta/recipes-kernel/linux-firmware/linux-firmware/iwlwifi-8000C-19.ucode

Would it be possible to get this file from a server somewhere?

Adding a 2MB file, which most people won't need, doesn't feel right to me.

Cheers,
Anders

Signature · 2 lines
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB
#2 lore raw
Quoted 20 lines · Anders Darander
Quoted 6 lines · Saul Wold

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

[YOCTO #9771]

Quoted 8 lines

---
When this is merged, I will remove this blob from meta-intel, as they will conflict

.../linux-firmware/iwlwifi-8000C-19.ucode | Bin 0 -> 2382972 bytes
.../linux-firmware/linux-firmware_git.bb | 10 ++++++++++

2 files changed, 10 insertions(+)

create mode 100644 meta/recipes-kernel/linux-firmware/linux-firmware/iwlwifi-8000C-19.ucode

Quoted 4 lines

Would it be possible to get this file from a server somewhere?

Adding a 2MB file, which most people won't need, doesn't feel right to me.

may be host the .bin file on yp.org and fetch it ?

Quoted 12 lines

Cheers,
Anders

--
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core