[meta-ti][scarthgap][PATCH 4/4] recipes-ti: initramfs: add j722s CPSW proxy-client kernel modules to netsetup

Moteen Shah <[email protected]>
Newsgroups org.yoctoproject.lists.meta-ti
Message-ID <[email protected]>
Add the CPSW proxy-client and remoteproc/rpmsg kernel modules needed
for NFS boot to work on j722s.

Signed-off-by: Moteen Shah <[email protected]>
---
 .../initramfs/initramfs-module-netsetup_1.0.bb    | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/meta-ti-bsp/recipes-ti/initramfs/initramfs-module-netsetup_1.0.bb b/meta-ti-bsp/recipes-ti/initramfs/initramfs-module-netsetup_1.0.bb
index 6b465462..a10d98fa 100644
--- a/meta-ti-bsp/recipes-ti/initramfs/initramfs-module-netsetup_1.0.bb
+++ b/meta-ti-bsp/recipes-ti/initramfs/initramfs-module-netsetup_1.0.bb
@@ -28,3 +28,18 @@ RDEPENDS:${PN}:append:bsp-next = " \
     kernel-module-mdio-bitbang \
     kernel-module-phy-gmii-sel \
 "
+
+# CPSW proxy-client path: CPSW is owned by a remote core, Linux talks to it
+# over rpmsg/mailbox instead of driving the switch directly. Scoped to the
+# j722s SoC family specifically (not the bsp-ti-6_12 kernel branding) since
+# this is a chip-level hardware architecture, not something every K3 SoC on
+# this kernel necessarily builds modules for.
+RDEPENDS:${PN}:append:j722s = " \
+    kernel-module-ti-cpsw-proxy-client \
+    kernel-module-omap-mailbox \
+    kernel-module-ti-k3-dsp-remoteproc \
+    kernel-module-ti-k3-m4-remoteproc \
+    kernel-module-ti-k3-r5-remoteproc \
+    kernel-module-rpmsg-char \
+    kernel-module-rpmsg-ctrl \
+"
--
2.34.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.