1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-01-12 01:20:20 +00:00

Compare commits

...

10 Commits

Author SHA1 Message Date
LCPD Automation Script
2e1d6a979d CI/CD Auto-Merger: cicd.scarthgap.202506261626
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV,TI_SYSFW_VERSION
  atf: SRCREV_tfa
  u-boot-ti-staging_2025.01: 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=e594deb508a322d5681888d48fbb153953b06ca9..1190654141a9604e21307555882d77eaaf8c5fac
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=c99a1f082ba4970678c9cb5100d13a986e77817c..5350f13b66393212475a15c4e107add1d38267d3
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=34d0b070130a8cd2cddd9260389ad974e8cb8468..9167ea3511ca6ac1536b3114d92791b3de7422a3

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-06-26 16:27:18 -05:00
Anshul Dalal
af9c3289ac conf: machine: am62xxsip: update kernel dtbs
The new kernel dtb for am62x SiP have been merged to ti-linux-kernel as
of f9579207b081 ("arm64: dts: ti: Add support for AM6254xxl SiP SK") on
ti-linux-6.12.y-cicd. This patch modifies FIT_CONF_DEFAULT_DTB to pick
the new dtb instead.

Signed-off-by: Anshul Dalal <anshuld@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-06-26 09:05:46 -05:00
Anshul Dalal
266610c6f3 meta-ti-bsp: optee: add build flags for am62xxsip-evm
CFG_TZDRAM_START in OPTEE defines it's load address and is used to
configure the page tables accordingly.

Due to 512MiB DDR limitation of am62x SiP, the memory map has been
modified with OP-TEE moved to bottom of DDR after atf to 0x80080000,
this requires modifications to the OPTEE's CFG_TZDRAM_START.

Signed-off-by: Anshul Dalal <anshuld@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-06-26 09:05:46 -05:00
Anshul Dalal
1892ec68f7 meta-ti-bsp: tfa: add build flags for am62xxsip-evm
Due to 512MiB DDR limitation of am62x SiP, the memory map has been
modified with OP-TEE moved to bottom of DDR after atf to 0x80080000,
this requires modifications to ATF's BL32_BASE. PRELOADED_BL33_BASE has
also been updated to 0x82000000 to reflect the updated SPL_TEXT_BASE
from u-boot.

Signed-off-by: Anshul Dalal <anshuld@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-06-26 09:05:46 -05:00
Anshul Dalal
ad64c54238 conf: machine: am62xxsip: update u-boot defconfig to am6254xxl
As of 35df864a0c26 ("configs: add defconfigs for am6254xxl") in
ti-u-boot, new SiP sepcific defconfigs have been added with updated
memory maps and OP-TEE load address. This requires changing the
UBOOT_MACHINE variables inside machine configs for am62xxsip-evm.

Note that AM6254xxl is the OPN for am62x SiP and expands as follows:

