Initial Commit
- initial default booting image
This commit is contained in:
64
package/wilc-driver/Config.in
Normal file
64
package/wilc-driver/Config.in
Normal file
@@ -0,0 +1,64 @@
|
||||
config BR2_PACKAGE_WILC_DRIVER
|
||||
bool "wilc kernel module"
|
||||
depends on !BR2_s390x
|
||||
depends on BR2_LINUX_KERNEL
|
||||
help
|
||||
External kernel module for WILC1000/3000 devices.
|
||||
|
||||
wilc kernel driver source as found in Microchip's at91-linux
|
||||
kernel tree with added Kbuild file to be built as a generic
|
||||
external module.
|
||||
|
||||
The wilc1000 driver currently maintained in Linux kernel does
|
||||
not support BLE of the WILC3000 hardware. This package is
|
||||
meant to bridge that gap until Microchip can get WILC3000
|
||||
support upstream.
|
||||
|
||||
Supports both SDIO and SPI modes.
|
||||
|
||||
https://github.com/embeddedTS/wilc3000-external-module
|
||||
|
||||
if BR2_PACKAGE_WILC_DRIVER
|
||||
|
||||
config BR2_PACKAGE_WILC_DRIVER_SPI
|
||||
bool "SPI"
|
||||
help
|
||||
This module adds support for the SPI interface of adapters
|
||||
using WILC1000/3000 chipset. The WILC1000/3000 has a Serial
|
||||
Peripheral Interface (SPI) that operates as an SPI slave.
|
||||
This SPI interface can be used for control and for serial
|
||||
I/O of 802.11 data. The SPI is a full-duplex slave
|
||||
synchronous serial interface that is available immediately
|
||||
following reset when pin 9 (SDIO_SPI_CFG) is tied to VDDIO.
|
||||
Select this if your platform is using the SPI bus.
|
||||
|
||||
config BR2_PACKAGE_WILC_DRIVER_SDIO
|
||||
bool "SDIO"
|
||||
help
|
||||
This module adds support for the SDIO interface of adapters
|
||||
using WILC1000/3000 chipset. The WILC1000/3000 SDIO is a full
|
||||
speed interface. It meets SDIO card specification version 2.0.
|
||||
The interface supports the 1-bit/4-bit SD transfer mode at the
|
||||
clock range of 0-50 MHz. The host can use this interface to
|
||||
read and write from any register within the chip as well as
|
||||
configure the WILC1000/3000 for data DMA. To use this
|
||||
interface, pin9 (SDIO_SPI_CFG) must be grounded. Select this
|
||||
if your platform is using the SDIO bus.
|
||||
|
||||
if BR2_PACKAGE_WILC_DRIVER_SDIO
|
||||
|
||||
config BR2_PACKAGE_WILC_DRIVER_SDIO_OOB
|
||||
bool "Enable out-of-band interrupt"
|
||||
help
|
||||
This option enables out-of-band interrupt support for the
|
||||
WILC1000/3000 chipset. This OOB interrupt is intended to
|
||||
provide a faster interrupt mechanism for SDIO host controllers
|
||||
that don't support SDIO interrupt. Select this option If the
|
||||
SDIO host controller in your platform doesn't support SDIO
|
||||
time division interrupt.
|
||||
endif
|
||||
endif
|
||||
|
||||
comment "wilc kernel module needs a Linux kernel to be built"
|
||||
depends on !BR2_s390x
|
||||
depends on !BR2_LINUX_KERNEL
|
||||
3
package/wilc-driver/wilc-driver.hash
Normal file
3
package/wilc-driver/wilc-driver.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 3baad326c84b212e7ee960e6afc3e0f4c2f4a770a35c0990f040bd9d845ace8a wilc-driver-2fe5db970acc0c0df1cfd6a49087ee87dfdd01f8.tar.gz
|
||||
sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 LICENSE
|
||||
45
package/wilc-driver/wilc-driver.mk
Normal file
45
package/wilc-driver/wilc-driver.mk
Normal file
@@ -0,0 +1,45 @@
|
||||
################################################################################
|
||||
#
|
||||
# wilc-driver
|
||||
#
|
||||
################################################################################
|
||||
|
||||
WILC_DRIVER_VERSION = 2fe5db970acc0c0df1cfd6a49087ee87dfdd01f8
|
||||
WILC_DRIVER_SITE = $(call github,benetti-engineering,wilc3000-external-module,$(WILC_DRIVER_VERSION))
|
||||
|
||||
WILC_DRIVER_LICENSE = GPL-2.0
|
||||
WILC_DRIVER_LICENSE_FILES = LICENSE
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WILC_DRIVER_SPI),y)
|
||||
WILC_DRIVER_MODULE_MAKE_OPTS += \
|
||||
CONFIG_WILC_SPI=m
|
||||
define WILC_DRIVER_SPI_LINUX_CONFIG_FIXUPS
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_SPI)
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WILC_DRIVER_SDIO),y)
|
||||
WILC_DRIVER_MODULE_MAKE_OPTS += \
|
||||
CONFIG_WILC_SDIO=m
|
||||
define WILC_DRIVER_SDIO_LINUX_CONFIG_FIXUPS
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_MMC)
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WILC_DRIVER_SDIO_OOB),y)
|
||||
WILC_DRIVER_MODULE_MAKE_OPTS += \
|
||||
CONFIG_WILC_HW_OOB_INTR=y
|
||||
endif
|
||||
|
||||
define WILC_DRIVER_LINUX_CONFIG_FIXUPS
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_NET)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_WIRELESS)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_CFG80211)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_CRC_ITU_T)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_CRC7)
|
||||
$(WILC_DRIVER_SPI_LINUX_CONFIG_FIXUPS)
|
||||
$(WILC_DRIVER_SDIO_LINUX_CONFIG_FIXUPS)
|
||||
endef
|
||||
|
||||
$(eval $(kernel-module))
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user