linux-firmware: install iwlwifi LinuxCore driver firmware blobs

meta-intel maintains a recipe that installs iwlwifi's LinuxCore wifi
driver releases. For some iwfwifi LinuxCore supported wireless chips, the
best/latest firmware blobs are found in the iwlwifi's linux-firmware.git fork.

See: https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/core_release

This bbappend fetches the -31.ucode (currently, for Intel Wireless 8260
only!) that is the best match for the iwlwifi LinuxCore release built. The
bbappend can later be extended to pull in firmware blobs for other chips too.

Fixes: [YOCTO #11925]

Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
This commit is contained in:
Mikko Ylinen 2017-08-15 18:19:10 +03:00 committed by Saul Wold
parent 92ce2459bc
commit dacbc86ef3

View File

@ -0,0 +1,21 @@
# meta-intel maintains a recipe that installs iwlwifi's LinuxCore wifi
# driver releases. For some iwfwifi LinuxCore supported wireless chips, the
# best/latest firmware blobs are found in the iwlwifi's linux-firmware.git fork.
#
# See: https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/core_release
#
# This bbappend fetches the -31.ucode (currently, for Intel Wireless 8260
# only!) that is the best match for the iwlwifi LinuxCore release built.
#
# Note: keep these in sync when updating the iwlwifi_git.bb LinuxCore
# versions.
SRC_URI_append = " https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware.git/plain/iwlwifi-8000C-31.ucode;name=iwlwifi-8260-31"
SRC_URI[iwlwifi-8260-31.md5sum] = "428a84a780bbe864a7af6a6734c4b529"
SRC_URI[iwlwifi-8260-31.sha256sum] = "5a337c52f9d7a7cb5cb0a13c93232f4de742ed0debef757d68231bdb55455406"
do_install_append() {
# Copy the iwlwifi/LinuxCore required ucode for Intel Wireless 8260
cp ${WORKDIR}/iwlwifi-8000C-31.ucode ${D}/${nonarch_base_libdir}/firmware/
}