From: Alejandro Benete Date: Tue, 30 Mar 2021 09:09:03 +0000 (+0200) Subject: meta-somdevices: Created wilc-fw.bb to use latest wilc Wi-Fi firmware. X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=762837907f2f7828d39ca6a71e82009a8b60da49;p=meta-somdevices.git meta-somdevices: Created wilc-fw.bb to use latest wilc Wi-Fi firmware. Signed-off-by: Alejandro Benete --- diff --git a/recipes-kernel/wilc/files/LICENSE.wilc_fw b/recipes-kernel/wilc/files/LICENSE.wilc_fw new file mode 100755 index 0000000..e63ddce --- /dev/null +++ b/recipes-kernel/wilc/files/LICENSE.wilc_fw @@ -0,0 +1,42 @@ +Copyright (C) 2018 Microchip Technology Incorporated and its subsidiaries. +All rights reserved. + +WILC Firmware + +REDISTRIBUTION: Permission is hereby granted by Microchip Technology +Incorporated (Microchip), free of any license fees, to any person obtaining a +copy of this WILC firmware (the "Software"), to install, reproduce, copy and +distribute copies, in binary form, hexadecimal or equivalent formats only, the +Software and to permit persons to whom the Software is provided to do the same, +subject to the following conditions: + +* Any redistribution of the Software must reproduce the above copyright notice, + this license notice, and the following disclaimers and notices in the + documentation and/or other materials provided with the Software. + +* Neither the name of Microchip, its products nor the names of its suppliers + may be used to endorse or promote products derived from this Software without + specific prior written permission. + +* No reverse engineering, decompilation, or disassembly of this Software is + permitted. + +Limited patent license. Microchip grants a world-wide, royalty-free, +non-exclusive, revocable license under any patents that it now has or hereafter +may have, own or control related to the Software to make, have made, use, +import, offer to sell and sell ("Utilize") this Software, but solely to the +extent that any such patent is necessary to Utilize the Software in conjunction +with Microchip processors. The patent license shall not apply to any other +combinations which include this Software nor to any other Microchip patents or +patent rights. No hardware per se is licensed hereunder. + +DISCLAIMER: THIS SOFTWARE IS PROVIDED BY MICROCHIP "AS IS" AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE +DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/recipes-kernel/wilc/files/wilc1000_wifi_firmware.bin b/recipes-kernel/wilc/files/wilc1000_wifi_firmware.bin new file mode 100755 index 0000000..e1f06ad Binary files /dev/null and b/recipes-kernel/wilc/files/wilc1000_wifi_firmware.bin differ diff --git a/recipes-kernel/wilc/files/wilc3000_ble_firmware.bin b/recipes-kernel/wilc/files/wilc3000_ble_firmware.bin new file mode 100755 index 0000000..4116d29 Binary files /dev/null and b/recipes-kernel/wilc/files/wilc3000_ble_firmware.bin differ diff --git a/recipes-kernel/wilc/files/wilc3000_ble_firmware_no_rtc.bin b/recipes-kernel/wilc/files/wilc3000_ble_firmware_no_rtc.bin new file mode 100755 index 0000000..e486e6b Binary files /dev/null and b/recipes-kernel/wilc/files/wilc3000_ble_firmware_no_rtc.bin differ diff --git a/recipes-kernel/wilc/files/wilc3000_wifi_firmware.bin b/recipes-kernel/wilc/files/wilc3000_wifi_firmware.bin new file mode 100755 index 0000000..e9974dd Binary files /dev/null and b/recipes-kernel/wilc/files/wilc3000_wifi_firmware.bin differ diff --git a/recipes-kernel/wilc/files/wilc3000_wifi_firmware_ua.bin b/recipes-kernel/wilc/files/wilc3000_wifi_firmware_ua.bin new file mode 100755 index 0000000..71af7c6 Binary files /dev/null and b/recipes-kernel/wilc/files/wilc3000_wifi_firmware_ua.bin differ diff --git a/recipes-kernel/wilc/wilc-fw.bb b/recipes-kernel/wilc/wilc-fw.bb new file mode 100644 index 0000000..ecc1292 --- /dev/null +++ b/recipes-kernel/wilc/wilc-fw.bb @@ -0,0 +1,25 @@ +SUMMARY = "Firmware files for use with WILC3000 WIFI and Bluetooth" +DESCRIPTION = "Add necessary firmware to use WILC3000 WIFI/BT combo" + +LICENSE = "Proprietary" +LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE.wilc_fw;md5=89ed0ff0e98ce1c58747e9a39183cc9f" + +PV="15.4.1" +DEBIAN_NOAUTONAME_${PN} = "1" + +SRC_URI += "\ + file://LICENSE.wilc_fw \ + file://wilc1000_wifi_firmware.bin \ + file://wilc3000_wifi_firmware.bin \ + file://wilc3000_wifi_firmware_ua.bin \ + file://wilc3000_ble_firmware.bin \ + file://wilc3000_ble_firmware_no_rtc.bin \ +" + +FILES_${PN} += " /lib/firmware/mchp" + +do_install () { + install -d ${D}/lib/firmware/mchp + install -m 0644 ${WORKDIR}/LICENSE.wilc_fw ${D}${base_libdir}/firmware/mchp + install -m 0755 ${WORKDIR}/*.bin ${D}${base_libdir}/firmware/mchp +}