Message ID | 20250609125451.17148-1-v-singh1@ti.com |
---|---|
State | Superseded |
Delegated to: | Ryan Eatmon |
Headers | show |
Series | [[scarthgap,V4] ] meta-ti-bsp : ipc: Add RPMsg DMA library | expand |
On 6/9/25 7:54 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): > - 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> > --- > .../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 > > 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..c6d1f229 > --- /dev/null > +++ b/meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb > @@ -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 space at the end of string not needed > + > +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. > +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 > > > -=-=-=-=-=-=-=-=-=-=-=- > 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: meta-ti+owner@lists.yoctoproject.org > Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [afd@ti.com] > -=-=-=-=-=-=-=-=-=-=-=- >
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..c6d1f229 --- /dev/null +++ b/meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb @@ -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"