AM6254XXL
     ||||
     |||+-- Feature Lookup (L indicates 512MiB of integrated LPDDR4)
     ||+--- Clock Speed
     |+---- Silicon PG Revision
     +----- Core configuration (4 indicates A53's in Quad core config)

Signed-off-by: Anshul Dalal <anshuld@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-06-26 09:05:46 -05:00
MD Danish Anwar
c23ccb153e pru*-fw: Add AM64x pru firmwares
Add support for packaging AM64x PRU firmwares separately

Previously, AM64x platforms used the same PRU firmware binaries as
AM65x (the "am65x-sr2-*" files). This patch updates the recipes to
package dedicated AM64x PRU firmware binaries, ensuring that AM64x
devices use the correct firmware files.

The following changes are made:
- Add AM64x-specific firmware binaries to the TARGET lists in the
  prueth-fw, pruhsr-fw, pruprp-fw, and prusw-fw recipes.
- Update COMPATIBLE_MACHINE in pruprp-fw to include "am64xx".
- Add new PRU PRP firmware binaries for AM64x, as AM64x now supports
  PRP mode.

Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-06-24 10:35:43 -05:00
LCPD Automation Script
dfe56e84bb CI/CD Auto-Merger: cicd.scarthgap.202506191239
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV
  u-boot-ti-staging_2025.01: SRCREV
  linux-ti-staging_6.12: SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=a37c82f0e25e0e3c99fdf03f1d57f7b08314a2bc..e594deb508a322d5681888d48fbb153953b06ca9
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=da601a5231bf1b053a35c94c5d57a5658ce2e4e7..c99a1f082ba4970678c9cb5100d13a986e77817c
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=251ed68a96e3f85a5db174c9c39dc334c0f0ba5f..34d0b070130a8cd2cddd9260389ad974e8cb8468

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-06-19 12:39:47 -05:00
Vishnu Singh
43af374d1b recipes-bsp: Add TI TAD5212 DAC firmware recipe
Add TAD5212 DAC firmware images for am62dxx-evm to support two DAC
configurations:
- tad5212_01.bin: Configures 1 DAC with stereo channel in i2s mode.
- tad5212_04.bin: Configures 4 DAC with each having stereo channel
		  support in i2s mode.

Signed-off-by: Vishnu Singh <v-singh1@ti.com>
Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Reviewed-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-06-18 13:21:34 -05:00
Paresh Bhagat
9e8898966a meta-ti-bsp: ti-rtos-fw: Update IPC firmwares for am62dxx
Previously, AM62d build reused AM62a's IPC firmwares. Now that
dedicated AM62d IPC firmwares are being pushed to ti-linux-firmware
repo, package the new IPC firmwares for echo test.

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-06-18 09:03:44 -05:00
Vishnu Singh
a893fa576c meta-ti-bsp : ipc: Add RPMsg DMA library
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>
Reviewed-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-06-13 08:14:30 -05:00
15 changed files with 103 additions and 15 deletions

View File

@@ -14,3 +14,5 @@ KERNEL_DEVICETREE = ""
FIT_CONF_DEFAULT_DTB = "ti/k3-am62d2-evm.dtb"
UBOOT_MACHINE = "am62dx_evm_a53_defconfig"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "ti-dac-fw"

View File

@@ -8,7 +8,9 @@ SYSFW_SOC = "am62x"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs-fs"
UBOOT_MACHINE = "am62xsip_evm_r5_defconfig"
UBOOT_MACHINE = "am6254xxl_evm_r5_defconfig"
UBOOT_MACHINE:bsp-ti-6_6 = "am62xsip_evm_r5_defconfig"
UBOOT_MACHINE:bsp-ti-6_1 = "am62x_evm_r5_defconfig"

View File

@@ -4,6 +4,18 @@
require conf/machine/include/am62xx.inc
TFA_K3_BL32_BASE = "0x80080000"
TFA_K3_BL32_BASE:bsp-ti-6_6 = ""
TFA_K3_BL32_BASE:bsp-ti-6_1 = ""
TFA_K3_PRELOADED_BL33 = "0x82000000"
TFA_K3_PRELOADED_BL33:bsp-ti-6_6 = ""
TFA_K3_PRELOADED_BL33:bsp-ti-6_1 = ""
OPTEE_K3_TZDRAM_START = "0x80080000"
OPTEE_K3_TZDRAM_START:bsp-ti-6_6 = ""
OPTEE_K3_TZDRAM_START:bsp-ti-6_1 = ""
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am625 \
ti/k3-am62x-sk \
@@ -13,8 +25,10 @@ KERNEL_DEVICETREE = " \
ti/k3-am625-sk.dtb \
"
FIT_CONF_DEFAULT_DTB = "ti/k3-am625-sk.dtb"
UBOOT_MACHINE = "am62xsip_evm_a53_defconfig"
FIT_CONF_DEFAULT_DTB = "ti/k3-am6254xxl-sk.dtb"
FIT_CONF_DEFAULT_DTB:bsp-ti-6_6 = "ti/k3-am625-sk.dtb"
FIT_CONF_DEFAULT_DTB:bsp-ti-6_1 = "ti/k3-am625-sk.dtb"
UBOOT_MACHINE = "am6254xxl_evm_a53_defconfig"
UBOOT_MACHINE:bsp-ti-6_6 = "am62xsip_evm_a53_defconfig"
UBOOT_MACHINE:bsp-ti-6_1 = "am62x_evm_a53_defconfig"

View File

@@ -23,6 +23,12 @@ TARGET = " \
am65x-sr2-rtu1-prueth-fw.elf \
am65x-sr2-txpru0-prueth-fw.elf \
am65x-sr2-txpru1-prueth-fw.elf \
am64x-sr2-pru0-prueth-fw.elf \
am64x-sr2-pru1-prueth-fw.elf \
am64x-sr2-rtu0-prueth-fw.elf \
am64x-sr2-rtu1-prueth-fw.elf \
am64x-sr2-txpru0-prueth-fw.elf \
am64x-sr2-txpru1-prueth-fw.elf \
"
do_install() {

View File

@@ -20,6 +20,12 @@ TARGET = " \
am65x-sr2-rtu1-pruhsr-fw.elf \
am65x-sr2-txpru0-pruhsr-fw.elf \
am65x-sr2-txpru1-pruhsr-fw.elf \
am64x-sr2-pru0-pruhsr-fw.elf \
am64x-sr2-pru1-pruhsr-fw.elf \
am64x-sr2-rtu0-pruhsr-fw.elf \
am64x-sr2-rtu1-pruhsr-fw.elf \
am64x-sr2-txpru0-pruhsr-fw.elf \
am64x-sr2-txpru1-pruhsr-fw.elf \
"
do_install() {

View File

@@ -5,7 +5,7 @@ require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
PE = "1"
PR = "${INC_PR}.0"
COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx"
COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx|am64xx"
TARGET = " \
am335x-pru0-pruprp-fw.elf \
@@ -14,6 +14,12 @@ TARGET = " \
am437x-pru1-pruprp-fw.elf \
am57xx-pru0-pruprp-fw.elf \
am57xx-pru1-pruprp-fw.elf \
am64x-sr2-pru0-pruprp-fw.elf \
am64x-sr2-pru1-pruprp-fw.elf \
am64x-sr2-rtu0-pruprp-fw.elf \
am64x-sr2-rtu1-pruprp-fw.elf \
am64x-sr2-txpru0-pruprp-fw.elf \
am64x-sr2-txpru1-pruprp-fw.elf \
"
do_install() {

View File

@@ -19,6 +19,12 @@ TARGET = " \
am65x-sr2-rtu1-prusw-fw.elf \
am65x-sr2-txpru0-prusw-fw.elf \
am65x-sr2-txpru1-prusw-fw.elf \
am64x-sr2-pru0-prusw-fw.elf \
am64x-sr2-pru1-prusw-fw.elf \
am64x-sr2-rtu0-prusw-fw.elf \
am64x-sr2-rtu1-prusw-fw.elf \
am64x-sr2-txpru0-prusw-fw.elf \
am64x-sr2-txpru1-prusw-fw.elf \
"
do_install() {

View File

@@ -0,0 +1,17 @@
DESCRIPTION = "TI DAC TAD5212 config prebuild binary firmware"
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
PV = "${TAD5212_FW_VERSION}"
PR = "${INC_PR}.0"
COMPATIBLE_MACHINE = "am62dxx"
TAD5212_1DEV = "tad5212_01.bin"
TAD5212_4DEV = "tad5212_04.bin"
do_install() {
install -d ${D}${nonarch_base_libdir}/firmware
install -m 0644 ${S}/ti/tad5212/${TAD5212_1DEV} ${D}${nonarch_base_libdir}/firmware/
install -m 0644 ${S}/ti/tad5212/${TAD5212_4DEV} ${D}${nonarch_base_libdir}/firmware/
}

View File

@@ -15,10 +15,11 @@ CADENCE_MHDP_FW_VERSION = "2.1.0"
IMG_DEC_FW_VERSION = "1.0"
CNM_WAVE521_FW_VERSION = "1.0.8"
TI_DM_FW_VERSION = "11.00.09"
TI_SYSFW_VERSION = "11.01.00"
TI_SYSFW_VERSION = "11.01.02"
TI_HSM_DEMO_FW_VERSION = "11.00.09"
TAD5212_FW_VERSION = "1.0.0.0"
TI_LINUX_FW_SRCREV ?= "a37c82f0e25e0e3c99fdf03f1d57f7b08314a2bc"
TI_LINUX_FW_SRCREV ?= "1190654141a9604e21307555882d77eaaf8c5fac"
SRCREV = "${TI_LINUX_FW_SRCREV}"
BRANCH ?= "ti-linux-firmware"

View File

@@ -20,7 +20,7 @@ PLAT_SFX:am65xx = "am65xx"
PLAT_SFX:am64xx = "am64xx"
PLAT_SFX:am62xx = "am62xx"
PLAT_SFX:am62axx = "am62axx"
PLAT_SFX:am62dxx = "am62axx"
PLAT_SFX:am62dxx = "am62dxx"
PLAT_SFX:am62pxx = "am62pxx"
FILESEXTRAPATHS:prepend := "${METATIBASE}/recipes-bsp/ti-sci-fw/files/:"
@@ -101,7 +101,8 @@ do_install:prepend:am62axx() {
# Update the am62dxx ipc binaries to be consistent with other platforms
do_install:prepend:am62dxx() {
( cd ${S}/${IPC_FW_DIR}; \
ln -sf am62a-mcu-r5f0_0-fw ${MCU_2_0_FW}; \
ln -sf ipc_rpmsg_echo.mcu-r5f0_0.release.strip.out ${MCU_2_0_FW}; \
ln -sf ipc_rpmsg_echo.c75ss0-0.release.strip.out ${C7X_1_FW}; \
)
}
@@ -149,8 +150,8 @@ ALTERNATIVE:${PN}:am62axx = "\
"
ALTERNATIVE:${PN}:am62dxx = "\
am62a-mcu-r5f0_0-fw am62a-mcu-r5f0_0-fw-sec \
am62a-c71_0-fw am62a-c71_0-fw-sec \
am62d-mcu-r5f0_0-fw am62d-mcu-r5f0_0-fw-sec \
am62d-c71_0-fw am62d-c71_0-fw-sec \
"
ALTERNATIVE:${PN}:j721e = "\
@@ -243,6 +244,11 @@ ALTERNATIVE_LINK_NAME[am62a-mcu-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmwar
ALTERNATIVE_LINK_NAME[am62a-c71_0-fw] = "${nonarch_base_libdir}/firmware/am62a-c71_0-fw"
ALTERNATIVE_LINK_NAME[am62a-c71_0-fw-sec] = "${nonarch_base_libdir}/firmware/am62a-c71_0-fw-sec"
ALTERNATIVE_LINK_NAME[am62d-mcu-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/am62d-mcu-r5f0_0-fw"
ALTERNATIVE_LINK_NAME[am62d-mcu-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/am62d-mcu-r5f0_0-fw-sec"
ALTERNATIVE_LINK_NAME[am62d-c71_0-fw] = "${nonarch_base_libdir}/firmware/am62d-c71_0-fw"
ALTERNATIVE_LINK_NAME[am62d-c71_0-fw-sec] = "${nonarch_base_libdir}/firmware/am62d-c71_0-fw-sec"
ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_1-fw] = "${nonarch_base_libdir}/firmware/j7-mcu-r5f0_1-fw"
ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_1-fw-sec] = "${nonarch_base_libdir}/firmware/j7-mcu-r5f0_1-fw-sec"
ALTERNATIVE_LINK_NAME[j7-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j7-main-r5f0_0-fw"
@@ -364,6 +370,11 @@ ALTERNATIVE_TARGET[am62a-mcu-r5f0_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_F
ALTERNATIVE_TARGET[am62a-c71_0-fw] = "${INSTALL_IPC_FW_DIR}/${C7X_1_FW}"
ALTERNATIVE_TARGET[am62a-c71_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C7X_1_FW}.signed"
ALTERNATIVE_TARGET[am62d-mcu-r5f0_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}"
ALTERNATIVE_TARGET[am62d-mcu-r5f0_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}.signed"
ALTERNATIVE_TARGET[am62d-c71_0-fw] = "${INSTALL_IPC_FW_DIR}/${C7X_1_FW}"
ALTERNATIVE_TARGET[am62d-c71_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C7X_1_FW}.signed"
ALTERNATIVE_TARGET[j7-mcu-r5f0_1-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_1_1_FW}"
ALTERNATIVE_TARGET[j7-mcu-r5f0_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_1_1_FW}.signed"
ALTERNATIVE_TARGET[j7-main-r5f0_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}"

View File

@@ -1,7 +1,7 @@
# NOTE: This .inc file with customizations only gets included for K3 platforms
PV = "2.12+git"
SRCREV_tfa = "39fe4a856d3576646642c2516b7a99de63eca74e"
SRCREV_tfa = "2ab59f45ad0a5d95b5cb339c0f64686954377050"
SRC_URI_TRUSTED_FIRMWARE_A = "git://github.com/TexasInstruments/arm-trusted-firmware.git;protocol=https"
SRCBRANCH = "ti-master"
SRC_URI = "${SRC_URI_TRUSTED_FIRMWARE_A};name=tfa;branch=${SRCBRANCH}"
@@ -18,5 +18,7 @@ TFA_INSTALL_TARGET:am62lxx = "bl31 bl1"
TFA_SPD:am62lxx = ""
EXTRA_OEMAKE += "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}"
EXTRA_OEMAKE += "${@ 'BL32_BASE=' + d.getVar('TFA_K3_BL32_BASE') if d.getVar('TFA_K3_BL32_BASE') else ''}"
EXTRA_OEMAKE += "${@ 'PRELOADED_BL33_BASE=' + d.getVar('TFA_K3_PRELOADED_BL33') if d.getVar('TFA_K3_PRELOADED_BL33') else ''}"
EXTRA_OEMAKE += "${@ 'K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}"
EXTRA_OEMAKE:append:ti-falcon = " PRELOADED_BL33_BASE=0x82000000 K3_HW_CONFIG_BASE=0x88000000"

View File

@@ -6,4 +6,4 @@ PR = "r0"
BRANCH = "ti-u-boot-2025.01"
SRCREV = "da601a5231bf1b053a35c94c5d57a5658ce2e4e7"
SRCREV = "5350f13b66393212475a15c4e107add1d38267d3"

View File

@@ -23,8 +23,8 @@ S = "${WORKDIR}/git"
BRANCH ?= "ti-linux-6.12.y"
SRCREV ?= "251ed68a96e3f85a5db174c9c39dc334c0f0ba5f"
PV = "6.12.33+git"
SRCREV ?= "9167ea3511ca6ac1536b3114d92791b3de7422a3"
PV = "6.12.34+git"
# Special configuration for remoteproc/rpmsg IPC modules
module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample"

View File

@@ -4,6 +4,7 @@ inherit ti-secdev
EXTRA_OEMAKE:remove = "CFG_MAP_EXT_DT_SECURE=y"
EXTRA_OEMAKE:append:k3 = " ${@ 'CFG_CONSOLE_UART='+ d.getVar('OPTEE_K3_USART') if d.getVar('OPTEE_K3_USART') else ''}"
EXTRA_OEMAKE:append:k3 = " ${@ 'CFG_TZDRAM_START='+ d.getVar('OPTEE_K3_TZDRAM_START') if d.getVar('OPTEE_K3_TZDRAM_START') else ''}"
EXTRA_OEMAKE:append:am62xx = " CFG_TEE_CORE_LOG_LEVEL=1"
EXTRA_OEMAKE:append:am62lxx = " CFG_TEE_CORE_LOG_LEVEL=1"

View File

@@ -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"