Skip to contentSkip to conversation

] meta-ti-bsp : ipc: Add RPMsg DMA library

PATCH Superseded vishnu singh 2 participants 2 messages Jun 9, 2025

v4 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 ] meta-ti-bsp : ipc: Add RPMsg DMA library

From: Vishnu Singh <[email protected]>

This commit introduces the RPMsg DMA library:

RPMsg DMA library (meta-ti-bsp/recipes-ti/ipc):
- Provides librpmsg_dma.so shared library.
- Includes APIs for:
- RPMsg interface initialization
- RPMsg-based send/receive communication
- DMA heap buffer management
- DSP firmware dynamic load/unload

---
 .../recipes-ti/ipc/ti-librpmsg-dma_1.0.bb        | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb
meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb new file +16 -0
new file mode 100644
index 00000000..c6d1f229
@@ -0,0 +1,16 @@
+SUMMARY = "RPMsg DMA shared library"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=744e63d2bb8c6151dcdd97f49aa02c53"
+
+SRC_URI = "git://github.com/TexasInstruments/rpmsg-dma.git;protocol=https;branch=main"
+SRCREV = "609fd72f458ba56f80d06810509ef88d010d2c03"
+
+S = "${WORKDIR}/git"
+
+inherit cmake pkgconfig
+
+DEPENDS = "ti-rpmsg-char "
+
+EXTRA_OECMAKE += "-DBUILD_LIB=ON -DBUILD_EXAMPLE=OFF -DCMAKE_INSTALL_PREFIX=${prefix} -DCMAKE_INSTALL_LIBDIR=${libdir}"
+
+FILES:${PN} += "${libdir}/libti_rpmsg_dma.so"
Signature · 1 line
2.34.1
#1 lore raw
Quoted 26 lines · Vishnu Singh via lists.yoctoproject.org

From: Vishnu Singh <[email protected]>

This commit introduces the RPMsg DMA library:

RPMsg DMA library (meta-ti-bsp/recipes-ti/ipc):
- Provides librpmsg_dma.so shared library.
- Includes APIs for:
- RPMsg interface initialization
- RPMsg-based send/receive communication
- DMA heap buffer management
- DSP firmware dynamic load/unload

---
  .../recipes-ti/ipc/ti-librpmsg-dma_1.0.bb        | 16 ++++++++++++++++
  1 file changed, 16 insertions(+)

create mode 100644 meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb

meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb new file +2 -0
new file mode 100644
index 00000000..c6d1f229
@@ -0,0 +1,16 @@
+SUMMARY = "RPMsg DMA shared library"
+LICENSE = "MIT"

meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb line 12

Quoted 10 lines
meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb new file +10 -0
+LIC_FILES_CHKSUM = "file://LICENSE;md5=744e63d2bb8c6151dcdd97f49aa02c53"
+
+SRC_URI = "git://github.com/TexasInstruments/rpmsg-dma.git;protocol=https;branch=main"
+SRCREV = "609fd72f458ba56f80d06810509ef88d010d2c03"
+
+S = "${WORKDIR}/git"
+
+inherit cmake pkgconfig
+
+DEPENDS = "ti-rpmsg-char "

Extra space at the end of string not needed

meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb line 15

Quoted 3 lines
meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb new file +3 -0
+
+EXTRA_OECMAKE += "-DBUILD_LIB=ON -DBUILD_EXAMPLE=OFF -DCMAKE_INSTALL_PREFIX=${prefix} -DCMAKE_INSTALL_LIBDIR=${libdir}"
+

The last two items shouldn't be needed, if they are then your CMake file might be messed up.

meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb line 16

Quoted 2 lines
meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb new file +1 -0
+FILES:${PN} += "${libdir}/libti_rpmsg_dma.so"

This line should not be needed, this file should go into the -dev package.

Also your subject line tags seems to be getting messed up here, not sure if you use git format-patch you can use this:

--subject-prefix="meta-ti][scarthgap][PATCH v4"

and get a patch that the mailing list won't mangle.

Andrew

Quoted 10 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18628): https://lists.yoctoproject.org/g/meta-ti/message/18628
Mute This Topic: https://lists.yoctoproject.org/mt/113549311/3619733
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-