wl18xx-firmware: install Wilink8 wlan firmware files
PATCH v2 2/9 wl18xx-firmware: install Wilink8 wlan firmware files
Add a recipe for installing the Wilink8 wlan firmware files into the target file system.
This package replace the wilink6 package which is provided by the wl12xx-firmware recipe. Selection between the two is done using a "WILINK_VERSION" switch added to arago.conf
--- .../wl18xx-firmware/wl18xx-firmware/Makefile | 7 +++++ .../wl18xx-firmware/wl18xx-firmware_r8.a6.01.bb | 30 ++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware/Makefile create mode 100644 meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware_r8.a6.01.bb
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware/Makefile new file +7 -0
@@ -0,0 +1,7 @@ +# Installs the the ti-connectiviy wlan firmware files into the root file system + +install: + install -d $(DEST_DIR)/lib/firmware/ti-connectivity + cp -RpP * $(DEST_DIR)/lib/firmware/ti-connectivity/ + rm -f $(DEST_DIR)/lib/firmware/ti-connectivity/Makefile +
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware_r8.a6.01.bb new file +30 -0
@@ -0,0 +1,30 @@ +DESCRIPTION = "Firmware files for use with TI wl18xx" +LICENSE = "TI-TSPA" +LIC_FILES_CHKSUM = "file://LICENCE;md5=b28122fd6678e89fd3a8d4bc80922969" + +PACKAGE_ARCH = "all" + +PR = "r1+gitr${SRCREV}" + +PROVIDES += "wl12xx-firmware" +RPROVIDES += "wl12xx-firmware" +RREPLACES += "wl12xx-firmware" +RCONFLICTS += "wl12xx-firmware" + +SRCREV = "ol_r8.a6.01" +SRC_URI = "git://github.com/TI-OpenLink/wl18xx_fw.git;protocol=git \ + file://Makefile \ + " + +S = "${WORKDIR}/git" + +do_compile() { + : +} + +do_install() { + cp ${WORKDIR}/Makefile ${S} + oe_runmake 'DEST_DIR=${D}' install +} + +FILES_${PN} = "/lib/firmware/ti-connectivity/*"
Signature · 1 line
1.7.9.5
PATCH v2 3/9 hostap-daemon-wl18xx: hostap-daemon for ti wilink8 release
Add a new recipe for building the ti version of hostap-daemon 2.0-devel from release r8.a6.01
This package replace the wilink6 package which is provided by the hostap-daemon recipe. Selection between the two is done using a "WILINK_VERSION" switch added to arago.conf
--- ...d-change-conf-file-for-better-oob-startup.patch | 40 ++++++++++++++++++++ .../hostap/hostap-daemon-wl18xx_r8.a6.01.bb | 22 +++++++++++ .../recipes-connectivity/hostap/hostap.inc | 2 +- 3 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx/0001-hostapd-change-conf-file-for-better-oob-startup.patch create mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_r8.a6.01.bb
meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx/0001-hostapd-change-conf-file-for-better-oob-startup.patch new file +40 -0
@@ -0,0 +1,40 @@ +From f7c1b9d4e18dc650dd0b9da97a91f27f6a4bb5b7 Mon Sep 17 00:00:00 2001 +From: Eyal Reizer <[email protected]> +Date: Sun, 17 Mar 2013 07:18:55 -0700 +Subject: [PATCH] hostapd: change conf file for better sdk out of box startup + +Change the default channel to 6 and change the ssid to a more +meaningful name. + +Upstream-status: inappropriate [SDK specific patch] + +Signed-off-by: Eyal Reizer <[email protected]> +--- + hostapd/hostapd.conf | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.conf +index f71a881..00843aa 100644 +--- a/hostapd/hostapd.conf ++++ b/hostapd/hostapd.conf +@@ -83,7 +83,7 @@ ctrl_interface_group=0 + ##### IEEE 802.11 related configuration ####################################### + + # SSID to be used in IEEE 802.11 management frames +-ssid=test ++ssid=TexasInstruments_0001 + + # Country code (ISO/IEC 3166-1). Used to set regulatory domain. + # Set as needed to indicate country in which device is operating. +@@ -107,7 +107,7 @@ hw_mode=g + # channel will need to be configured separately with iwconfig. + # When set to 0, automatic channel selection will be engaged. A channel + # will be selected from the desired hw_mode. +-channel=1 ++channel=6 + + # Automatic channel selection (ACS) whitelist + # (default: not set) +-- +1.7.9.5 +
meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_r8.a6.01.bb new file +22 -0
@@ -0,0 +1,22 @@ +# This is a TI specific version of the hostap-daemon recipe for use with the +# wl18xx wlan and bluetooth module. + +require hostap.inc + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e" + +PR_append = "a+gitr${SRCREV}" + +FILESEXTRAPATHS_append := "${THISDIR}/hostap-daemon:" + +# Add TI to the end to make it clear that this is a TI customized version +# of hostap +PV = "2.0-devel-ti" + +SRCREV = "ol_r8.a6.01" + +PROVIDES += "hostap-daemon" +RPROVIDES += "hostap-daemon" +RREPLACESi += "hostap-daemon" +RCONFLICTS += "hostap-daemon"
meta-arago-extras/recipes-connectivity/hostap/hostap.inc +1 -1
@@ -11,7 +11,7 @@ DEPENDS = "libnl openssl" # default DEFAULT_PREFERENCE = "-1" -PR = "r3" +PR = "r4" inherit update-rc.d INITSCRIPT_NAME="hostapd"
Signature · 1 line
1.7.9.5
PATCH v2 4/9 wpa-supplicant-wl18xx: build ti 2.0-devel version for wilink8
In reply to Eyal ReizerAdd a recipe for building a ti specific 2.0-devel version for Wilink8.
This package replace the wilink6 package which is provided by the wpa-supplicant recipe.
Selection between the two is done using a "WILINK_VERSION" switch added to arago.conf.
--- .../wpa-supplicant/wpa-supplicant-wl18xx/defconfig | 430 ++++++++++++++++++++ .../wpa-supplicant-wl18xx_r8.a6.01.bb | 23 ++ .../wpa-supplicant/wpa-supplicant.inc | 2 +- 3 files changed, 454 insertions(+), 1 deletion(-) create mode 100755 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/defconfig create mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_r8.a6.01.bb
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/defconfig new file +430 -0
@@ -0,0 +1,430 @@ +# Example wpa_supplicant build time configuration +# +# This file lists the configuration options that are used when building the +# hostapd binary. All lines starting with # are ignored. Configuration option +# lines must be commented out complete, if they are not to be included, i.e., +# just setting VARIABLE=n is not disabling that variable. +# +# This file is included in Makefile, so variables like CFLAGS and LIBS can also +# be modified from here. In most cases, these lines should use += in order not +# to override previous values of the variables. + + +# Uncomment following two lines and fix the paths if you have installed OpenSSL +# or GnuTLS in non-default location +#CFLAGS += -I/usr/local/openssl/include +#LIBS += -L/usr/local/openssl/lib + +# Some Red Hat versions seem to include kerberos header files from OpenSSL, but +# the kerberos files are not in the default include path. Following line can be +# used to fix build issues on such systems (krb5.h not found). +#CFLAGS += -I/usr/include/kerberos + +# Example configuration for various cross-compilation platforms + +#### sveasoft (e.g., for Linksys WRT54G) ###################################### +#CC=mipsel-uclibc-gcc +#CC=/opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-uclibc-gcc +#CFLAGS += -Os +#CPPFLAGS += -I../src/include -I../../src/router/openssl/include +#LIBS += -L/opt/brcm/hndtools-mipsel-uclibc-0.9.19/lib -lssl +############################################################################### + +#### openwrt (e.g., for Linksys WRT54G) ####################################### +#CC=mipsel-uclibc-gcc +#CC=/opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-uclibc-gcc +#CFLAGS += -Os +#CPPFLAGS=-I../src/include -I../openssl-0.9.7d/include \ +# -I../WRT54GS/release/src/include +#LIBS = -lssl +############################################################################### + +#CC=$(CROSS_COMPILE)gcc +#CFLAGS += -DCONFIG_LIBNL20 +#CPPFLAGS += -DCONFIG_LIBNL20 +#LIBS += -L$(NFSROOT)/lib -lnl +#LIBS_p += -L$(NFSROOT)/lib +#LIBDIR = $(NFSROOT)/lib +#BINDIR = $(NFSROOT)/usr/sbin + +CONFIG_WAPI=y +CONFIG_LIBNL20=y +NEED_BGSCAN=y +CONFIG_BGSCAN_LEARN=y + +# Driver interface for Host AP driver +#CONFIG_DRIVER_HOSTAP=y + +# Driver interface for Agere driver +#CONFIG_DRIVER_HERMES=y +# Change include directories to match with the local setup +#CFLAGS += -I../../hcf -I../../include -I../../include/hcf +#CFLAGS += -I../../include/wireless + +# Driver interface for madwifi driver +# Deprecated; use CONFIG_DRIVER_WEXT=y instead. +#CONFIG_DRIVER_MADWIFI=y +# Set include directory to the madwifi source tree +#CFLAGS += -I../../madwifi + +# Driver interface for ndiswrapper +# Deprecated; use CONFIG_DRIVER_WEXT=y instead. +#CONFIG_DRIVER_NDISWRAPPER=y + +# Driver interface for Atmel driver +#CONFIG_DRIVER_ATMEL=y + +# Driver interface for old Broadcom driver +# Please note that the newer Broadcom driver ("hybrid Linux driver") supportsBG +# Linux wireless extensions and does not need (or even work) with the old +# driver wrapper. Use CONFIG_DRIVER_WEXT=y with that driver. +#CONFIG_DRIVER_BROADCOM=y +# Example path for wlioctl.h; change to match your configuration +#CFLAGS += -I/opt/WRT54GS/release/src/include + +# Driver interface for Intel ipw2100/2200 driver +# Deprecated; use CONFIG_DRIVER_WEXT=y instead. +#CONFIG_DRIVER_IPW=y + +# Driver interface for Ralink driver +#CONFIG_DRIVER_RALINK=y + +# Driver interface for generic Linux wireless extensions +CONFIG_DRIVER_WEXT=y + +# Driver interface for Linux drivers using the nl80211 kernel interface +CONFIG_DRIVER_NL80211=y + +# Driver interface for FreeBSD net80211 layer (e.g., Atheros driver) +#CONFIG_DRIVER_BSD=y +#CFLAGS += -I/usr/local/include +#LIBS += -L/usr/local/lib +#LIBS_p += -L/usr/local/libBG +#LIBS_c += -L/usr/local/lib + +# Driver interface for Windows NDIS +#CONFIG_DRIVER_NDIS=y +#CFLAGS += -I/usr/include/w32api/ddk +#LIBS += -L/usr/local/lib +# For native build using mingw +#CONFIG_NATIVE_WINDOWS=y +# Additional directories for cross-compilation on Linux host for mingw target +#CFLAGS += -I/opt/mingw/mingw32/include/ddk +#LIBS += -L/opt/mingw/mingw32/lib +#CC=mingw32-gcc +# By default, driver_ndis uses WinPcap for low-level operations. This can be +# replaced with the following option which replaces WinPcap calls with NDISUIO. +# However, this requires that WZC is disabled (net stop wzcsvc) before starting +# wpa_supplicant. +# CONFIG_USE_NDISUIO=y + +# Driver interface for development testing +#CONFIG_DRIVER_TEST=y + +# Include client MLME (management frame processing) for test driver +# This can be used to test MLME operations in hostapd with the test interface. +# space. +#CONFIG_CLIENT_MLME=y + +# Driver interface for wired Ethernet drivers +CONFIG_DRIVER_WIRED=y + +# Driver interface for the Broadcom RoboSwitch family +#CONFIG_DRIVER_ROBOSWITCH=y + +# Driver interface for no driver (e.g., WPS ER only) +#CONFIG_DRIVER_NONE=y + +# Solaris libraries +#LIBS += -lsocket -ldlpi -lnsl +#LIBS_c += -lsocket + +# Enable IEEE 802.1X Supplicant (automatically included if any EAP method is +# included) +CONFIG_IEEE8021X_EAPOL=y + +# EAP-MD5 +CONFIG_EAP_MD5=y + +# EAP-MSCHAPv2 +CONFIG_EAP_MSCHAPV2=y + +# EAP-TLS +CONFIG_EAP_TLS=y + +# EAL-PEAP +CONFIG_EAP_PEAP=y + +# EAP-TTLS +CONFIG_EAP_TTLS=y + +# EAP-FAST +# Note: Default OpenSSL package does not include support for all the +# functionality needed for EAP-FAST. If EAP-FAST is enabled with OpenSSL, +# the OpenSSL library must be patched (openssl-0.9.8d-tls-extensions.patch) +# to add the needed functions. +#CONFIG_EAP_FAST=y + +# EAP-GTC +CONFIG_EAP_GTC=y + +# EAP-OTP +CONFIG_EAP_OTP=y + +# EAP-SIM (enable CONFIG_PCSC, if EAP-SIM is used) +#CONFIG_EAP_SIM=y + +# EAP-PSK (experimental; this is _not_ needed for WPA-PSK) +#CONFIG_EAP_PSK=y + +# EAP-PAX +#CONFIG_EAP_PAX=y + +# LEAP +CONFIG_EAP_LEAP=y + +# EAP-AKA (enable CONFIG_PCSC, if EAP-AKA is used) +#CONFIG_EAP_AKA=y + +# EAP-AKA' (enable CONFIG_PCSC, if EAP-AKA' is used). +# This requires CONFIG_EAP_AKA to be enabled, too. +#CONFIG_EAP_AKA_PRIME=y + +# Enable USIM simulator (Milenage) for EAP-AKA +#CONFIG_USIM_SIMULATOR=y + +# EAP-SAKE +#CONFIG_EAP_SAKE=y + +# EAP-GPSK +#CONFIG_EAP_GPSK=y +# Include support for optional SHA256 cipher suite in EAP-GPSK +#CONFIG_EAP_GPSK_SHA256=y + +# EAP-TNC and related Trusted Network Connect support (experimental) +#CONFIG_EAP_TNC=y + +# Wi-Fi Protected Setup (WPS) +CONFIG_WPS=y +# Enable WSC 2.0 support +CONFIG_WPS2=y + +# EAP-IKEv2 +#CONFIG_EAP_IKEV2=y + +# PKCS#12 (PFX) support (used to read private key and certificate file from +# a file that usually has extension .p12 or .pfx) +CONFIG_PKCS12=y + +# Smartcard support (i.e., private key on a smartcard), e.g., with openssl +# engine. +CONFIG_SMARTCARD=y + +# PC/SC interface for smartcards (USIM, GSM SIM) +# Enable this if EAP-SIM or EAP-AKA is included +#CONFIG_PCSC=y + +# Development testingBG +#CONFIG_EAPOL_TEST=y + +# Select control interface backend for external programs, e.g, wpa_cli: +# unix = UNIX domain sockets (default for Linux/*BSD) +# udp = UDP sockets using localhost (127.0.0.1) +# named_pipe = Windows Named Pipe (default for Windows) +# y = use default (backwards compatibility) +# If this option is commented out, control interface is not included in the +# build. +CONFIG_CTRL_IFACE=y + +# Include support for GNU Readline and History Libraries in wpa_cli. +# When building a wpa_cli binary for distribution, please note that these +# libraries are licensed under GPL and as such, BSD license may not apply for +# the resulting binary. +#CONFIG_READLINE=y + +# Remove debugging code that is printing out debug message to stdout. +# This can be used to reduce the size of the wpa_supplicant considerably +# if debugging code is not needed. The size reduction can be around 35% +# (e.g., 90 kB). +#CONFIG_NO_STDOUT_DEBUG=y + +# Remove WPA support, e.g., for wired-only IEEE 802.1X supplicant, to save +# 35-50 kB in code size. +#CONFIG_NO_WPA=y + +# Remove WPA2 support. This allows WPA to be used, but removes WPA2 code to +# save about 1 kB in code size when building only WPA-Personal (no EAP support) +# or 6 kB if building for WPA-Enterprise. +#CONFIG_NO_WPA2=y + +# Remove IEEE 802.11i/WPA-Personal ASCII passphrase support +# This option can be used to reduce code size by removing support for +# converting ASCII passphrases into PSK. If this functionality is removed, the +# PSK can only be configured as the 64-octet hexstring (e.g., from +# wpa_passphrase). This saves about 0.5 kB in code size. +#CONFIG_NO_WPA_PASSPHRASE=y + +# Disable scan result processing (ap_mode=1) to save code size by about 1 kB. +# This can be used if ap_scan=1 mode is never enabled. +#CONFIG_NO_SCAN_PROCESSING=y + +# Select configuration backend: +# file = text file (e.g., wpa_supplicant.conf; note: the configuration file +# path is given on command line, not here; this option is just used to +# select the backend that allows configuration files to be used) +# winreg = Windows registry (see win_example.reg for an example) +CONFIG_BACKEND=file + +# Remove configuration write functionality (i.e., to allow the configuration +# file to be updated based on runtime configuration changes). The runtime +# configuration can still be changed, the changes are just not going to be +# persistent over restarts. This option can be used to reduce code size by +# about 3.5 kB. +#CONFIG_NO_CONFIG_WRITE=y + +# Remove support for configuration blobs to reduce code size by about 1.5 kB. +#CONFIG_NO_CONFIG_BLOBS=y + +# Select program entry point implementation: +# main = UNIX/POSIX like main() function (default) +# main_winsvc = Windows service (read parameters from registry) +# main_none = Very basic example (development use only) +#CONFIG_MAIN=main + +# Select wrapper for operatins system and C library specific functions +# unix = UNIX/POSIX like systems (default) +# win32 = Windows systems +# none = Empty template +#CONFIG_OS=unix + +# Select event loop implementation +# eloop = select() loop (default) +# eloop_win = Windows events and WaitForMultipleObject() loop +# eloop_none = Empty template +#CONFIG_ELOOP=eloop + +# Select layer 2 packet implementation +# linux = Linux packet socket (default) +# pcap = libpcap/libdnet/WinPcap +# freebsd = FreeBSD libpcap +# winpcap = WinPcap with receive thread +# ndis = Windows NDISUIO (note: requires CONFIG_USE_NDISUIO=y) +# none = Empty template +#CONFIG_L2_PACKET=linux + +# PeerKey handshake for Station to Station Link (IEEE 802.11e DLS) +CONFIG_PEERKEY=y + +# IEEE 802.11w (management frame protection) +# This version is an experimental implementation based on IEEE 802.11w/D1.0 +# draft and is subject to change since the standard has not yet been finalized. +# Driver support is also needed for IEEE 802.11w. +#CONFIG_IEEE80211W=y + +# Select TLS implementation +# openssl = OpenSSL (default) +# gnutls = GnuTLS (needed for TLS/IA, see also CONFIG_GNUTLS_EXTRA) +# internal = Internal TLSv1 implementation (experimental) +# none = Empty template +#CONFIG_TLS=openssl + +# Whether to enable TLS/IA support, which is required for EAP-TTLSv1. +# You need CONFIG_TLS=gnutls for this to have any effect. Please note that +# even though the core GnuTLS library is released under LGPL, this extra +# library uses GPL and as such, the terms of GPL apply to the combination +# of wpa_supplicant and GnuTLS if this option is enabled. BSD license may not +# apply for distribution of the resulting binary. +#CONFIG_GNUTLS_EXTRA=y + +# If CONFIG_TLS=internal is used, additional library and include paths are +# needed for LibTomMath. Alternatively, an integrated, minimal version of +# LibTomMath can be used. See beginning of libtommath.c for details on benefits +# and drawbacks of this option. +#CONFIG_INTERNAL_LIBTOMMATH=y +#ifndef CONFIG_INTERNAL_LIBTOMMATH +#LTM_PATH=/usr/src/libtommath-0.39 +#CFLAGS += -I$(LTM_PATH) +#LIBS += -L$(LTM_PATH) +#LIBS_p += -L$(LTM_PATH) +#endif +# At the cost of about 4 kB of additional binary size, the internal LibTomMath +# can be configured to include faster routines for exptmod, sqr, and div to +# speed up DH and RSA calculation considerably +#CONFIG_INTERNAL_LIBTOMMATH_FAST=y + +# Include NDIS event processing through WMI into wpa_supplicant/wpasvc. +# This is only for Windows builds and requires WMI-related header files and +# WbemUuid.Lib from Platform SDK even when building with MinGW. +#CONFIG_NDIS_EVENTS_INTEGRATED=y +#PLATFORMSDKLIB="/opt/Program Files/Microsoft Platform SDK/Lib" + +# Add support for old DBus control interface +# (fi.epitest.hostap.WPASupplicant) +CONFIG_CTRL_IFACE_DBUS=y + +# Add support for new DBus control interface +# (fi.w1.hostap.wpa_supplicant1) +CONFIG_CTRL_IFACE_DBUS_NEW=y + +# Add introspection support for new DBus control interface +CONFIG_CTRL_IFACE_DBUS_INTRO=y + +# Add support for loading EAP methods dynamically as shared libraries. +# When this option is enabled, each EAP method can be either included +# statically (CONFIG_EAP_<method>=y) or dynamically (CONFIG_EAP_<method>=dyn). +# Dynamic EAP methods are build as shared objects (eap_*.so) and they need to +# be loaded in the beginning of the wpa_supplicant configuration file +# (see load_dynamic_eap parameter in the example file) before being used in +# the network blocks. +# +# Note that some shared parts of EAP methods are included in the main program +# and in order to be able to use dynamic EAP methods using these parts, the +# main program must have been build with the EAP method enabled (=y or =dyn). +# This means that EAP-TLS/PEAP/TTLS/FAST cannot be added as dynamic libraries +# unless at least one of them was included in the main build to force inclusion +# of the shared code. Similarly, at least one of EAP-SIM/AKA must be included +# in the main build to be able to load these methods dynamically. +# +# Please also note that using dynamic libraries will increase the total binary +# size. Thus, it may not be the best option for targets that have limited +# amount of memory/flash. +#CONFIG_DYNAMIC_EAP_METHODS=y + +# IEEE Std 802.11r-2008 (Fast BSS Transition) +#CONFIG_IEEE80211R=y + +# Add support for writing debug log to a file (/tmp/wpa_supplicant-log-#.txt) +CONFIG_DEBUG_FILE=y + +# Enable privilege separation (see README 'Privilege separation' for details) +#CONFIG_PRIVSEP=y + +# Enable mitigation against certain attacks against TKIP by delaying Michael +# MIC error reports by a random amount of time between 0 and 60 seconds +#CONFIG_DELAYED_MIC_ERROR_REPORT=y + +# Enable tracing code for developer debugging +# This tracks use of memory allocations and other registrations and reports +# incorrect use with a backtrace of call (or allocation) location. +#CONFIG_WPA_TRACE=y +# For BSD, comment out these. +#LIBS += -lexecinfo +#LIBS_p += -lexecinfo +#LIBS_c += -lexecinfo + +# Use libbfd to get more details for developer debugging +# This enables use of libbfd to get more detailed symbols for the backtraces +# generated by CONFIG_WPA_TRACE=y. +#CONFIG_WPA_TRACE_BFD=y +# For BSD, comment out these. +#LIBS += -lbfd -liberty -lz +#LIBS_p += -lbfd -liberty -lz +#LIBS_c += -lbfd -liberty -lz + +# for p2p +CONFIG_P2P=y +CONFIG_AP=y + +# IEEE 802.11n (High Throughput) support +CONFIG_IEEE80211N=y +
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_r8.a6.01.bb new file +23 -0
@@ -0,0 +1,23 @@ +# This is a TI specific version of the wpa-supplicant recipe for use with the +# wl18xx wlan module. + +require wpa-supplicant.inc + +LICENSE = "GPLv2 | BSD" +LIC_FILES_CHKSUM = "file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e \ + file://../README;md5=5cb758942d25f6f61fd4ac388fd446fa \ + file://wpa_supplicant.c;beginline=1;endline=17;md5=8835156c8ab8cad6356ec7f39ebe3aba" + +FILESEXTRAPATHS_append := "${THISDIR}/wpa-supplicant:" + +SRCREV = "ol_r8.a6.01" +PR = "r1+gitr${SRCREV}" + +# Add ti to the PV to indicate that this is a TI modify version of wpa-supplicant. +PV = "2.0-devel-ti" + +PROVIDES += "wpa-supplicant" +RPROVIDES += "wpa-supplicant" +RREPLACES += "wpa-supplicant" +RCONFLICTS += "wpa-supplicant" +RDEPENDS += "wpa-supplicant-cli wpa-supplicant-passphrase"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +1 -1
@@ -13,7 +13,7 @@ RRECOMMENDS_${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli" # wpa-supplicant the DEFAULT_PREFERENCE will be set to -1. DEFAULT_PREFERENCE = "-1" -PR = "r4" +PR = "r5" SRC_URI = "git://github.com/TI-OpenLink/hostap.git;protocol=git \ file://defconfig \
Signature · 1 line
1.7.9.5
PATCH v2 5/9 ti-wifi-utils-wl18xx: build the calibrator tool for wilin8
In reply to Eyal ReizerAdd a recipe for building and installing the calibrator tool used with the wilink8 family of chips.
This package replace the wilink6 package which is provided by the ti-wifi-utils recipe. Selection between the two is done using a "WILINK_VERSION" switch added to arago.conf
--- .../ti-wifi-utils/ti-wifi-utils-wl18xx_r8.a6.01.bb | 27 ++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils-wl18xx_r8.a6.01.bb
meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils-wl18xx_r8.a6.01.bb new file +27 -0
@@ -0,0 +1,27 @@ +DESCRIPTION = "The calibrator and other useful utilities for TI wireless solution based on wl12xx driver" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=4725015cb0be7be389cf06deeae3683d" + +DEPENDS = "libnl" +RDEPENDS = "ti-compat-wireless-wl12xx wl12xx-firmware" + +PR ="r1+gitr${SRCREV}" + +SRCREV = "ol_r8.a6.01" +SRC_URI = "git://github.com/TI-OpenLink/18xx-ti-utils.git \ +" + +PROVIDES += "ti-wifi-utils" +RPROVIDES += "ti-wifi-utils" +RREPLACES += "ti-wifi-utils" +RCONFLICTS += "ti-wifi-utils" + +S = "${WORKDIR}/git" + +export CROSS_COMPILE = "${TARGET_PREFIX}" +CFLAGS += " -DCONFIG_LIBNL20" + +do_install() { + install -d ${D}${bindir} + install -m 0755 calibrator ${D}${bindir}/ +}
Signature · 1 line
1.7.9.5
PATCH v2 6/9 ti-compat-wireless-wl18xx: build Wilink8 drivers from TI-OpenLink
In reply to Eyal ReizerAdd a new recipe from fetching the Wilink8 drivers from TI-Openlink in github by creating a compa-wireless package and build with the target linux kernel source.
This package replace the wilink6 package which is provided by the ti-compat-wireless-wl12xx recipe. Selection between the two is done using a "WILINK_VERSION" switch added to arago.conf
--- ...1-git-version-wl18xx-use-compat-base-tree.patch | 68 ++++++++++++++++++++ .../ti-compat-wireless-wl18xx_r8.a6.01.bb | 66 +++++++++++++++++++ 2 files changed, 134 insertions(+) create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl18xx-r8.a6.01/0001-git-version-wl18xx-use-compat-base-tree.patch create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a6.01.bb
meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl18xx-r8.a6.01/0001-git-version-wl18xx-use-compat-base-tree.patch new file +68 -0
@@ -0,0 +1,68 @@ +From bb09bbce828112d81ae473d10a07736e73704ac4 Mon Sep 17 00:00:00 2001 +From: Eyal Reizer <[email protected]> +Date: Sun, 10 Mar 2013 04:42:58 -0700 +Subject: [PATCH] git-version-wl18xx: use compat base tree + +For compat-wireless based builds use compat_base_tree_version in version.h +When building with compat-wireless mechanism, the version info captured +in version.h reflects target kernel and not the wl18xx version. + +Signed-off-by: Eyal Reizer <[email protected]> +--- + drivers/net/wireless/ti/wl18xx/Makefile | 12 ++++++++---- + drivers/net/wireless/ti/wlcore/Makefile | 12 ++++++++---- + 2 files changed, 16 insertions(+), 8 deletions(-) + +diff --git a/drivers/net/wireless/ti/wl18xx/Makefile b/drivers/net/wireless/ti/wl18xx/Makefile +index 4ddb258..55cc561 100644 +--- a/drivers/net/wireless/ti/wl18xx/Makefile ++++ b/drivers/net/wireless/ti/wl18xx/Makefile +@@ -1,12 +1,16 @@ + wl18xx-objs = main.o acx.o tx.o io.o debugfs.o + + define filechk_version.h +- (echo 'static const char *wl18xx_git_head = \ +- "$(shell git describe --dirty)";') ++ echo '#ifdef COMPAT_BASE_TREE_VERSION'; \ ++ echo 'static const char *wl18xx_git_head = COMPAT_BASE_TREE_VERSION;'; \ ++ echo '#else'; \ ++ echo 'static const char *wl18xx_git_head = \ ++ "$(shell git describe --dirty)";'; \ ++ echo '#endif') + endef + +-$(obj)/version.h: .git/HEAD .git/index .git/refs/tags +- @$(call filechk,version.h) ++#$(obj)/version.h: .git/HEAD .git/index .git/refs/tags ++# @$(call filechk,version.h) + + $(obj)/main.c: $(src)/version.h + +diff --git a/drivers/net/wireless/ti/wlcore/Makefile b/drivers/net/wireless/ti/wlcore/Makefile +index 9923a1a..647489c 100644 +--- a/drivers/net/wireless/ti/wlcore/Makefile ++++ b/drivers/net/wireless/ti/wlcore/Makefile +@@ -3,12 +3,16 @@ wlcore-objs = main.o cmd.o io.o event.o tx.o rx.o ps.o acx.o \ + + define filechk_version.h + (echo 'static const char *wlcore_timestamp = __TIMESTAMP__;'; \ +- echo 'static const char *wlcore_git_head = \ +- "$(shell git describe --dirty)";') ++ echo '#ifdef COMPAT_BASE_TREE_VERSION'; \ ++ echo 'static const char *wl12xx_git_head = COMPAT_BASE_TREE_VERSION;'; \ ++ echo '#else'; \ ++ echo 'static const char *wl12xx_git_head = \ ++ "$(shell git describe --dirty)";'; \ ++ echo '#endif') + endef + +-$(obj)/version.h: .git/HEAD .git/index .git/refs/tags +- @$(call filechk,version.h) ++#$(obj)/version.h: .git/HEAD .git/index .git/refs/tags ++# @$(call filechk,version.h) + + $(obj)/main.c: $(src)/version.h + +-- +1.7.9.5 +
meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a6.01.bb new file +66 -0
66 lines not on this page · raw message
Signature · 1 line
1.7.9.5
Re: [PATCHv2 6/9] ti-compat-wireless-wl18xx: build Wilink8 drivers from TI-OpenLink
Quoted 139 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Reizer, Eyal
Sent: Tuesday, March 19, 2013 10:46 AM
To: [email protected]
Subject: [meta-arago] [PATCHv2 6/9] ti-compat-wireless-wl18xx:
build Wilink8 drivers from TI-OpenLinkAdd a new recipe from fetching the Wilink8 drivers from TI- Openlink
in github by creating a compa-wireless package and build with the target linux kernel source.This package replace the wilink6 package which is provided by the ti-compat-wireless-wl12xx recipe. Selection between the two is done using a "
WILINK_VERSION" switch added to arago.confSigned-off-by Eyal Reizer <[email protected]>--- ...1-git-version-wl18xx-use-compat-base-tree.patch | 68 ++++++++++++++++++++ .../ti-compat-wireless-wl18xx_r8.a6.01.bb | 66 +++++++++++++++++++ 2 files changed, 134 insertions(+) create mode 100644 meta-arago-extras/recipes-bsp/ti-compat- wireless/ti-compat-wireless-wl18xx-r8.a6.01/0001-git-version- wl18xx-use-compat-base-tree.patch create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a6.01.bb
(quoted diff) +0
-0compat-wireless-wl18xx-r8.a6.01/0001-git-version-wl18xx-use- compat-base-tree.patch b/meta-arago-extras/recipes-bsp/ti-compat- wireless/ti-compat-wireless-wl18xx-r8.a6.01/0001-git-version- wl18xx-use-compat-base-tree.patch
new file mode 100644
index 0000000..624d86fmeta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +0
-0wireless-wl18xx-r8.a6.01/0001-git-version-wl18xx-use-compat-base- tree.patch
meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +1
-0@@ -0,0 +1,68 @@ +From bb09bbce828112d81ae473d10a07736e73704ac4 Mon Sep 1700:00:00 2001
meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +5
-0+From: Eyal Reizer <[email protected]> +Date: Sun, 10 Mar 2013 04:42:58 -0700 +Subject: [PATCH] git-version-wl18xx: use compat base tree + +For compat-wireless based builds use compat_base_tree_version in
version.h
+When building with compat-wireless mechanism, the version info capturedmeta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +9
-0+in version.h reflects target kernel and not the wl18xx version. + +Signed-off-by: Eyal Reizer <[email protected]> +--- + drivers/net/wireless/ti/wl18xx/Makefile | 12 ++++++++---- + drivers/net/wireless/ti/wlcore/Makefile | 12 ++++++++---- + 2 files changed, 16 insertions(+), 8 deletions(-) + +diff --git a/drivers/net/wireless/ti/wl18xx/Makefileb/drivers/net/wireless/ti/wl18xx/Makefile
meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +11
-0+index 4ddb258..55cc561 100644 +--- a/drivers/net/wireless/ti/wl18xx/Makefile ++++ b/drivers/net/wireless/ti/wl18xx/Makefile +@@ -1,12 +1,16 @@ + wl18xx-objs = main.o acx.o tx.o io.o debugfs.o + + define filechk_version.h +- (echo 'static const char *wl18xx_git_head = \ +- "$(shell git describe --dirty)";') ++ echo '#ifdef COMPAT_BASE_TREE_VERSION'; \ ++ echo 'static const char *wl18xx_git_head =
COMPAT_BASE_TREE_VERSION;'; \
++ echo '#else'; \
++ echo 'static const char*wl18xx_git_head= \
++ "$(shell git describe --dirty)";'; \
++ echo '#endif')
+ endefmeta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +9
-0+ +-$(obj)/version.h: .git/HEAD .git/index .git/refs/tags +- @$(call filechk,version.h) ++#$(obj)/version.h: .git/HEAD .git/index .git/refs/tags ++# @$(call filechk,version.h) + + $(obj)/main.c: $(src)/version.h + +diff --git a/drivers/net/wireless/ti/wlcore/Makefileb/drivers/net/wireless/ti/wlcore/Makefile
+index 9923a1a..647489c 100644
+--- a/drivers/net/wireless/ti/wlcore/Makefile
++++ b/drivers/net/wireless/ti/wlcore/Makefile
+@@ -3,12 +3,16 @@ wlcore-objs = main.o cmd.o io.o
event.o tx.o rx.o ps.o acx.o \meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +3
-0+ + define filechk_version.h + (echo 'static const char *wlcore_timestamp =
__TIMESTAMP__;'; \+- echo 'static const char *wlcore_git_head = \ +- "$(shell git describe --dirty)";') ++ echo '#ifdef COMPAT_BASE_TREE_VERSION'; \ ++ echo 'static const char *wl12xx_git_head =
COMPAT_BASE_TREE_VERSION;'; \
++ echo '#else'; \
++ echo 'static const char*wl12xx_git_head= \
++ "$(shell git describe --dirty)";'; \
++ echo '#endif')
+ endefmeta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +11
-0+ +-$(obj)/version.h: .git/HEAD .git/index .git/refs/tags +- @$(call filechk,version.h) ++#$(obj)/version.h: .git/HEAD .git/index .git/refs/tags ++# @$(call filechk,version.h) + + $(obj)/main.c: $(src)/version.h + +-- +1.7.9.5 +(quoted diff) +0
-0compat-wireless-wl18xx_r8.a6.01.bb b/meta-arago-extras/recipes- bsp/ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a6.01.bb new file mode 100644
index 0000000..7549f47meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +0
-0wireless-wl18xx_r8.a6.01.bb
meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +1
-0@@ -0,0 +1,66 @@ +# This is a TI specific version of the compat-wireless recipeusing a
+# compat-wireless package created from the TI Systems Tested mac80211 releases.meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +6
-0+ +DESCRIPTION = "ti compat-wireless drivers for wl18xx" +HOMEPAGE = "https://gforge.ti.com/gf/project/ecs_nlcp/" +SECTION = "kernel/modules" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM ="file://COPYRIGHT;md5=d7810fab7487fb0aad327b76f1be7cd7"
meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-
Quoted 7 lines
meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +7
-0+ +RDEPENDS_${PN} = "wireless-tools" + +PROVIDES += "ti-compat-wireless-wl12xx" +RPROVIDES += "ti-compat-wireless-wl12xx" +RREPLACES += "ti-compat-wireless-wl12xx" +RCONFLICTS += "ti-compat-wireless-wl12xx"
Same comment as the wl18xx-firmware recipe
Quoted 67 lines
meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +16
-0+ +PV = "r8.a6.01" +inherit module + +PR = "${MACHINE_KERNEL_PR}" +PR_append = "a" + +SRCREV_wl18xx = "ol_r8.a6.01" +SRCREV_compat = "ol_r8.a6.01" +SRCREV_compat-wireless = "ol_r8.a6.01" + +SRCREV_FORMAT = "compat-wireless" + +S = "${WORKDIR}/compat-wireless" + +SRC_URI = "git://github.com/TI-OpenLink/compat-wireless.git;destsuffix=compat-wireless;name=compat-wireless \
+git://github.com/TI-
OpenLink/compat.git;destsuffix=compat;name=compat \
+git://github.com/TI-
OpenLink/wl18xx.git;destsuffix=wl18xx;name=wl18xx \
+ file://0001-git-version-wl18xx-use-compat-base-
tree.patch;patchdir=../wl18xx \
+ file://0001-wl12xx-additional-two-members-for-
wl12xx_platform_da.patch;patchdir=../wl18xx \meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +15
-0+ " + + +EXTRA_OEMAKE = "KLIB_BUILD=${STAGING_KERNEL_DIR} KLIB=${D}" + +# Prevent sourceipk clear_git function from running. +# This preserves the git repo until driver-select is ran. + +clear_git() { + : +} + +do_configure() { + cd ${S} + GIT_TREE="${WORKDIR}/wl18xx"GIT_COMPAT_TREE="${WORKDIR}/compat"
./scripts/admin-refresh.shmeta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +3
-0+ ./scripts/driver-select wl18xx + + # Delete the .git repository since it should no longer beneeded.
meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +3
-0+ rm -rf ${S}/.git ${S}/.gitignore + + # Now generate the sourceipk with the properly configuredsources
meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +9
-0+ sourceipk_do_create_srcipk +} + +do_configure_append() { + sed -i "s#@./scripts/update-initramfs## " Makefile +} + +do_install() { + oe_runmake DEPMOD=echo DESTDIR="${D}"INSTALL_MOD_PATH="${D}" LDFLAGS="" install-modules +}
--
1.7.9.5_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Quoted 8 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Reizer, Eyal
Sent: Tuesday, March 19, 2013 10:45 AM
To: [email protected]
Subject: [meta-arago] [PATCHv2 2/9] wl18xx-firmware: install Wilink8 wlan firmware files
What changed in v2? You need to add that note.
Quoted 48 lines
Add a recipe for installing the Wilink8 wlan firmware files into the target file system.
This package replace the wilink6 package which is provided by the wl12xx-firmware recipe. Selection between the two is done using a "
WILINK_VERSION" switch added to arago.confSigned-off-by Eyal Reizer <[email protected]>--- .../wl18xx-firmware/wl18xx-firmware/Makefile | 7 +++++ .../wl18xx-firmware/wl18xx-firmware_r8.a6.01.bb | 30 ++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 meta-arago-extras/recipes-bsp/wl18xx- firmware/wl18xx-firmware/Makefile create mode 100644 meta-arago-extras/recipes-bsp/wl18xx-
firmware/wl18xx-firmware_r8.a6.01.bb(quoted diff) +0
-0
firmware/wl18xx-firmware/Makefileb/meta-arago-extras/recipes- bsp/wl18xx-firmware/wl18xx-firmware/Makefile
new file mode 100644
index 0000000..0bb7ab8meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +0
-0
firmware/Makefilemeta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +1
-0@@ -0,0 +1,7 @@ +# Installs the the ti-connectiviy wlan firmware files into theroot file system
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +6
-0+ +install: + install -d $(DEST_DIR)/lib/firmware/ti-connectivity + cp -RpP * $(DEST_DIR)/lib/firmware/ti-connectivity/ + rm -f $(DEST_DIR)/lib/firmware/ti-connectivity/Makefile +(quoted diff) +0
-0
firmware/wl18xx-firmware_r8.a6.01.bbb/meta-arago-extras/recipes- bsp/wl18xx-firmware/wl18xx-firmware_r8.a6.01.bb
new file mode 100644
index 0000000..fd463ccmeta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +0
-0firmware_r8.a6.01.bb
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +3
-0@@ -0,0 +1,30 @@ +DESCRIPTION = "Firmware files for use with TI wl18xx" +LICENSE = "TI-TSPA" +LIC_FILES_CHKSUM ="file://LICENCE;md5=b28122fd6678e89fd3a8d4bc80922969"
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-
Quoted 9 lines
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +9
-0+ +PACKAGE_ARCH = "all" + +PR = "r1+gitr${SRCREV}" + +PROVIDES += "wl12xx-firmware" +RPROVIDES += "wl12xx-firmware" +RREPLACES += "wl12xx-firmware" +RCONFLICTS += "wl12xx-firmware"
This seems wrong. You are providing wl12xx-firmware and also saying you replace and conflict with wl12xx firmware.
I'm thinking you should use wl-firmware as the package name and then your PREFERRED_PROVIDER settings can be updated and the PROVIDES here would be updated.
Quoted 26 lines
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +3
-0+ +SRCREV = "ol_r8.a6.01" +SRC_URI = "git://github.com/TI-OpenLink/wl18xx_fw.git;protocol=git \
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +15
-1+ file://Makefile \ + " + +S = "${WORKDIR}/git" + +do_compile() { + : +} + +do_install() { + cp ${WORKDIR}/Makefile ${S} + oe_runmake 'DEST_DIR=${D}' install +} + +FILES_${PN} = "/lib/firmware/ti-connectivity/*" --1.7.9.5
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Quoted 63 lines · Chase
Quoted 8 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Reizer, Eyal
Sent: Tuesday, March 19, 2013 10:45 AM
To: [email protected]
Subject: [meta-arago] [PATCHv2 2/9] wl18xx-firmware: install Wilink8 wlan firmware filesWhat changed in v2? You need to add that note.
Quoted 52 lines
Add a recipe for installing the Wilink8 wlan firmware files into the target file system.
This package replace the wilink6 package which is provided by the wl12xx-firmware recipe. Selection between the two is done using a "
WILINK_VERSION" switch added to arago.confSigned-off-by Eyal Reizer <[email protected]>--- .../wl18xx-firmware/wl18xx-firmware/Makefile | 7 +++++ .../wl18xx-firmware/wl18xx-firmware_r8.a6.01.bb | 30 ++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 meta-arago-extras/recipes-bsp/wl18xx- firmware/wl18xx-firmware/Makefile create mode 100644 meta-arago-extras/recipes-bsp/wl18xx-
firmware/wl18xx-firmware_r8.a6.01.bb(quoted diff) +0
-0
firmware/wl18xx-firmware/Makefileb/meta-arago-extras/recipes- bsp/wl18xx-firmware/wl18xx-firmware/Makefile
new file mode 100644
index 0000000..0bb7ab8meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +0
-0
firmware/Makefilemeta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +1
-0@@ -0,0 +1,7 @@ +# Installs the the ti-connectiviy wlan firmware files into theroot file system
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +6
-0+ +install: + install -d $(DEST_DIR)/lib/firmware/ti-connectivity + cp -RpP * $(DEST_DIR)/lib/firmware/ti-connectivity/ + rm -f $(DEST_DIR)/lib/firmware/ti-connectivity/Makefile +(quoted diff) +0
-0
firmware/wl18xx-firmware_r8.a6.01.bbb/meta-arago-extras/recipes- bsp/wl18xx-firmware/wl18xx-firmware_r8.a6.01.bb
new file mode 100644
index 0000000..fd463ccmeta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +0
-0firmware_r8.a6.01.bb
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +3
-0@@ -0,0 +1,30 @@ +DESCRIPTION = "Firmware files for use with TI wl18xx" +LICENSE = "TI-TSPA" +LIC_FILES_CHKSUM ="file://LICENCE;md5=b28122fd6678e89fd3a8d4bc80922969"
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +4
-0+ +PACKAGE_ARCH = "all" + +PR = "r1+gitr${SRCREV}"
Quoted 8 lines
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-
Quoted 5 lines
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +5
-0+ +PROVIDES += "wl12xx-firmware" +RPROVIDES += "wl12xx-firmware" +RREPLACES += "wl12xx-firmware" +RCONFLICTS += "wl12xx-firmware"This seems wrong. You are providing wl12xx-firmware and also saying you replace and conflict with wl12xx firmware.
No, that is actually the correct approach.
With one exception! All runtime variables (those beginning with R) should always be package-specific, i.e. use the _${PN} suffix or the actual name of the package:
+PROVIDES += "wl12xx-firmware"
+RPROVIDES_${PN} += "wl12xx-firmware"
+RREPLACES_${PN} += "wl12xx-firmware"
+RCONFLICTS_${PN} += "wl12xx-firmware"
Quoted 3 lines
I'm thinking you should use wl-firmware as the package name and then your
PREFERRED_PROVIDERsettings can be updated and the PROVIDES here would be updated.
I don't see the point. Currently, it would produce wl18xx-firmware package, which at build time can substitute wl12xx-firmware with PREFERRED_PROVIDER_wl12xx-firmware = "wl18xx-firmware" as well as prevent accidental installation of both of them at the same time with those runtime R* variables.
Signature · 1 line
Denys
Quoted 31 lines
Quoted 22 lines
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +3
-0+ +SRCREV = "ol_r8.a6.01" +SRC_URI = "git://github.com/TI-OpenLink/wl18xx_fw.git;protocol=git \
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +15
-1+ file://Makefile \ + " + +S = "${WORKDIR}/git" + +do_compile() { + : +} + +do_install() { + cp ${WORKDIR}/Makefile ${S} + oe_runmake 'DEST_DIR=${D}' install +} + +FILES_${PN} = "/lib/firmware/ti-connectivity/*" --1.7.9.5
Quoted 4 lines
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago