summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-rcar-gen3-adas/recipes-bsp/ti-bt
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2018-03-20 13:52:16 +0100
committerRonan Le Martret <ronan.lemartret@iot.bzh>2018-03-20 13:57:58 +0100
commit5c51374181e9134c1553a989314b54a8be1f4b12 (patch)
tree788a74413882d24f4a516c7022415976d2bfd59b /meta-agl-bsp/meta-rcar-gen3-adas/recipes-bsp/ti-bt
parentf76255eb84830a981c2539b2706d8c4ec9134939 (diff)
parenta9e1f1a2581002c30b353105e254705a8da598bc (diff)
Merge branch 'sandbox/ronan/rocko_kf'
Add Kingfisher board support for AGL master * Currently the renesas 3.4 BSP support, for Kingfisher, is provided by Cogent. https://github.com/Cogenh3ulcbtEmbedded/meta-rcar * Add cogent BSP for h3ulcb, m3ulcb, m3ulcb-nogfx * Update BBMASK for gen3 board * Backport Matt Porter fix "preserve drm HDMI connector naming" * ti-bt: add a systemd unit and enable * ulcb: Disable build-in most driver * si-tools: FM configuration improvements Bug-AGL: SPEC-1175 Change-Id: I350a13e474e2dea83abe84c5a4cc0cd3e58fc442 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Diffstat (limited to 'meta-agl-bsp/meta-rcar-gen3-adas/recipes-bsp/ti-bt')
-rw-r--r--meta-agl-bsp/meta-rcar-gen3-adas/recipes-bsp/ti-bt/ti-bt/ti-uim.service10
-rw-r--r--meta-agl-bsp/meta-rcar-gen3-adas/recipes-bsp/ti-bt/ti-bt_%.bbappend15
2 files changed, 25 insertions, 0 deletions
diff --git a/meta-agl-bsp/meta-rcar-gen3-adas/recipes-bsp/ti-bt/ti-bt/ti-uim.service b/meta-agl-bsp/meta-rcar-gen3-adas/recipes-bsp/ti-bt/ti-bt/ti-uim.service
new file mode 100644
index 000000000..214e60707
--- /dev/null
+++ b/meta-agl-bsp/meta-rcar-gen3-adas/recipes-bsp/ti-bt/ti-bt/ti-uim.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=User Mode Init Manager for TI shared transport
+Before=bluetooth.service
+
+[Service]
+ExecStartPre=-/sbin/modprobe -q btwilink
+ExecStart=/usr/bin/uim -f /sys/devices/platform/kim
+
+[Install]
+WantedBy=multi-user.target
diff --git a/meta-agl-bsp/meta-rcar-gen3-adas/recipes-bsp/ti-bt/ti-bt_%.bbappend b/meta-agl-bsp/meta-rcar-gen3-adas/recipes-bsp/ti-bt/ti-bt_%.bbappend
new file mode 100644
index 000000000..45138b618
--- /dev/null
+++ b/meta-agl-bsp/meta-rcar-gen3-adas/recipes-bsp/ti-bt/ti-bt_%.bbappend
@@ -0,0 +1,15 @@
+inherit systemd
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+SRC_URI += "file://ti-uim.service"
+
+SYSTEMD_SERVICE_${PN} = "ti-uim.service"
+
+do_install_append() {
+ # We do not want the blacklist
+ rm -f ${D}/${sysconfdir}/modprobe.d/ti_bt.conf
+
+ install -d ${D}${systemd_unitdir}/system/
+ install -m 0644 ${WORKDIR}/ti-uim.service ${D}${systemd_unitdir}/system
+}