wl12xx-firmware: Pull back in old r5.00.18 recipe.
PATCH v2 1/17 wl12xx-firmware: Pull back in old r5.00.18 recipe.
* Current am180x-evm ships with a PG 2 wilink 6 module that isn't supported in newer wilink 6 releases.
* A newer PG 3 wilink 6 module is available for am180x-evm but needs to be purchased separately..
* Bring old r5.00.18 wl12x-firmware recipe with updated recipe name to add support for am180x-evm default wilink 6 module.
---
Version 2 changes:
None. Apart of new patchset.
.../wl12xx-firmware/wl12xx-firmware_r5.00.18.bb | 28 ++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) create mode 100644 meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx-firmware_r5.00.18.bb
meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx-firmware_r5.00.18.bb new file +28 -0
@@ -0,0 +1,28 @@ +DESCRIPTION = "Firmware files for use with TI wl12xx" +LICENSE = "TI-TSPA" +LIC_FILES_CHKSUM = "file://LICENCE;md5=ba590e1d103f891d0151609046aef9e8" + +PACKAGE_ARCH = "all" + +PR = "r0+gitr${SRCREV}" + +# This recipe provides the latest firmware files for wl12xx. +# Therefore, use the contents of this recipe instead of the contents +# of linux-firmware-wl12xx. +RCONFLICTS_${PN} = "linux-firmware-wl12xx" +RPROVIDES_${PN} = "linux-firmware-wl12xx" + +SRCREV = "38e0dd7999b9087e00d1a59306a7c22fd23246cf" +SRC_URI = "git://github.com/TI-ECS/ti-utils.git;protocol=git" + +S = "${WORKDIR}/git/hw/firmware" + +do_compile() { + : +} + +do_install() { + oe_runmake 'DEST_DIR=${D}' install +} + +FILES_${PN} = "/lib/firmware/ti-connectivity/*"
Signature · 1 line
1.7.0.4
PATCH v2 2/17 wl12xx-firmware: Update recipe name.
* Update recipe to have a distinct name.
---
Version 2 changes:
None. Apart of new patchset.
.../Makefile | 0
...irmware_git.bb => wl12xx-firmware_r5.sp4.01.bb} | 0
2 files changed, 0 insertions(+), 0 deletions(-)
rename meta-arago-extras/recipes-bsp/wl12xx-firmware/{wl12xx-firmware => wl12xx-firmware-r5.sp4.01}/Makefile (100%)
rename meta-arago-extras/recipes-bsp/wl12xx-firmware/{wl12xx-firmware_git.bb => wl12xx-firmware_r5.sp4.01.bb} (100%)meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx-firmware-r5.sp4.01/Makefile renamed from meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx-firmware/Makefile +0 -0
meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx-firmware_r5.sp4.01.bb renamed from meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx-firmware_git.bb +0 -0
Signature · 1 line
1.7.0.4
PATCH v2 3/17 ti-compat-bluetooth: Split recipe
In reply to Franklin S. Cooper Jr* Generate a common .inc file to allow support for multiple versions of the ti-compat-bluetooth recipe.
* Change the recipe name to reflect the specific TI compat-bluetooth release
---
Version 2 changes:
Removed "+" from PR.
Removed patches from .inc and moved them to the actual recipes.
.../ti-compat-bluetooth/ti-compat-bluetooth.inc | 26 +++++++++++++ .../ti-compat-bluetooth/ti-compat-bluetooth_1.0.bb | 39 -------------------- .../ti-compat-bluetooth_r5.sp3.05.bb | 12 ++++++ 3 files changed, 38 insertions(+), 39 deletions(-) create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth.inc delete mode 100644 meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth_1.0.bb create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth_r5.sp3.05.bb
meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth.inc new file +26 -0
@@ -0,0 +1,26 @@ +DESCRIPTION = "TI compat-bluetooth drivers" +HOMEPAGE = "https://gforge.ti.com/gf/project/ecs_nlcp/" +SECTION = "kernel/modules" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d7810fab7487fb0aad327b76f1be7cd7" + +inherit module + +RDEPENDS_${PN} = "ti-compat-wireless-wl12xx" + +PR = "${MACHINE_KERNEL_PR}b" + +S = "${WORKDIR}/compat-bluetooth/" + +EXTRA_OEMAKE = "KLIB_BUILD=${STAGING_KERNEL_DIR} KLIB=${D}" + +do_configure() { + cd ${S} + ./scripts/driver-select bt +} + +do_install() { + oe_runmake DEPMOD=echo DESTDIR="${D}" INSTALL_MOD_PATH="${D}" LDFLAGS="" install-modules + find ${D} -name compat.ko | xargs rm +} +
meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth_1.0.bb deleted +0 -39
@@ -1,39 +0,0 @@ -DESCRIPTION = "TI compat-bluetooth drivers" -HOMEPAGE = "https://gforge.ti.com/gf/project/ecs_nlcp/" -SECTION = "kernel/modules" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d7810fab7487fb0aad327b76f1be7cd7" - -inherit module - -RDEPENDS_${PN} = "ti-compat-wireless-wl12xx" - -PR = "${MACHINE_KERNEL_PR}" -PR_append = "b" - -COMPAT_BLUETOOTH_VERSION = "2012-11-19-r5-sp3" -TAG = "${@'${COMPAT_BLUETOOTH_VERSION}'.replace('-', '')}" -PV = "0.${TAG}" - -SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/802/5435/ti-compat-bluetooth-2012-02-20.tar.gz \ - file://0001-compat-bluetooth-2.6-removed-unused-BT-modules-from-.patch \ - file://0002-Bluetooth-Fix-l2cap-conn-failures-for-ssp-devices.patch \ - file://0001-compat-bluetooth-fixing-kernel-panic-in-l2cap.patch \ - " - -SRC_URI[md5sum] = "7c231b35a2297391b5192f86ff4f10dd" -SRC_URI[sha256sum] = "d8882da8bb37821bfd0b9334b859f64d0ce82ae5262360367a3f3fdf31c7f350" - -S = "${WORKDIR}/compat-bluetooth/" - -EXTRA_OEMAKE = "KLIB_BUILD=${STAGING_KERNEL_DIR} KLIB=${D}" - -do_configure() { - cd ${S} - ./scripts/driver-select bt -} - -do_install() { - oe_runmake DEPMOD=echo DESTDIR="${D}" INSTALL_MOD_PATH="${D}" LDFLAGS="" install-modules - find ${D} -name compat.ko | xargs rm -}
meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth_r5.sp3.05.bb new file +12 -0
@@ -0,0 +1,12 @@ +require ti-compat-bluetooth.inc + +PR_append = "-r0" + +SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/802/5435/ti-compat-bluetooth-2012-02-20.tar.gz \ + file://0001-compat-bluetooth-2.6-removed-unused-BT-modules-from-.patch \ + file://0002-Bluetooth-Fix-l2cap-conn-failures-for-ssp-devices.patch \ + file://0001-compat-bluetooth-fixing-kernel-panic-in-l2cap.patch \ +" + +SRC_URI[md5sum] = "7c231b35a2297391b5192f86ff4f10dd" +SRC_URI[sha256sum] = "d8882da8bb37821bfd0b9334b859f64d0ce82ae5262360367a3f3fdf31c7f350"
Signature · 1 line
1.7.0.4
PATCH v2 4/17 ti-compat-bluetooth: Add back old r5.00.18 compat-bluetooth release version
In reply to Franklin S. Cooper Jr* Current am180x-evm ships with a PG 2 wilink 6 module that isn't supported in newer wilink 6 releases.
* A newer PG 3 wilink 6 module is available for am180x-evm but needs to be purchased separately..
* Bring old r5.00.18 ti-compat-bluetooth recipe with updated recipe name to add support for am180x-evm default wilink 6 module.
---
Version 2 changes:
Add patches to SRC_URI rather than depending on the .inc to add these patches.
.../ti-compat-bluetooth_r5.00.18.bb | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth_r5.00.18.bb
meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth_r5.00.18.bb new file +12 -0
@@ -0,0 +1,12 @@ +require ti-compat-bluetooth.inc + +PR_append = "-r0" + +SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/865/5622/compat-bluetooth-wl12xx-2012-05-22-r5-18.tgz \ + file://0001-compat-bluetooth-2.6-removed-unused-BT-modules-from-.patch \ + file://0002-Bluetooth-Fix-l2cap-conn-failures-for-ssp-devices.patch \ + file://0001-compat-bluetooth-fixing-kernel-panic-in-l2cap.patch \ +" + +SRC_URI[md5sum] = "85118756a605ebd8f4fbff19995368a6" +SRC_URI[sha256sum] = "d250a6447de54f0776a12ca604bf2a2a48b022108b699de5008f48462e535393"
Signature · 1 line
1.7.0.4
PATCH v2 5/17 ti-compat-wireless-wl12xx: Rename recipe
In reply to Franklin S. Cooper Jr* Rename recipe so that PV matches the release version of compat-wireless-wl12xx.
---
Version 2 changes:
None. Apart of new patchset.
...5.bb => ti-compat-wireless-wl12xx_r5.sp4.01.bb} | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
rename meta-arago-extras/recipes-bsp/ti-compat-wireless/{ti-compat-wireless-wl12xx_r5.bb => ti-compat-wireless-wl12xx_r5.sp4.01.bb} (99%)meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx_r5.sp4.01.bb renamed from meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx_r5.bb +0 -2
@@ -9,8 +9,6 @@ LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d7810fab7487fb0aad327b76f1be7cd7" RDEPENDS_${PN} = "wireless-tools" -PV = "r5.sp4.01" - inherit module PR = "${MACHINE_KERNEL_PR}"
Signature · 1 line
1.7.0.4
PATCH v2 6/17 ti-compat-wireless-wl12xx: Pull in older ti-compat-wireless-wl12xx release
In reply to Franklin S. Cooper Jr* Current am180x-evm ships with a PG 2 wilink 6 module that isn't supported in newer wilink 6 releases.
* A newer PG 3 wilink 6 module is available for am180x-evm but needs to be purchased separately..
* Bring old r5.00.18 ti-compat-wireless-wl12xx recipe with updated recipe name to add support for am180x-evm default wilink 6 module.
---
Version 2 changes:
Remove "+" from PR.
.../0001-compat-wireless-exclude-BT-building.patch | 29 +++++++++ ...xx-detect-between-wl1271-PG-3.0-and-lower.patch | 65 ++++++++++++++++++++ .../0002-compat-wireless-enable-test-mode.patch | 29 +++++++++ ...ompat-wireless-enable-uapsd-configuration.patch | 27 ++++++++ .../0004-added-driver-version.patch | 36 +++++++++++ .../ti-compat-wireless-wl12xx_r5.00.18.bb | 49 +++++++++++++++ 6 files changed, 235 insertions(+), 0 deletions(-) create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx-r5.00.18/0001-compat-wireless-exclude-BT-building.patch create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx-r5.00.18/0001-wl12xx-detect-between-wl1271-PG-3.0-and-lower.patch create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx-r5.00.18/0002-compat-wireless-enable-test-mode.patch create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx-r5.00.18/0002-ti-compat-wireless-enable-uapsd-configuration.patch create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx-r5.00.18/0004-added-driver-version.patch create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx_r5.00.18.bb
meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx-r5.00.18/0001-compat-wireless-exclude-BT-building.patch new file +29 -0
@@ -0,0 +1,29 @@ +From 491bf7e73abf395f2af4a914d972dc7b73af2533 Mon Sep 17 00:00:00 2001 +From: Moosa <[email protected]> +Date: Thu, 24 May 2012 11:53:07 +0300 +Subject: [PATCH 1/2] compat-wireless: exclude BT building + +* Exclude Bluetooth components building from compat-wireless + +Upstream-Status: Pending + +Signed-off-by: Moosa Baransi <[email protected]> +--- + Makefile | 2 -- + 1 files changed, 0 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index a020661..ac75fb0 100644 +--- a/Makefile ++++ b/Makefile +@@ -37,8 +37,6 @@ endif + + endif + +-obj-$(CONFIG_COMPAT_BLUETOOTH) += net/bluetooth/ +-obj-$(CONFIG_COMPAT_BLUETOOTH_MODULES) += drivers/bluetooth/ + + else + +-- +1.7.1
meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx-r5.00.18/0001-wl12xx-detect-between-wl1271-PG-3.0-and-lower.patch new file +65 -0
65 lines not on this page · raw message
meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx-r5.00.18/0002-compat-wireless-enable-test-mode.patch new file +29 -0
@@ -0,0 +1,29 @@ +From ca17ce77efde9a69ea4d82b86d4d51463d3e2b4a Mon Sep 17 00:00:00 2001 +From: Moosa <[email protected]> +Date: Thu, 24 May 2012 11:54:06 +0300 +Subject: [PATCH 2/2] compat-wireless: enable test mode + +* Enable test mode switch. Needed for the calibration process + +Upstream-Status: Pending + +Signed-off-by: Moosa Baransi <[email protected]> +--- + config.mk | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/config.mk b/config.mk +index f09d16d..65b485e 100644 +--- a/config.mk ++++ b/config.mk +@@ -198,7 +198,7 @@ CONFIG_MAC80211_MESH=y + CONFIG_CFG80211=m + CONFIG_CFG80211_DEFAULT_PS=y + # CONFIG_CFG80211_DEBUGFS=y +-# CONFIG_NL80211_TESTMODE=y ++CONFIG_NL80211_TESTMODE=y + # CONFIG_CFG80211_DEVELOPER_WARNINGS=y + # CONFIG_CFG80211_REG_DEBUG=y + # CONFIG_CFG80211_INTERNAL_REGDB=y +-- +1.7.1
meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx-r5.00.18/0002-ti-compat-wireless-enable-uapsd-configuration.patch new file +27 -0
@@ -0,0 +1,27 @@ +From 74d34f0573183f3d4971fcae46ed9dadbf514626 Mon Sep 17 00:00:00 2001 +From: Eyal Reizer <[email protected]> +Date: Sun, 12 Jun 2011 17:33:09 +0300 +Subject: [PATCH] ti-compat-wireless:enable uapsd configuration + +this switch activates the wlan uapsd_queues settings + +Signed-off-by: Eyal Reizer <[email protected]> +--- + config.mk | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/config.mk b/config.mk +index f4cf832..a464b99 100644 +--- a/config.mk ++++ b/config.mk +@@ -110,7 +110,7 @@ endif #CONFIG_COMPAT_KERNEL_33 + # Wireless subsystem stuff + CONFIG_MAC80211=m + +-# CONFIG_MAC80211_DEBUGFS=y ++CONFIG_MAC80211_DEBUGFS=y + # CONFIG_MAC80211_NOINLINE=y + # CONFIG_MAC80211_VERBOSE_DEBUG=y + # CONFIG_MAC80211_HT_DEBUG=y +-- +1.7.0.4
meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx-r5.00.18/0004-added-driver-version.patch new file +36 -0
@@ -0,0 +1,36 @@ +From 6147f6523fd3e82b1bed0ea5de1c23cff808a39f Mon Sep 17 00:00:00 2001 +From: Moosa <[email protected]> +Date: Thu, 29 Dec 2011 09:26:16 +0200 +Subject: [PATCH] added driver version + +* Add printing of driver version after printing FW version. + +Upstream-Status: Pending + +Signed-off-by: Moosa <[email protected]> +--- + drivers/net/wireless/wl12xx/main.c | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c +index aae6a74..fbf754b 100644 +--- a/drivers/net/wireless/wl12xx/main.c ++++ b/drivers/net/wireless/wl12xx/main.c +@@ -49,6 +49,7 @@ + #include "scan.h" + + #define WL1271_BOOT_RETRIES 3 ++#define WLAN_DRIVER_VERSION "R5_00_18" + + static struct conf_drv_settings default_conf = { + .sg = { +@@ -2227,6 +2228,7 @@ power_off: + wl->state = WL1271_STATE_ON; + set_bit(WL1271_FLAG_IF_INITIALIZED, &wl->flags); + wl1271_info("firmware booted (%s)", wl->chip.fw_ver_str); ++ wl1271_info("Driver version: %s", WLAN_DRIVER_VERSION); + + /* update hw/fw version info in wiphy struct */ + wiphy->hw_version = wl->chip.id; +-- +1.7.0.4
meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx_r5.00.18.bb new file +49 -0
49 lines not on this page · raw message
Signature · 1 line
1.7.0.4
PATCH v2 7/17 hostap-daemon: Split recipe
In reply to Franklin S. Cooper Jr* Split recipe to allow multiple hostap-daemon recipes to share a common .inc
---
Version 2 changes:
None. Apart of new patchset.
...d-change-conf-file-for-better-oob-startup.patch | 0
.../hostap/hostap-daemon_git.bb | 61 --------------------
.../hostap/hostap-daemon_r5.sp4.01.bb | 11 ++++
.../recipes-connectivity/hostap/hostap.inc | 54 +++++++++++++++++
4 files changed, 65 insertions(+), 61 deletions(-)
rename meta-arago-extras/recipes-connectivity/hostap/{hostap-daemon => hostap-daemon-r5.sp4.01}/0001-hostapd-change-conf-file-for-better-oob-startup.patch (100%)
delete mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_git.bb
create mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_r5.sp4.01.bb
create mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap.incmeta-arago-extras/recipes-connectivity/hostap/hostap-daemon-r5.sp4.01/0001-hostapd-change-conf-file-for-better-oob-startup.patch renamed from meta-arago-extras/recipes-connectivity/hostap/hostap-daemon/0001-hostapd-change-conf-file-for-better-oob-startup.patch +0 -0
meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_git.bb deleted +0 -61
61 lines not on this page · raw message
meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_r5.sp4.01.bb new file +11 -0
@@ -0,0 +1,11 @@ +# This is a TI specific version of the hostap-daemon recipe for use with the +# wl12xx wlan and bluetooth module. + +require hostap.inc + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e" + +PR_append = "a+gitr${SRCPV}" + +SRCREV = "ol_R5.SP4.01"
meta-arago-extras/recipes-connectivity/hostap/hostap.inc new file +54 -0
54 lines not on this page · raw message
Signature · 1 line
1.7.0.4
PATCH v2 8/17 hostap-daemon: Pull in old r5-00-18 recipe
In reply to Franklin S. Cooper Jr* Current am180x-evm ships with a PG 2 wilink 6 module that isn't supported in newer wilink 6 releases.
* A newer PG 3 wilink 6 module is available for am180x-evm but needs to be purchased separately..
* Bring old r5.00.18 hostap-daemon recipe with updated recipe name to add support for am180x-evm default wilink 6 module.
---
Version 2 changes:
None. Apart of new patchset.
...d-change-conf-file-for-better-oob-startup.patch | 49 ++++++++++++++++++++ .../hostap/hostap-daemon_r5.00.18.bb | 11 ++++ 2 files changed, 60 insertions(+), 0 deletions(-) create mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-r5.00.18/0001-hostapd-change-conf-file-for-better-oob-startup.patch create mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_r5.00.18.bb
meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-r5.00.18/0001-hostapd-change-conf-file-for-better-oob-startup.patch new file +49 -0
@@ -0,0 +1,49 @@ +From 4c5fe9901219956fb754306a2093e78fb460bbdd Mon Sep 17 00:00:00 2001 +From: Eyal Reizer <[email protected]> +Date: Thu, 23 Jun 2011 10:13:44 +0300 +Subject: [PATCH] hostapd: change conf file for better sdk out of box startup + +The default hostapd.conf file that is fetched from upstream is using +a band which is not supported by the 1271 chip. +I am using this amend.inc in order to modify it to use g band and default +channel 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 | 6 +++--- + 1 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.conf +index 6d7263a..bb27beb 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. +@@ -99,14 +99,14 @@ ssid=test + + # Operation mode (a = IEEE 802.11a, b = IEEE 802.11b, g = IEEE 802.11g, + # Default: IEEE 802.11b +-hw_mode=a ++hw_mode=g + + # Channel number (IEEE 802.11) + # (default: 0, i.e., not set) + # Please note that some drivers (e.g., madwifi) do not use this value from + # hostapd and the channel will need to be configuration separately with + # iwconfig. +-channel=60 ++channel=6 + + # Beacon interval in kus (1.024 ms) (default: 100; range 15..65535) + beacon_int=100 +-- +1.7.0.4
meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_r5.00.18.bb new file +11 -0
@@ -0,0 +1,11 @@ +# This is a TI specific version of the hostap-daemon recipe for use with the +# wl12xx wlan and bluetooth module. + +require hostap.inc + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://../COPYING;md5=c54ce9345727175ff66d17b67ff51f58" + +PR_append = "a+gitr${SRCPV}" + +SRCREV = "ol_R5.00.18"
Signature · 1 line
1.7.0.4
PATCH v2 9/17 wifi-direct-launcher: Add script used to launch wifi-direct demos
In reply to Franklin S. Cooper Jr* Placing the kill_wpa_supplicant.sh script in its own recipe.
* Future commit will delete this script from wpa-supplicant to avoid duplication.
* Other than a new name the only other difference between this script and kill_wpa_supplicant.sh is that this script now also makes sure the dbus executable has the correct permission.
* Incorrect permission caused the demos to fail with a "There is no wpa supplicant interface"
---
Version 2 changes:
Brand new patch. Apart of new patchset.
.../wifi-direct-launcher/wifi-direct-launcher.sh | 13 +++++++++++++ .../wifi-direct-launcher_1.0.bb | 17 +++++++++++++++++ 2 files changed, 30 insertions(+), 0 deletions(-) create mode 100644 meta-arago-extras/recipes-connectivity/wifi-direct-launcher/wifi-direct-launcher/wifi-direct-launcher.sh create mode 100644 meta-arago-extras/recipes-connectivity/wifi-direct-launcher/wifi-direct-launcher_1.0.bb
meta-arago-extras/recipes-connectivity/wifi-direct-launcher/wifi-direct-launcher/wifi-direct-launcher.sh new file +13 -0
@@ -0,0 +1,13 @@ +#check if the wpa_suppicant is already running +#if it does, stop it. +StationRunning=`ps | grep -c wpa_supplicant` +if [ $StationRunning -eq 2 ]; then + killall wpa_supplicant +fi + +# Correct dbus permission. Incorrect permission causes dbus (wifi direct demos) +# dependent demos to fail. +chmod u+s /usr/libexec/dbus-daemon-launch-helper + +# start the application +$*
meta-arago-extras/recipes-connectivity/wifi-direct-launcher/wifi-direct-launcher_1.0.bb new file +17 -0
@@ -0,0 +1,17 @@ +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" + +inherit allarch + +PR ="r0" + +SRC_URI = "file://wifi-direct-launcher.sh" + +S = "${WORKDIR}" + +do_install() { + install -d ${D}${sbindir} + install -m 755 ${WORKDIR}/wifi-direct-launcher.sh ${D}${sbindir} +} + +FILES_${PN} = "/usr/sbin/wifi-direct-launcher.sh"
Signature · 1 line
1.7.0.4
PATCH v2 10/17 wifi direct demos: Update to use new wifi-direct-launcher script
In reply to Franklin S. Cooper Jr---
Version 2 changes:
Brand new patch. Apart of new patchset.
.../battleship/battleship_git.bb | 4 ++-- .../battleship/files/battleship.desktop | 2 +- .../files/wifi-direct-demo.desktop | 2 +- .../wifi-direct-demo/wifi-direct-demo_git.bb | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-)
meta-arago-extras/recipes-connectivity/battleship/battleship_git.bb +2 -2
@@ -3,7 +3,7 @@ SECTION = "network" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE;md5=75859989545e37968a99b631ef42722e" -PR = "r5" +PR = "r6" COMPATIBLE_MACHINE = "(omap3evm|am37x-evm|am335x-evm|am180x-evm|am181x-evm)"
@@ -39,7 +39,7 @@ FILES_${PN} +=" \ ${bindir}/battleship \ " -RDEPENDS_${PN} += "wpa-supplicant" +RDEPENDS_${PN} += "wpa-supplicant wifi-direct-launcher" FILES_matrix-gui-wifi-battleship-demo += " \ ${MATRIX_APP_DIR}/battleship/* \
meta-arago-extras/recipes-connectivity/battleship/files/battleship.desktop +1 -1
@@ -4,6 +4,6 @@ Name=Battleship GenericName=Demo App Icon=/usr/share/matrix-gui-2.0/apps/battleship/battleship-icon.png Type=Application -Exec=/usr/sbin/kill_wpa_supplicant.sh battleship +Exec=/usr/sbin/wifi-direct-launcher.sh battleship Categories=wifi X-ProgramType=gui
meta-arago-extras/recipes-connectivity/wifi-direct-demo/files/wifi-direct-demo.desktop +1 -1
@@ -4,6 +4,6 @@ Name=WiFi-Direct Demo GenericName=Demo App Icon=/usr/share/matrix-gui-2.0/apps/wifi-direct-demo/wifi-direct-icon.png Type=Application -Exec=/usr/sbin/kill_wpa_supplicant.sh wifi-direct-demo +Exec=/usr/sbin/wifi-direct-launcher.sh wifi-direct-demo Categories=wifi X-ProgramType=gui
meta-arago-extras/recipes-connectivity/wifi-direct-demo/wifi-direct-demo_git.bb +2 -2
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=75859989545e37968a99b631ef42722e" COMPATIBLE_MACHINE = "(am37x-evm|am335x-evm|am180x-evm|am181x-evm)" -PR = "r6" +PR = "r7" BRANCH = "master" SRCREV = "1d41618cded6d82b285e14b85b59f3320fb22469"
@@ -43,7 +43,7 @@ FILES_${PN} +=" \ ${bindir}/wifi_exit.sh \ " -RDEPENDS_${PN} += "wpa-supplicant" +RDEPENDS_${PN} += "wpa-supplicant wifi-direct-launcher" FILES_matrix-gui-wifi-direct-demo += " \ ${MATRIX_APP_DIR}/wifi-direct-demo/* \
Signature · 1 line
1.7.0.4
PATCH 11/17 wpa-supplicant: Split recipe
In reply to Franklin S. Cooper Jr* Split recipe to allow multiple versions of wpa-supplicant to exist.
* Rename recipe to match the actual version of the TI modified wpa-supplicant.
* Update recipe's bbappend
---
Version 2 changes:
Remove "-" from recipe PR_append
Removed references to kill_wpa_supplicant
Add LICENSE field back to common .inc
Add rename of bbappend to this patch.
....bbappend => wpa-supplicant_r5.sp4.01.bbappend} | 0
.../defconfig | 0
.../wpa-supplicant/wpa-supplicant.inc | 113 ++++++++++++++++++
.../wpa-supplicant/kill_wpa_supplicant.sh | 9 --
.../wpa-supplicant/wpa-supplicant_git.bb | 120 --------------------
.../wpa-supplicant/wpa-supplicant_r5.sp4.01.bb | 12 ++
6 files changed, 125 insertions(+), 129 deletions(-)
rename meta-arago-distro/recipes-connectivity/wpa-supplicant/{wpa-supplicant_git.bbappend => wpa-supplicant_r5.sp4.01.bbappend} (100%)
rename meta-arago-extras/recipes-connectivity/wpa-supplicant/{wpa-supplicant => wpa-supplicant-r5.sp4.01}/defconfig (100%)
create mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc
delete mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/kill_wpa_supplicant.sh
delete mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb
create mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_r5.sp4.01.bbmeta-arago-distro/recipes-connectivity/wpa-supplicant/wpa-supplicant_r5.sp4.01.bbappend renamed from meta-arago-distro/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bbappend +0 -0
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-r5.sp4.01/defconfig renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig +0 -0
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc new file +113 -0
113 lines not on this page · raw message
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/kill_wpa_supplicant.sh deleted +0 -9
@@ -1,9 +0,0 @@ -#check if the wpa_suppicant is already running -#if it does, stop it. -StationRunning=`ps | grep -c wpa_supplicant` -if [ $StationRunning -eq 2 ]; then - killall wpa_supplicant -fi - -# start the application -$*
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb deleted +0 -120
120 lines not on this page · raw message
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_r5.sp4.01.bb new file +12 -0
@@ -0,0 +1,12 @@ +# This is a TI specific version of the wpa-supplicant recipe for use with the +# wl12xx wlan and bluetooth module. + +require wpa-supplicant.inc + +LIC_FILES_CHKSUM = "file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e \ + file://../README;md5=5cb758942d25f6f61fd4ac388fd446fa \ + file://wpa_supplicant.c;beginline=1;endline=17;md5=8835156c8ab8cad6356ec7f39ebe3aba" + + +SRCREV = "ol_R5.SP4.01" +PR_append = "a+gitr${SRCPV}"
Signature · 1 line
1.7.0.4
Re: [PATCH 11/17] wpa-supplicant: Split recipe
Ignore this patch. Forgot to add v2 to the header.
Quoted 393 lines
-----Original Message-----
From: Cooper Jr., Franklin
Sent: Monday, April 01, 2013 9:55 AM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [PATCH 11/17] wpa-supplicant: Split recipe* Split recipe to allow multiple versions of wpa-supplicant to exist.
* Rename recipe to match the actual version of the TI modified wpa- supplicant.
* Update recipe's bbappendSigned-off-by Franklin S. Cooper Jr <[email protected]>---
Version 2 changes:
Remove "-" from recipePR_append
Removed references tokill_wpa_supplicantAdd LICENSE field back to common .inc Add rename of bbappend to this patch.....bbappend => wpa-supplicant_r5.sp4.01.bbappend} | 0 .../defconfig | 0 .../wpa-supplicant/wpa-supplicant.inc | 113 ++++++++++++++++++ .../wpa-supplicant/kill_wpa_supplicant.sh | 9 -- .../wpa-supplicant/wpa-supplicant_git.bb | 120 -------------------- .../wpa-supplicant/wpa-supplicant_r5.sp4.01.bb | 12 ++ 6 files changed, 125 insertions(+), 129 deletions(-) rename meta-arago-distro/recipes-connectivity/wpa-supplicant/{wpa-supplicant_git.bbappend => wpa-supplicant_r5.sp4.01.bbappend} (100%) rename meta-arago- extras/recipes-connectivity/wpa-supplicant/{wpa-supplicant => wpa- supplicant-r5.sp4.01}/defconfig (100%) create mode 100644 meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc
delete mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant/kill_wpa_supplicant.sh delete mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant_git.bb create mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_r5.sp4.01.bb
(quoted diff) +0
-0supplicant_git.bbappend b/meta-arago-distro/recipes-connectivity/wpa- supplicant/wpa-supplicant_r5.sp4.01.bbappend
similarity index 100%
rename from meta-arago-distro/recipes-connectivity/wpa-supplicant/wpa- supplicant_git.bbappend
rename to meta-arago-distro/recipes-connectivity/wpa-supplicant/wpa- supplicant_r5.sp4.01.bbappend(quoted diff) +0
-0supplicant/defconfig b/meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-r5.sp4.01/defconfig
similarity index 100%
rename from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant/defconfig
rename to meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant-r5.sp4.01/defconfig(quoted diff) +0
-0supplicant.inc b/meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant.inc
new file mode 100644
index 0000000..410e6e3meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +11
-0+++ nt.inc@@ -0,0 +1,113 @@ +# This is a TI specific version of the wpa-supplicant recipe for use +with the # wl12xx wlan and bluetooth module. + +DESCRIPTION = "A Client for Wi-Fi Protected Access (WPA)." +HOMEPAGE = "http://hostap.epitest.fi/wpa_supplicant/" +BUGTRACKER = "http://hostap.epitest.fi/bugz/" +SECTION = "network" +LICENSE = "GPLv2 | BSD" + +DEPENDS = "gnutls dbus libnl openssl${@base_contains("COMBINED_FEATURES", "madwifi", "madwifi-ng", "",d)}"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +30
-0+RRECOMMENDS_${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli" + +# To prevent users from accidently picking up this customized version +of # wpa-supplicant the DEFAULT_PREFERENCE will be set to -1. +DEFAULT_PREFERENCE = "-1" + +PR = "r5" + +SRC_URI = "git://github.com/TI-OpenLink/hostap.git;protocol=git \ + file://defconfig \ + file://defaults-sane \ + file://wpa-supplicant.sh \ + file://wpa_supplicant.conf \ + file://wpa_supplicant.conf-sane \ + file://99_wpa_supplicant \ + file://wpa_supplicant.conf \ + file://fi.epitest.hostap.WPASupplicant.service \ + file://fi.w1.wpa_supplicant1.service \ + " + +S = "${WORKDIR}/git/wpa_supplicant" + +PACKAGES_prepend = "wpa-supplicant-passphrase wpa-supplicant-cli " +FILES_wpa-supplicant-passphrase = "/usr/sbin/wpa_passphrase" +FILES_wpa-supplicant-cli = "/usr/sbin/wpa_cli" +FILES_${PN} += " /usr/share/dbus-1/system-services/*" + +#we introduce MY_ARCH to get 'armv5te' as arch instead of the +misleading 'arm' on armv5te builds MY_ARCH := "${PACKAGE_ARCH}" +PACKAGE_ARCH = "${@base_contains('COMBINED_FEATURES', 'madwifi','${MACHINE_ARCH}', '${MY_ARCH}', d)}"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +17
-0+ +do_compile () { + make +} + +do_install () { + install -d ${D}${sbindir} + install -m 755 wpa_supplicant ${D}${sbindir} + install -m 755 wpa_passphrase ${D}${sbindir} + install -m 755 wpa_cli ${D}${sbindir} + + install -d ${D}${docdir}/wpa_supplicant + install -m 644 README ${WORKDIR}/wpa_supplicant.conf +${D}${docdir}/wpa_supplicant + + install -d ${D}${sysconfdir}/default + install -m 600 ${WORKDIR}/defaults-sane${D}${sysconfdir}/default/wpa
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +4
-0+ install -m 600 ${WORKDIR}/wpa_supplicant.conf-sane +${D}${sysconfdir}/wpa_supplicant.conf + + if grep -q ^CONFIG_CTRL_IFACE_DBUS=y .config || grep -q^CONFIG_CTRL_IFACE_DBUS_NEW=y .config; then
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +2
-0+ install -d ${D}/${sysconfdir}/dbus-1/system.d + install -m 644 ${S}/dbus/dbus-wpa_supplicant.conf${D}/${sysconfdir}/dbus-1/system.d
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +3
-0+ install -d ${D}/${datadir}/dbus-1/system-services + if grep -q ^CONFIG_CTRL_IFACE_DBUS=y .config; then + sed -i -e s:/sbin:${sbindir}:g${S}/dbus/fi.epitest.hostap.WPASupplicant.service
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +1
-0+ install -m 644${S}/dbus/fi.epitest.hostap.WPASupplicant.service ${D}/${datadir}/dbus- 1/system-services
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +3
-0+ fi + if grep -q ^CONFIG_CTRL_IFACE_DBUS_NEW=y .config; then + sed -i -e s:/sbin:${sbindir}:g${S}/dbus/fi.w1.wpa_supplicant1.service
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +1
-0+ install -m 644${S}/dbus/fi.w1.wpa_supplicant1.service ${D}/${datadir}/dbus-1/system- services
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +8
-0+ fi + fi + + install -d ${D}${sysconfdir}/network/if-pre-up.d/ + install -d ${D}${sysconfdir}/network/if-post-down.d/ + install -d ${D}${sysconfdir}/network/if-down.d/ + install -m 644 ${WORKDIR}/wpa_supplicant.conf ${D}${sysconfdir} + install -m 755 ${WORKDIR}/wpa-supplicant.sh${D}${sysconfdir}/network/if-pre-up.d/wpa-supplicant
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +11
-0+ cd ${D}${sysconfdir}/network/ && \ + ln -sf ../if-pre-up.d/wpa-supplicant if-post-down.d/wpa-supplicant + + install -d ${D}/etc/default/volatiles + install -m 0644 ${WORKDIR}/99_wpa_supplicant +${D}/etc/default/volatiles + + install -d 2755 ${D}/usr/share/dbus-1/system-services + install -d 2755 ${D}/etc + install -m 644 ${WORKDIR}/wpa_supplicant.conf ${D}/etc + install -m 644 ${WORKDIR}/fi.epitest.hostap.WPASupplicant.service${D}/usr/share/dbus-1/system-services
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +23
-0+ install -m 644 ${WORKDIR}/fi.w1.wpa_supplicant1.service +${D}/usr/share/dbus-1/system-services +} + +pkg_postinst_wpa-supplicant () { + # can't do this offline + if [ "x$D" != "x" ]; then + exit 1 + fi + + DBUSPID=`pidof dbus-daemon` + + if [ "x$DBUSPID" != "x" ]; then + /etc/init.d/dbus-1 reload + fi +} + +do_configure () { + install -m 0755 ${WORKDIR}/defconfig .config + echo "CFLAGS += -I${STAGING_INCDIR}" >> .config + echo "LIBS += -L${STAGING_LIBDIR}" >> .config + echo "LIBS_p += -L${STAGING_LIBDIR}" >> .config + if [ "${@base_contains('COMBINED_FEATURES', 'madwifi', 1, 0, d)}"= "1" ]; then
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +2
-0+ echo "CONFIG_DRIVER_MADWIFI=y" >> .config + echo "CFLAGS += -I${STAGING_INCDIR}/madwifi-ng" >>.config
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +2
-0+ fi +}(quoted diff) +0
-0
supplicant/kill_wpa_supplicant.shb/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/kill_wpa_supplicant.shdeleted file mode 100644
index aab6474..0000000
--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/kill_wpa_supplicant.sh
+++/dev/null(quoted diff) +0
-2@@ -1,9 +0,0 @@ -#check if the wpa_suppicant is already running -#if it does, stop it. -StationRunning=`ps | grep -c wpa_supplicant` -if [ $StationRunning -eq 2 ];then
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/kill_wpa_supplicant.sh deleted +0
-5- killall wpa_supplicant -fi - -# start the application -$*(quoted diff) +0
-0supplicant_git.bb b/meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant_git.bb
deleted file mode 100644
index 927a556..0000000
--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant_git.bb
+++/dev/null(quoted diff) +0
-1@@ -1,120 +0,0 @@ -# This is a TI specific version of the wpa-supplicant recipe for use with the -#wl12xx wlan and bluetooth module.
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb deleted +0
-7- -DESCRIPTION = "A Client for Wi-Fi Protected Access (WPA)." -HOMEPAGE = "http://hostap.epitest.fi/wpa_supplicant/" -BUGTRACKER = "http://hostap.epitest.fi/bugz/" -SECTION = "network" -LICENSE = "GPLv2 | BSD" -LIC_FILES_CHKSUM ="file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e \
(quoted diff) +0
-2- file://../README;md5=5cb758942d25f6f61fd4ac388fd446fa \ -file://wpa_supplicant.c;beginline=1;endline=17;md5=8835156c8ab8cad6356
ec7f39ebe3aba"
-DEPENDS = "gnutls dbus libnl openssl ${@base_contains("COMBINED_FEATURES", "madwifi", "madwifi-ng", "",d)}"meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb deleted +0
-3-RRECOMMENDS_${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli" - -# To prevent users from accidently picking up this customized version of -#wpa-supplicant the
DEFAULT_PREFERENCEwill be set to -1.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb deleted +0
-5-DEFAULT_PREFERENCE = "-1" - -SRCREV = "ol_R5.SP4.01" -PR = "r3+gitr${SRCPV}" -# Add ti to the PV to indicate that this is a TI modify version of wpa-supplicant.
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb deleted +0
-21-PV = "2.0-devel-ti" - -SRC_URI = "git://github.com/TI-OpenLink/hostap.git;protocol=git \ - file://defconfig \ - file://defaults-sane \ - file://wpa-supplicant.sh \ - file://kill_wpa_supplicant.sh \ - file://wpa_supplicant.conf \ - file://wpa_supplicant.conf-sane \ - file://99_wpa_supplicant \ - file://wpa_supplicant.conf \ - file://fi.epitest.hostap.WPASupplicant.service \ - file://fi.w1.wpa_supplicant1.service \ - " - -S = "${WORKDIR}/git/wpa_supplicant" - -PACKAGES_prepend = "wpa-supplicant-passphrase wpa-supplicant-cli " -FILES_wpa-supplicant-passphrase = "/usr/sbin/wpa_passphrase" -FILES_wpa-supplicant-cli = "/usr/sbin/wpa_cli" -FILES_${PN} += " /usr/share/dbus-1/system-services/*
/usr/sbin/kill_wpa_supplicant.sh"(quoted diff) +0
-2- -#we introduce MY_ARCH to get 'armv5te' as arch instead of the misleading'arm' on armv5te builds -MY_ARCH := "${PACKAGE_ARCH}" -PACKAGE_ARCH = "${@base_contains('COMBINED_FEATURES', 'madwifi', '${MACHINE_ARCH}', '${MY_ARCH}', d)}"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb deleted +0
-14- -do_compile () { - make -} - -do_install () { - install -d ${D}${sbindir} - install -m 755 wpa_supplicant ${D}${sbindir} - install -m 755 wpa_passphrase ${D}${sbindir} - install -m 755 wpa_cli ${D}${sbindir} - install -m 755 ${WORKDIR}/kill_wpa_supplicant.sh ${D}${sbindir} - - install -d ${D}${docdir}/wpa_supplicant - install -m 644 README ${WORKDIR}/wpa_supplicant.conf${D}${docdir}/wpa_supplicant
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb deleted +0
-3- - install -d ${D}${sysconfdir}/default - install -m 600 ${WORKDIR}/defaults-sane${D}${sysconfdir}/default/wpa
(quoted diff) +0
-1- install -m 600 ${WORKDIR}/wpa_supplicant.conf-sane
${D}${sysconfdir}/wpa_supplicant.conf(quoted diff) +0
-2- - if grep -q ^CONFIG_CTRL_IFACE_DBUS=y .config || grep -q^CONFIG_CTRL_IFACE_DBUS_NEW=y .config; then
(quoted diff) +0
-2- install -d ${D}/${sysconfdir}/dbus-1/system.d - install -m 644 ${S}/dbus/dbus-wpa_supplicant.conf${D}/${sysconfdir}/dbus-1/system.d
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb deleted +0
-3- install -d ${D}/${datadir}/dbus-1/system-services - if grep -q ^CONFIG_CTRL_IFACE_DBUS=y .config; then - sed -i -e s:/sbin:${sbindir}:g${S}/dbus/fi.epitest.hostap.WPASupplicant.service
(quoted diff) +0
-1- install -m 644${S}/dbus/fi.epitest.hostap.WPASupplicant.service ${D}/${datadir}/dbus- 1/system-services
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb deleted +0
-3- fi - if grep -q ^CONFIG_CTRL_IFACE_DBUS_NEW=y .config; then - sed -i -e s:/sbin:${sbindir}:g${S}/dbus/fi.w1.wpa_supplicant1.service
(quoted diff) +0
-1- install -m 644${S}/dbus/fi.w1.wpa_supplicant1.service ${D}/${datadir}/dbus-1/system- services
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb deleted +0
-8- fi - fi - - install -d ${D}${sysconfdir}/network/if-pre-up.d/ - install -d ${D}${sysconfdir}/network/if-post-down.d/ - install -d ${D}${sysconfdir}/network/if-down.d/ - install -m 644 ${WORKDIR}/wpa_supplicant.conf ${D}${sysconfdir} - install -m 755 ${WORKDIR}/wpa-supplicant.sh${D}${sysconfdir}/network/if-pre-up.d/wpa-supplicant
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb deleted +0
-5- cd ${D}${sysconfdir}/network/ && \ - ln -sf ../if-pre-up.d/wpa-supplicant if-post-down.d/wpa-supplicant - - install -d ${D}/etc/default/volatiles - install -m 0644 ${WORKDIR}/99_wpa_supplicant${D}/etc/default/volatiles
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb deleted +0
-5- - install -d 2755 ${D}/usr/share/dbus-1/system-services - install -d 2755 ${D}/etc - install -m 644 ${WORKDIR}/wpa_supplicant.conf ${D}/etc - install -m 644 ${WORKDIR}/fi.epitest.hostap.WPASupplicant.service${D}/usr/share/dbus-1/system-services
(quoted diff) +0
-1- install -m 644 ${WORKDIR}/fi.w1.wpa_supplicant1.service${D}/usr/share/dbus-1/system-services
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb deleted +0
-21-} - -pkg_postinst_wpa-supplicant () { - # can't do this offline - if [ "x$D" != "x" ]; then - exit 1 - fi - - DBUSPID=`pidof dbus-daemon` - - if [ "x$DBUSPID" != "x" ]; then - /etc/init.d/dbus-1 reload - fi -} - -do_configure () { - install -m 0755 ${WORKDIR}/defconfig .config - echo "CFLAGS += -I${STAGING_INCDIR}" >> .config - echo "LIBS += -L${STAGING_LIBDIR}" >> .config - echo "LIBS_p += -L${STAGING_LIBDIR}" >> .config - if [ "${@base_contains('COMBINED_FEATURES', 'madwifi', 1, 0, d)}"= "1" ]; then
(quoted diff) +0
-2- echo "CONFIG_DRIVER_MADWIFI=y" >> .config - echo "CFLAGS += -I${STAGING_INCDIR}/madwifi-ng" >>.config
(quoted diff) +0
-2- fi -}(quoted diff) +0
-0supplicant_r5.sp4.01.bb b/meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant_r5.sp4.01.bb
new file mode 100644
index 0000000..d1ff079meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +7
-0+++ nt_r5.sp4.01.bb@@ -0,0 +1,12 @@ +# This is a TI specific version of the wpa-supplicant recipe for use +with the # wl12xx wlan and bluetooth module. + +require wpa-supplicant.inc + +LIC_FILES_CHKSUM ="file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e \
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +2
-0+ file://../README;md5=5cb758942d25f6f61fd4ac388fd446fa \ +file://wpa_supplicant.c;beginline=1;endline=17;md5=8835156c8ab8cad6356
ec7f39ebe3aba"meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +4
-1+ + +SRCREV = "ol_R5.SP4.01" +PR_append = "a+gitr${SRCPV}" --1.7.0.4
Re: [PATCH 11/17] wpa-supplicant: Split recipe
In reply to Franklin S. Cooper JrIgnore this patch. Forgot to add v2 to the header.
Quoted 393 lines
-----Original Message-----
From: Cooper Jr., Franklin
Sent: Monday, April 01, 2013 9:55 AM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [PATCH 11/17] wpa-supplicant: Split recipe* Split recipe to allow multiple versions of wpa-supplicant to exist.
* Rename recipe to match the actual version of the TI modified wpa- supplicant.
* Update recipe's bbappendSigned-off-by Franklin S. Cooper Jr <[email protected]>---
Version 2 changes:
Remove "-" from recipePR_append
Removed references tokill_wpa_supplicantAdd LICENSE field back to common .inc Add rename of bbappend to this patch.....bbappend => wpa-supplicant_r5.sp4.01.bbappend} | 0 .../defconfig | 0 .../wpa-supplicant/wpa-supplicant.inc | 113 ++++++++++++++++++ .../wpa-supplicant/kill_wpa_supplicant.sh | 9 -- .../wpa-supplicant/wpa-supplicant_git.bb | 120 -------------------- .../wpa-supplicant/wpa-supplicant_r5.sp4.01.bb | 12 ++ 6 files changed, 125 insertions(+), 129 deletions(-) rename meta-arago-distro/recipes-connectivity/wpa-supplicant/{wpa-supplicant_git.bbappend => wpa-supplicant_r5.sp4.01.bbappend} (100%) rename meta-arago- extras/recipes-connectivity/wpa-supplicant/{wpa-supplicant => wpa- supplicant-r5.sp4.01}/defconfig (100%) create mode 100644 meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc
delete mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant/kill_wpa_supplicant.sh delete mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant_git.bb create mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_r5.sp4.01.bb
(quoted diff) +0
-0supplicant_git.bbappend b/meta-arago-distro/recipes-connectivity/wpa- supplicant/wpa-supplicant_r5.sp4.01.bbappend
similarity index 100%
rename from meta-arago-distro/recipes-connectivity/wpa-supplicant/wpa- supplicant_git.bbappend
rename to meta-arago-distro/recipes-connectivity/wpa-supplicant/wpa- supplicant_r5.sp4.01.bbappend(quoted diff) +0
-0supplicant/defconfig b/meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-r5.sp4.01/defconfig
similarity index 100%
rename from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant/defconfig
rename to meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant-r5.sp4.01/defconfig(quoted diff) +0
-0supplicant.inc b/meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant.inc
new file mode 100644
index 0000000..410e6e3meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +11
-0+++ nt.inc@@ -0,0 +1,113 @@ +# This is a TI specific version of the wpa-supplicant recipe for use +with the # wl12xx wlan and bluetooth module. + +DESCRIPTION = "A Client for Wi-Fi Protected Access (WPA)." +HOMEPAGE = "http://hostap.epitest.fi/wpa_supplicant/" +BUGTRACKER = "http://hostap.epitest.fi/bugz/" +SECTION = "network" +LICENSE = "GPLv2 | BSD" + +DEPENDS = "gnutls dbus libnl openssl${@base_contains("COMBINED_FEATURES", "madwifi", "madwifi-ng", "",d)}"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +30
-0+RRECOMMENDS_${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli" + +# To prevent users from accidently picking up this customized version +of # wpa-supplicant the DEFAULT_PREFERENCE will be set to -1. +DEFAULT_PREFERENCE = "-1" + +PR = "r5" + +SRC_URI = "git://github.com/TI-OpenLink/hostap.git;protocol=git \ + file://defconfig \ + file://defaults-sane \ + file://wpa-supplicant.sh \ + file://wpa_supplicant.conf \ + file://wpa_supplicant.conf-sane \ + file://99_wpa_supplicant \ + file://wpa_supplicant.conf \ + file://fi.epitest.hostap.WPASupplicant.service \ + file://fi.w1.wpa_supplicant1.service \ + " + +S = "${WORKDIR}/git/wpa_supplicant" + +PACKAGES_prepend = "wpa-supplicant-passphrase wpa-supplicant-cli " +FILES_wpa-supplicant-passphrase = "/usr/sbin/wpa_passphrase" +FILES_wpa-supplicant-cli = "/usr/sbin/wpa_cli" +FILES_${PN} += " /usr/share/dbus-1/system-services/*" + +#we introduce MY_ARCH to get 'armv5te' as arch instead of the +misleading 'arm' on armv5te builds MY_ARCH := "${PACKAGE_ARCH}" +PACKAGE_ARCH = "${@base_contains('COMBINED_FEATURES', 'madwifi','${MACHINE_ARCH}', '${MY_ARCH}', d)}"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +17
-0+ +do_compile () { + make +} + +do_install () { + install -d ${D}${sbindir} + install -m 755 wpa_supplicant ${D}${sbindir} + install -m 755 wpa_passphrase ${D}${sbindir} + install -m 755 wpa_cli ${D}${sbindir} + + install -d ${D}${docdir}/wpa_supplicant + install -m 644 README ${WORKDIR}/wpa_supplicant.conf +${D}${docdir}/wpa_supplicant + + install -d ${D}${sysconfdir}/default + install -m 600 ${WORKDIR}/defaults-sane${D}${sysconfdir}/default/wpa
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +4
-0+ install -m 600 ${WORKDIR}/wpa_supplicant.conf-sane +${D}${sysconfdir}/wpa_supplicant.conf + + if grep -q ^CONFIG_CTRL_IFACE_DBUS=y .config || grep -q^CONFIG_CTRL_IFACE_DBUS_NEW=y .config; then
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +2
-0+ install -d ${D}/${sysconfdir}/dbus-1/system.d + install -m 644 ${S}/dbus/dbus-wpa_supplicant.conf${D}/${sysconfdir}/dbus-1/system.d
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +3
-0+ install -d ${D}/${datadir}/dbus-1/system-services + if grep -q ^CONFIG_CTRL_IFACE_DBUS=y .config; then + sed -i -e s:/sbin:${sbindir}:g${S}/dbus/fi.epitest.hostap.WPASupplicant.service
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +1
-0+ install -m 644${S}/dbus/fi.epitest.hostap.WPASupplicant.service ${D}/${datadir}/dbus- 1/system-services
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +3
-0+ fi + if grep -q ^CONFIG_CTRL_IFACE_DBUS_NEW=y .config; then + sed -i -e s:/sbin:${sbindir}:g${S}/dbus/fi.w1.wpa_supplicant1.service
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +1
-0+ install -m 644${S}/dbus/fi.w1.wpa_supplicant1.service ${D}/${datadir}/dbus-1/system- services
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +8
-0+ fi + fi + + install -d ${D}${sysconfdir}/network/if-pre-up.d/ + install -d ${D}${sysconfdir}/network/if-post-down.d/ + install -d ${D}${sysconfdir}/network/if-down.d/ + install -m 644 ${WORKDIR}/wpa_supplicant.conf ${D}${sysconfdir} + install -m 755 ${WORKDIR}/wpa-supplicant.sh${D}${sysconfdir}/network/if-pre-up.d/wpa-supplicant
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +11
-0+ cd ${D}${sysconfdir}/network/ && \ + ln -sf ../if-pre-up.d/wpa-supplicant if-post-down.d/wpa-supplicant + + install -d ${D}/etc/default/volatiles + install -m 0644 ${WORKDIR}/99_wpa_supplicant +${D}/etc/default/volatiles + + install -d 2755 ${D}/usr/share/dbus-1/system-services + install -d 2755 ${D}/etc + install -m 644 ${WORKDIR}/wpa_supplicant.conf ${D}/etc + install -m 644 ${WORKDIR}/fi.epitest.hostap.WPASupplicant.service${D}/usr/share/dbus-1/system-services
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +23
-0+ install -m 644 ${WORKDIR}/fi.w1.wpa_supplicant1.service +${D}/usr/share/dbus-1/system-services +} + +pkg_postinst_wpa-supplicant () { + # can't do this offline + if [ "x$D" != "x" ]; then + exit 1 + fi + + DBUSPID=`pidof dbus-daemon` + + if [ "x$DBUSPID" != "x" ]; then + /etc/init.d/dbus-1 reload + fi +} + +do_configure () { + install -m 0755 ${WORKDIR}/defconfig .config + echo "CFLAGS += -I${STAGING_INCDIR}" >> .config + echo "LIBS += -L${STAGING_LIBDIR}" >> .config + echo "LIBS_p += -L${STAGING_LIBDIR}" >> .config + if [ "${@base_contains('COMBINED_FEATURES', 'madwifi', 1, 0, d)}"= "1" ]; then
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +2
-0+ echo "CONFIG_DRIVER_MADWIFI=y" >> .config + echo "CFLAGS += -I${STAGING_INCDIR}/madwifi-ng" >>.config
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +2
-0+ fi +}(quoted diff) +0
-0
supplicant/kill_wpa_supplicant.shb/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/kill_wpa_supplicant.shdeleted file mode 100644
index aab6474..0000000
--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/kill_wpa_supplicant.sh
+++/dev/null(quoted diff) +0
-2@@ -1,9 +0,0 @@ -#check if the wpa_suppicant is already running -#if it does, stop it. -StationRunning=`ps | grep -c wpa_supplicant` -if [ $StationRunning -eq 2 ];then
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/kill_wpa_supplicant.sh deleted +0
-5- killall wpa_supplicant -fi - -# start the application -$*(quoted diff) +0
-0supplicant_git.bb b/meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant_git.bb
deleted file mode 100644
index 927a556..0000000
--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant_git.bb
+++/dev/null(quoted diff) +0
-1@@ -1,120 +0,0 @@ -# This is a TI specific version of the wpa-supplicant recipe for use with the -#wl12xx wlan and bluetooth module.
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb deleted +0
-7- -DESCRIPTION = "A Client for Wi-Fi Protected Access (WPA)." -HOMEPAGE = "http://hostap.epitest.fi/wpa_supplicant/" -BUGTRACKER = "http://hostap.epitest.fi/bugz/" -SECTION = "network" -LICENSE = "GPLv2 | BSD" -LIC_FILES_CHKSUM ="file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e \
(quoted diff) +0
-2- file://../README;md5=5cb758942d25f6f61fd4ac388fd446fa \ -file://wpa_supplicant.c;beginline=1;endline=17;md5=8835156c8ab8cad6356
ec7f39ebe3aba"
-DEPENDS = "gnutls dbus libnl openssl ${@base_contains("COMBINED_FEATURES", "madwifi", "madwifi-ng", "",d)}"meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb deleted +0
-3-RRECOMMENDS_${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli" - -# To prevent users from accidently picking up this customized version of -#wpa-supplicant the
DEFAULT_PREFERENCEwill be set to -1.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb deleted +0
-5-DEFAULT_PREFERENCE = "-1" - -SRCREV = "ol_R5.SP4.01" -PR = "r3+gitr${SRCPV}" -# Add ti to the PV to indicate that this is a TI modify version of wpa-supplicant.
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb deleted +0
-21-PV = "2.0-devel-ti" - -SRC_URI = "git://github.com/TI-OpenLink/hostap.git;protocol=git \ - file://defconfig \ - file://defaults-sane \ - file://wpa-supplicant.sh \ - file://kill_wpa_supplicant.sh \ - file://wpa_supplicant.conf \ - file://wpa_supplicant.conf-sane \ - file://99_wpa_supplicant \ - file://wpa_supplicant.conf \ - file://fi.epitest.hostap.WPASupplicant.service \ - file://fi.w1.wpa_supplicant1.service \ - " - -S = "${WORKDIR}/git/wpa_supplicant" - -PACKAGES_prepend = "wpa-supplicant-passphrase wpa-supplicant-cli " -FILES_wpa-supplicant-passphrase = "/usr/sbin/wpa_passphrase" -FILES_wpa-supplicant-cli = "/usr/sbin/wpa_cli" -FILES_${PN} += " /usr/share/dbus-1/system-services/*
/usr/sbin/kill_wpa_supplicant.sh"(quoted diff) +0
-2- -#we introduce MY_ARCH to get 'armv5te' as arch instead of the misleading'arm' on armv5te builds -MY_ARCH := "${PACKAGE_ARCH}" -PACKAGE_ARCH = "${@base_contains('COMBINED_FEATURES', 'madwifi', '${MACHINE_ARCH}', '${MY_ARCH}', d)}"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb deleted +0
-14- -do_compile () { - make -} - -do_install () { - install -d ${D}${sbindir} - install -m 755 wpa_supplicant ${D}${sbindir} - install -m 755 wpa_passphrase ${D}${sbindir} - install -m 755 wpa_cli ${D}${sbindir} - install -m 755 ${WORKDIR}/kill_wpa_supplicant.sh ${D}${sbindir} - - install -d ${D}${docdir}/wpa_supplicant - install -m 644 README ${WORKDIR}/wpa_supplicant.conf${D}${docdir}/wpa_supplicant
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb deleted +0
-3- - install -d ${D}${sysconfdir}/default - install -m 600 ${WORKDIR}/defaults-sane${D}${sysconfdir}/default/wpa
(quoted diff) +0
-1- install -m 600 ${WORKDIR}/wpa_supplicant.conf-sane
${D}${sysconfdir}/wpa_supplicant.conf(quoted diff) +0
-2- - if grep -q ^CONFIG_CTRL_IFACE_DBUS=y .config || grep -q^CONFIG_CTRL_IFACE_DBUS_NEW=y .config; then
(quoted diff) +0
-2- install -d ${D}/${sysconfdir}/dbus-1/system.d - install -m 644 ${S}/dbus/dbus-wpa_supplicant.conf${D}/${sysconfdir}/dbus-1/system.d
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb deleted +0
-3- install -d ${D}/${datadir}/dbus-1/system-services - if grep -q ^CONFIG_CTRL_IFACE_DBUS=y .config; then - sed -i -e s:/sbin:${sbindir}:g${S}/dbus/fi.epitest.hostap.WPASupplicant.service
(quoted diff) +0
-1- install -m 644${S}/dbus/fi.epitest.hostap.WPASupplicant.service ${D}/${datadir}/dbus- 1/system-services
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb deleted +0
-3- fi - if grep -q ^CONFIG_CTRL_IFACE_DBUS_NEW=y .config; then - sed -i -e s:/sbin:${sbindir}:g${S}/dbus/fi.w1.wpa_supplicant1.service
(quoted diff) +0
-1- install -m 644${S}/dbus/fi.w1.wpa_supplicant1.service ${D}/${datadir}/dbus-1/system- services
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb deleted +0
-8- fi - fi - - install -d ${D}${sysconfdir}/network/if-pre-up.d/ - install -d ${D}${sysconfdir}/network/if-post-down.d/ - install -d ${D}${sysconfdir}/network/if-down.d/ - install -m 644 ${WORKDIR}/wpa_supplicant.conf ${D}${sysconfdir} - install -m 755 ${WORKDIR}/wpa-supplicant.sh${D}${sysconfdir}/network/if-pre-up.d/wpa-supplicant
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb deleted +0
-5- cd ${D}${sysconfdir}/network/ && \ - ln -sf ../if-pre-up.d/wpa-supplicant if-post-down.d/wpa-supplicant - - install -d ${D}/etc/default/volatiles - install -m 0644 ${WORKDIR}/99_wpa_supplicant${D}/etc/default/volatiles
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb deleted +0
-5- - install -d 2755 ${D}/usr/share/dbus-1/system-services - install -d 2755 ${D}/etc - install -m 644 ${WORKDIR}/wpa_supplicant.conf ${D}/etc - install -m 644 ${WORKDIR}/fi.epitest.hostap.WPASupplicant.service${D}/usr/share/dbus-1/system-services
(quoted diff) +0
-1- install -m 644 ${WORKDIR}/fi.w1.wpa_supplicant1.service${D}/usr/share/dbus-1/system-services
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb deleted +0
-21-} - -pkg_postinst_wpa-supplicant () { - # can't do this offline - if [ "x$D" != "x" ]; then - exit 1 - fi - - DBUSPID=`pidof dbus-daemon` - - if [ "x$DBUSPID" != "x" ]; then - /etc/init.d/dbus-1 reload - fi -} - -do_configure () { - install -m 0755 ${WORKDIR}/defconfig .config - echo "CFLAGS += -I${STAGING_INCDIR}" >> .config - echo "LIBS += -L${STAGING_LIBDIR}" >> .config - echo "LIBS_p += -L${STAGING_LIBDIR}" >> .config - if [ "${@base_contains('COMBINED_FEATURES', 'madwifi', 1, 0, d)}"= "1" ]; then
(quoted diff) +0
-2- echo "CONFIG_DRIVER_MADWIFI=y" >> .config - echo "CFLAGS += -I${STAGING_INCDIR}/madwifi-ng" >>.config
(quoted diff) +0
-2- fi -}(quoted diff) +0
-0supplicant_r5.sp4.01.bb b/meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant_r5.sp4.01.bb
new file mode 100644
index 0000000..d1ff079meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +7
-0+++ nt_r5.sp4.01.bb@@ -0,0 +1,12 @@ +# This is a TI specific version of the wpa-supplicant recipe for use +with the # wl12xx wlan and bluetooth module. + +require wpa-supplicant.inc + +LIC_FILES_CHKSUM ="file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e \
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +2
-0+ file://../README;md5=5cb758942d25f6f61fd4ac388fd446fa \ +file://wpa_supplicant.c;beginline=1;endline=17;md5=8835156c8ab8cad6356
ec7f39ebe3aba"meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica new file +4
-1+ + +SRCREV = "ol_R5.SP4.01" +PR_append = "a+gitr${SRCPV}" --1.7.0.4
PATCH v2 12/17 wpa-supplicant: Pull back in old r5-00-18 recipe.
In reply to Franklin S. Cooper Jr* Current am180x-evm ships with a PG 2 wilink 6 module that isn't supported in newer wilink 6 releases.
* A newer PG 3 wilink 6 module is available for am180x-evm but needs to be purchased separately..
* Bring old r5.00.18 wpa-supplicant recipe with updated recipe name to add support for am180x-evm default wilink 6 module.
---
Version 2 changes:
Remove LICENSE field since it is now located in common .inc file.
...ant-dbus-AP-Add-support-for-WPS-Internal-.patch | 134 ++++++++++++++++++++
.../defconfig | 4 -
.../wpa-supplicant/wpa-supplicant_r5.00.18.bb | 13 ++
3 files changed, 147 insertions(+), 4 deletions(-)
create mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-r5.00.18/0001-wpa_supplicant-dbus-AP-Add-support-for-WPS-Internal-.patch
copy meta-arago-extras/recipes-connectivity/wpa-supplicant/{wpa-supplicant-r5.sp4.01 => wpa-supplicant-r5.00.18}/defconfig (99%)
create mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_r5.00.18.bbmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-r5.00.18/0001-wpa_supplicant-dbus-AP-Add-support-for-WPS-Internal-.patch new file +134 -0
@@ -0,0 +1,134 @@ +From 19030351b95f48714007e425eaa2163d9122d788 Mon Sep 17 00:00:00 2001 +From: Gustavo Sverzut Barbieri <[email protected]> +Date: Sun, 18 Dec 2011 17:06:31 +0200 +Subject: [PATCH] wpa_supplicant/dbus AP: Add support for WPS Internal + Registrar + +When in AP mode, wpa_supplicant is now enabling WPS (only Internal +Registrar). WPS.Start() call can be used to initiate WPS negotiation +similarly to how this is done in station mode. + +This was done to ctrl_iface by Jouni Malinen on April 21, 2009 (commit +3ec97afe571f159ea95213262c1c6b89965827d4) + +Upstream-Status: Submitted [http://lists.shmoo.com/pipermail/hostap/2011-December/024947.html] + +Signed-hostap: Gustavo Sverzut Barbieri <[email protected]> +--- + wpa_supplicant/dbus/dbus_new_handlers_wps.c | 72 +++++++++++++++++++++++++-- + 1 file changed, 67 insertions(+), 5 deletions(-) + +diff --git a/wpa_supplicant/dbus/dbus_new_handlers_wps.c b/wpa_supplicant/dbus/dbus_new_handlers_wps.c +index d8b74d0..a72cfb3 100644 +--- a/wpa_supplicant/dbus/dbus_new_handlers_wps.c ++++ b/wpa_supplicant/dbus/dbus_new_handlers_wps.c +@@ -19,6 +19,8 @@ + #include "../config.h" + #include "../wpa_supplicant_i.h" + #include "../wps_supplicant.h" ++#include "../driver_i.h" ++#include "../ap.h" + #include "dbus_new_helpers.h" + #include "dbus_new.h" + #include "dbus_new_handlers.h" +@@ -30,6 +32,7 @@ struct wps_start_params { + int type; /* 0 - not set, 1 - pin, 2 - pbc */ + u8 *bssid; + char *pin; ++ u8 *p2p_dev_addr; + }; + + +@@ -148,6 +151,41 @@ static int wpas_dbus_handler_wps_pin(DBusMessage *message, + } + + ++#ifdef CONFIG_P2P ++static int wpas_dbus_handler_wps_p2p_dev_addr(DBusMessage *message, ++ DBusMessageIter *entry_iter, ++ struct wps_start_params *params, ++ DBusMessage **reply) ++{ ++ DBusMessageIter variant_iter, array_iter; ++ int len; ++ ++ dbus_message_iter_recurse(entry_iter, &variant_iter); ++ if (dbus_message_iter_get_arg_type(&variant_iter) != DBUS_TYPE_ARRAY || ++ dbus_message_iter_get_element_type(&variant_iter) != ++ DBUS_TYPE_BYTE) { ++ wpa_printf(MSG_DEBUG, "dbus: WPS.Start - Wrong " ++ "P2PDeviceAddress type, byte array required"); ++ *reply = wpas_dbus_error_invalid_args( ++ message, "P2PDeviceAddress must be a byte array"); ++ return -1; ++ } ++ dbus_message_iter_recurse(&variant_iter, &array_iter); ++ dbus_message_iter_get_fixed_array(&array_iter, ¶ms->p2p_dev_addr, ++ &len); ++ if (len != ETH_ALEN) { ++ wpa_printf(MSG_DEBUG, "dbus: WPS.Start - Wrong " ++ "P2PDeviceAddress length %d", len); ++ *reply = wpas_dbus_error_invalid_args(message, ++ "P2PDeviceAddress " ++ "has wrong length"); ++ return -1; ++ } ++ return 0; ++} ++#endif /* CONFIG_P2P */ ++ ++ + static int wpas_dbus_handler_wps_start_entry(DBusMessage *message, char *key, + DBusMessageIter *entry_iter, + struct wps_start_params *params, +@@ -165,6 +203,11 @@ static int wpas_dbus_handler_wps_start_entry(DBusMessage *message, char *key, + else if (os_strcmp(key, "Pin") == 0) + return wpas_dbus_handler_wps_pin(message, entry_iter, + params, reply); ++#ifdef CONFIG_P2P ++ else if (os_strcmp(key, "P2PDeviceAddress") == 0) ++ return wpas_dbus_handler_wps_p2p_dev_addr(message, entry_iter, ++ params, reply); ++#endif /* CONFIG_P2P */ + + wpa_printf(MSG_DEBUG, "dbus: WPS.Start - unknown key %s", key); + *reply = wpas_dbus_error_invalid_args(message, key); +@@ -231,12 +274,31 @@ DBusMessage * wpas_dbus_handler_wps_start(DBusMessage *message, + ret = wpas_wps_start_reg(wpa_s, params.bssid, params.pin, + NULL); + else if (params.type == 1) { +- ret = wpas_wps_start_pin(wpa_s, params.bssid, params.pin, 0, +- DEV_PW_DEFAULT); +- if (ret > 0) +- os_snprintf(npin, sizeof(npin), "%08d", ret); +- } else ++#ifdef CONFIG_AP ++ if (wpa_s->ap_iface) ++ ret = wpa_supplicant_ap_wps_pin(wpa_s, ++ params.bssid, ++ params.pin, ++ npin, sizeof(npin)); ++ else ++#endif /* CONFIG_AP */ ++ { ++ ret = wpas_wps_start_pin(wpa_s, params.bssid, ++ params.pin, 0, ++ DEV_PW_DEFAULT); ++ if (ret > 0) ++ os_snprintf(npin, sizeof(npin), "%08d", ret); ++ } ++ } else { ++#ifdef CONFIG_AP ++ if (wpa_s->ap_iface) ++ ret = wpa_supplicant_ap_wps_pbc(wpa_s, ++ params.bssid, ++ params.p2p_dev_addr); ++ else ++#endif /* CONFIG_AP */ + ret = wpas_wps_start_pbc(wpa_s, params.bssid, 0); ++ } + + if (ret < 0) { + wpa_printf(MSG_DEBUG, "dbus: WPS.Start wpas_wps_failed in " +-- +1.7.10
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-r5.00.18/defconfig renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-r5.sp4.01/defconfig +0 -4
@@ -424,7 +424,3 @@ CONFIG_DEBUG_FILE=y # 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_r5.00.18.bb new file +13 -0
@@ -0,0 +1,13 @@ +# This is a TI specific version of the wpa-supplicant recipe for use with the +# wl12xx wlan and bluetooth module. + +require wpa-supplicant.inc + +LIC_FILES_CHKSUM = "file://../COPYING;md5=c54ce9345727175ff66d17b67ff51f58 \ + file://../README;md5=79cddd95f8b7539aced400f6aab996e9 \ + file://wpa_supplicant.c;beginline=1;endline=17;md5=009c87d612d92175fe8cd1e93137bf42" + +SRCREV = "ol_R5.00.18" +PR_append = "a+gitr${SRCPV}" + +SRC_URI += "file://0001-wpa_supplicant-dbus-AP-Add-support-for-WPS-Internal-.patch;patchdir=.. "
Signature · 1 line
1.7.0.4
PATCH v2 13/17 wilink-calibrate: Add Wilink calibration script
In reply to Franklin S. Cooper Jr* Add a script that runs at startup that insures that the wilink MAC address used is unique.
---
Version 2 changes:
No changes other than changing order within this patchset.
.../calibrate.sh | 0
.../ti-wifi-utils/wilink-calibrate_1.0.bb | 17 +++++++++++++++++
2 files changed, 17 insertions(+), 0 deletions(-)
copy meta-arago-extras/recipes-devtools/ti-wifi-utils/{ti-wifi-utils => wilink-calibrate}/calibrate.sh (100%)
create mode 100644 meta-arago-extras/recipes-devtools/ti-wifi-utils/wilink-calibrate_1.0.bbmeta-arago-extras/recipes-devtools/ti-wifi-utils/wilink-calibrate/calibrate.sh renamed from meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils/calibrate.sh +0 -0
meta-arago-extras/recipes-devtools/ti-wifi-utils/wilink-calibrate_1.0.bb new file +17 -0
@@ -0,0 +1,17 @@ +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" + +inherit update-rc.d +INITSCRIPT_NAME="calibrate.sh" +INITSCRIPT_PARAMS = "start 20 2 3 4 5 ." + +PR ="r0" + +SRC_URI = "file://calibrate.sh" + +S = "${WORKDIR}" + +do_install() { + install -d ${D}${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/calibrate.sh ${D}${sysconfdir}/init.d +}
Signature · 1 line
1.7.0.4
PATCH v2 14/17 ti-wifi-utils: Split recipe
In reply to Franklin S. Cooper Jr* Split recipe to create a generic .inc file to allow support for multiple versions of ti-wifi-utils.
* Rename recipe to use the specific version of ti-wifi-utils.
---
Version 2 changes:
Removed SRCREV from .inc
Changed the order of this patch within this patchset.
.../ti-wifi-utils/ti-wifi-utils.inc | 29 ++++++++++++++ .../ti-wifi-utils/ti-wifi-utils/calibrate.sh | 7 --- .../ti-wifi-utils/ti-wifi-utils_git.bb | 40 -------------------- .../ti-wifi-utils/ti-wifi-utils_r5.sp3.05.bb | 9 ++++ 4 files changed, 38 insertions(+), 47 deletions(-) create mode 100644 meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils.inc delete mode 100644 meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils/calibrate.sh delete mode 100644 meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils_git.bb create mode 100644 meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils_r5.sp3.05.bb
meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils.inc new file +29 -0
@@ -0,0 +1,29 @@ +DESCRIPTION = "The calibrator and other useful utilities for TI wireless solution based on wl12xx driver" +LICENSE = "BSD" + +DEPENDS = "libnl" +RDEPENDS_${PN} = "ti-compat-wireless-wl12xx wl12xx-firmware" + +PR ="r1" + +SRC_URI = "git://github.com/TI-OpenLink/ti-utils.git;protocol=git" + +S = "${WORKDIR}/git" + +export CROSS_COMPILE = "${TARGET_PREFIX}" +CFLAGS += " -DCONFIG_LIBNL20" + +do_install() { + install -d ${D}${bindir} + install -d ${D}${datadir}/ti/wifi-utils/ini_files/127x + install -d ${D}${datadir}/ti/wifi-utils/ini_files/128x + + install -m 0755 calibrator ${D}${bindir}/ + install -m 0755 ${S}/hw/ini_files/127x/* ${D}${datadir}/ti/wifi-utils/ini_files/127x + install -m 0755 ${S}/hw/ini_files/128x/* ${D}${datadir}/ti/wifi-utils/ini_files/128x +} + +FILES_${PN} += " \ + ${datadir}/ti/wifi-utils/ini_files/127x \ + ${datadir}/ti/wifi-utils/ini_files/128x \ +"
meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils/calibrate.sh deleted +0 -7
@@ -1,7 +0,0 @@ -#!/bin/sh -echo "Performing wifi calibration..." -rm /lib/firmware/ti-connectivity/wl1271-nvs.bin -rmmod wl12xx_sdio.ko -calibrator plt autocalibrate wlan0 /lib/modules/$(uname -r)/updates/drivers/net/wireless/wl12xx/wl12xx_sdio.ko /usr/share/ti/wifi-utils/ini_files/127x/TQS_S_2.6.ini /lib/firmware/ti-connectivity/wl1271-nvs.bin 00:00:00:00:00:00 -modprobe wl12xx_sdio -
meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils_git.bb deleted +0 -40
@@ -1,40 +0,0 @@ -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" - -inherit update-rc.d -INITSCRIPT_NAME="calibrate.sh" -INITSCRIPT_PARAMS = "start 20 2 3 4 5 ." - -PR ="r2+gitr${SRCPV}" -PV ="0.0" - -SRCREV = "ol_R5.SP3.05" -SRC_URI = "git://github.com/TI-OpenLink/ti-utils.git;protocol=git \ - file://calibrate.sh \ -" - -S = "${WORKDIR}/git" - -export CROSS_COMPILE = "${TARGET_PREFIX}" -CFLAGS += " -DCONFIG_LIBNL20" - -do_install() { - install -d ${D}${bindir} - install -d ${D}${datadir}/ti/wifi-utils/ini_files/127x - install -d ${D}${datadir}/ti/wifi-utils/ini_files/128x - install -d ${D}${sysconfdir}/init.d - - install -m 0755 calibrator ${D}${bindir}/ - install -m 0755 ${S}/hw/ini_files/127x/* ${D}${datadir}/ti/wifi-utils/ini_files/127x - install -m 0755 ${S}/hw/ini_files/128x/* ${D}${datadir}/ti/wifi-utils/ini_files/128x - install -m 0755 ${WORKDIR}/calibrate.sh ${D}${sysconfdir}/init.d -} - -FILES_${PN} += " \ - ${datadir}/ti/wifi-utils/ini_files/127x \ - ${datadir}/ti/wifi-utils/ini_files/128x \ -"
meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils_r5.sp3.05.bb new file +9 -0
@@ -0,0 +1,9 @@ +require ti-wifi-utils.inc + +LIC_FILES_CHKSUM = "file://COPYING;md5=4725015cb0be7be389cf06deeae3683d" + +PR_append ="b+gitr${SRCPV}" + +SRCREV = "ol_R5.SP3.05" + +RDEPENDS_${PN}_am335x-evm_append = " wilink-calibrate"
Signature · 1 line
1.7.0.4
PATCH v2 15/17 ti-wifi-utils: Pull back in old r5.00.18 recipe.
In reply to Franklin S. Cooper Jr* Current am180x-evm ships with a PG 2 wilink 6 module that isn't supported in newer wilink 6 releases.
* A newer PG 3 wilink 6 module is available for am180x-evm but needs to be purchased separately..
* Bring old r5.00.18 ti-wifi-utils recipe with updated recipe name to add support for am180x-evm default wilink 6 module.
---
Verison 2 changes:
Reorder patch within patchset.
.../ti-wifi-utils/ti-wifi-utils_r5.00.18.bb | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) create mode 100644 meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils_r5.00.18.bb
meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils_r5.00.18.bb new file +7 -0
@@ -0,0 +1,7 @@ +require ti-wifi-utils.inc + +LIC_FILES_CHKSUM = "file://COPYING;md5=4725015cb0be7be389cf06deeae3683d" + +PR_append ="a+gitr${SRCPV}" + +SRCREV = "ol_R5.00.18"
Signature · 1 line
1.7.0.4
PATCH v2 16/17 wpa-supplicant_r5.00.18: Create bbappend
In reply to Franklin S. Cooper Jr* Create a bbappend to insure that any version changes to the wpa-supplicant recipe will result in a new TSU exemption will be filed.
---
Version 2 changes:
None. Apart of updated patchset.
...1.bbappend => wpa-supplicant_r5.00.18.bbappend} | 0
1 files changed, 0 insertions(+), 0 deletions(-)
copy meta-arago-distro/recipes-connectivity/wpa-supplicant/{wpa-supplicant_r5.sp4.01.bbappend => wpa-supplicant_r5.00.18.bbappend} (100%)meta-arago-distro/recipes-connectivity/wpa-supplicant/wpa-supplicant_r5.00.18.bbappend renamed from meta-arago-distro/recipes-connectivity/wpa-supplicant/wpa-supplicant_r5.sp4.01.bbappend +0 -0
Signature · 1 line
1.7.0.4
PATCH 17/17 arago.conf: Set PREFERRED_VERSIONs for Wilink 6 recipes
In reply to Franklin S. Cooper Jr* Currently two versions of Wilink 6 need to be supported.
* The latest version supports the PG 3 wilink 6 module which is the version that comes with the am37x-evm and am335x-evm .
* An older version supports the PG 2 wilink 6 module which is the version that comes with the am180x-evm.
* Specifying the PREFERRED_VERSION to match this requirement.
---
Version 2 changes:
None. Apart of new patchset.
meta-arago-distro/conf/distro/arago.conf | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-)
meta-arago-distro/conf/distro/arago.conf +17 -0
@@ -105,6 +105,23 @@ PREFERRED_VERSION_bluez-hcidump = "2.2" PREFERRED_VERSION_bash = "3.2.48" PREFERRED_VERSION_gettext = "0.16.1" +# Support Wilink 6 PG 3 modules +PREFERRED_VERSION_ti-compat-bluetooth = "r5.sp3.05" +PREFERRED_VERSION_ti-compat-wireless-wl12xx = "r5.sp4.01" +PREFERRED_VERSION_wl12xx-firmware = "r5.sp4.01" +PREFERRED_VERSION_wpa-supplicant = "r5.sp4.01" +PREFERRED_VERSION_hostap-daemon = "r5.sp4.01" +PREFERRED_VERSION_ti-wifi-utils = "r5.sp3.05" + +# Support Wilink 6 PG 2 modules +# By default am180x-evms come with an outdated wilink 6 module +PREFERRED_VERSION_ti-compat-bluetooth_am180x-evm = "r5.00.18" +PREFERRED_VERSION_ti-compat-wireless-wl12xx_am180x-evm = "r5.00.18" +PREFERRED_VERSION_wl12xx-firmware_am180x-evm = "r5.00.18" +PREFERRED_VERSION_wpa-supplicant_am180x-evm = "r5.00.18" +PREFERRED_VERSION_hostap-daemon_am180x-evm = "r5.00.18" +PREFERRED_VERSION_ti-wifi-utils_am180x-evm = "r5.00.18" + # Disable polkit's systemd configuration from meta-oe POLKITAUTH = ""
Signature · 1 line
1.7.0.4
Re: [PATCH 17/17] arago.conf: Set PREFERRED_VERSIONs for Wilink 6 recipes
Ignore this patch. Forgot to add v2 to the header.
Quoted 55 lines
-----Original Message-----
From: Cooper Jr., Franklin
Sent: Monday, April 01, 2013 9:55 AM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [PATCH 17/17] arago.conf: SetPREFERRED_VERSIONsfor Wilink 6 recipes* Currently two versions of Wilink 6 need to be supported.
* The latest version supports the PG 3 wilink 6 module which is the version that
comes with the am37x-evm and am335x-evm .
* An older version supports the PG 2 wilink 6 module which is the version that comes with the am180x-evm.
* Specifying thePREFERRED_VERSIONto match this requirement.Signed-off-by Franklin S. Cooper Jr <[email protected]>---
Version 2 changes:
None. Apart of new patchset.meta-arago-distro/conf/distro/arago.conf | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-)meta-arago- renamed from meta-arago-distro/conf/distro/arago.conf +0
-0
distro/conf/distro/arago.conf
index 9e43ea3..44141c1 100644meta-arago-distro/conf/distro/arago.conf +12
-0@@ -105,6 +105,23 @@ PREFERRED_VERSION_bluez-hcidump = "2.2" PREFERRED_VERSION_bash = "3.2.48" PREFERRED_VERSION_gettext = "0.16.1" +# Support Wilink 6 PG 3 modules +PREFERRED_VERSION_ti-compat-bluetooth = "r5.sp3.05" +PREFERRED_VERSION_ti-compat-wireless-wl12xx = "r5.sp4.01" +PREFERRED_VERSION_wl12xx-firmware = "r5.sp4.01" +PREFERRED_VERSION_wpa-supplicant = "r5.sp4.01" +PREFERRED_VERSION_hostap-daemon = "r5.sp4.01" +PREFERRED_VERSION_ti-wifi-utils = "r5.sp3.05" + +# Support Wilink 6 PG 2 modules +# By default am180x-evms come with an outdated wilink 6 module +PREFERRED_VERSION_ti-compat-bluetooth_am180x-evm = "r5.00.18" +PREFERRED_VERSION_ti-compat-wireless-wl12xx_am180x-evm ="r5.00.18"
meta-arago-distro/conf/distro/arago.conf +5
-1+PREFERRED_VERSION_wl12xx-firmware_am180x-evm = "r5.00.18" +PREFERRED_VERSION_wpa-supplicant_am180x-evm = "r5.00.18" +PREFERRED_VERSION_hostap-daemon_am180x-evm = "r5.00.18" +PREFERRED_VERSION_ti-wifi-utils_am180x-evm = "r5.00.18" + # Disable polkit's systemd configuration from meta-oe POLKITAUTH = "" --1.7.0.4