From patchwork Thu May 29 12:10:23 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: vishnu singh X-Patchwork-Id: 63806 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51D78C5B543 for ; Thu, 29 May 2025 12:10:36 +0000 (UTC) Received: from fllvem-ot04.ext.ti.com (fllvem-ot04.ext.ti.com [198.47.19.246]) by mx.groups.io with SMTP id smtpd.web11.19547.1748520630427481211 for ; Thu, 29 May 2025 05:10:30 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=J43KBUbH; spf=pass (domain: ti.com, ip: 198.47.19.246, mailfrom: v-singh1@ti.com) Received: from fllvem-sh04.itg.ti.com ([10.64.41.54]) by fllvem-ot04.ext.ti.com (8.15.2/8.15.2) with ESMTP id 54TCARCU2360315; Thu, 29 May 2025 07:10:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1748520627; bh=w2Xpw0gcOOSX+BAZD1ogg0v2S03F7ud0C5dm0CIXaPQ=; h=From:To:CC:Subject:Date; b=J43KBUbHinAyusNMzC58xmXSc78aNO+K99zXiK/ukcNGtXsziFhPa0uqpTmRakiS+ CUqSQaCF9D7RPQNSdJgFPF5LktSp1L1+Sbd2zEYauZJ3drALyT1q4ND9jYPEBO/rLQ wI+foFdUg5+1OhmVT1PD0b8ys2DyL9C5vbIXCgZ8= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by fllvem-sh04.itg.ti.com (8.18.1/8.18.1) with ESMTPS id 54TCARSi134458 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=FAIL); Thu, 29 May 2025 07:10:27 -0500 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 29 May 2025 07:10:27 -0500 Received: from lelvem-mr05.itg.ti.com (10.180.75.9) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 29 May 2025 07:10:27 -0500 Received: from uda0513920.dhcp.ti.com (uda0513920.dhcp.ti.com [172.24.227.153]) by lelvem-mr05.itg.ti.com (8.18.1/8.18.1) with ESMTP id 54TCAOfF1562806; Thu, 29 May 2025 07:10:25 -0500 From: vishnu singh To: , , CC: , , , Subject: [PATCH V2 1/2] CI/CD Auto-Merger: cicd.scarthgap.202505230901 Date: Thu, 29 May 2025 17:40:23 +0530 Message-ID: <20250529121024.513864-1-v-singh1@ti.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 29 May 2025 12:10:36 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/18606 From: LCPD Automation Script Updated the value(s) for: cnm-wave-fw: LIC_FILES_CHKSUM ti-linux-fw: CNM_WAVE521_FW_VERSION,TI_LINUX_FW_SRCREV u-boot-ti-staging_2025.01: SRCREV k3conf: SRCREV linux-ti-staging_6.12: PV,SRCREV Changelogs: ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=bffa52a1b8d3318ec86814047025e7c5edf7b7b0..d5a6aed56d76f7a8a7729f0d0b4655b7e623e1c7 u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=98b6b3f5a259be864e8db92f4925c3c19c3482a4..3d024809613c2a8f1d69258554ab8954d26537f5 k3conf: https://git.ti.com/cgit/k3conf/k3conf/log/?qt=range&q=e4a814ff42ef357ee453b6f2f809ecdfa624aa8c..ea9938bf9cafd9c0cb05ef060a713ab4ac72270f linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=013211ccdf5ec33e19652be631b820bc5f6b86a4..d95b7f80f66d104525e6beb002d82a9505b28131 Signed-off-by: LCPD Automation Script --- meta-ti-bsp/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb | 2 +- meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 4 ++-- meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb | 2 +- meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb | 2 +- meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/meta-ti-bsp/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb b/meta-ti-bsp/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb index 43624183..6a65992f 100644 --- a/meta-ti-bsp/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb +++ b/meta-ti-bsp/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb @@ -5,7 +5,7 @@ require recipes-bsp/ti-linux-fw/ti-linux-fw.inc inherit update-alternatives LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENCE.cnm;md5=93b67e6bac7f8fec22b96b8ad0a1a9d0" +LIC_FILES_CHKSUM = "file://LICENCE.cnm;md5=df3992006621b797e36de43f36336e36" PV = "${CNM_WAVE521_FW_VERSION}" PR = "${INC_PR}.1" diff --git a/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc b/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc index 925f81fe..adc7afa1 100644 --- a/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc +++ b/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc @@ -13,12 +13,12 @@ PRUETH_FW_AM65X_SR2_VERSION = "02.02.15.04" GOODIX_FW_VERSION = "1.0.0.0" CADENCE_MHDP_FW_VERSION = "2.1.0" IMG_DEC_FW_VERSION = "1.0" -CNM_WAVE521_FW_VERSION = "1.0.7" +CNM_WAVE521_FW_VERSION = "1.0.8" TI_DM_FW_VERSION = "11.00.09" TI_SYSFW_VERSION = "11.00.07" TI_HSM_DEMO_FW_VERSION = "11.00.09" -TI_LINUX_FW_SRCREV ?= "bffa52a1b8d3318ec86814047025e7c5edf7b7b0" +TI_LINUX_FW_SRCREV ?= "d5a6aed56d76f7a8a7729f0d0b4655b7e623e1c7" SRCREV = "${TI_LINUX_FW_SRCREV}" BRANCH ?= "ti-linux-firmware" diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb index fb5dfa73..99a2c8fc 100644 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb @@ -6,4 +6,4 @@ PR = "r0" BRANCH = "ti-u-boot-2025.01" -SRCREV = "98b6b3f5a259be864e8db92f4925c3c19c3482a4" +SRCREV = "3d024809613c2a8f1d69258554ab8954d26537f5" diff --git a/meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb b/meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb index 8e83a1aa..8691e523 100644 --- a/meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb +++ b/meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb @@ -10,7 +10,7 @@ PV = "0.3+git" COMPATIBLE_MACHINE = "k3" BRANCH ?= "master" -SRCREV = "e4a814ff42ef357ee453b6f2f809ecdfa624aa8c" +SRCREV = "ea9938bf9cafd9c0cb05ef060a713ab4ac72270f" SRC_URI = "git://git.ti.com/git/k3conf/k3conf.git;protocol=https;branch=${BRANCH}" diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb index 535a96f8..f399c207 100644 --- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb @@ -23,8 +23,8 @@ S = "${WORKDIR}/git" BRANCH ?= "ti-linux-6.12.y" -SRCREV ?= "013211ccdf5ec33e19652be631b820bc5f6b86a4" -PV = "6.12.23+git" +SRCREV ?= "d95b7f80f66d104525e6beb002d82a9505b28131" +PV = "6.12.24+git" # Special configuration for remoteproc/rpmsg IPC modules module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample" From patchwork Thu May 29 12:10:24 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: vishnu singh X-Patchwork-Id: 63805 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50D6DC5AD49 for ; Thu, 29 May 2025 12:10:36 +0000 (UTC) Received: from lelvem-ot01.ext.ti.com (lelvem-ot01.ext.ti.com [198.47.23.234]) by mx.groups.io with SMTP id smtpd.web10.19571.1748520631795147493 for ; Thu, 29 May 2025 05:10:31 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=l6rYrRHC; spf=pass (domain: ti.com, ip: 198.47.23.234, mailfrom: v-singh1@ti.com) Received: from lelvem-sh02.itg.ti.com ([10.180.78.226]) by lelvem-ot01.ext.ti.com (8.15.2/8.15.2) with ESMTP id 54TCAUHU3514410; Thu, 29 May 2025 07:10:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1748520630; bh=1CyEXv8+FcTZ+5Pi0gRXYirAybWqj5Em7NaA2qM7Heo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=l6rYrRHCib9DPNfJzJmW5vXym8BH+WLC2+kcpfS+cyMtKzYuagfxzgmECyo3lJgcb qJ+PiiWoTzPLeXGPAT/QBr6njbRRGpBw+Th6OcwNxSwEfMq9IVew9WnFwQbVpyvTgm mxtvJBiX0pXjzrEwE0YhnOTcMfcf34GkeHlrQTcc= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelvem-sh02.itg.ti.com (8.18.1/8.18.1) with ESMTPS id 54TCAU7L2159652 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=FAIL); Thu, 29 May 2025 07:10:30 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 29 May 2025 07:10:29 -0500 Received: from lelvem-mr05.itg.ti.com (10.180.75.9) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 29 May 2025 07:10:29 -0500 Received: from uda0513920.dhcp.ti.com (uda0513920.dhcp.ti.com [172.24.227.153]) by lelvem-mr05.itg.ti.com (8.18.1/8.18.1) with ESMTP id 54TCAOfG1562806; Thu, 29 May 2025 07:10:27 -0500 From: vishnu singh To: , , CC: , , , Subject: [PATCH V2 2/2] Add rpmsg DMA library and simple DSP offload example Date: Thu, 29 May 2025 17:40:24 +0530 Message-ID: <20250529121024.513864-2-v-singh1@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250529121024.513864-1-v-singh1@ti.com> References: <20250529121024.513864-1-v-singh1@ti.com> MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 29 May 2025 12:10:36 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/18607 From: Vishnu Singh 1. rpmsg DMA library (meta-ti-bsp/recipes-ti/ipc): based on rpmsg & DMA Heap buffers. this includes librpmsg_dma.so shared library which provides apis for 1. rpmsg interface initialization 2. rpmsg based recv/send api for communication 3. dma heap buffer management 4. DSP firmware synamin load/unload 2. rpmsg DMA offload example (meta-ti-extras/recipes-ti/ipc): provides example foraudio offloading to DSP from linux using ti-rpmsg-dma library. Alsove provide Ethernet based control utility (host). Signed-off-by: Vishnu Singh --- .../recipes-ti/ipc/ti-librpmsg-dma_1.0.bb | 25 +++++++++++++++++ .../ipc/ti-librpmsg-dma-example_1.0.bb | 27 +++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb create mode 100644 meta-ti-extras/recipes-ti/ipc/ti-librpmsg-dma-example_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..ad3f01f6 --- /dev/null +++ b/meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb @@ -0,0 +1,25 @@ +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 = "1fce50101eeeebb595dcc07bf8d3ca2a8f9ffe2c" + +S = "${WORKDIR}/git" + +DEPENDS = "ti-rpmsg-char" + +EXTRA_OEMAKE = "lib" +do_compile() { + oe_runmake ${EXTRA_OEMAKE} +} + +do_install() { + install -d ${D}${libdir} + install -m 0755 lib/librpmsg_dma.so.1.0 ${D}${libdir}/ + ln -sf librpmsg_dma.so.1.0 ${D}${libdir}/librpmsg_dma.so.1 + ln -sf librpmsg_dma.so.1 ${D}${libdir}/librpmsg_dma.so + + install -d ${D}${includedir}/rpmsg_dma + install -m 0644 include/*.h ${D}${includedir}/rpmsg_dma/ +} diff --git a/meta-ti-extras/recipes-ti/ipc/ti-librpmsg-dma-example_1.0.bb b/meta-ti-extras/recipes-ti/ipc/ti-librpmsg-dma-example_1.0.bb new file mode 100644 index 00000000..6dd614cd --- /dev/null +++ b/meta-ti-extras/recipes-ti/ipc/ti-librpmsg-dma-example_1.0.bb @@ -0,0 +1,27 @@ +SUMMARY = "Audio Offload Example using RPMsg DMA" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=744e63d2bb8c6151dcdd97f49aa02c53" + +SRC_URI = "git://github.com/TexasInstruments/rpmsg-dma.git;protocol=https;branch=main" +SRCREV = "1fce50101eeeebb595dcc07bf8d3ca2a8f9ffe2c" + +S = "${WORKDIR}/git" + +DEPENDS = "ti-librpmsg-dma fftw libsndfile1 alsa-lib" + +do_compile() { + oe_runmake -C example/audio_offload +} + +do_install() { + install -d ${D}${bindir} + install -m 0755 example/audio_offload/bin/rpmsg_audio_offload_example ${D}${bindir}/ + + install -d ${D}${sysconfdir} + install -d ${D}/opt + install -m 0644 example/audio_offload/config/dsp_offload.cfg ${D}${sysconfdir}/dsp_offload.cfg + install -m 0644 example/audio_offload/audio_sample/sample_audio.wav ${D}/opt/sample_audio.wav +} + +FILES:${PN} += "${sysconfdir}/dsp_offload.cfg" +FILES:${PN} += "/opt/sample_audio.wav"