summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/ti-bt
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-12-21 08:46:01 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2017-12-21 08:46:02 +0000
commit27cac0e75c2c9c40ac6955c4dc4aef5171907013 (patch)
tree3223c29908e69c79b91475221c69bfc966ec8ea2 /meta-agl-bsp/meta-rcar-gen3/recipes-bsp/ti-bt
parentaffcab4d4682ab2b2db9d64425c7c4956ea6b6b4 (diff)
parent8e1e3e7be522095086e80bd4e1640ca3bb28a3c4 (diff)
Merge changes I6716197b,I07fe2d5a,Ia35a6007,I1457c89a,Iaaf3b308 into eel
* changes: meta-agl-bsp/meta-rcar-gen3: Add u-boot-script-rcar-gen3 to ease boot meta-rcar-gen3: add si46xx radio tools for KF support ti-bt: add a systemd unit and enable meta-rcar-gen3: add WiLink8 tools for KF support templates: rcar3: add meta-rcar-gen3-adas for KF support
Diffstat (limited to 'meta-agl-bsp/meta-rcar-gen3/recipes-bsp/ti-bt')
-rw-r--r--meta-agl-bsp/meta-rcar-gen3/recipes-bsp/ti-bt/ti-bt/ti-uim.service10
-rw-r--r--meta-agl-bsp/meta-rcar-gen3/recipes-bsp/ti-bt/ti-bt_%.bbappend15
2 files changed, 25 insertions, 0 deletions
diff --git a/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/ti-bt/ti-bt/ti-uim.service b/meta-agl-bsp/meta-rcar-gen3/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/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/recipes-bsp/ti-bt/ti-bt_%.bbappend b/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/ti-bt/ti-bt_%.bbappend
new file mode 100644
index 000000000..45138b618
--- /dev/null
+++ b/meta-agl-bsp/meta-rcar-gen3/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
+}