Skip to contentSkip to conversation

linux-ti-staging: add configuration for remoteproc/rpmsg IPC modules

PATCH In review Denys Dmytriyenko 2 participants 2 messages Jul 8, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-ti-staging: add configuration for remoteproc/rpmsg IPC modules

* rpmsg_client_sample is a test module and should not be autoloaded
* Both k3_r5 and k3_dsp remoteproc modules depend on virtio_rpmsg_bus

---
 recipes-kernel/linux/linux-ti-staging_4.19.bb | 6 ++++++
 1 file changed, 6 insertions(+)
recipes-kernel/linux/linux-ti-staging_4.19.bb +6 -0
index cdddd0bc..ee79abb7 100644
@@ -72,3 +72,9 @@ SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
             file://defconfig"
 
 FILES_${KERNEL_PACKAGE_NAME}-devicetree += "/${KERNEL_IMAGEDEST}/*.itb"
+
+# Special configuration for remoteproc/rpmsg IPC modules
+module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample"
+module_conf_ti_k3_r5_remoteproc = "softdep ti_k3_r5_remoteproc pre: virtio_rpmsg_bus"
+module_conf_ti_k3_dsp_remoteproc = "softdep ti_k3_dsp_remoteproc pre: virtio_rpmsg_bus"
+KERNEL_MODULE_PROBECONF += "rpmsg_client_sample ti_k3_r5_remoteproc ti_k3_dsp_remoteproc"
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Denys Dmytriyenko

* rpmsg_client_sample is a test module and should not be autoloaded
* Both k3_r5 and k3_dsp remoteproc modules depend on virtio_rpmsg_bus

Thanks Denys.

Quoted 19 lines
---
 recipes-kernel/linux/linux-ti-staging_4.19.bb | 6 ++++++
 1 file changed, 6 insertions(+)
recipes-kernel/linux/linux-ti-staging_4.19.bb +6 -0
index cdddd0bc..ee79abb7 100644
@@ -72,3 +72,9 @@ SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
             file://defconfig"
 
 FILES_${KERNEL_PACKAGE_NAME}-devicetree += "/${KERNEL_IMAGEDEST}/*.itb"
+
+# Special configuration for remoteproc/rpmsg IPC modules
+module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample"
+module_conf_ti_k3_r5_remoteproc = "softdep ti_k3_r5_remoteproc pre: virtio_rpmsg_bus"
+module_conf_ti_k3_dsp_remoteproc = "softdep ti_k3_dsp_remoteproc pre: virtio_rpmsg_bus"
+KERNEL_MODULE_PROBECONF += "rpmsg_client_sample ti_k3_r5_remoteproc ti_k3_dsp_remoteproc"