summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/recipes-ti
Commit message (Collapse)AuthorAgeFilesLines
* ti-librpmsg-dma: mark it as compatible with K3 platformsDenys Dmytriyenko11 days1-0/+2
| | | | | | | | | | | | | As ti-librpmsg-dma depends on ti-rpmsg-char, which is only compatible with K3 platforms, ti-librpmsg-dma should also have the same limitations. This resolves yocto-check-layer failure: ERROR: Nothing PROVIDES 'ti-rpmsg-char' (but .../ti-librpmsg-dma_1.0.bb DEPENDS on or otherwise requires it) ti-rpmsg-char was skipped: incompatible with machine qemux86-64 (not in COMPATIBLE_MACHINE) Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* meta-ti/all: remove S in recipes that fetch from git via setting ↵Ryan Eatmon2025-06-254-8/+0
| | | | | | | | | | BB_GIT_DEFAULT_DESTSUFFIX Removing all the S = ${WORKDIR}/git assignments works because BB_GIT_DEFAULT_DESTSUFFIX is set to match S from bitbake.conf (which itself is set to match typical tarball releases). Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* meta-ti-bsp : ipc: Add RPMsg DMA libraryVishnu Singh2025-06-221-0/+14
| | | | | | | | | | | | | | | | 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>
* CLEANUP: Add missing SUMMARYRyan Eatmon2025-05-163-1/+3
| | | | | | | | Every recipe should have a SUMMARY and that can only be 72 characters at most. Some of these recipes had DESCRIPTIONS and not SUMMARY, some were missing the SUMMARY, and some had slightly too long values for the SUMMARY. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* meta-ti-bsp recipes: fix whitespace warningsMax Krummenacher2025-05-132-2/+2
| | | | | | | | | | | | | | | | Since OE bitbake commit 24772dd2ae6c ("parse/ConfHandler: Add warning for deprecated whitespace usage"), the current build generates the following warning (as example): | WARNING: ...meta-ti/meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb: | meta-ti/meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb:2 | has a lack of whitespace around the assignment: | 'HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC"' Fix all the warnings. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ipc: ti-rpmsg-char: Update library to 0.6.9Praneeth Bajjuri2025-03-201-3/+3
| | | | | | | | | | | | | update from 0.6.7 to 0.6.9. This update brings the following fixes from ti-rpmsg-char repo. 09b064c src: fix misc warnings 5a9ec97 src: fix warnings for resource leak & string null b4ef987 Fix Werror=stringop-truncation dabdc21 lib: Fix klockwork warnings Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-rpmsg-char: Change to COMPATIBLE_MACHINERyan Eatmon2025-03-131-2/+1
| | | | | | | | | Rather than using COMPATIBLE_HOST move to using COMPATIBLE_MACHINE to limit the recipe to being TI specific. Also, this package is "k3" specific so further limit it down to just those matching machines and not all TI SOCs. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* meta-ti-bsp: ti-rtos-bin: Move this with the other firmware recipesAndrew Davis2024-12-131-446/+0
| | | | | | | | | | | All other firmware recipes are in recipes-bsp. There is nothing much special about this set of firmware so move it to match. This firmware is the pre-compiled "echo test" example for various remote cores. The directory name is not very clear on that, so fix that up too. Signed-off-by: Andrew Davis <afd@ti.com>
* ti-ipc: mark as incompatible with non-Linux buildsDenys Dmytriyenko2024-11-211-1/+1
| | | | | | | | | This package provides Linux-side components for TI IPC and depends on virtual/kernel Linux kernel for the build, so it is not compatible with non-Linux builds, such as k3r5 baremetal multiconfig. Hence adjust COMPATIBLE_HOST accordingly. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
* meta-ti-bsp: Add support for j742s2-evmAniket Limaye2024-07-191-0/+57
| | | | | | | | | - Add A72 and R5 machine configurations for j742s2-evm - Add firmware overrides. - Add u-boot overrides. Signed-off-by: Aniket Limaye <a-limaye@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ipc: ti-rpmsg-char: Update library to 0.6.7Praneeth Bajjuri2024-07-191-3/+3
| | | | | | | | | | | | | update from 0.6.6 to 0.6.7. This update brings the following fixes from ti-rpmsg-char repo. 5100a2e lib: Fix truncation warnings 15011fe example: Add roundtrip delay metering aac39ae lib: fix truncation warnings with spritnf 4b9fd76 include: rproc_id: Add numbered enum Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-ipc: Fix "buildpaths" QA errorRyan Eatmon2024-07-171-1/+1
| | | | | | | | | Referring to the TI specific kernel header file via -I${UNPACKDIR} causes a "buildpaths" QA error. Solution is to tell gcc to map the host directory to a target directory using -fdebug-prefix-map Suggested-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-rtos-metadata: removeDenys Dmytriyenko2024-07-012-48/+0
| | | | | | | | The use of external metadata file to control RTOS binary firmware integration has been deprecated some time ago. Remove it now. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* meta-ti-bsp: ti-rtos-bin: Drop references of am62-main-r5f0_0-fwChirag Shilwant2024-06-151-5/+0
| | | | | | | | | | | | | | | - Under ti-ipc, ti-linux-firmware repository never had a R5 firmware for AM62x [1] It only contains `am62-mcu-m4f0_0-fw` since AM62x firmwares were initially added [2] - Hence, remove this faulty code that used to create a R5 firmware symlink under /lib/firmware/ that ultimately used to point to the same M4 firmware under /lib/firmware/ti-ipc/am62xx/ of filesystem. [1]: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/tree/ti-ipc/am62xx?h=ti-linux-firmware [2]: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/commit/?h=ti-linux-firmware&id=c2e5d59c706969a9faf1f31350b32be67a20298d Signed-off-by: Chirag Shilwant <c-shilwant@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* recipes: Update to UNPACKDIR for files going into WORKDIRRyan Eatmon2024-05-311-6/+6
| | | | | | | | | | | | For recipes that have file:// in SRC_URI, the files are placed into WORKDIR. Moving forward [1], that directory will be UNPACKDIR and eventually move to somewhere other than WORKDIR. So update all references to WORKDIR that are looking for these file to use UNPACKDIR instead. [1] https://git.openembedded.org/openembedded-core/commit/?id=e022d62ba917790af2121da57646271ef17c03fa Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ipc: ti-rpmsg-char: Update library to 0.6.6Praneeth Bajjuri2024-03-121-3/+3
| | | | | | | | | | | | update from 0.6.4 to 0.6.6. This update brings the following fixes from ti-rpmsg-char repo. 55a6f40 remove ti.ipc4.ping-pong reference 8892e57 lib: fix data type build warnings 7c2ab48 lib: fix build warnings Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* Drop SRCPVDenys Dmytriyenko2024-02-282-2/+2
| | | | | | | | | | A change in master from last year [1] dropped setting SRCPV. Since it is now empty, we do not need to use when setting PV. [1] https://git.openembedded.org/openembedded-core/commit/?id=a8e7b0f932b9ea69b3a218fca18041676c65aba0 Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
* meta-ti-bsp: Add Support for j722s-evmRyan Eatmon2024-01-101-1/+28
| | | | | | | | | | | | - Add A53 and R5 machine configurations for j722s-evm. - Add firmware overrides. - Add u-boot overrides. - Add cnm-wave support. Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com> Signed-off-by: Aniket Limaye <a-limaye@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ipc: ti-rpmsg-char: Update library to 0.6.4Apurva Nandan2024-01-051-3/+3
| | | | | | | | Fetch from the latest commit which has J722S support now. Signed-off-by: Apurva Nandan <a-nandan@ti.com> Signed-off-by: Aniket Limaye <a-limaye@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* recipes-bsp: Do not inherit deploy in recipes that do not deploy anythingAndrew Davis2023-11-081-1/+0
| | | | | Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-linux-fw: Add several more firmware helper lines to this common includeAndrew Davis2023-11-081-12/+0
| | | | | | | | | These are all useful for firmware recipes but some recipes did not have them. For firmware including ti-linux-fw.inc let's add these all to one spot and remove them from any recipe that did already have these. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-linux-fw: Make CLEANBROKEN and FILES part of common includeAndrew Davis2023-11-081-5/+0
| | | | | | | | These are common for all recipes that include ti-linux-fw.inc, add it to this include file and remove from each recipe. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* bsp: fw: point to TI-TFL license within meta-ti-bsp relative to recipesDenys Dmytriyenko2023-11-081-1/+1
| | | | | | | | | Don't try to locate TI-TFL license within meta-ti-bsp relative to OE-Core using COREBASE, as the directory structure of the layers is not guaranteed. Instead, point to it relative to the recipe itself. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* meta-ti-bsp: Add Support for am62pxx-evmChirag Shilwant2023-10-271-0/+19
| | | | | | | | | | | - Add A53 and R5 machine configurations for am62pxx-evm. - Add firmware overrides. - Add u-boot overrides. - Add cnm-wave support. Signed-off-by: Chirag Shilwant <c-shilwant@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Brandon Brnich <b-brnich@ti.com>
* ipc: ti-rpmsg-char: Update library to 0.6.3Hari Nagalla2023-09-251-3/+3
| | | | | | | | Update library to 0.6.3 as it adds support for AM62P SoC. Signed-off-by: Hari Nagalla <hnagalla@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-rtos-firmware: cleanup leftover alternative entries for JacintoDenys Dmytriyenko2023-09-251-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Jacinto platforms use first R5 MCU core for DM firmware. When DM firmware was split out into own recipe[1], ALTERNATIVE_TARGET entries got removed from ti-rtos-firmware recipe, but corresponding ALTERNATIVE_LINK_NAME entries remained, causing warnings. Clean up those now. [1] https://git.yoctoproject.org/meta-ti/commit/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb?id=b21d29d94694ac49b97a1f4ba428c7d8cd6fb64a Fixes these warnings: | WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alternative target (/usr/lib/firmware/j7-mcu-r5f0_0-fw or /usr/lib/firmware/j7-mcu-r5f0_0-fw.ti-rtos-firmware) does not exist, skipping... | WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alternative target (/usr/lib/firmware/j7-mcu-r5f0_0-fw-sec or /usr/lib/firmware/j7-mcu-r5f0_0-fw-sec.ti-rtos-firmware) does not exist, skipping... | WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: NOT adding alternative provide /usr/lib/firmware/j7-mcu-r5f0_0-fw: /usr/lib/firmware/j7-mcu-r5f0_0-fw.ti-rtos-firmware does not exist | WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: NOT adding alternative provide /usr/lib/firmware/j7-mcu-r5f0_0-fw-sec: /usr/lib/firmware/j7-mcu-r5f0_0-fw-sec.ti-rtos-firmware does not exist | WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alt_link == alt_target: /usr/lib/firmware/j7-mcu-r5f0_0-fw == /usr/lib/firmware/j7-mcu-r5f0_0-fw | WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alt_link == alt_target: /usr/lib/firmware/j7-mcu-r5f0_0-fw-sec == /usr/lib/firmware/j7-mcu-r5f0_0-fw-sec | WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alternative target (/usr/lib/firmware/j7200-mcu-r5f0_0-fw or /usr/lib/firmware/j7200-mcu-r5f0_0-fw.ti-rtos-firmware) does not exist, skipping... | WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alternative target (/usr/lib/firmware/j7200-mcu-r5f0_0-fw-sec or /usr/lib/firmware/j7200-mcu-r5f0_0-fw-sec.ti-rtos-firmware) does not exist, skipping... | WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: NOT adding alternative provide /usr/lib/firmware/j7200-mcu-r5f0_0-fw: /usr/lib/firmware/j7200-mcu-r5f0_0-fw.ti-rtos-firmware does not exist | WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: NOT adding alternative provide /usr/lib/firmware/j7200-mcu-r5f0_0-fw-sec: /usr/lib/firmware/j7200-mcu-r5f0_0-fw-sec.ti-rtos-firmware does not exist | WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alt_link == alt_target: /usr/lib/firmware/j7200-mcu-r5f0_0-fw == /usr/lib/firmware/j7200-mcu-r5f0_0-fw | WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alt_link == alt_target: /usr/lib/firmware/j7200-mcu-r5f0_0-fw-sec == /usr/lib/firmware/j7200-mcu-r5f0_0-fw-sec | WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alternative target (/usr/lib/firmware/j721s2-mcu-r5f0_0-fw or /usr/lib/firmware/j721s2-mcu-r5f0_0-fw.ti-rtos-firmware) does not exist, skipping... | WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alternative target (/usr/lib/firmware/j721s2-mcu-r5f0_0-fw-sec or /usr/lib/firmware/j721s2-mcu-r5f0_0-fw-sec.ti-rtos-firmware) does not exist, skipping... | WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: NOT adding alternative provide /usr/lib/firmware/j721s2-mcu-r5f0_0-fw: /usr/lib/firmware/j721s2-mcu-r5f0_0-fw.ti-rtos-firmware does not exist | WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: NOT adding alternative provide /usr/lib/firmware/j721s2-mcu-r5f0_0-fw-sec: /usr/lib/firmware/j721s2-mcu-r5f0_0-fw-sec.ti-rtos-firmware does not exist | WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alt_link == alt_target: /usr/lib/firmware/j721s2-mcu-r5f0_0-fw == /usr/lib/firmware/j721s2-mcu-r5f0_0-fw | WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alt_link == alt_target: /usr/lib/firmware/j721s2-mcu-r5f0_0-fw-sec == /usr/lib/firmware/j721s2-mcu-r5f0_0-fw-sec | WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alternative target (/usr/lib/firmware/j784s4-mcu-r5f0_0-fw or /usr/lib/firmware/j784s4-mcu-r5f0_0-fw.ti-rtos-firmware) does not exist, skipping... | WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alternative target (/usr/lib/firmware/j784s4-mcu-r5f0_0-fw-sec or /usr/lib/firmware/j784s4-mcu-r5f0_0-fw-sec.ti-rtos-firmware) does not exist, skipping... | WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: NOT adding alternative provide /usr/lib/firmware/j784s4-mcu-r5f0_0-fw: /usr/lib/firmware/j784s4-mcu-r5f0_0-fw.ti-rtos-firmware does not exist | WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: NOT adding alternative provide /usr/lib/firmware/j784s4-mcu-r5f0_0-fw-sec: /usr/lib/firmware/j784s4-mcu-r5f0_0-fw-sec.ti-rtos-firmware does not exist | WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alt_link == alt_target: /usr/lib/firmware/j784s4-mcu-r5f0_0-fw == /usr/lib/firmware/j784s4-mcu-r5f0_0-fw | WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alt_link == alt_target: /usr/lib/firmware/j784s4-mcu-r5f0_0-fw-sec == /usr/lib/firmware/j784s4-mcu-r5f0_0-fw-sec Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-rtos-firmware: Add missing links and reformat file for consistencycicd.master.202307280100cicd.master.202307270100cicd.master.202307260100cicd.master.202307250100Ryan Eatmon2023-07-241-159/+194
| | | | | | | | Add in missing *-sec links pointing to signed files especially for j784s4. Reformat file a little to make the groupings easier to manage in the future when looking to see if -sec links are missing. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ipc: ti-rpmsg-char: Update library to 0.6.2Hari Nagalla2023-07-071-3/+3
| | | | | | | | | Update ti-rpmsg-char library to fix wrong rpmsg-ctrl device ids observed when multiple remote procs are present with multiple channels opened. Signed-off-by: Hari Nagalla <hnagalla@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-k3-secdev: CI/CD Auto-Merger: cicd.master.202306190100LCPD Automation Script2023-06-191-1/+1
| | | | | | | Updated the value(s) for: GIT_SRCREV Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
* ipc: ti-rpmsg-char: Update library to 0.6.1Hari Nagalla2023-06-071-3/+3
| | | | | | | | | Update the ti-rpmsg-char library to 0.6.1 version to fix rpmsg_ctlr id on v6.1 kernel when multiple channels are created. Signed-off-by: Hari Nagalla <hnagalla@ti.com> Reviewed-by: Praneeth Bajjuri <praneeth@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-eth-fw: Add recipe for TI Ethernet firmwareAndrew Davis2023-06-071-33/+5
| | | | | | | Split out the TI Ethernet firmware from ti-rtos-firmware. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-dm-fw: Add recipe for TI DM firmwareAndrew Davis2023-06-071-48/+0
| | | | | | | Split out the TI DM firmware from ti-rtos-firmware. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ipc: ti-rpmsg-char: Update library to 0.6.0Praneeth Bajjuri2023-05-181-3/+3
| | | | | | | | Update the ti-rpmsg-char library to 0.6.0 version that enables the support for 6.1 kernel. Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-ipc: Stop looking for rpmsg_rpc.h in the kernelRyan Eatmon2023-05-172-0/+40
| | | | | | | | | | Stop looking for the rpmsg_rpc.h in the kernel. While we are doing the LTS migration for kirkstone, this file is not going to be in the kernel for a bit. This patch works in conjunction with a recipe change that downloads the header and adds a -I to the CFLAGS to pick it up. This will be removed once the 6.1 kernel has been updated. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-rtos-firmware: Use the same directory structure as linux-firmwareAndrew Davis2023-04-201-97/+94
| | | | | | | | | | | | Currently we move this firmware around and put it in a directories named pdk-ipc/ and ethfw/. This does not match what is in linux-firmware which is what projects should expect /lib/firmware to match. This causes issues for projects that want to work both on meta-ti and also on any other distro. Switch to shipping the same directory structure as linux-firmware here. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-rtos-firmware: Do not provide default CORESDK_RTOS_VERSIONAndrew Davis2023-04-201-2/+1
| | | | | | | | The version information should come from the ti-linux-fw.inc and this version is old anyway. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* patches: Add missing Upstream-Status to various patchesRyan Eatmon2023-04-111-0/+2
| | | | | | | The check-layer command caught that we were missing the Upstream-Status on a few older patches, and I found a few new ones. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-rtos-firmware: numerous fixes and cleanupsDenys Dmytriyenko2023-03-211-32/+31
| | | | | | | | | | | | | | | | | | | | | | Doing multiple do_install:prepend overrides does not guarantee the order - it was observed that signing could fail as it was happening prior to symlinking to the correct name. Move signing code inside the main do_install, so the machine-specific do_install:prepend works correctly. Also, pass -f flag for symlinking, otherwise it could fail with "file already exists" error when trying to re-build the recipe again. Several IPC list/matrix fixes: * j721e was missing MCU_1_1_FW entry * j721s2 was also missing MCU_1_1_FW entry * j721s2 had a second MCU_2_0_FW in place of MCU_3_0_FW * j784s4 was missing MCU_4_0_FW and MCU_4_1_FW entries Other minor cleanups and indentation fixes. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-k3-secdev: update to the latest from DunfellDenys Dmytriyenko2023-03-211-1/+1
| | | | | | | Match the latest sha used in Dunfell. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ipc: ti-rpmsg-char: Update library to 0.5.2Devarsh Thakkar2023-03-211-3/+3
| | | | | | | | | | | | Update library to 0.5.2 as it adds support for AM62A SoC. Co-Authored-By: Sai Sree Kartheek Adivi <s-adivi@ti.com> Signed-off-by: Devarsh Thakkar <devarsht@ti.com> Acked-by: Praneeth Bajjuri <praneeth@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* machine: Add am62axx evm configurationParesh Bhagat2023-03-211-21/+44
| | | | | | | | | | | | | | | Lets add the basic AM62Axx-evm configuration. - Add configurations. - Add firmware overrides. - Add u-boot overrides. - Add tifs-lpm-stub. - Add cnm-wave-fw. Signed-off-by: Sai Sree Kartheek Adivi <s-adivi@ti.com> Signed-off-by: Paresh Bhagat <p-bhagat@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-rtos-firmware: Deploy secure firmware unconditionallyAndrew Davis2023-03-011-34/+4
| | | | | | | | | | Having signed firmware is needed for the HS platforms, but does not cause any issues for non-HS. To keep things simple, let's deploy both sets unconditionally. This prevents mistakes when adding HS support and further reduces the image delta between the two types. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-rtos-firmware: Fix use of base_libdir with nonarch_base_libdirAndrew Davis2023-03-011-56/+56
| | | | | | | Firmware belongs in the nonarch lib directory. Use the right variable. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-rtos-firmware: Use a table instead of a list of copy commandsAndrew Davis2023-03-011-209/+67
| | | | | | | | | | | | | | | Using a table makes it easier to see what firmware is included with each machine build. It also helps prevent errors here. Since the same functions run across machines we now sign all the firmware without needing to add a new signing function for each new machine. Another fix is that we install the DM firmware to the deploy directory for all machines that use need it. This was added for J7x machines but missed for AM62x. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-rtos-firmware: Use defines to set firmware namesAndrew Davis2023-03-011-184/+201
| | | | | | | | This allows us to change the name in one spot and avoid duplication. It also helps prevent hard to see changes/typos in the firmware names. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-rtos-firmware: Do not break the source directory by renaming filesAndrew Davis2023-03-011-6/+6
| | | | | | | | If we rename files in the source directory the next time we need to rebuild the original files will be gone and build will fail. Use symlinks instead. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-rtos-firmware: Fix name for AM64x and AM62x firmwareAndrew Davis2023-03-011-18/+18
| | | | | | | | | | | | The firmware for AM64x and AM62x are renamed to match the other platforms, but we don't actually change them to match. Remove baremetal from the names. These are only referenced to by softlink, so this change will have no effect on Linux users. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-rtos-firmware: Remove unneeded per-machine TARGET definesAndrew Davis2023-03-011-147/+66
| | | | | | | | | Since these TARGET defines are only used on the machine for which an ALTERNATIVE is defined and always have the same name, these provide nothing. Drop them. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-k3-secdev: Remove inclusion of ti-paths.incAndrew Davis2023-03-011-3/+2
| | | | | | | | Since this directory path will not change, let's avoid use of ti-paths.inc which is set to be removed. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-rtos-firmware: Use new ti-secdev class to sign the imagesAndrew Davis2023-03-011-6/+1
| | | | | | | | | | Use ti-k3-secdev native package to provide secure-binary-image.sh script when it is not passed on as an environment variable. This fixes an issue with AM64xx which is always HS but should not require TI_SECURE_DEV_PKG when building for HS-FS or GP platforms. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>