summaryrefslogtreecommitdiff
path: root/recipes-kernel
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2017-02-28 17:51:09 -0600
committerJohn Klug <john.klug@multitech.com>2017-02-28 17:51:09 -0600
commit4b4fa436065ca198bee23b897f0ed704cea33044 (patch)
tree1f8c3051f6833c8ccbe71cdb26063080bedece43 /recipes-kernel
parentc2b447486290c2b7e70204d921b1950dcb365135 (diff)
downloadmeta-multitech-4b4fa436065ca198bee23b897f0ed704cea33044.tar.gz
meta-multitech-4b4fa436065ca198bee23b897f0ed704cea33044.tar.bz2
meta-multitech-4b4fa436065ca198bee23b897f0ed704cea33044.zip
Add the binary blob to the wilc1000 driver.
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/wilc1000/wilc1000_3.12.27.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/recipes-kernel/wilc1000/wilc1000_3.12.27.bb b/recipes-kernel/wilc1000/wilc1000_3.12.27.bb
index 16f3e6a..db14e1f 100644
--- a/recipes-kernel/wilc1000/wilc1000_3.12.27.bb
+++ b/recipes-kernel/wilc1000/wilc1000_3.12.27.bb
@@ -9,8 +9,11 @@ SRCREV = "${AUTOREV}"
SRC_URI = "git://github.com/linux4sc/staging.git;protocol=git;branch=${KBRANCH} \
file://wilcp1000_3.18_to_3.12_kernel.patch \
file://wilc1000.conf \
+ https://github.com/linux4sc/wireless-firmware/raw/master/wilc1003_firmware.bin;name=blob \
"
+SRC_URI[blob.md5sum] = "a3651b5696ac674a3b2100d109bb2757"
+SRC_URI[blob.sha256sum] = "57584b0cf000f43405b0ef1201c6d1302cc7f7e187144c7946ce2fa12fb6f49b"
S = "${WORKDIR}/git"
@@ -26,5 +29,7 @@ do_install() {
install -m 0644 ${S}/*${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless/atmel/wilc1000
install -d ${D}${sysconfdir}/modprobe.d
install -m 0644 ${WORKDIR}/wilc1000.conf ${D}${sysconfdir}/modprobe.d
+ install -d -m 0755 ${D}/lib/firmware/atmel
+ install -m 0644 ${WORKDIR}/wilc1003_firmware.bin ${D}/lib/firmware/atmel
}
-FILES_kernel-module-${PN} += "${sysconfdir}/modprobe.d/wilc1000.conf"
+FILES_kernel-module-${PN} += "${sysconfdir}/modprobe.d/wilc1000.conf /lib/firmware/atmel/wilc1003_firmware.bin"