summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2012-01-05 17:45:18 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2012-01-06 14:47:45 +0530
commit54ec98aaecd59d345db637d9ce4c472e5a6c2d8d (patch)
tree63b49976276bd365c899dfcef1ef0dbde7cfea61
parent93b5bf18091ebc1474e75afb6af5b217aaeb4ded (diff)
downloadpandaboard-54ec98aaecd59d345db637d9ce4c472e5a6c2d8d.tar.gz
pandaboard: Enable Wifi for panda ICS
Change-Id: Ia0347c48be3c802d56b9c36a06f2fd0f6bc32349 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rw-r--r--BoardConfig.mk10
-rw-r--r--device.mk4
-rw-r--r--init.omap4pandaboard.rc14
3 files changed, 14 insertions, 14 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 473cb57..bb8fdd7 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -24,10 +24,12 @@ USE_CAMERA_STUB := true
BOARD_HAVE_BLUETOOTH := true
BOARD_HAVE_BLUETOOTH_BCM := true
-#WPA_SUPPLICANT_VERSION := VER_0_6_X
-#BOARD_WPA_SUPPLICANT_DRIVER := WEXT
-WIFI_DRIVER_MODULE_PATH := "/system/modules/wl12xx_sdio.ko"
-WIFI_DRIVER_MODULE_NAME := "wl12xx_sdio"
+BOARD_WPA_SUPPLICANT_DRIVER := WEXT
+WPA_SUPPLICANT_VERSION := VER_0_8_X
+BOARD_WPA_SUPPLICANT_PRIVATE_LIB := private_lib_driver_cmd
+WIFI_DRIVER_MODULE_PATH := "/system/modules/wl12xx_sdio.ko"
+WIFI_DRIVER_MODULE_NAME := "wl12xx_sdio"
+WIFI_FIRMWARE_LOADER := ""
TARGET_CPU_ABI := armeabi-v7a
TARGET_CPU_ABI2 := armeabi
diff --git a/device.mk b/device.mk
index a39402d..4af5ac6 100644
--- a/device.mk
+++ b/device.mk
@@ -21,7 +21,8 @@ PRODUCT_COPY_FILES := \
device/linaro/pandaboard/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \
device/linaro/pandaboard/media_profiles.xml:system/etc/media_profiles.xml \
frameworks/base/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \
- frameworks/base/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml
+ frameworks/base/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \
+ device/ti/proprietary-open/wifi/omap4/LICENCE.ti-connectivity:root/LICENCE.ti-connectivity
PRODUCT_PACKAGES := \
make_ext4fs \
@@ -39,6 +40,7 @@ DEVICE_PACKAGE_OVERLAYS := \
PRODUCT_TAGS += dalvik.gc.type-precise
$(call inherit-product, frameworks/base/build/tablet-dalvik-heap.mk)
+$(call inherit-product-if-exists, device/ti/proprietary-open/install-binaries.mk)
ifeq ($(TARGET_NO_HARDWAREGFX),1)
PRODUCT_PROPERTY_OVERRIDES += \
diff --git a/init.omap4pandaboard.rc b/init.omap4pandaboard.rc
index 7c56a5c..989187a 100644
--- a/init.omap4pandaboard.rc
+++ b/init.omap4pandaboard.rc
@@ -112,9 +112,6 @@ on boot
chown wifi wifi /data/misc/wifi/wpa_supplicant.conf
# wpa_supplicant socket (unix socket mode)
mkdir /data/system/ 0775 system system
- mkdir /data/system/wpa_supplicant 0771 wifi wifi
- chmod 0771 /data/system/wpa_supplicant
- chown wifi wifi /data/system/wpa_supplicant
chown system system /sys/class/graphics/fb0/overlays
chown system system /sys/class/graphics/fb0/fit_to_screen
@@ -132,6 +129,7 @@ on boot
chown system system /sys/class/rfkill/rfkill0/type
chown system system /sys/class/rfkill/rfkill0/state
+ insmod /system/modules/wl1273-core.ko
insmod /system/modules/wl12xx.ko
# Initialize the SGX driver
@@ -140,15 +138,13 @@ service pvrsrvinit /system/bin/pvrsrvinit
user root
oneshot
-service wpa_supplicant /system/bin/wpa_supplicant -Dwext -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf -dd
- class main
- group system wifi inet
+service wpa_supplicant /system/bin/wpa_supplicant -Dwext -iwlan0 -dd
+ socket wpa_wlan0 dgram 660 wifi wifi
disabled
oneshot
-service dhcpcd_wlan0 /system/bin/dhcpcd -d -B wlan0
- class main
- group system dhcp
+service dhcpcd_wlan0 /system/bin/dhcpcd -dABKL
+ group dhcp
disabled
oneshot