package/wilc1000-firmware: bump to 15.6
Supports both WILC1000 (Wi-Fi only) and WILC3000 (Wi-Fi/BLE) hardware. To support WILC3000 this commit adds a separate config option, the original config option from this package is still valid. This will be refactored in a follow-up commit. There is now a license file. Signed-off-by: Kris Bahnsen <kris@embeddedTS.com> [Arnout: keep license as PROPRIETARY and add license file hash] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
e83eca4496
commit
7663482d22
@ -1,6 +1,29 @@
|
||||
config BR2_PACKAGE_WILC1000_FIRMWARE
|
||||
bool "wilc1000-firmware"
|
||||
help
|
||||
Firmware for Atmel Wilc1000 wireless device
|
||||
Firmware for Microchip WILC1000 wireless device
|
||||
|
||||
https://github.com/linux4sc/wireless-firmware.git
|
||||
These binary blobs are provided directly from Microchip.
|
||||
Ideally, the firmware version should match driver version.
|
||||
Generally, the latest firmware would be acceptible regardless
|
||||
of driver version.
|
||||
|
||||
These will be installed to /lib/firmware/mchp/
|
||||
|
||||
https://github.com/linux4wilc/firmware
|
||||
|
||||
if BR2_PACKAGE_WILC1000_FIRMWARE
|
||||
config BR2_PACKAGE_WILC3000_FIRMWARE
|
||||
bool "wilc3000-firmware"
|
||||
help
|
||||
Firmware for Microchip WILC3000 wireless device
|
||||
|
||||
These binary blobs are provided directly from Microchip.
|
||||
Ideally, the firmware version should match driver version.
|
||||
Generally, the latest firmware would be acceptible regardless
|
||||
of driver version.
|
||||
|
||||
These will be installed to /lib/firmware/mchp/
|
||||
|
||||
https://github.com/linux4wilc/firmware
|
||||
endif
|
||||
|
@ -1,2 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 a2e7a327dd545ba2051946f7613005cbde88fdd952afb8eecdd1dacda7e767d2 v14.1_Firmware.zip
|
||||
sha256 29bb5739136cdb4088cb52af59badce05cc7e562bca40e9f29fef7f8f7c19cb8 wilc1000-firmware-wilc_linux_15_6.tar.gz
|
||||
sha256 71355eee947a312594dbdaac039827544f93d23949b65c356b7b0ce09e2600fb LICENSE.wilc_fw
|
||||
|
@ -4,21 +4,32 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
WILC1000_FIRMWARE_VERSION = 14.1
|
||||
WILC1000_FIRMWARE_SITE = https://github.com/linux4sc/wireless-firmware/archive
|
||||
WILC1000_FIRMWARE_SOURCE = v$(WILC1000_FIRMWARE_VERSION)_Firmware.zip
|
||||
WILC1000_FIRMWARE_VERSION = wilc_linux_15_6
|
||||
WILC1000_FIRMWARE_SITE = $(call github,linux4wilc,firmware,$(WILC1000_FIRMWARE_VERSION))
|
||||
|
||||
WILC1000_FIRMWARE_LICENSE = PROPRIETARY
|
||||
WILC1000_FIRMWARE_LICENSE_FILES = LICENSE.wilc_fw
|
||||
|
||||
define WILC1000_FIRMWARE_EXTRACT_CMDS
|
||||
$(UNZIP) -d $(BUILD_DIR) $(WILC1000_FIRMWARE_DL_DIR)/$(WILC1000_FIRMWARE_SOURCE)
|
||||
mv $(BUILD_DIR)/wireless-firmware-$(WILC1000_FIRMWARE_VERSION)_Firmware/* $(@D)
|
||||
rmdir $(BUILD_DIR)/wireless-firmware-$(WILC1000_FIRMWARE_VERSION)_Firmware
|
||||
ifeq ($(BR2_PACKAGE_WILC1000_FIRMWARE),y)
|
||||
WILC1000_FIRMWARE_FILES += \
|
||||
wilc1000_wifi_firmware.bin
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WILC3000_FIRMWARE),y)
|
||||
WILC1000_FIRMWARE_FILES += \
|
||||
wilc3000_ble_firmware.bin \
|
||||
wilc3000_wifi_firmware.bin
|
||||
endif
|
||||
|
||||
define WILC1000_FIRMWARE_INSTALL_FILES
|
||||
cd $(@D) && \
|
||||
$(TAR) cf install.tar $(sort $(WILC1000_FIRMWARE_FILES)) && \
|
||||
$(TAR) xf install.tar -C $(TARGET_DIR)/lib/firmware/mchp
|
||||
endef
|
||||
|
||||
define WILC1000_FIRMWARE_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0644 $(@D)/wilc1003_firmware.bin \
|
||||
$(TARGET_DIR)/lib/firmware/atmel/wilc1003_firmware.bin
|
||||
$(INSTALL) -d -m 0755 $(TARGET_DIR)/lib/firmware/mchp/
|
||||
$(WILC1000_FIRMWARE_INSTALL_FILES)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
Loading…
Reference in New Issue
Block a user