diff mbox series

[scarthgap,V5] meta-ti-bsp : ipc: Add RPMsg DMA library

Message ID 20250610151623.211459-1-v-singh1@ti.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [scarthgap,V5] meta-ti-bsp : ipc: Add RPMsg DMA library | expand

Commit Message

vishnu singh June 10, 2025, 3:16 p.m. UTC
From: Vishnu Singh <v-singh1@ti.com>

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

Signed-off-by: Vishnu Singh <v-singh1@ti.com>
---
 meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb

Comments

Andrew Davis June 10, 2025, 3:34 p.m. UTC | #1
On 6/10/25 10:16 AM, Vishnu Singh via lists.yoctoproject.org wrote:
> From: Vishnu Singh <v-singh1@ti.com>
> 
> This commit introduces the RPMsg DMA library:
> 
> RPMsg DMA library (meta-ti-bsp/recipes-ti/ipc):

The "meta-ti-bsp/recipes-ti/ipc" part isn't needed, we can see
where it is at from the patch below. Otherwise the recipe itself
looks good to me,

Reviewed-by: Andrew Davis <afd@ti.com>

>     - 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
> 
> Signed-off-by: Vishnu Singh <v-singh1@ti.com>
> ---
>   meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb | 14 ++++++++++++++
>   1 file changed, 14 insertions(+)
>   create mode 100644 meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb
> 
> diff --git a/meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb b/meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb
> new file mode 100644
> index 00000000..5dd3d6c7
> --- /dev/null
> +++ b/meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb
> @@ -0,0 +1,14 @@
> +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
> +
> +DEPENDS = "ti-rpmsg-char"
> +
> +EXTRA_OECMAKE += "-DBUILD_LIB=ON -DBUILD_EXAMPLE=OFF"
> 
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#18635): https://lists.yoctoproject.org/g/meta-ti/message/18635
> Mute This Topic: https://lists.yoctoproject.org/mt/113571551/3619733
> Group Owner: meta-ti+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [afd@ti.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Denys Dmytriyenko June 11, 2025, 8:22 p.m. UTC | #2
On Tue, Jun 10, 2025 at 10:34:15AM -0500, Andrew Davis wrote:
> On 6/10/25 10:16 AM, Vishnu Singh via lists.yoctoproject.org wrote:
> >From: Vishnu Singh <v-singh1@ti.com>
> >
> >This commit introduces the RPMsg DMA library:
> >
> >RPMsg DMA library (meta-ti-bsp/recipes-ti/ipc):
> 
> The "meta-ti-bsp/recipes-ti/ipc" part isn't needed, we can see
> where it is at from the patch below. Otherwise the recipe itself
> looks good to me,
> 
> Reviewed-by: Andrew Davis <afd@ti.com>

Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>


> >    - 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
> >
> >Signed-off-by: Vishnu Singh <v-singh1@ti.com>
> >---
> >  meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb | 14 ++++++++++++++
> >  1 file changed, 14 insertions(+)
> >  create mode 100644 meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb
> >
> >diff --git a/meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb b/meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb
> >new file mode 100644
> >index 00000000..5dd3d6c7
> >--- /dev/null
> >+++ b/meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb
> >@@ -0,0 +1,14 @@
> >+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
> >+
> >+DEPENDS = "ti-rpmsg-char"
> >+
> >+EXTRA_OECMAKE += "-DBUILD_LIB=ON -DBUILD_EXAMPLE=OFF"
diff mbox series

Patch

diff --git a/meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb b/meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb
new file mode 100644
index 00000000..5dd3d6c7
--- /dev/null
+++ b/meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb
@@ -0,0 +1,14 @@ 
+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
+
+DEPENDS = "ti-rpmsg-char"
+
+EXTRA_OECMAKE += "-DBUILD_LIB=ON -DBUILD_EXAMPLE=OFF"