Skip to contentSkip to conversation

ti-ipc: add module dependency between omap_remoteproc and virtio_rpmsg_bus

PATCH In review Denys Dmytriyenko 2 participants 2 messages Mar 27, 2017

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ti-ipc: add module dependency between omap_remoteproc and virtio_rpmsg_bus

From: Denys Dmytriyenko <[email protected]>

This is required to workaround the remoteproc crash due to watchdog interrupt conflicts - LCPD-9490

---
v2 - only add module dependency for dra7xx platforms

 recipes-ti/ipc/ti-ipc/omap_remoteproc.conf | 1 +
 recipes-ti/ipc/ti-ipc_git.bb               | 6 ++++++
 2 files changed, 7 insertions(+)
 create mode 100644 recipes-ti/ipc/ti-ipc/omap_remoteproc.conf
recipes-ti/ipc/ti-ipc/omap_remoteproc.conf new file +1 -0
new file mode 100644
index 0000000..6b5034c
@@ -0,0 +1 @@
+softdep omap_remoteproc pre: virtio_rpmsg_bus
recipes-ti/ipc/ti-ipc_git.bb +6 -0
index 5878b63..05b4d85 100644
@@ -9,6 +9,7 @@ PR = "${INC_PR}.0"
 DEPENDS += "virtual/kernel"
 
 SRC_URI += "file://tiipclad-daemon.sh \
+            file://omap_remoteproc.conf \
             file://0001-Add-kernel-build-dir.patch \
            "
 
@@ -43,6 +44,11 @@ do_install_append() {
     install -c -m 755 ${WORKDIR}/tiipclad-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
 }
 
+do_install_append_dra7xx() {
+    install -d ${D}${sysconfdir}/modprobe.d/
+    install -c -m 644 ${WORKDIR}/omap_remoteproc.conf ${D}${sysconfdir}/modprobe.d/
+}
+
 PACKAGES =+ "${PN}-test"
 RDEPENDS_${PN}-test += "${PN}"
 
Signature · 1 line
2.7.4
Reviewed-by on v2 1/1
#1 lore raw
Quoted 8 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

This is required to workaround the remoteproc crash due to watchdog interrupt conflicts - LCPD-9490

Quoted 40 lines

---
v2 - only add module dependency for dra7xx platforms

 recipes-ti/ipc/ti-ipc/omap_remoteproc.conf | 1 +
 recipes-ti/ipc/ti-ipc_git.bb               | 6 ++++++
 2 files changed, 7 insertions(+)
 create mode 100644 recipes-ti/ipc/ti-ipc/omap_remoteproc.conf
recipes-ti/ipc/ti-ipc/omap_remoteproc.conf new file +1 -0
new file mode 100644
index 0000000..6b5034c
@@ -0,0 +1 @@
+softdep omap_remoteproc pre: virtio_rpmsg_bus
recipes-ti/ipc/ti-ipc_git.bb +6 -0
index 5878b63..05b4d85 100644
@@ -9,6 +9,7 @@ PR = "${INC_PR}.0"
 DEPENDS += "virtual/kernel"
 
 SRC_URI += "file://tiipclad-daemon.sh \
+            file://omap_remoteproc.conf \
             file://0001-Add-kernel-build-dir.patch \
            "
 
@@ -43,6 +44,11 @@ do_install_append() {
     install -c -m 755 ${WORKDIR}/tiipclad-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
 }
 
+do_install_append_dra7xx() {
+    install -d ${D}${sysconfdir}/modprobe.d/
+    install -c -m 644 ${WORKDIR}/omap_remoteproc.conf ${D}${sysconfdir}/modprobe.d/
+}
+
 PACKAGES =+ "${PN}-test"
 RDEPENDS_${PN}-test += "${PN}"