summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWang Haoran <Haoran.Wang@freescale.com>2016-04-03 10:14:59 +0800
committerMohammed Habibulla <moch@google.com>2016-05-12 20:55:44 +0000
commit760f38923c7de0241a653a21163ad314b8a80f7f (patch)
tree0ea98590e748e288c2ac1fca40f981ec8dc539a1
parentc21a30aa118bc49f4edb5969c6b2348bcec852dc (diff)
downloadpicoimx-760f38923c7de0241a653a21163ad314b8a80f7f.tar.gz
Enable BCM4339 Bluetooth for Picoimx
Added back Bluetooth configuration for picoimx since the firmware download issue cleared. This reverts commit 649c4c91a8f41e8987bb4a7deb22eae321d2ae1d. Change-Id: I77d66e8ab745f3a26703c4acb34736d771dd71cf Signed-off-by: Wang Haoran <Haoran.Wang@freescale.com>
-rwxr-xr-xbase_product/picoimx.mk2
-rw-r--r--sepolicy/file_contexts3
-rw-r--r--ueventd.freescale.rc3
3 files changed, 7 insertions, 1 deletions
diff --git a/base_product/picoimx.mk b/base_product/picoimx.mk
index e9f92b8..4b70812 100755
--- a/base_product/picoimx.mk
+++ b/base_product/picoimx.mk
@@ -28,11 +28,13 @@ PRODUCT_DEVICE := picoimx
# Call vendor's peripheral mk.
include hardware/bsp/freescale/peripheral/wifi/bcm4339/peripheral.mk
+include hardware/bsp/freescale/peripheral/bluetooth/bcm4339/peripheral.mk
PRODUCT_PACKAGES += keystore.default
PRODUCT_PACKAGES += bootctrl.imx6ul
PRODUCT_PACKAGES += audio.primary.imx6ul
PRODUCT_PACKAGES += lights.imx6ul
+PRODUCT_PACKAGES += bt_bcm_bcm4339.imx
# audio effect lib
PRODUCT_PACKAGES += libbundlewrapper
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 1c29f2e..8b1c9d0 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -8,3 +8,6 @@
/dev/block/mmcblk0p7 u:object_r:boot_block_device:s0
/dev/block/mmcblk0p5 u:object_r:system_block_device:s0
/dev/block/mmcblk0p8 u:object_r:system_block_device:s0
+/dev/ttymxc4 u:object_r:bluetoothtbd_device:s0
+/sys/devices/soc0/bt_rfkill.18/rfkill/rfkill0/state u:object_r:sysfs_bluetoothtbd_writable:s0
+/sys/devices/soc0/bt_rfkill.18/rfkill/rfkill0/type u:object_r:sysfs_bluetoothtbd_readable:s0
diff --git a/ueventd.freescale.rc b/ueventd.freescale.rc
index 967e40a..237d7bf 100644
--- a/ueventd.freescale.rc
+++ b/ueventd.freescale.rc
@@ -15,7 +15,8 @@
#
/dev/pmem_gpu 0660 system graphics
-/dev/ttymxc5 0660 bluetooth bluetooth
+/dev/ttymxc4 0660 bluetooth net_bt_stack
+/dev/rfkill 0660 bluetooth bluetooth
/dev/snd/* 0660 system audio
/dev/ttyUSB* 0640 radio radio
/dev/ttyACM* 0640 radio radio