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

Compare commits

...

146 Commits

Author SHA1 Message Date
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
LCPD Automation Script
9a009a67ad CI/CD Auto-Merger: cicd.scarthgap.202506121146
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV,TI_SYSFW_VERSION
  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=1ea29f4b3ec17bdc1a3431a014ea5224962dc779..a37c82f0e25e0e3c99fdf03f1d57f7b08314a2bc
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=c9c21ce31fc557c2f43c4991fcc0a11b1fd90a12..da601a5231bf1b053a35c94c5d57a5658ce2e4e7
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=20778f6c125dc24e62767dc4837d793a0f18c319..251ed68a96e3f85a5db174c9c39dc334c0f0ba5f

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-06-12 11:46:34 -05:00
Telukula Jeevan Kumar Sahu
d5edbb2932 conf: machine: am62pxx: Add support for HS-SE variant
Since ti-u-boot supports HS-SE variant builds[1],
Add support in the machine configurations to package this
HS-SE variant tiboot3 binary in the built images.

[1]: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/commit/?h=ti-u-boot-2025.01&id=75602edad16c840b2611afb9fc0e2718c026bb8a

Signed-off-by: Telukula Jeevan Kumar Sahu <j-sahu@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-06-10 16:11:18 -05:00
Paresh Bhagat
f89fafab5c meta-ti-bsp: conf: Package overlay for am62dxx-evm
Package k3-am62a7-sk-edgeai.dtso for am62dxx-evm image. This overlay is
required for audio analytics for am62dxx-evm.

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-06-10 16:11:18 -05:00
LCPD Automation Script
9a4cf5b82f CI/CD Auto-Merger: cicd.scarthgap.202506051136
Updated the value(s) for:
  atf: SRCREV_tfa
  u-boot-ti-staging_2025.01: SRCREV
  linux-ti-staging_6.12: SRCREV

Changelogs:
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=1d6ba4a32cdd8c987533d5789b5bc7b84c41fabe..c9c21ce31fc557c2f43c4991fcc0a11b1fd90a12
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=b0afb35642d79e776a4cf940945367cef87ba127..20778f6c125dc24e62767dc4837d793a0f18c319

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-06-05 11:36:31 -05:00
LCPD Automation Script
3de174b8c5 CI/CD Auto-Merger: cicd.scarthgap.202505291514
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV
  atf: SRCREV_tfa
  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=d5a6aed56d76f7a8a7729f0d0b4655b7e623e1c7..1ea29f4b3ec17bdc1a3431a014ea5224962dc779
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=3d024809613c2a8f1d69258554ab8954d26537f5..1d6ba4a32cdd8c987533d5789b5bc7b84c41fabe
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=d95b7f80f66d104525e6beb002d82a9505b28131..b0afb35642d79e776a4cf940945367cef87ba127

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-05-29 15:14:20 -05:00
Andrew Davis
342012483c meta-ti-bsp: am62lxx: Do not deploy extra tiboot3.bin copy
For AM62L there is no GP and both HS sub-types are supported by the
same TIFS. This means we do not need multiple versions of tiboot3.bin.
So no need to deploy an additional version which is identical to the
default tiboot3.bin already deployed.

Signed-off-by: Andrew Davis <afd@ti.com>
Acked-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-28 10:29:57 -05:00
Denys Dmytriyenko
ffa83503eb pocketbeagle2: add configs for new PocketBeagle2 platform
Add configuration files for the new PocketBeagle2 platform.

U-boot support for this platform is still in its own branch.

Adjust U-boot bootcmd, since EFI boot doesn't seem to work.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-28 10:18:07 -05:00
Denys Dmytriyenko
4175b94d3d beagley-ai: upgrade BeagleY-AI to 6.12
Upgrade BeagleY-AI platform to 6.12 BSP.

U-boot support for this platform is still in its own branch.

Also adjust U-boot bootcmd, as Distro Boot doesn't fully work yet.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-28 10:18:07 -05:00
Denys Dmytriyenko
7c3ec2d704 beagle-bsp.inc: add BSP definitions for 6.12
Add BSP definitions for "bsp-bb_org-6_12".

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-28 10:18:07 -05:00
Denys Dmytriyenko
094aad3b6f linux-bb.org: add 6.12 version
Add BeagleBoard.org Linux kernel version 6.12.22

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-28 10:18:07 -05:00
Denys Dmytriyenko
5f03c4ad9d u-boot-bb.org: add 2025.04 version
Add BeagleBoard.org 2025.04 version of U-boot.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-28 10:18:07 -05:00
Denys Dmytriyenko
616dbb2039 linux-bb.org: bump to the latest 6.6
Update BB.org BSP to the latest 6.6 LTS.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-28 10:18:07 -05:00
Ryan Eatmon
c1b5a865f9 check_yocto_rules: Add new config file
TI is starting to run an automated checker for all incoming patches to
the mailing list.  One of the checks is to scan all of the files in the
repository looking for things that we have flagged as the "right way" of
doing recipes.  This file contains a set of exceptions that the checking
script is finding but can be skipped due to manual review.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-28 10:18:07 -05:00
Ryan Eatmon
143fadc6ec CLEANUP: :append needs a space
Usually :append is used to add items to a space separated list.  In
those cases the first character of the appended string should be a
space to make sure that the append is correct.

In this case, the space was embedded in the string and not right after
the ".  Simple fix is to move the space to the front to be consistent.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-28 10:18:07 -05:00
Ryan Eatmon
c64dc2163e CLEANUP: Add missing SUMMARY
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>
2025-05-28 10:18:07 -05:00
LCPD Automation Script
fe69a32329 CI/CD Auto-Merger: cicd.scarthgap.202505230901
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 <lcpdbld@list.ti.com>
2025-05-23 09:02:04 -05:00
LCPD Automation Script
3aa0051a1f CI/CD Auto-Merger: cicd.scarthgap.202505151402
Updated the value(s) for:
  atf: SRCREV_tfa
  u-boot-ti-staging_2025.01: SRCREV
  linux-ti-staging_6.12: PV,SRCREV

Changelogs:
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=a94845e64850d906b095423ab924390307c31da8..98b6b3f5a259be864e8db92f4925c3c19c3482a4
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=f9cad1448e0dc8631d4974627a838d349bd06eba..013211ccdf5ec33e19652be631b820bc5f6b86a4

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-05-15 14:02:58 -05:00
Paresh Bhagat
f286ef1e54 meta-ti-bsp : Add build support for am62dxx-evm
The AM62D SoC is a high-performance Digital Signal Processing (DSP)
device with a quad-core Cortex-A53 cluster, dual Cortex-R5F cores, and
a Cx7 DSP core with Matrix Multiplication Accelerator (MMA). It features
a range of peripherals, including multichannel audio serial ports,
Ethernet, UARTs, SPI, I2C, USB, and more.

This SoC is part of K3-AM62x family, which includes the AM62A and AM62P
variants. While the AM62A and AM62D are largely similar, the AM62D is
specifically targeted for general-purpose DSP applications, whereas the
AM62A focuses on edge AI workloads. A key distinction is that the AM62D
does not include multimedia components such as the video encoder/decoder,
MJPEG encoder, Vision Processing Accelerator (VPAC) for image signal
processing, or the display subsystem. Additionally, the AM62D has a
different pin configuration compared to the AM62A, which impacts embedded
software development.

The EVM board is a low-cost, expandable platform designed for the AM62D2
SoC, having 4GB LPDDR4 RAM, Gigabit Ethernet expansion connectors, audio
jacks, USB ports, and more.

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-14 17:28:47 -05:00
Andrew Davis
0484e280f9 conf: machine: k3: Add OP-TEE firmware TPM example TA
This OP-TEE fTPM is a TA from Microsoft containing the reference
implementation of the TPM 2.0 Specification. As K3 OP-TEE now has the
necessary features supported to run this fTPM, enable it here. This will
serve as an example of using OP-TEE on K3 as a TPM without needing an
external harware TPM.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-14 17:28:47 -05:00
Denys Dmytriyenko
f37d49bb95 amx3-cm3: force older GNU/C standard
This is an old code base and hasn't been updated in a very long
time. It now fails to compile with gcc-15 (C23 standard). Force
compilation with GNU/C11 standard instead.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-14 17:28:47 -05:00
Denys Dmytriyenko
5d30af35be gdbc6x: force older GNU/C standard
This is an old code base and hasn't been updated in a very long
time. It now fails to compile with gcc-15 (C23 standard). Force
compilation with GNU/C11 standard instead.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-14 17:28:47 -05:00
Chirag Shilwant
87ab9adb98 recipes-bsp: Add DM_FIRMWARE override for am62pxx display cluster
* For AM62P display cluster usecase, we need to pick
"dss_display_share.wkup-r5f0_0.release.strip.out" from ti-linux-firmware [0]
Hence, pick the display cluster firmware only when DISPLAY_CLUSTER_ENABLE is set to 1.

* When DISPLAY_CLUSTER_ENABLE is not set to 1, fallback to pick the "ipc_echo_testb_mcu1_0_release_strip.xer5f"
DM firmware.

[0]: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/tree/ti-dm/am62pxx?h=11.00.12

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-14 17:28:47 -05:00
Andrew Davis
a04e9fc6d9 ti-linux-fw: Split firmware in to machine packages
Firmware, like kernel modules, may be only relevant to a small subset of
hardware. Shipping all firmware for all hardware can waste space. For
this reason modules are split out into packages, and the same should
be done for firmware.

What we do currently is change the content of the package itself based
on what device we are building for. Having a package change content for
each machine means we cannot generate one image that supports multiple
machines, nor host a common machine agnostic package repo.

Instead we can generate different packages for the different firmwares
and only include the firmware packages needed for each machine.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-14 17:28:47 -05:00
Andrew Davis
3ddf79b349 ti-linux-fw: Set INHIBIT_DEFAULT_DEPS
Firmware here are not built, no need for C compiler nor std libs.
Add INHIBIT_DEFAULT_DEPS=1 and remove the same from all recipes
that include this file.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-14 17:28:47 -05:00
Andrew Davis
3d9104b457 ti-eth-fw: Only include information for supported machines
These other machines are not compatible with this recipe, no need to
setup definitions for these.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-14 17:28:47 -05:00
Max Krummenacher
5846d1b124 meta-ti-extras recipes: fix whitespace warnings
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>
2025-05-14 17:28:47 -05:00
Max Krummenacher
7b1b8a958a meta-ti-bsp recipes: fix whitespace warnings
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>
2025-05-14 17:28:47 -05:00
Anshul Dalal
2d24e761cb bsp: tfa: add build flags for ti-falcon
In falcon mode, ATF jumps straight to the linux kernel which requires a
2MiB aligned load address. Hence this patch changes the ATF jump address
(PRELOADED_BL33_BASE) to a 2MiB aligned value 0x82000000 and the DTB
address (K3_HW_CONFIG_BASE) to 0x88000000.

These values are chosen to be consistent with the addresses used by
u-boot when booting in the normal flow.

Signed-off-by: Anshul Dalal <anshuld@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-14 17:28:47 -05:00
Anshul Dalal
33f8e51980 bsp: u-boot: deploy tispl_falcon.bin to rootfs
Falcon boot requires tispl_falcon.bin to be on the same filesystem
partition as the fitImage.

This patch creates a new u-boot package called
'u-boot-ti-staging-falcon' that is included in IMAGE_INSTALL when
ti-falcon is enabled which allows us to deploy the required files to
rootfs.

Signed-off-by: Anshul Dalal <anshuld@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-14 17:28:47 -05:00
Anshul Dalal
8403429c25 bsp: conf: machine: add ti-falcon.inc
ti-falcon.inc configures the following things for enabling falcon boot:

1. Change fitImage class to kernel-fitimage-legacyhs
2. Update kernel and dtb address for falcon boot
3. Disable kernel compression

Signed-off-by: Anshul Dalal <anshuld@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-14 17:28:47 -05:00
Anshul Dalal
f5305dbb8a am62: apply u-boot config fragment on ti-falcon
The am62x_r5_falcon.config fragment in u-boot enables falcon boot
support for R5 SPL, this patch enables the config fragment for am62a,
62p, 62x and 62lp evms based on ti-falcon distro override.

Signed-off-by: Anshul Dalal <anshuld@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-14 17:28:47 -05:00
LCPD Automation Script
8c258e731e CI/CD Auto-Merger: cicd.scarthgap.202505111800
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV
  atf: SRCREV_tfa
  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=1e5d64d9385d6472d29e11ac7021765004ddff27..bffa52a1b8d3318ec86814047025e7c5edf7b7b0
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=4724106aaa824af920d81051818cc508cd50e6ec..a94845e64850d906b095423ab924390307c31da8
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=598740560225b2d404329bf466fb10475934de23..f9cad1448e0dc8631d4974627a838d349bd06eba

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-05-11 18:00:10 -05:00
LCPD Automation Script
13fb4cc4de CI/CD Auto-Merger: cicd.scarthgap.202505011354
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV
  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=10257543a029cc608c9df1c36c83e36ac3dd5b46..1e5d64d9385d6472d29e11ac7021765004ddff27
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=723dde103755167c07354d50fed1098d10709a98..4724106aaa824af920d81051818cc508cd50e6ec
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=95010a7c186b86f738615231016aa017ac527612..598740560225b2d404329bf466fb10475934de23

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-05-01 13:54:24 -05:00
Chirag Shilwant
430bab80d4 recipes-bsp: Add DM_FIRMWARE override for am62axx
* With [0], the EdgeAI DM R5 firmware for am62axx will now be
maintained at ti-linux-firmware. Until now, the same firmware was
maintained on psdk_fw [1] with a different name & fetched in TI SDK
via meta-edgeai [2]

* Hence, add a am62axx specific override for DM_FIRMWARE inorder to
match the firmware name as maintained in "ti-dm/am62axx" of
ti-linux-firmware.

[0]: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/commit/?h=ti-linux-firmware&id=eee26bfeb6469af30e5309ba8859e9b65670fcc3

[1]: https://git.ti.com/cgit/processor-sdk/psdk_fw/

[2]: https://git.ti.com/cgit/edgeai/meta-edgeai/tree/recipes-tisdk/ti-psdk-rtos/ti-edgeai-firmware.bb?h=EDGEAI_CICD_20250417

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-04-29 10:09:03 -05:00
Chirag Shilwant
b27b4d5720 recipes-ti: ti-rtos-echo-test-fw: Add C7X_1_FW override for am62axx
* With [0], the C7x IPC EdgeAI firmware for am62axx will now be
maintained at ti-linux-firmware. Until now, the same firmware was
maintained on psdk_fw [1] with a different name & fetched in TI SDK
via meta-edgeai [2].

* Hence, add a am62axx specific override for C7X_1_FW inorder to
match the firmware name as maintained in "ti-ipc/am62axx" of
ti-linux-firmware.

[0]: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/commit/?h=ti-linux-firmware&id=1e5d64d9385d6472d29e11ac7021765004ddff27

[1]: https://git.ti.com/cgit/processor-sdk/psdk_fw/

[2]: https://git.ti.com/cgit/edgeai/meta-edgeai/tree/recipes-tisdk/ti-psdk-rtos/ti-edgeai-firmware.bb?h=EDGEAI_CICD_20250417

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-04-29 10:09:03 -05:00
Chirag Shilwant
c34c4f7de6 recipes-bsp: u-boot: Fix PACKAGECONFIG[dm] arguments
* As observed in the u-boot makefile [0][1], the argument
anticipated by u-boot binman is "TI_DM" instead of "DM".
Hence, fix the same in meta-ti-bsp.

* The behavior went unnoticed until now because "ti-dm"
was still being sourced from BINMAN_INDIRS, which referred
to "ti-linux-firmware" and the PACKAGECONFIG[dm] feature
was redundant.

[0]: https://github.com/u-boot/u-boot/blob/v2025.01/Makefile#L1408

[1]: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/Makefile?h=ti-u-boot-2025.01#n1409

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Acked-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-04-29 09:34:04 -05:00
Andrew Davis
29ef5d507b meta-ti-bsp: ti-rtos-bin: Move this with the other firmware recipes
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>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-04-29 09:34:04 -05:00
LCPD Automation Script
d62c047d4b CI/CD Auto-Merger: cicd.scarthgap.202504241319
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV
  atf: SRCREV_tfa
  u-boot-ti-staging_2025.01: SRCREV
  k3conf: 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=c3ad8113c766bee7b8ddfae222e9b8017b565ea3..10257543a029cc608c9df1c36c83e36ac3dd5b46
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=70667128cb5b2c2a7621965ba948b5a56a2e756f..723dde103755167c07354d50fed1098d10709a98
  k3conf: https://git.ti.com/cgit/k3conf/k3conf/log/?qt=range&q=30a1d5b2d08c0da39d4e62b3ebee591a9882fa21..e4a814ff42ef357ee453b6f2f809ecdfa624aa8c
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=cdcaeac783e31f18edb6cb44b526228f44023b45..95010a7c186b86f738615231016aa017ac527612

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-04-24 13:19:47 -05:00
Chirag Shilwant
492a9aa4a9 conf: machine: am62axx: Exclude tiboot3.bin for GP
* The GP variant of AM62A SoC was only used internally
for initial device bring-up and is not publicly available.
Hence, drop it from IMAGE_BOOT_FILES to ensure
tiboot3-am62ax-gp-evm.bin is not packaged inside vfat boot
partition of wic image

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-04-23 10:41:48 -05:00
Chirag Shilwant
dd9c48827a conf: machine: am335x-evm: Bump up max_leb_cnt
New features added under meta-tisdk [0] require another
increase to max_leb_cnt.

[0]: 3985a7caea

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-04-23 10:41:29 -05:00
Chirag Shilwant
7d76f9ed4a recipes-bsp: u-boot: Remove do_install from bootsplash image
* U-Boot reads the bootsplash image file from the vfat boot partition
& displays it during boot-up showcasing early splash screen support.

* There's no significance of having an additional do_install
as the logo file need not be added in the rootfs/image.

* Fixes 277f04df4c & 1fed958bfe

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-04-23 10:41:12 -05:00
Anshul Dalal
4dfc887ebc bsp: fitimage-legacyhs: add default dtb support
FIT_CONF_DEFAULT_DTB config specifies the default dtb file for the
FITimage when multiple ones are provided[1].

Legacyhs fitimage does not currently support this feature set which is
required for repurposing the same class for falcon boot.

This patch adds support for FIT_CONF_DEFAULT_DTB without affecting
existing platforms that rely on legacyhs fitImage.

[1]:
https://docs.yoctoproject.org/ref-manual/variables.html#term-FIT_CONF_DEFAULT_DTB

Signed-off-by: Anshul Dalal <anshuld@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-04-23 10:39:59 -05:00
Beleswar Padhi
1594a368a0 ti-hsm-demo-fw: Add a recipe to export prebuilt HSM demo firmware
Add a recipe to deploy the HSM demo firmware to the DEPLOYDIR, to be
picked up by the tisdk-core-bundle for the prebuilt binaries directory.
This firmware is then further picked by U-Boot and packaged inside
tispl.bin FIT image for loading the HSM M4 core in applicable SoCs.

Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-04-10 15:29:25 -05:00
LCPD Automation Script
d5d076f0dc u-boot-ti-mainline: Update to version: v2025.04
Updated the value(s) for:
  u-boot-ti-mainline: PV,SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-04-10 15:29:25 -05:00
Chirag Shilwant
817da2f1ad conf: machine: am62lxx-evm: Bump up max_leb_cnt
* New features added under meta-tisdk [0] require another
increase to max_leb_cnt.

* This patch fixes following errors observed with 11.00.09.04
tag on meta-tisdk,

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-04-10 10:32:02 -05:00
Judith Mendez
6558e8f321 conf: machine: am62xx-lp-evm: Add eqep overlay
This patch adds prefix string for eqep overlay to
KERNEL_DEVICETREE_PREFIX.

Signed-off-by: Judith Mendez <jm@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-04-10 08:55:07 -05:00
LCPD Automation Script
a98a2e1029 CI/CD Auto-Merger: cicd.scarthgap.202504090823
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=27003b6bff61a55dd1fff2cc777e5e07b092b1f7..c3ad8113c766bee7b8ddfae222e9b8017b565ea3
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=cd91d73601810374d16a1f17505ab2e72e31f75d..70667128cb5b2c2a7621965ba948b5a56a2e756f
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=c85877d40f8e70e1e201eca2ae1648781f238a37..cdcaeac783e31f18edb6cb44b526228f44023b45

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-04-09 08:23:38 -05:00
Randolph Sapp
8e69758594 ti-img-rogue-driver: resolve issues with fdinfo
Bump the srcrev to include a fix for events where the driver is
requested to show advanced information about file descriptors that are
associated with the device but are not currently associated with a
rendering task.

This should address the kernel fault in pvr_show_fdinfo associated with
fdinfo/lsof.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-04-01 09:20:11 -05:00
Randolph Sapp
a49d78970f ti-sgx-ddk-um: fixup packageconfig params
Fix the package config params to make it obvious what combinations are
allowed. Also, rework the way we are inheriting init related classes so
that we don't accidentally do any additional postinstall steps. While
we're at it, don't execute anything for the compile or configure stage.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-04-01 09:19:27 -05:00
LCPD Automation Script
5385fb9231 CI/CD Auto-Merger: cicd.scarthgap.202503251551
Updated the value(s) for:
  atf: SRCREV_tfa
  u-boot-ti-staging_2025.01: SRCREV
  linux-ti-staging_6.12: SRCREV

Changelogs:
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=e7eeb7586fab6cd9e91d49d5b5ad68287d9bc8b6..cd91d73601810374d16a1f17505ab2e72e31f75d
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=1ac80adecb8ebffa654be744e5e5f7343b0abf78..c85877d40f8e70e1e201eca2ae1648781f238a37

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-03-25 15:52:04 -05:00
Anshul Dalal
eb7ff81ab1 conf: machine: am62: Add FIT_CONF_DEFAULT_DTB
FIT_CONF_DEFAULT_DTB config specifies the default dtb file for the FIT
image when multiple ones are provided[1].

Since the variable is not set in current machine configs, the default is
set to the first dtb read during FIT image creation which doesn't give
us direct control over the default configuration.

Therefore this patch adds default dtbs for am62 evms.

[1]:
https://docs.yoctoproject.org/ref-manual/variables.html#term-FIT_CONF_DEFAULT_DTB

Signed-off-by: Anshul Dalal <anshuld@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-25 14:50:03 -05:00
Ryan Eatmon
5fc19d3533 ti-linux-fw: Split out SRC_URI into variables
To facilitate better testing we need to control all aspects of the
SRC_URI.  Create TI_LINUX_FW_GIT_URI, TI_LINUX_FW_GIT_PROTOCOL, and
TI_LINUX_FW_GIT_BRANCH and build SRC_URI using them.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-24 13:46:04 -05:00
LCPD Automation Script
3282775a55 CI/CD Auto-Merger: cicd.scarthgap.202503201916
Updated the value(s) for:
  ti-linux-fw: TI_DM_FW_VERSION,TI_LINUX_FW_SRCREV
  atf: SRCREV_tfa
  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=1faf5974a93eb35ac31ed27e5693739edb08824c..27003b6bff61a55dd1fff2cc777e5e07b092b1f7
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=c8badfb165815c648052309418987f302e48aeef..e7eeb7586fab6cd9e91d49d5b5ad68287d9bc8b6
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=8c8cc002ab65149491f9b75cadfaeb2342150800..1ac80adecb8ebffa654be744e5e5f7343b0abf78

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-03-20 19:16:35 -05:00
Antonios Christidis
ebc49bb957 recipes-graphics: port gc320 libs to work on kernel 6.12
The user mode libraries needed recompiling with the scarthgap revision of gcc to
remove all the warnings about 32bit API usage during the linking stage, new
SRCREV includes this changes. Versions of the libraries remain the same.

Signed-off-by: Antonios Christidis <a-christidis@ti>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-20 14:32:23 -05:00
Antonios Christidis
af590efcb8 conf: machine: am57xx-evm: Enable gc320 machine feature for am57xx
MACHINE_FEATURE gc320, already gets set on omap-a15.inc. But ti-bsp.inc file,
removes the feature. So, remove that portion of functionality from ti-bsp, in
order to allow the building of gc320 in kernel 6.12.

Signed-off-by: Antonios Christidis <a-christidis@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-20 14:32:23 -05:00
Antonios Christidis
ac34b758c5 recipe-graphics: port gc320 driver to work on kernel 6.12
Changes made on the gc320 kernel mode driver in order to work with kernel
6.12. There is no other change in functionality with this update, and the
driver version remains the same.

Signed-off-by: Antonios Christidis <a-christidis@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-20 14:32:23 -05:00
Praneeth Bajjuri
4e571e5580 ipc: ti-rpmsg-char: Update library to 0.6.9
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>
2025-03-20 14:31:49 -05:00
Randolph Sapp
aa8c435c03 ti-sgx-ddk-km: rework preferred_target selection
Bump SRCREV to include a patch that changes the way
compiler_preferred_target is selected for a given toolchain. This now
checks specified SYS_CFLAGS to see if hardfloat is set explicitly and
will override the default target selection if necessary.

Signed-off-by: Randolph Sapp <rs@ti.com>
Tested-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-20 11:13:47 -05:00
Francesco Valla
d56fdf2f3f optee-os: drop custom handling of embedded TAs
The meta-arm layer, which is the provider of the base recipe for
optee-os, added [1] a separate optee-os-ta package for the embedded TAs
that are compiled as part of the OPTEE OS build process. However, the
TI overrides for optee-os include the embedded TAs inside the base
package, leaving the optee-os-ta package empty (and thus not
installable).

Align to the meta-arm behaviour and simply add a runtime dependency on
optee-os-ta for optee-os. While keeping backward compatibility, this
allows to install only the embedded TAs - reducing the required disk
space - on platforms on which the OPTEE OS is loaded from an external
boot image rather than being fetched from the root filesystem, like the
K3 SoCs.

[1] https://patchwork.yoctoproject.org/project/arm/patch/20230630112340.3314395-1-r.czerwinski@pengutronix.de/

Signed-off-by: Francesco Valla <francesco@valla.it>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-17 13:52:31 -05:00
Paresh Bhagat
b79c28dc37 recipes-ti: jailhouse: Correct SRCREV for jailhouse
Correct SRCREV for jailhouse which currently points to an unpublished
commit hash.

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-17 13:43:06 -05:00
Brandon Brnich
91dc24bde4 ti-img-encode-decode: bump revision to fix build failure
Out-of-tree module failing to build against linux-next as a result of
changes to platform driver remove function.

Signed-off-by: Brandon Brnich <b-brnich@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-17 13:42:37 -05:00
Randolph Sapp
75a848ca8c ti-img-rogue-driver: fix os amp interactions
Fix OS APM interactions when uninitialized. Because this driver uses
lazy initialization, if the GPU is never given a task it will not be
initialized. Even if the device is not fully initialized it is still
registered with the DRM subsystem and capable of receiving OS APM
signals.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-17 13:41:01 -05:00
Andrew Davis
bbf029abd5 meta-ti-bsp: zephyr-fw: Update Zephyr to latest with AM64xx support
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-17 13:40:20 -05:00
LCPD Automation Script
05609ed6e6 CI/CD Auto-Merger: cicd.scarthgap.202503131348
Updated the value(s) for:
  ti-linux-fw: PRUETH_FW_AM65X_SR2_VERSION,TI_LINUX_FW_SRCREV,TI_SYSFW_VERSION
  atf: SRCREV_tfa
  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=e089c2f8db0577aa4acd3b3ef3ab229be2e804e1..1faf5974a93eb35ac31ed27e5693739edb08824c
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=baf3aaa8ecfa20b9d9f497621b6c11915223f502..c8badfb165815c648052309418987f302e48aeef
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=1a22c2fb64485a5dea9a9247eb007ddd4ea8a81d..8c8cc002ab65149491f9b75cadfaeb2342150800

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-03-13 13:48:56 -05:00
Randolph Sapp
b84e1133eb ti-img-rogue-umlibs: ship module blacklist
Well, this is the evil vendor driver. Time to start acting like it.
Blacklist the upstream powervr module if this driver is present.

This patch also does away with the bin_package components. It was cool
and found some interesting bugs, but we might as well start leveraging
that Makefile more now that we're starting to get some more common
files between devices.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-12 19:17:41 -05:00
Brandon Brnich
9cc9b341e6 ti-bsp: ti-img-encode-decode: Out-of-Tree Recipe Cleanup
Module recipe is missing SUMMARY and a proper SRC_URI leading to
warnings during the build process.

Fixes: 296344c8 ("ti-bsp: ti-img-encode-decode: Add Recipe for Building VXE-VXD Out-of-Tree Module")
Reported-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Brandon Brnich <b-brnich@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-12 19:17:41 -05:00
Ryan Eatmon
d463bb8f5a conf: machine: j721e: Add BSP support for new out of tree module
The new out of tree module ti-vxe-vxd-driver is only for the 6.12 kernel
and later.  Since we support multiple BSPs we need to correctly wrap
this addition behind some additional logic that can make sure to not
include it for the 6.1 and 6.6 kernel builds where the module is still
in the tree.

Additionally, fix up the beaglebone-ai64 since it includes the j721e.inc
file and will need to clear this variable for its BSPs as well.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-12 19:17:41 -05:00
Ryan Eatmon
218599d1e7 ti-rpmsg-char: Change to COMPATIBLE_MACHINE
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>
2025-03-12 19:17:41 -05:00
Ryan Eatmon
a543f0e0a1 conf: machine: j721s2/j784s4: Fix overlays for DS90UB954
The previous commit incorrectly added the k3-j721s2-evm-ub954.dtbo to
the KERNEL_DEVICETREE and it was missed during a quick review.

The correct way to add dtbs is to add a prefix string to the
KERNEL_DEVICETREE_PREFIX variable so that all files that match the
string will be picked up.  This allows for multiple kernels to be
swapped out that may have different DTBs in their respective trees and
not break a build.

The upstream testing on the kernel will automatically update the
KERNEL_DEVICETREE variable when the final kernel version is available.
That way the KERNEL_DEVICETREE always points to what is available in the
mainline.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-11 11:25:24 -05:00
Ryan Eatmon
d0ff940a0e conf: machine: j721e: Fix overlays for DS90UB954
The previous commit incorrectly added the k3-j721e-evm-ub954.dtbo to
the KERNEL_DEVICETREE and it was missed during a quick review.

The correct way to add dtbs is to add a prefix string to the
KERNEL_DEVICETREE_PREFIX variable so that all files that match the
string will be picked up.  This allows for multiple kernels to be
swapped out that may have different DTBs in their respective trees and
not break a build.

The upstream testing on the kernel will automatically update the
KERNEL_DEVICETREE variable when the final kernel version is available.
That way the KERNEL_DEVICETREE always points to what is available in the
mainline.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-11 11:25:24 -05:00
LCPD Automation Script
ed05150b00 CI/CD Auto-Merger: cicd.scarthgap.202503070400
Updated the value(s) for:
  ti-linux-fw: TI_DM_FW_VERSION,TI_LINUX_FW_SRCREV,TI_SYSFW_VERSION
  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=6bdfa48f6006e9b4a39befb613ad2a46d0f8746e..e089c2f8db0577aa4acd3b3ef3ab229be2e804e1
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=9a3137c5c11a02fef9f2b66a7e9cb2af6a6a15ba..baf3aaa8ecfa20b9d9f497621b6c11915223f502
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=1a2d611ee02d63eda3ad6d636e1b0cbf5af87b95..1a22c2fb64485a5dea9a9247eb007ddd4ea8a81d

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-03-07 04:00:10 -06:00
Brandon Brnich
fe135f34f2 conf: machine: J721e: Add Dependency for IMG Driver
IMG codec drivers reside only on the J721e SoC. Ensure that the drivers
are being built when building SDK.

Signed-off-by: Brandon Brnich <b-brnich@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-06 15:35:42 -06:00
Brandon Brnich
296344c8ea ti-bsp: ti-img-encode-decode: Add Recipe for Building VXE-VXD Out-of-Tree Module
During 10.0 LTS bringup, the decision was made that it would be the last LTS
that carried the IMG VXE and VXD driver in tree. Driver is now hosted on
git.ti.com. This recipe is responsible for pulling in the driver,
building it, and packaging it within the J721e SDK.

Signed-off-by: Brandon Brnich <b-brnich@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-06 15:35:42 -06:00
Bryan Brattlof
9656b79cb5 conf: machine: k3: disable all fit signing for uboot
All K3 SoCs utilize the binman packaging tools in U-Boot to package
and sign the different boot firmware components needed to boot the
various security variants of K3 platform. Disable UBOOT_SIGN_ENABLE
to simplify the build

Signed-off-by: Bryan Brattlof <bb@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-03 09:42:09 -06:00
LCPD Automation Script
d1f9c4761e CI/CD Auto-Merger: cicd.scarthgap.202502261418
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV
  atf: SRCREV_tfa
  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=a38d4919117436130c38738197b72558998ef463..6bdfa48f6006e9b4a39befb613ad2a46d0f8746e
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=03740dcaec3959431cd59683d795aaaac216972f..9a3137c5c11a02fef9f2b66a7e9cb2af6a6a15ba
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=5657fc069e8b33255b027a2416b51133a98df939..1a2d611ee02d63eda3ad6d636e1b0cbf5af87b95

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-02-26 14:18:35 -06:00
Yemike Abhilash Chandra
aa7b8ba862 conf: machine: j721s2/j784s4: Pick overlays for DS90UB954
DS90UB954-Q1EVM can be used to connect FPDLink-III based sensors to
TI EVMs. So pick the DS90UB954-Q1EVM overlay.

Signed-off-by: Yemike Abhilash Chandra <y-abhilashchandra@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-26 08:45:03 -06:00
Yemike Abhilash Chandra
4be00f8b4c conf: machine: j721e-evm: Pick overlays for DS90UB954
DS90UB954-Q1EVM can be used to connect FPDLink-III based sensors to
TI EVMs. So pick the DS90UB954-Q1EVM overlay.

Signed-off-by: Yemike Abhilash Chandra <y-abhilashchandra@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-26 08:45:03 -06:00
Chirag Shilwant
33e405f914 trusted-firmware-a: Disable TFA_SPD for AM62L
OPTEE support for the am62lxx is still in progress.
Therefore, temporarily set TFA_SPD to empty to avoid
using any SPD (Secure Payload Dispatcher) services.

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-21 10:10:43 -06:00
LCPD Automation Script
bacda37227 CI/CD Auto-Merger: cicd.scarthgap.202502201516
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: SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=2ba3fe65a367288d68cdb6768938559aa9ccbedc..a38d4919117436130c38738197b72558998ef463
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=4d6c49e808b86832ba198e8884226e2ee959d229..03740dcaec3959431cd59683d795aaaac216972f
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=cab6cafd320b575d69c2425580633deeb0b4396c..5657fc069e8b33255b027a2416b51133a98df939

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-02-20 15:16:27 -06:00
Denys Dmytriyenko
c5808a1c56 trusted-firmware-a: simplify TI customizations
The original .bbappend started with just a few customizations behind
a :k3 SoC override, but eventually grew in size. It got converted into
a .inc file, which is behind the same SoC override and hence it gets
included by .bbappend only for K3 platforms:
https://git.yoctoproject.org/meta-ti/commit/?id=389f9a8b726868768a8bed6cbe0b2a1f18c05410

It doesn't make sense to use the same :k3 override inside this .inc
file for every variable. Moreover, it makes it harder to change
those variables downstream for any derivative platform or even for
upstream testing.

This change drops redundant :k3 SoC overrides, w/o changing existing
behavior. It allows easier modifications of such customizations from
downstream layers or a local.conf, e.g. SRC_URI_TRUSTED_FIRMWARE_A

Note that SRC_URI is set exactly the same as in upstream base .inc
file, but version-specific recipes in meta-arm tend to add extra
patches directly to SRC_URI, which is undesirable here. Thus, reset
SRC_URI back to its default.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-20 09:29:40 -06:00
LCPD Automation Script
d8bd791c0f CI/CD Auto-Merger: cicd.scarthgap.202502191800
Updated the value(s) for:
  ti-linux-fw: PRUETH_FW_AM65X_SR2_VERSION,TI_LINUX_FW_SRCREV
  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=e38a05e2ef5f6a6f2387742864042beba01972bb..2ba3fe65a367288d68cdb6768938559aa9ccbedc
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=9c89e8b0a82fabe55c6366aa65eb987f05bb4472..4d6c49e808b86832ba198e8884226e2ee959d229
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=6423e6bb6191982da1c09a21a46c68b494f5b1b5..cab6cafd320b575d69c2425580633deeb0b4396c

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-02-19 18:00:10 -06:00
Paresh Bhagat
d4eb2d80f0 Update recipes to support jailhouse for am62lxx
Add am62lxx as compatible machine for ti-extras recipes and jailhouse
recipes. This is to to control the kernel and u-boot repos, branches.
So the am62lxx jailhouse build can be done by adding TI_EXTRAS=tie-jailhouse
in local.conf.
Update SRCREV and branch in ti-extras recipes for LTS migration.
Also update jailhouse recipe to build and package jailhouse, cell files,
device tree for inmate etc on am62lx image.

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-14 15:41:51 -06:00
Randolph Sapp
736916f8ac beagle-bsp: 6.6 select newer mesa version
Update the bb_org-6.6 bsp provider to pick the correct version of
mesa-pvr. This probably should have be a part of the previous patch
switching ti bsp logic as well.

Fixes: 0be0a5f6 (ti-bsp: select the graphics 24.2 packages, 2025-01-22)
Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-14 15:41:36 -06:00
Randolph Sapp
6c69db8d0d ti-sgx-ddk-km: bump revision for kernel 6.12
Bump the source revision to allow this module to work on kernel 6.12.
Originally this was going to be a separate branch, but considering the
bsp selector logic, this makes just as much sense.

Also enable the sgx driver in the ti_6.12 bsp selector.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-14 15:41:36 -06:00
Randolph Sapp
86be40194a mesa-pvr: relocate 22.3.5 patches
Relocate the patches for 22.3.5 to the mesa-pvr-22.3.5 subdirectory so
it's more clear what version of mesa they apply to.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-14 15:39:29 -06:00
Randolph Sapp
f319cc58fd ti-img-rogue-umlibs: filter binaries post install
No reason to do this pre install now that my python function can
evaluate file paths. Also, this may have been causing issues with state
when attempting to switch between opencl enabled/disabled builds.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-14 15:39:29 -06:00
Randolph Sapp
48e2fa7e2b ti-bsp: select the graphics 24.2 packages
Since this is new logic is in place, switch the k6.6 and k6.12 configs
to use these new libraries. Do not enable GFX on 6.12 just yet. Still
need some kernel patches on the SGX side.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-14 15:39:29 -06:00
Randolph Sapp
e6a3d51f45 mesa-pvr: version 23.2.1 -> 24.0.1
The gfx library provided by rogue can support this never version of mesa
out of the box. Pull it in now that we have ported the SGX side of
things.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-14 15:39:29 -06:00
Randolph Sapp
654055354f ti-img-rogue-*: version 24.1.6554834 -> 24.2.6643903
Bump the package version for DDK 24.2, this includes a few fixups from
IMG and support for a newer version of mesa.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-14 15:39:29 -06:00
Anurag Dutta
3b2097d727 conf: machine: j722s: Change overlay in KERNEL_DEVICETREE_PREFIX
Currently, the overlay mentioned in KERNEL_DEVICETREE_PREFIX in case
of j722s is "k3-j7200-evm-mcspi-loopback" which is incorrect. Change
the overlay to "k3-am625-sk-mcspi-loopback.dtso" in order to carry
out SPI loopback tests successfully.

Fixes: 13b691a9bc ("conf: machine: j722s: Add overlay to
KERNEL_DEVICETREE_PREFIX")

Signed-off-by: Anurag Dutta <a-dutta@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-14 09:51:37 -06:00
LCPD Automation Script
b9fa8305d3 CI/CD Auto-Merger: cicd.scarthgap.202502131323
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=5eb6ab596437555386df84e031887963e5e3a3b7..e38a05e2ef5f6a6f2387742864042beba01972bb
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=e718bbcec3ebf663c021839753034a224be4cc53..9c89e8b0a82fabe55c6366aa65eb987f05bb4472
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=c9e21a1ebd757f2b4487035382bbf65299cf8170..6423e6bb6191982da1c09a21a46c68b494f5b1b5

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-02-13 13:23:27 -06:00
Ryan Eatmon
95a84e434b wic: sdimage-2part-efi: Add variable for adding bootloader options
We have a need for some platforms to add kernel options to the bootloader
during wic creation time.  Create a new variable and add that to the
sdimage-2part-efi.wks.in file so that a machine can override it if
needed.

Add an override for am64 to point the kernel at console=ttyS2.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-13 09:58:26 -06:00
LCPD Automation Script
b8aaaebbab CI/CD Auto-Merger: cicd.scarthgap.202502060400
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=7fbc75f80161a400a4b9c618b6191d72ab408def..5eb6ab596437555386df84e031887963e5e3a3b7
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=4e9c90ad8b12cc5b4fdd1308bc3ac3e4fc869aab..e718bbcec3ebf663c021839753034a224be4cc53
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=8906665ace32eb0dc12810667ee8646bd660c374..c9e21a1ebd757f2b4487035382bbf65299cf8170

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-02-06 04:00:08 -06:00
Chirag Shilwant
211b4b46b0 conf: machine: am62lxx-evm: Add logic to generate UBI filesystem images
Add logic to generate UBI filesystem images which can be used to directly
flash into the NAND’s file-system partition.

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-05 08:49:53 -06:00
Chirag Shilwant
969eaa1303 meta-ti-bsp: Add Support for AM62L
- Add machine configuration for am62lxx-evm

- Add TFA, OPTEE, firmware & u-boot overrides

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-05 08:49:53 -06:00
Chirag Shilwant
c4b39ba6af trusted-firmware-a: Switch TFA to TI fork
- While TFA patches for K3-based AM62L platform are under
review upstream, temporarily switch to TI's GitHub fork
for all K3 platforms to prevent disruptions and ensure timely bringup

- Also update the LIC_FILES_CHKSUM since the license file changed between
upstream TFA v2.12 [1] & the SRCREV in this commit [2][3]

[1]: https://github.com/ARM-software/arm-trusted-firmware/blob/v2.12/docs/license.rst

[2]: https://github.com/ARM-software/arm-trusted-firmware/blob/master/docs/license.rst

[3]: https://github.com/TexasInstruments/arm-trusted-firmware/blob/ti-master/docs/license.rst

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-05 08:49:53 -06:00
Chirag Shilwant
31153f722b trusted-firmware-a: Update to v2.12 release tag
Bump up to latest release tag (i.e. v2.12)

Commit: 4ec2948fe3

Tag: https://github.com/ARM-software/arm-trusted-firmware/releases/tag/v2.12

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-05 08:49:53 -06:00
Chirag Shilwant
2d0978193c recipes-security: optee: Update to v4.5.0+
Bump up SRCREV of optee-os to ef1ebdc23034a804a72da2207f1a825ce96a1464

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-05 08:49:53 -06:00
Anurag Dutta
13b691a9bc conf: machine: j722s: Add overlay to KERNEL_DEVICETREE_PREFIX
Add the overlay "k3-j7200-evm-mcspi-loopback.dtso" to the j722s
configuration so that SPI loopback tests can be carried out
successfully.

Signed-off-by: Anurag Dutta <a-dutta@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-05 08:47:25 -06:00
LCPD Automation Script
0261a91978 u-boot-ti-mainline: Update to version: v2025.01
Updated the value(s) for:
  u-boot-ti-mainline: PV,SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-03 10:02:22 -06:00
LCPD Automation Script
71f4340b0b CI/CD Auto-Merger: cicd.scarthgap.202501300931
Updated the value(s) for:
  ti-linux-fw: CNM_WAVE521_FW_VERSION,TI_LINUX_FW_SRCREV
  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=1eaf07dc4ec5cdeb98078f17a9d4635e88f43f75..7fbc75f80161a400a4b9c618b6191d72ab408def
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=b841e559cd26ffcb20f22e8ee75debed9616c002..4e9c90ad8b12cc5b4fdd1308bc3ac3e4fc869aab
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=ade72d105eb7c9a2a4addfd0204eb4551b8efa7a..8906665ace32eb0dc12810667ee8646bd660c374

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-01-30 09:31:49 -06:00
Beleswar Padhi
fb55d467f7 linux-ti-staging: Add config-fragments for v6.12 Kernel
ti-linux-kernel tree has several prune config fragments for ARM/ARM64/RT
configurations. Enable the prune config fragments here.

Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
Acked-by: Andrew Davis <afd@ti.com>
2025-01-23 08:36:44 -06:00
Andrew Davis
b5ea831422 conf: machine: k3: Use Cortex-A53/A72 CPU tune
All current K3 devices use either A53 or A72. Use the compile tune
configuration specific for these to allow the compiler to make
better optimizations.

Default tune here is weakly set to a lowest common denominator of
aarch64, as before, which is a recommended behavior for a BSP layer.

This allows for greater binary reuse (packages, sstate, etc.) across
different platforms of the same architecture in multi-BSP environments.

At the same time, since all the correct tunes are now configured for
K3 devices, one can elevate compiler optimization levels either from
local.conf or own Distro configuration on a per-SoC or per-device
basis, like so:

DEFAULTTUNE:k3 = "armv8a-crc"
DEFAULTTUNE:j721e = "cortexa72-cortexa53"
DEFAULTTUNE:beagleplay = "cortexa72-cortexa53"

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2025-01-22 11:21:00 -06:00
Ryan Eatmon
7749ba5e88 conf: machine: beaglebone-ai64: Update SPL_BINARY
Rather than override the value for SPL_BINARY for all bsps, simply just
set the value to the correct value.  This should be ok since all
beaglebone-ai64 variations should use tispl.bin_unsigned.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-01-22 11:04:38 -06:00
Ryan Eatmon
1a81652380 conf: machine: beagleplay*: Update defaults to mainline
The defaults for UBOOT_MACHINE and SPL_BINARY are now aligned with the
mainline values and new ti-6_1 values for the previous defaults were
created to capture those.  Also updated the meta-beagle beagleplay since
it inherits the beagleplay-ti settings.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-01-13 17:36:11 -06:00
Ryan Eatmon
e871a1e0d6 ipumm-fw: Disable buildpaths check
The ti-cgt-arm compiler is a custom TI compiler.  It does not
currently support reproducible builds and is provided via a
binary blob download that we cannot patch in the recipe to
address the issue.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-01-12 14:23:22 -06:00
Ryan Eatmon
f415cb72cf libdce: Fix compile errors
Update SRCREV to pick up patch that fixes some compile errors:

../git/memplugin_linux.c: In function 'memplugin_alloc':
../git/memplugin_linux.c:69:9: error: implicit declaration of function 'dsp_dce_buf_lock' [-Wimplicit-function-declaration]
   69 |         dsp_dce_buf_lock(1, &(h->dma_buf_fd));
      |         ^~~~~~~~~~~~~~~~
../git/memplugin_linux.c:71:9: error: implicit declaration of function 'dce_buf_lock' [-Wimplicit-function-declaration]
   71 |         dce_buf_lock(1, &(h->dma_buf_fd));
      |         ^~~~~~~~~~~~
../git/memplugin_linux.c: In function 'memplugin_free':
../git/memplugin_linux.c:91:17: error: implicit declaration of function 'dsp_dce_buf_unlock' [-Wimplicit-function-declaration]
   91 |                 dsp_dce_buf_unlock(1, &(h->dma_buf_fd));
      |                 ^~~~~~~~~~~~~~~~~~
../git/memplugin_linux.c:93:17: error: implicit declaration of function 'dce_buf_unlock' [-Wimplicit-function-declaration]
   93 |                 dce_buf_unlock(1, &(h->dma_buf_fd));
      |                 ^~~~~~~~~~~~~~
../git/memplugin_linux.c:95:13: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
   95 |             close(h->dma_buf_fd);
      |             ^~~~~
      |             pclose

and

../git/libdce_linux.c: In function 'dce_deinit':
../git/libdce_linux.c:90:9: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
   90 |         close(OmapDrm_FD);
      |         ^~~~~
      |         pclose

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-01-12 14:23:22 -06:00
Ryan Eatmon
bbf306391e ti-ipc-rtos: Move to update-alternatives class
There were some errors related to ipk postinst.  The issues were fixed
by going to the update-alternatives class instead of trying to create
the steps directly in the recipe.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-01-12 14:23:22 -06:00
Ryan Eatmon
9708a12876 linux-ti-mainline: Update KERNEL_REPRODUCIBILITY_PATCHES for v6.12
The script that sends the automated patch does not currently handle
updating the KERNEL_REPRODUCIBILITY_PATCHES variable with the changes in
the patches.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-01-12 14:23:22 -06:00
Ryan Eatmon
a23fe49a1a linux-ti-mainline: Update to version: v6.12
Updated the value(s) for:
  am65xx-evm: KERNEL_DEVICETREE
  j722s-evm: KERNEL_DEVICETREE
  linux-ti-mainline: PV,SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-01-12 14:23:22 -06:00
Andrew Davis
273f540683 ti-bsp: Disable GC320 support conditionally on BSP version
Like we do with GPU support, GC320 support is conditional on the
kernel we are building and so should be disabled here for kernels
on which it is not functional yet.

We can then remove these disabling lines as the driver is updated
for each supported kernel, instead of blanket disabling in the
distro layer as done currently.

Signed-off-by: Andrew Davis <afd@ti.com>
2025-01-12 14:23:22 -06:00
Andrew Davis
6cc9fcd312 meta-ti-extras: mathlib: Do not deploy packaged output
This might have been useful for building development packages with
the pre-built binaries for deployment elsewhere, but there are
better ways to do this and these are no longer consumed. Remove
this packaging step.

Signed-off-by: Andrew Davis <afd@ti.com>
2025-01-12 14:23:22 -06:00
Andrew Davis
b7e1e375b7 meta-ti-extras: dsplib: Do not deploy packaged output
This might have been useful for building development packages with
the pre-built binaries for deployment elsewhere, but there are
better ways to do this and these are no longer consumed. Remove
this packaging step.

Signed-off-by: Andrew Davis <afd@ti.com>
2025-01-12 14:23:22 -06:00
Andrew Davis
0d76dba1b1 linux-ti-staging: Drop systest kernel
This was used when the kernel had a different configuration for
the testing kernel. This has not been the case since v5.10 so
drop the systest kernel package as it will be the same as the
normal kernel package now.

Signed-off-by: Andrew Davis <afd@ti.com>
2025-01-12 14:23:22 -06:00
Ryan Eatmon
2eca858068 ti-bsp: Change to 6.12 as the default
We are moving to 6.12 to be our new LTS, so we are switching the default
BSP to that.  You can still access the 6.6 kernel if you need to by using
the BSP system and setting TI_PREFERRED_BSP = "ti-6_6" in your
local.conf.

Current known issues:
- Hardware graphics is disabled until we get a patch that updates the
patches to work with the 6.12 kernel.  Falling back to software
rendering.
- am62xxsip-evm and j742s2-evm are not supported in the 2025.01 u-boot
yet.  They will fail to build until the u-boot recipe is updated to
point to a commit that fixes their support.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-01-12 14:23:22 -06:00
Ryan Eatmon
b0fe2ddde8 u-boot-ti-staging: Move 2024.10 to 2025.01 for ltsprep
We are moving to 2025.01 for the next LTS, so rename the previous ltsprep
recipe and update it.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-12-20 09:00:52 -06:00
Denys Dmytriyenko
05afb88f43 ti-ipc: fix accidental reference to UNPACKDIR from master
There was a fix for "buildpaths" QA error in master that got backported
to scarthgap, but out of 2 references to the new UNPACKDIR, one got
corrected, but the other one was left behind. Since scarthgap has no
notion of UNPACKDIR, replace it with corresponding WORKDIR.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-12-20 09:00:52 -06:00
Ryan Eatmon
4213a71a8e meta-beagle: Add SECURITY file
Add missing SECURITY file required by yocto-check-layer.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-12-19 15:54:58 -06:00
Denys Dmytriyenko
94d038be8d linux-bb.org_6.6: disable FORTIFY_SOURCE for now
Rogue graphics driver 24.1 currently fails to build against the kernel
that enables FORTIFY_SOURCE, such as bb.org. Disable this config for now,
until the driver is fixed.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-12-19 15:54:58 -06:00
Denys Dmytriyenko
e7d80bc915 beagle-bsp, linux-bb.org, u-boot-bb.org: add support for 6.6 BSP
Most Beagle platforms are switching to 6.6 based Linux kernel and U-boot
2024.10. Add corresponding recipes and extend beagle-bsp with required
settings.

BeagleY-AI for now remains on 6.1 BSP with U-boot 2023.04.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-12-19 15:54:58 -06:00
Denys Dmytriyenko
80c9829297 linux-bb.org, u-boot-bb.org: rename recipes with version
Rename "bb_org" BSP recipes to include version in the recipe names.
This way we can support multiple versions.

Also remove 2 unused kernel patches that were needed for 5.10

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-12-19 15:54:58 -06:00
Denys Dmytriyenko
861e52fc76 conf/machine: add BeagleY-AI platform
Add machine configuration for BeagleY-AI platform.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-12-19 15:54:58 -06:00
Denys Dmytriyenko
980b28342c linux-bb.org: update Beagle BSP to 6.1.83
Update Beagle BSP to the latest 6.1.83 kernel version.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-12-19 15:54:58 -06:00
Denys Dmytriyenko
54eecb7396 u-boot-bb_org, linux-bb_org: move "bb_org" providers to meta-beagle
Move "bb_org" kernel and U-boot providers that use corresponding official
BeagleBoard.org trees into own meta-beagle layer.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-12-19 15:54:58 -06:00
Denys Dmytriyenko
826884d6b2 conf/machine: move remaining Beagle platforms to meta-beagle
Include beagle-bsp.inc to define "bb_org" BSP settings and select that
as a default.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-12-19 15:54:58 -06:00
Denys Dmytriyenko
97d9fa9789 conf/machine: split beagleplay config between meta-ti-bsp and meta-beagle
Extract "bb_org" BSP specific settings from beagleplay-ti in meta-ti-bsp and
move them to own beagleplay machine config in meta-beagle.

The differences between 2 configs are minimal, hence beagleplay in meta-beagle
inherits beagleplay-ti from meta-ti-bsp as a base and only adjusts what's
needed.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-12-19 15:54:58 -06:00
Denys Dmytriyenko
9b65d04f86 conf/machine: move "bb_org" BSP settings to meta-beagle
Define "bb_org" default BSP settings in meta-beagle layer that all Beagle
platforms will use.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-12-19 15:54:58 -06:00
Denys Dmytriyenko
96734a5f8b meta-beagle: layer.conf: add lz4c to host tools list
OE-Core master has switched from lz4c to lz4 host tool, but a corresponding
change only appears in kernel 6.13. Since bb.org kernels 6.1 and 6.6 enable
LZ4 compression by default, also add a legacy lz4c tool in the list.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-12-19 15:54:58 -06:00
Denys Dmytriyenko
9d913fce5b meta-beagle: create a separate layer for Beagle platforms
The new meta-beagle will host all supported Beagle platforms that
use TI SoCs and hence need to depend on meta-ti-bsp. The default
BSP for the platforms in this layer will use BeagleBoard.org
official trees for the Linux kernel and U-boot.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-12-19 15:54:58 -06:00
Denys Dmytriyenko
a4ccd43c13 conf/machine: rename beagleplay machine to beagleplay-ti
BeaglePlay is officially supported by TI "ti-6_6" BSP and is part
of the TI-SDK releases. Switching BSP to BeagleBoard.org "bb_org"
settings for the same machine is possible within the same layer.

But having different machine configs for the same machine name in
multiple layers can be confusing and prone to errors. Hence rename
the config to indicate BeaglePlay with official TI support in order
to re-use the canonical name in a separate layer.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-12-19 15:54:58 -06:00
Aniket Limaye
d6c601ea34 conf: machine: omap-a15.inc: include ipu1 firmware in the boot partition
Early Boot of remote processors is supported at the SPL stage of the
bootloader. Currently, SPL looks for the remoteproc firmwares in the
boot partition.

Therefore, add the rproc firmware to the boot partition of wic images.

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
2024-12-11 15:45:38 -06:00
Aniket Limaye
88143efec9 meta-ti-extras: ti-ipc-rtos: Deploy ipc firmware
Early boot of remote processors from SPL stage of bootloader requires
the remoteproc firmware to be present in the boot partition. Deploy this
rproc IPC firmware so that it can be copied to the boot partitions of
the wic images.

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
2024-12-11 15:45:38 -06:00
Aashvij Shenai
361078b2ed recipes-security: optee: Remove software PRNG for am62pxx
With the latest TIFS fix [1], AM62P is able to leverage the hardware-TRNG
instead of having to fallback into the software-PRNG.

Background:
The default priv-id for A53 cores in SYSFW for AM62P was chosen to be 4
while the other K3 SOCs were configured at 1. Any firewall TISCI API
call that used 1 would not be able to run on AM62P. The TIFS fix changes
the AM62P value from 4 to 1.

[1] -
https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/commit/?h=ti-linux-firmware&id=98de0a4290ec200cc224d4a5a6f42d2126230e2f

Signed-off-by: Aashvij Shenai <a-shenai@ti.com>
Acked-by: Chirag Shilwant <c-shilwant@ti.com>
2024-12-11 15:45:20 -06:00
Judith Mendez
12daa0348e conf: machine: am62xx-lp-evm: Add PWM overlays
Add the PWM overlays: k3-am62x-sk-dmtimer-pwm and k3-am62x-sk-pwm
for AM62 LP SK.

Signed-off-by: Judith Mendez <jm@ti.com>
2024-12-06 09:22:16 -06:00
Denys Dmytriyenko
ed26456630 ti-ipc: mark as incompatible with non-Linux builds
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>
2024-12-04 06:16:44 -06:00
LCPD Automation Script
50acaea235 CI/CD Auto-Merger: cicd.scarthgap.202412030400
Updated the value(s) for:
  u-boot-ti-staging_2024.04: SRCREV
  linux-ti-staging-rt_6.6: SRCREV
  linux-ti-staging_6.6: SRCREV

Changelogs:
  u-boot-ti-staging_2024.04: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=f704a778526ba38fa6c80b0374ea82a9424292f6..29d0c23d67ee7b88e46fe1753cd020e2b04c2ef6
  linux-ti-staging-rt_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=e4498d814c9caa50b260bf1d31e981a23c8ec59f..c79d7ef3a56ff61dd83d5527520b419a4f0e32e2
  linux-ti-staging_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=d32074b73785eb57c675cef603517247f5f4f33b..a7758da17c2807e5285d6546b6797aae1d34a7d6

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-12-03 04:00:47 -06:00
LCPD Automation Script
2d5cedf0a9 CI/CD Auto-Merger: cicd.scarthgap.202411211601
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV
  u-boot-ti-staging_2023.04: SRCREV
  u-boot-ti-staging_2024.04: SRCREV
  linux-ti-staging-rt_6.1: PV,SRCREV
  linux-ti-staging-rt_6.6: PV,SRCREV
  linux-ti-staging_6.1: PV,SRCREV
  linux-ti-staging_6.12: SRCREV
  linux-ti-staging_6.6: PV,SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=0ae7605a6916edc146d103eeaf7c41f2cf237a4f..1eaf07dc4ec5cdeb98078f17a9d4635e88f43f75
  u-boot-ti-staging_2023.04: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=0853d7725220d59130d8bcc59d01151cba64ffa0..0893e693e08f9fc864a6191051dccc818accf933
  u-boot-ti-staging_2024.04: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=a970f6e51043e6c41cc33ef18be78123994d806e..f704a778526ba38fa6c80b0374ea82a9424292f6
  linux-ti-staging-rt_6.1: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=451df8c0a2a3bcf0656b2f6fdc49d6fb4d05f186..194ebd939bee3ffff36de9cf8dff28a77c671f5b
  linux-ti-staging-rt_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=8e9437778527f81a4e34d6ed1982d487b51fe396..e4498d814c9caa50b260bf1d31e981a23c8ec59f
  linux-ti-staging_6.1: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=92ce8d7d2ab679e10c1dda309a0fb2ceae78b908..4ef41ca7ad952c7b13b7e40808ab1025796f9a6c
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=f8f8c0b547f67d2d4d653cc59753f85275ff54f2..ade72d105eb7c9a2a4addfd0204eb4551b8efa7a
  linux-ti-staging_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=541c20281af79a7df96bb94b4e3a923092d7ceff..d32074b73785eb57c675cef603517247f5f4f33b

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-11-21 16:02:59 -06:00
Rishikesh Donadkar
a4defea6f5 conf: machine: am62pxx: Pick overlays for V3Link cameras
The V3Link camera fusion board [1] can be used to connect upto 4
OV5640 sensors to SK-AM62A.

Overlays for interfacing OV5640 sensor with V3Link are built
as part of the TI linux kernel. Pick these in the BSP filesystem.

[1]: https://www.arducam.com/product/arducam-v3link-camera-kit-for-ti-development-boards/

Signed-off-by: Rishikesh Donadkar <r-donadkar@ti.com>
Acked-by: Chirag Shilwant <c-shilwant@ti.com>
2024-11-21 09:41:10 -06:00
Ryan Eatmon
f1cb005a52 SECURITY: Add file
Add a SECURITY file with hints for security researchers and other
parties who might report potential security vulnerabilities.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Acked-by: Denys Dmytriyenko <denys@konsulko.com>
2024-11-15 14:59:37 -06:00
Andrew Davis
9c8eec8733 ti-ipc-examples: Remove DSP/BIOS IPC examples
This IPC example is no longer supported nor recommended for new designs.
The documentation is no not available either (was on Processors Wiki).
Remove this example.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-11-15 09:08:35 -06:00
LCPD Automation Script
f06324bc16 CI/CD Auto-Merger: cicd.scarthgap.202411141406
Updated the value(s) for:
  ti-linux-fw: PRUETH_FW_AM65X_SR2_VERSION,TI_LINUX_FW_SRCREV,TI_SYSFW_VERSION
  u-boot-ti-staging_2024.04: SRCREV
  linux-ti-staging-rt_6.6: SRCREV
  linux-ti-staging_6.6: SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=95ec0608717727d17a97b7e51cd78d00d9c5d6e5..0ae7605a6916edc146d103eeaf7c41f2cf237a4f
  u-boot-ti-staging_2024.04: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=2a7de06d57399e04738573622cbdaa3532e7ab4d..a970f6e51043e6c41cc33ef18be78123994d806e
  linux-ti-staging-rt_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=b1a3afa3f5ce6da352debfa490dc410ecf63a19b..8e9437778527f81a4e34d6ed1982d487b51fe396
  linux-ti-staging_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=31f84fe16e6518d14c2f5e21631de19f161274db..541c20281af79a7df96bb94b4e3a923092d7ceff

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-11-14 14:07:35 -06:00
LCPD Automation Script
f405f79d86 CI/CD Auto-Merger: cicd.scarthgap.202411130400
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV
  linux-ti-staging-rt_6.6: SRCREV
  linux-ti-staging_6.6: SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=7179a74d1ed38e581bcd35e7b05632955e962c30..95ec0608717727d17a97b7e51cd78d00d9c5d6e5
  linux-ti-staging-rt_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=d7b6ee144955d71f1c3d29b7dc08619961f12d64..b1a3afa3f5ce6da352debfa490dc410ecf63a19b
  linux-ti-staging_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=118cf0c8b392bed94437f1519de10b63705dbacd..31f84fe16e6518d14c2f5e21631de19f161274db

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-11-13 04:01:00 -06:00
192 changed files with 1569 additions and 936 deletions

31
check_yocto_rules.json Normal file
View File

@@ -0,0 +1,31 @@
{
"APPEND-1" : {
"skip_vars" : [ "ALTERNATIVE", "FILES", "INSANE_SKIP", "RDEPENDS", "RRECOMMENDS" ]
},
"APPEND-2" : {
"skip_vars" : [ "KERNEL_LOCALVERSION", "PR", "PV" ],
"file_regex" : {
"meta-ti-bsp\\/recipes-graphics\\/mesa\\/mesa-pvr_\\S+\\.bb" : {
"skip_vars": [ "GALLIUMDRIVERS", "VULKAN_DRIVERS" ]
},
"meta-ti-bsp\\/recipes-graphics\\/mesa\\/mesa-pvr\\.inc" : {
"skip_vars": [ "TOOLS", "TOOLS_DEPS", "GALLIUMDRIVERS", "VULKAN_DRIVERS" ]
}
}
},
"GUARD-1" : {
"skip_files" : [
"meta-ti-bsp/recipes-core/udev/eudev_%.bbappend",
"meta-ti-bsp/recipes-devtools/binutils/binutils-cross-canadian_%.bbappend",
"meta-ti-bsp/recipes-security/optee/optee-%.bbappend"
]
},
"GUARD-2" : {
"skip_vars" : [ "k3" , "ti-soc" ]
},
"SUMMARY-1" : {
"skip_files" : [
"meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb"
]
}
}

17
meta-beagle/COPYING.MIT Normal file
View File

@@ -0,0 +1,17 @@
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

31
meta-beagle/README Normal file
View File

@@ -0,0 +1,31 @@
OpenEmbedded/Yocto layer that extends meta-ti-bsp with BeagleBoard.org platforms.
It is hosted on http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/ with the
source repository at git://git.yoctoproject.org/meta-ti
This layer depends on:
URI: git://git.openembedded.org/openembedded-core
layers: meta
branch: master
URI: git://git.yoctoproject.org/meta-arm
layers: meta-arm
branch: master
URI: git://git.yoctoproject.org/meta-ti
branch: master
revision: HEAD
layers: meta-ti-bsp
Send pull requests, patches, comments or questions to:
meta-ti@lists.yoctoproject.org
Please note - meta-ti mailing list requires subscription for posting:
https://lists.yoctoproject.org/g/meta-ti
Maintainers:
Denys Dmytriyenko <denys@konsulko.com>
Ryan Eatmon <reatmon@ti.com>

20
meta-beagle/SECURITY Normal file
View File

@@ -0,0 +1,20 @@
How to Report a Potential Vulnerability?
========================================
If you would like to report a public issue (for example, one with a released
CVE number), please report it to the mailing list:
https://lists.yoctoproject.org/g/meta-ti
If you are dealing with a not-yet released or urgent issue, please send a
message to one of the maintainers listed in the README. Include as many
details as possible:
- the layer or software module affected
- the recipe and its version
- any example code, if available
Branches maintained with security fixes
---------------------------------------
See https://wiki.yoctoproject.org/wiki/Releases for the list of current
releases. We only accept patches for the LTS releases and the master branch.

View File

@@ -0,0 +1,17 @@
# We have a conf and classes directory, append to BBPATH
BBPATH .= ":${LAYERDIR}"
# We have a recipes directory, add to BBFILES
BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
BBFILE_COLLECTIONS += "meta-beagle"
BBFILE_PATTERN_meta-beagle := "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-beagle = "6"
LAYERSERIES_COMPAT_meta-beagle = "scarthgap"
LAYERDEPENDS_meta-beagle = " \
meta-ti-bsp \
"
HOSTTOOLS_NONFATAL += "lz4c"

View File

@@ -2,13 +2,12 @@
#@NAME: BeagleBoard X15
#@DESCRIPTION: Machine configuration for the BeagleBoard X15
TI_PREFERRED_BSP ?= "bb_org"
require conf/machine/include/am57xx.inc
require conf/machine/include/beagle-bsp.inc
DT_VENDOR_PREFIX = "ti/omap/"
DT_VENDOR_PREFIX:bsp-ti-6_1 = ""
DT_VENDOR_PREFIX:bsp-bb_org = ""
DT_VENDOR_PREFIX:bsp-bb_org-6_1 = ""
KERNEL_DEVICETREE_PREFIX = " \
${DT_VENDOR_PREFIX}am57xx-beagle-x15 \

View File

@@ -2,9 +2,8 @@
#@NAME: BeagleBone AI-64 (R5F)
#@DESCRIPTION: Machine configuration for the BeagleBone AI-64 (R5F core)
TI_PREFERRED_BSP ?= "bb_org"
require conf/machine/include/k3r5.inc
require conf/machine/include/beagle-bsp.inc
SYSFW_SOC = "j721e"
SYSFW_CONFIG = "evm"
@@ -16,8 +15,10 @@ UBOOT_BINARY = "tiboot3.${UBOOT_SUFFIX}"
UBOOT_IMAGE = "tiboot3-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
UBOOT_SYMLINK = "tiboot3-${MAINMACHINE}.${UBOOT_SUFFIX}"
UBOOT_MACHINE = "j721e_evm_r5_defconfig"
UBOOT_MACHINE:bsp-ti-6_6 = "j721e_beagleboneai64_r5_defconfig"
UBOOT_MACHINE = "j721e_beagleboneai64_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS:bsp-bb_org = "j721e_beagleboneai64_r5.config"
UBOOT_MACHINE:bsp-ti-6_1 = "j721e_evm_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "j721e_beagleboneai64_r5.config"
UBOOT_MACHINE:bsp-bb_org-6_1 = "j721e_evm_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "j721e_beagleboneai64_r5.config"

View File

@@ -2,21 +2,23 @@
#@NAME: BeagleBone AI-64 (A72)
#@DESCRIPTION: Machine configuration for the BeagleBone AI-64 board (A72 core)
TI_PREFERRED_BSP ?= "bb_org"
require conf/machine/include/j721e.inc
require conf/machine/include/beagle-bsp.inc
IMAGE_SR1_1_HS_FS_FILES:bsp-bb_org = ""
IMAGE_SR2_HS_SE_FILES:bsp-bb_org = ""
IMAGE_SR1_1_HS_FS_FILES = ""
IMAGE_SR1_1_HS_SE_FILES = ""
IMAGE_SR2_HS_FS_FILES = ""
IMAGE_SR2_HS_SE_FILES = ""
UBOOT_MACHINE = "j721e_evm_a72_config"
UBOOT_MACHINE:bsp-ti-6_6 = "j721e_beagleboneai64_a72_defconfig"
UBOOT_MACHINE = "j721e_beagleboneai64_a72_defconfig"
UBOOT_MACHINE:bsp-ti-6_1 = "j721e_evm_a72_config"
UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "j721e_beagleboneai64_a72.config"
UBOOT_CONFIG_FRAGMENTS:bsp-bb_org = "j721e_beagleboneai64_a72.config"
SPL_BINARY:bsp-ti-6_6 = "tispl.bin_unsigned"
SPL_BINARYNAME:bsp-ti-6_6 = "tispl.bin"
UBOOT_MACHINE:bsp-bb_org-6_1 = "j721e_evm_a72_config"
UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "j721e_beagleboneai64_a72.config"
SPL_BINARY = "tispl.bin_unsigned"
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-j721e \
@@ -30,7 +32,7 @@ ti/k3-j721e-evm-quad-port-eth-exp.dtbo \
ti/k3-j721e-sk.dtb \
"
KERNEL_DEVICETREE:append:bsp-bb_org = " \
KERNEL_DEVICETREE:append:bsp-bb_org-6_1 = " \
ti/k3-j721e-beagleboneai64-dsi-rpi-7inch-panel.dtbo \
ti/k3-j721e-common-proc-board-infotainment.dtbo \
ti/k3-j721e-evm-csi2-ov5640.dtbo \
@@ -44,3 +46,9 @@ ti/k3-j721e-sk-rpi-hdr-ehrpwm.dtbo \
"
MACHINE_GUI_CLASS = "bigscreen"
# TI has moved a driver out of its kernel tree and into an out of tree module.
# We need to not include that for older kernels since the module is still in
# the kernel.
TI_VXE_VXD_DRIVER:bsp-bb_org-6_6 = ""
TI_VXE_VXD_DRIVER:bsp-bb_org-6_1 = ""

View File

@@ -2,13 +2,12 @@
#@NAME: BeagleBone machine
#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board
TI_PREFERRED_BSP ?= "bb_org"
require conf/machine/include/ti33x.inc
require conf/machine/include/beagle-bsp.inc
DT_VENDOR_PREFIX = "ti/omap/"
DT_VENDOR_PREFIX:bsp-ti-6_1 = ""
DT_VENDOR_PREFIX:bsp-bb_org = ""
DT_VENDOR_PREFIX:bsp-bb_org-6_1 = ""
KERNEL_DEVICETREE_PREFIX = " \
${DT_VENDOR_PREFIX}am335x-bone \

View File

@@ -0,0 +1,11 @@
#@TYPE: Machine
#@NAME: BeaglePlay (R5F)
#@DESCRIPTION: Machine configuration for the BeaglePlay (R5F core)
require conf/machine/beagleplay-ti-k3r5.conf
require conf/machine/include/beagle-bsp.inc
UBOOT_MACHINE:bsp-bb_org-6_1 = "am62x_evm_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "am625_beagleplay_r5.config"

View File

@@ -0,0 +1,75 @@
#@TYPE: Machine
#@NAME: BeaglePlay (A53)
#@DESCRIPTION: Machine configuration for the BeaglePlay board (A53 core)
require conf/machine/beagleplay-ti.conf
require conf/machine/include/beagle-bsp.inc
UBOOT_MACHINE:bsp-bb_org-6_1 = "am62x_evm_a53_defconfig"
UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "am625_beagleplay_a53.config"
KERNEL_DEVICETREE:append:bsp-bb_org-6_1 = " \
ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
ti/k3-am625-beagleplay-lincolntech-lcd185-panel.dtbo \
ti/k3-am625-beaglemod.dtb \
ti/k3-am625-beaglemod-audio.dtbo \
ti/k3-am625-beaglemod-can0.dtbo \
ti/k3-am625-beaglemod-can1.dtbo \
ti/k3-am625-beaglemod-csi0-ov5640.dtbo \
ti/k3-am625-beaglemod-eeprom.dtbo \
ti/k3-am625-beaglemod-eth.dtbo \
ti/k3-am625-beaglemod-hdmi.dtbo \
ti/k3-am625-beaglemod-io-expand.dtbo \
ti/k3-am625-beaglemod-lt-lcd185.dtbo \
ti/k3-am625-beaglemod-ospi-flash.dtbo \
ti/k3-am625-beaglemod-rs485-1.dtbo \
ti/k3-am625-beaglemod-rs485-2.dtbo \
ti/k3-am625-beaglemod-rtc.dtbo \
ti/k3-am625-beaglemod-wl1835.dtbo \
ti/k3-am625-sk-dmtimer-pwm.dtbo \
ti/k3-am625-sk-ecap-capture.dtbo \
ti/k3-am625-sk-lincolntech-lcd185-panel.dtbo \
ti/k3-am625-sk-mcspi-loopback.dtbo \
ti/k3-am625-sk-microtips-mf101hie-panel.dtbo \
ti/k3-am625-sk-microtips-mf103hie-lcd2.dtbo \
ti/k3-am625-sk-pwm.dtbo \
ti/k3-am625-sk-rpi-hdr-ehrpwm.dtbo \
ti/k3-am62x-sk-csi2-imx219.dtbo \
ti/k3-am62x-sk-csi2-ov5640.dtbo \
ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \
ti/k3-am62x-sk-csi2-v3link-fusion.dtbo \
ti/k3-am62x-sk-eqep.dtbo \
ti/k3-am62x-sk-hdmi-disable-fastboot.dtbo \
ti/k3-am62x-sk-lpm-wkup-sources.dtbo \
ti/k3-am62x-sk-mcan.dtbo \
"
KERNEL_DEVICETREE:append:bsp-bb_org-6_6 = " \
ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
ti/k3-am625-beagleplay.dtb \
ti/k3-am625-beagleplay-lincolntech-lcd185-panel.dtbo \
ti/k3-am625-minimal.dtb \
ti/k3-am625-sk.dtb \
ti/k3-am625-sk-ecap-capture.dtbo \
ti/k3-am625-sk-lincolntech-lcd185-panel.dtbo \
ti/k3-am625-sk-m2-cc3301.dtbo \
ti/k3-am625-sk-mcspi-loopback.dtbo \
ti/k3-am625-sk-microtips-mf101hie-panel.dtbo \
ti/k3-am625-sk-rpi-hdr-ehrpwm.dtbo \
ti/k3-am62x-sk-csi2-imx219.dtbo \
ti/k3-am62x-sk-csi2-ov5640.dtbo \
ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \
ti/k3-am62x-sk-csi2-v3link-fusion.dtbo \
ti/k3-am62x-sk-dmtimer-pwm.dtbo \
ti/k3-am62x-sk-eqep.dtbo \
ti/k3-am62x-sk-fastboot-disable-hdmi.dtbo \
ti/k3-am62x-sk-hdmi-audio.dtbo \
ti/k3-am62x-sk-lpm-wkup-sources.dtbo \
ti/k3-am62x-sk-mcan.dtbo \
ti/k3-am62x-sk-microtips-mf103hie-lcd2.dtbo \
ti/k3-am62x-sk-pwm.dtbo \
"

View File

@@ -0,0 +1,15 @@
#@TYPE: Machine
#@NAME: BeagleY AI (R5F)
#@DESCRIPTION: Machine configuration for the BeagleY AI (R5F core)
require conf/machine/include/k3r5.inc
require conf/machine/include/beagle-bsp.inc
SYSFW_SOC = "j722s"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs-fs"
UBOOT_MACHINE = "j722s_evm_r5_defconfig"
UBOOT_MACHINE:bsp-bb_org-6_12 = "am67a_beagley_ai_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "am67a_beagley_ai_r5.config"

View File

@@ -0,0 +1,29 @@
#@TYPE: Machine
#@NAME: BeagleY AI (A53)
#@DESCRIPTION: Machine configuration for the BeagleY AI board (A53 core)
require conf/machine/include/j722s.inc
require conf/machine/include/beagle-bsp.inc
UBOOT_MACHINE = "j722s_evm_a53_config"
UBOOT_MACHINE:bsp-bb_org-6_12 = "am67a_beagley_ai_a53_defconfig"
UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "am67a_beagley_ai_a53.config"
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-j722s \
"
KERNEL_DEVICETREE = ""
KERNEL_DEVICETREE:append:bsp-bb_org-6_1 = " \
ti/k3-j722s-evm.dtb \
ti/k3-am67a-beagley-ai.dtb \
"
KERNEL_DEVICETREE:append:bsp-bb_org-6_12 = " \
ti/k3-j722s-evm.dtb \
ti/k3-am67a-beagley-ai.dtb \
"
MACHINE_GUI_CLASS = "bigscreen"

View File

@@ -0,0 +1,71 @@
# Use meta-ti-bsp "multi-BSP" facility to create a custom "bb_org" BSP profile
# with default preferences for Beagle platforms
# Default is bb_org-6_12, but can override with any of the existing options
TI_PREFERRED_BSP ?= "bb_org-6_12"
# ==========
# bb_org-6_12
# BeagleBoard.org kernel 6.12, Upstream u-boot 2025.04
# based on TI staging trees with extra Beagle-specific features
# but may not be up-to-date with TI version
# ==========
BSP_KERNEL_PROVIDER:bsp-bb_org-6_12 = "linux-bb.org"
BSP_KERNEL_VERSION:bsp-bb_org-6_12 = "6.12.%"
BSP_BOOTLOADER_PROVIDER:bsp-bb_org-6_12 = "u-boot-bb.org"
BSP_BOOTLOADER_VERSION:bsp-bb_org-6_12 = "2025.%"
BSP_SGX_DRIVER_PROVIDER:bsp-bb_org-6_12 = "ti-sgx-ddk-km"
BSP_SGX_DRIVER_VERSION:bsp-bb_org-6_12 = "1.17%"
BSP_SGX_UMLIBS_VERSION:bsp-bb_org-6_12 = "1.17%"
BSP_ROGUE_DRIVER_PROVIDER:bsp-bb_org-6_12 = "ti-img-rogue-driver"
BSP_ROGUE_DRIVER_VERSION:bsp-bb_org-6_12 = "24%"
BSP_ROGUE_UMLIBS_VERSION:bsp-bb_org-6_12 = "24%"
BSP_MESA_PVR_VERSION:bsp-bb_org-6_12 = "24%"
# GC320 support requires out-of-tree drivers not yet available in bb.org 6.6
MACHINE_FEATURES:remove:bsp-bb_org-6_12 = "gc320"
# ==========
# bb_org-6_6
# BeagleBoard.org kernel 6.6, Upstream u-boot 2024.07
# based on TI staging trees with extra Beagle-specific features
# but may not be up-to-date with TI version
# ==========
BSP_KERNEL_PROVIDER:bsp-bb_org-6_6 = "linux-bb.org"
BSP_KERNEL_VERSION:bsp-bb_org-6_6 = "6.6.%"
BSP_BOOTLOADER_PROVIDER:bsp-bb_org-6_6 = "u-boot-bb.org"
BSP_BOOTLOADER_VERSION:bsp-bb_org-6_6 = "2024.%"
BSP_SGX_DRIVER_PROVIDER:bsp-bb_org-6_6 = "ti-sgx-ddk-km"
BSP_SGX_DRIVER_VERSION:bsp-bb_org-6_6 = "1.17%"
BSP_SGX_UMLIBS_VERSION:bsp-bb_org-6_6 = "1.17%"
BSP_ROGUE_DRIVER_PROVIDER:bsp-bb_org-6_6 = "ti-img-rogue-driver"
BSP_ROGUE_DRIVER_VERSION:bsp-bb_org-6_6 = "24%"
BSP_ROGUE_UMLIBS_VERSION:bsp-bb_org-6_6 = "24%"
BSP_MESA_PVR_VERSION:bsp-bb_org-6_6 = "24%"
# GC320 support requires out-of-tree drivers not yet available in bb.org 6.6
MACHINE_FEATURES:remove:bsp-bb_org-6_6 = "gc320"
# ==========
# bb_org-6_1
# BeagleBoard.org kernel 6.1, u-boot 2023.04
# based on TI staging trees with extra Beagle-specific features
# but may not be up-to-date with TI version
# ==========
BSP_KERNEL_PROVIDER:bsp-bb_org-6_1 = "linux-bb.org"
BSP_KERNEL_VERSION:bsp-bb_org-6_1 = "6.1.%"
BSP_BOOTLOADER_PROVIDER:bsp-bb_org-6_1 = "u-boot-bb.org"
BSP_BOOTLOADER_VERSION:bsp-bb_org-6_1 = "2023.%"
BSP_SGX_DRIVER_PROVIDER:bsp-bb_org-6_1 = "ti-sgx-ddk-km"
BSP_SGX_DRIVER_VERSION:bsp-bb_org-6_1 = "1.17%"
BSP_SGX_UMLIBS_VERSION:bsp-bb_org-6_1 = "1.17%"
BSP_ROGUE_DRIVER_PROVIDER:bsp-bb_org-6_1 = "ti-img-rogue-driver"
BSP_ROGUE_DRIVER_VERSION:bsp-bb_org-6_1 = "23%"
BSP_ROGUE_UMLIBS_VERSION:bsp-bb_org-6_1 = "23%"
BSP_MESA_PVR_VERSION:bsp-bb_org-6_1 = "22%"
# GC320 support requires out-of-tree drivers not yet available in bb.org 6.1
MACHINE_FEATURES:remove:bsp-bb_org-6_1 = "gc320"

View File

@@ -0,0 +1,12 @@
#@TYPE: Machine
#@NAME: PocketBeagle2 (R5F)
#@DESCRIPTION: Machine configuration for the PocketBeagle2 (R5F core)
require conf/machine/include/k3r5.inc
require conf/machine/include/beagle-bsp.inc
SYSFW_SOC = "am62x"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs-fs"
UBOOT_MACHINE = "am6232_pocketbeagle2_r5_defconfig"

View File

@@ -0,0 +1,28 @@
#@TYPE: Machine
#@NAME: PocketBeagle2 (A53)
#@DESCRIPTION: Machine configuration for the PocketBeagle2 board (A53 core)
require conf/machine/include/k3.inc
require conf/machine/include/mc_k3r5.inc
require conf/machine/include/beagle-bsp.inc
SOC_FAMILY:append = ":am62xx"
SERIAL_CONSOLES = "115200;ttyS2"
TFA_BOARD = "lite"
TFA_K3_SYSTEM_SUSPEND = "1"
OPTEEMACHINE = "k3-am62x"
UBOOT_MACHINE = "am6232_pocketbeagle2_a53_defconfig"
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am6232 \
"
KERNEL_DEVICETREE = " \
ti/k3-am6232-pocketbeagle2.dtb \
ti/k3-am6232-pocketbeagle2-techlab-cape.dtbo \
"

View File

@@ -0,0 +1 @@
CONFIG_BOOTCOMMAND="run bootcmd_ti_mmc"

View File

@@ -1,4 +1,4 @@
require u-boot-ti.inc
require recipes-bsp/u-boot/u-boot-ti.inc
SUMMARY = "BeagleBoard.org U-Boot"
@@ -15,3 +15,8 @@ BRANCH:beagleplay = "v2023.04-ti-09.01.00.008-BeaglePlay"
BRANCH:beagleplay-k3r5 = "v2023.04-ti-09.01.00.008-BeaglePlay"
SRCREV:beagleplay = "43791d945f4e5c25bcc19b9c778e8f9d194dc16e"
SRCREV:beagleplay-k3r5 = "43791d945f4e5c25bcc19b9c778e8f9d194dc16e"
BRANCH:beagley-ai = "v2023.04-ti-09.02.00.009-BeagleY-AI-Production"
BRANCH:beagley-ai-k3r5 = "v2023.04-ti-09.02.00.009-BeagleY-AI-Production"
SRCREV:beagley-ai = "93735daa6fe024304934d5a5e93ab05a06abf1a8"
SRCREV:beagley-ai-k3r5 = "93735daa6fe024304934d5a5e93ab05a06abf1a8"

View File

@@ -0,0 +1,12 @@
require recipes-bsp/u-boot/u-boot-ti.inc
SUMMARY = "BeagleBoard.org U-Boot"
COMPATIBLE_MACHINE = "beagle.*"
PV = "2024.10"
UBOOT_GIT_URI = "git://github.com/beagleboard/u-boot.git"
UBOOT_GIT_PROTOCOL = "https"
BRANCH = "v2024.10-Beagle"
SRCREV = "bf0e9d0b7274d2b561bd24c858affec2038250f9"

View File

@@ -0,0 +1,26 @@
require recipes-bsp/u-boot/u-boot-ti.inc
SUMMARY = "BeagleBoard.org U-Boot"
COMPATIBLE_MACHINE = "pocketbeagle2|beagle.*"
PV = "2025.04"
UBOOT_GIT_URI = "git://github.com/beagleboard/u-boot.git"
UBOOT_GIT_PROTOCOL = "https"
BRANCH = "v2025.04-Beagle"
SRCREV = "ea2aeefcb2de36f8ca1b51d0580826d13c01f143"
BRANCH:beagley-ai = "v2025.04-rc3-BeagleY-AI"
BRANCH:beagley-ai-k3r5 = "v2025.04-rc3-BeagleY-AI"
SRCREV:beagley-ai = "cc376f9faef201670c7bb1734f42f5475c73f85d"
SRCREV:beagley-ai-k3r5 = "cc376f9faef201670c7bb1734f42f5475c73f85d"
SRC_URI:append:beagley-ai = " file://bootcmd-ti-mmc.cfg"
BRANCH:pocketbeagle2 = "v2025.04-pocketbeagle2"
BRANCH:pocketbeagle2-k3r5 = "v2025.04-pocketbeagle2"
SRCREV:pocketbeagle2 = "f7439516453b7728bda496ff6496ef6f1411aae3"
SRCREV:pocketbeagle2-k3r5 = "f7439516453b7728bda496ff6496ef6f1411aae3"
SRC_URI:append:pocketbeagle2 = " file://bootcmd-ti-mmc.cfg"

View File

@@ -0,0 +1 @@
use-kernel-config=bb.org_defconfig

View File

@@ -0,0 +1 @@
use-kernel-config=bb.org_defconfig

View File

@@ -0,0 +1 @@
CONFIG_FORTIFY_SOURCE=n

View File

@@ -1,3 +1,6 @@
# Look in the generic major.minor directory for files
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.1:"
SECTION = "kernel"
SUMMARY = "BeagleBoard.org Linux kernel"
LICENSE = "GPL-2.0-only"
@@ -52,14 +55,14 @@ PB-MIKROBUS-1.dtbo \
S = "${WORKDIR}/git"
# 6.1.80 version for 32-bit
SRCREV:armv7a = "4ca9ea30768d58c8d4d56d03dd1eaf8c8feb7ef9"
PV:armv7a = "6.1.80+git"
BRANCH:armv7a = "v6.1.80-ti-r34"
# 6.1.83 version for 32-bit
SRCREV:armv7a = "be9b910b08dfd674e47a2643f35080b005ac3792"
PV:armv7a = "6.1.83+git"
BRANCH:armv7a = "v6.1.83-ti-r35"
# 6.1.80 version for 64-bit
SRCREV:aarch64 = "977c75e082620f15c06c72bcced30f787c14b390"
PV:aarch64 = "6.1.80+git"
BRANCH:aarch64 = "v6.1.80-ti-arm64-r49"
# 6.1.83 version for 64-bit
SRCREV:aarch64 = "135558243d5a98ed39812b797d2ba6295ef3b86a"
PV:aarch64 = "6.1.83+git"
BRANCH:aarch64 = "v6.1.83-ti-arm64-r64"
KERNEL_GIT_URI = "git://github.com/beagleboard/linux.git"

View File

@@ -0,0 +1,68 @@
# Look in the generic major.minor directory for files
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.12:"
SECTION = "kernel"
SUMMARY = "BeagleBoard.org Linux kernel"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
COMPATIBLE_MACHINE = "pocketbeagle2|beagle.*"
inherit kernel
require recipes-kernel/linux/setup-defconfig.inc
require recipes-kernel/linux/ti-kernel.inc
DEPENDS += "gmp-native libmpc-native"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} ${EXTRA_DTC_ARGS}"
# Extra DT overlays/capes
KERNEL_DEVICETREE:append:armv7a = " \
${DT_VENDOR_PREFIX}AM335X-PRU-UIO-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-ADC-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-BBBW-WL1835-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-BBGG-WL1835-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-BBGW-WL1835-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-BONE-4D5R-01-00A1.dtbo \
${DT_VENDOR_PREFIX}BB-BONE-eMMC1-01-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-BONE-LCD4-01-00A1.dtbo \
${DT_VENDOR_PREFIX}BB-BONE-NH7C-01-A0.dtbo \
${DT_VENDOR_PREFIX}BB-CAPE-DISP-CT4-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-HDMI-TDA998x-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-I2C1-MCP7940X-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-I2C1-RTC-DS3231.dtbo \
${DT_VENDOR_PREFIX}BB-I2C1-RTC-PCF8563.dtbo \
${DT_VENDOR_PREFIX}BB-I2C2-BME680.dtbo \
${DT_VENDOR_PREFIX}BB-I2C2-MPU6050.dtbo \
${DT_VENDOR_PREFIX}BB-LCD-ADAFRUIT-24-SPI1-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-NHDMI-TDA998x-00A0.dtbo \
${DT_VENDOR_PREFIX}BBORG_COMMS-00A2.dtbo \
${DT_VENDOR_PREFIX}BBORG_FAN-A000.dtbo \
${DT_VENDOR_PREFIX}BBORG_RELAY-00A2.dtbo \
${DT_VENDOR_PREFIX}BB-SPIDEV0-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-SPIDEV1-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-UART1-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-UART2-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-UART4-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-W1-P9.12-00A0.dtbo \
${DT_VENDOR_PREFIX}BONE-ADC.dtbo \
${DT_VENDOR_PREFIX}M-BB-BBG-00A0.dtbo \
${DT_VENDOR_PREFIX}M-BB-BBGG-00A0.dtbo \
${DT_VENDOR_PREFIX}PB-MIKROBUS-0.dtbo \
${DT_VENDOR_PREFIX}PB-MIKROBUS-1.dtbo \
"
S = "${WORKDIR}/git"
# 6.12.22 version for 32-bit
SRCREV:armv7a = "d7f560ef48a867b94959f040b4c3c57053f4e32d"
PV:armv7a = "6.12.22+git"
BRANCH:armv7a = "v6.12.22-ti-arm32-r10"
# 6.12.22 version for 64-bit
SRCREV:aarch64 = "9e43fd19ece3affb9406e87ec3df733b91b77a4f"
PV:aarch64 = "6.12.22+git"
BRANCH:aarch64 = "v6.12.22-ti-arm64-r35"
KERNEL_GIT_URI = "git://github.com/beagleboard/linux.git"

View File

@@ -0,0 +1,71 @@
# Look in the generic major.minor directory for files
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.6:"
SECTION = "kernel"
SUMMARY = "BeagleBoard.org Linux kernel"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
COMPATIBLE_MACHINE = "beagle.*"
inherit kernel
require recipes-kernel/linux/setup-defconfig.inc
require recipes-kernel/linux/ti-kernel.inc
DEPENDS += "gmp-native libmpc-native"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} ${EXTRA_DTC_ARGS}"
# Extra DT overlays/capes
KERNEL_DEVICETREE:append:armv7a = " \
${DT_VENDOR_PREFIX}AM335X-PRU-UIO-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-ADC-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-BBBW-WL1835-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-BBGG-WL1835-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-BBGW-WL1835-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-BONE-4D5R-01-00A1.dtbo \
${DT_VENDOR_PREFIX}BB-BONE-eMMC1-01-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-BONE-LCD4-01-00A1.dtbo \
${DT_VENDOR_PREFIX}BB-BONE-NH7C-01-A0.dtbo \
${DT_VENDOR_PREFIX}BB-CAPE-DISP-CT4-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-HDMI-TDA998x-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-I2C1-MCP7940X-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-I2C1-RTC-DS3231.dtbo \
${DT_VENDOR_PREFIX}BB-I2C1-RTC-PCF8563.dtbo \
${DT_VENDOR_PREFIX}BB-I2C2-BME680.dtbo \
${DT_VENDOR_PREFIX}BB-I2C2-MPU6050.dtbo \
${DT_VENDOR_PREFIX}BB-LCD-ADAFRUIT-24-SPI1-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-NHDMI-TDA998x-00A0.dtbo \
${DT_VENDOR_PREFIX}BBORG_COMMS-00A2.dtbo \
${DT_VENDOR_PREFIX}BBORG_FAN-A000.dtbo \
${DT_VENDOR_PREFIX}BBORG_RELAY-00A2.dtbo \
${DT_VENDOR_PREFIX}BB-SPIDEV0-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-SPIDEV1-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-UART1-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-UART2-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-UART4-00A0.dtbo \
${DT_VENDOR_PREFIX}BB-W1-P9.12-00A0.dtbo \
${DT_VENDOR_PREFIX}BONE-ADC.dtbo \
${DT_VENDOR_PREFIX}M-BB-BBG-00A0.dtbo \
${DT_VENDOR_PREFIX}M-BB-BBGG-00A0.dtbo \
${DT_VENDOR_PREFIX}PB-MIKROBUS-0.dtbo \
${DT_VENDOR_PREFIX}PB-MIKROBUS-1.dtbo \
"
S = "${WORKDIR}/git"
# 6.6.58 version for 32-bit
SRCREV:armv7a = "0d043a88f69f48789e43526d7a807ab744708071"
PV:armv7a = "6.6.58+git"
BRANCH:armv7a = "v6.6.58-ti-arm32-r10"
# 6.6.58 version for 64-bit
SRCREV:aarch64 = "0987ef737c9812374607475972f0868b8fecbbf7"
PV:aarch64 = "6.6.58+git"
BRANCH:aarch64 = "v6.6.58-ti-arm64-r23"
KERNEL_GIT_URI = "git://github.com/beagleboard/linux.git"
SRC_URI += "file://no-fortify.cfg"
KERNEL_CONFIG_FRAGMENTS += "${WORKDIR}/no-fortify.cfg"

20
meta-ti-bsp/SECURITY Normal file
View File

@@ -0,0 +1,20 @@
How to Report a Potential Vulnerability?
========================================
If you would like to report a public issue (for example, one with a released
CVE number), please report it to the mailing list:
https://lists.yoctoproject.org/g/meta-ti
If you are dealing with a not-yet released or urgent issue, please send a
message to one of the maintainers listed in the README. Include as many
details as possible:
- the layer or software module affected
- the recipe and its version
- any example code, if available
Branches maintained with security fixes
---------------------------------------
See https://wiki.yoctoproject.org/wiki/Releases for the list of current
releases. We only accept patches for the LTS releases and the master branch.

View File

@@ -316,6 +316,7 @@ EOF
# $4 ... ramdisk ID
# $5 ... config ID
# $6 ... tee ID/name
# $7 ... default DTB ID
fitimage_emit_section_config() {
conf_csum=${FITIMAGE_HASH_ALGO}
@@ -370,6 +371,16 @@ fitimage_emit_section_config() {
final_conf_desc="${conf_desc}"
fi
default_dtb_count=${7}
if [ "x${FITIMAGE_CONF_BY_NAME}" = "x1" ] ; then
default_conf_name="${FIT_CONF_DEFAULT_DTB}"
else
default_conf_name="conf-${default_dtb_count}"
fi
cat << EOF >> ${1}
default = "${default_conf_name}";
EOF
dtbcount=1
for DTB in ${KERNEL_DEVICETREE}; do
DTB=$(basename "${DTB}")
@@ -386,12 +397,6 @@ fitimage_emit_section_config() {
fdt_line="fdt = \"fdt-${dtbcount}\";"
fi
if [ "x${dtbcount}" = "x1" ]; then
cat << EOF >> ${1}
default = "${conf_name}";
EOF
fi
# Generate a single configuration section
cat << EOF >> ${1}
${conf_name} {
@@ -524,6 +529,7 @@ fitimage_assemble() {
ramdiskcount=${3}
setupcount=""
teecount=1
default_dtb_count=1
rm -f ${1} arch/${ARCH}/boot/${2}
fitimage_emit_fit_header ${1}
@@ -544,6 +550,9 @@ fitimage_assemble() {
dtbcount=1
dtboaddress="${UBOOT_DTBO_LOADADDRESS}"
for DTB in ${KERNEL_DEVICETREE}; do
if [ "${DTB}" = "${FIT_CONF_DEFAULT_DTB}" ]; then
default_dtb_count=${dtbcount}
fi
if echo ${DTB} | grep -q '/dts/'; then
bbwarn "${DTB} contains the full path to the the dts file, but only the dtb name should be used."
DTB=`basename ${DTB} | sed 's,\.dts$,.dtb,g'`
@@ -660,7 +669,7 @@ fitimage_assemble() {
else
teeref="${teecount}"
fi
fitimage_emit_section_config ${1} "${kernelcount}" "${dtbref}" "${ramdiskcount}" "${setupcount}" "${teeref}"
fitimage_emit_section_config ${1} "${kernelcount}" "${dtbref}" "${ramdiskcount}" "${setupcount}" "${teeref}" "${default_dtb_count}"
fitimage_emit_section_maint ${1} sectend

View File

@@ -22,7 +22,7 @@ SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS3"
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 1988 LEBs
MKUBIFS_ARGS ?= "-F -m 2048 -e 126976 -c 13000"
MKUBIFS_ARGS ?= "-F -m 2048 -e 126976 -c 16000"
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# from dmesg:

View File

@@ -9,3 +9,5 @@ SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs-fs"
UBOOT_MACHINE = "am62ax_evm_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS:ti-falcon = "am62x_r5_falcon.config"

View File

@@ -20,4 +20,6 @@ KERNEL_DEVICETREE = " \
ti/k3-am62x-sk-hdmi-audio.dtbo \
"
FIT_CONF_DEFAULT_DTB = "ti/k3-am62a7-sk.dtb"
UBOOT_MACHINE = "am62ax_evm_a53_defconfig"

View File

@@ -0,0 +1,11 @@
#@TYPE: Machine
#@NAME: AM62D HS-FS EVM (R5F)
#@DESCRIPTION: Machine configuration for the TI AM62D EVM (R5F core)
require conf/machine/include/k3r5.inc
SYSFW_SOC = "am62dx"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs-fs"
UBOOT_MACHINE = "am62dx_evm_r5_defconfig"

View File

@@ -0,0 +1,18 @@
#@TYPE: Machine
#@NAME: AM62DXX EVM
#@DESCRIPTION: Machine configuration for the TI AM62DXX EVM
require conf/machine/include/am62dxx.inc
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am62d2 \
ti/k3-am62a7-sk-edgeai \
"
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

@@ -0,0 +1,20 @@
#@TYPE: Machine
#@NAME: AM62L EVM
#@DESCRIPTION: Machine configuration for the TI AM62L EVM
require conf/machine/include/am62lxx.inc
require conf/machine/include/ti-extras.inc
IMAGE_FSTYPES += "ubifs ubi"
MKUBIFS_ARGS ?= "-F -m 4096 -e 258048 -c 8500"
UBINIZE_ARGS ?= "-m 4096 -p 256KiB -s 1024 -O 1024"
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am62l \
"
KERNEL_DEVICETREE = ""
UBOOT_MACHINE = "am62lx_evm_defconfig"

View File

@@ -10,3 +10,5 @@ SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs-fs"
UBOOT_MACHINE = "am62px_evm_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS:ti-falcon = "am62x_r5_falcon.config"

View File

@@ -10,6 +10,7 @@ KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am62x-sk-csi2 \
ti/k3-am62x-sk-hdmi \
ti/k3-am62x-sk-lpm \
ti/k3-v3link \
"
KERNEL_DEVICETREE = " \
@@ -20,6 +21,8 @@ KERNEL_DEVICETREE = " \
ti/k3-am62x-sk-hdmi-audio.dtbo \
"
FIT_CONF_DEFAULT_DTB = "ti/k3-am62p5-sk.dtb"
UBOOT_MACHINE = "am62px_evm_a53_defconfig"
# UBOOT_CONFIG_FRAGMENTS holds the list of u-boot config fragments which has to be build

View File

@@ -10,3 +10,5 @@ SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs-fs"
UBOOT_MACHINE = "am62x_evm_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS:ti-falcon = "am62x_r5_falcon.config"

View File

@@ -31,4 +31,6 @@ KERNEL_DEVICETREE = " \
ti/k3-am62x-sk-hdmi-audio.dtbo \
"
FIT_CONF_DEFAULT_DTB = "ti/k3-am625-sk.dtb"
UBOOT_MACHINE = "am62x_evm_a53_defconfig"

View File

@@ -10,3 +10,5 @@ SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs-fs"
UBOOT_MACHINE = "am62x_lpsk_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS:ti-falcon = "am62x_r5_falcon.config"

View File

@@ -8,9 +8,12 @@ require conf/machine/include/ti-extras.inc
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am62-lp \
ti/k3-am625-sk \
ti/k3-am62x-sk-dmtimer-pwm \
ti/k3-am62x-sk-eqep \
ti/k3-am62x-sk-hdmi \
ti/k3-am62x-sk-lpm \
ti/k3-am62x-sk-mcan \
ti/k3-am62x-sk-pwm \
"
KERNEL_DEVICETREE = " \
@@ -20,4 +23,6 @@ KERNEL_DEVICETREE = " \
ti/k3-am62x-sk-hdmi-audio.dtbo \
"
FIT_CONF_DEFAULT_DTB = "ti/k3-am62-lp-sk.dtb"
UBOOT_MACHINE = "am62x_lpsk_a53_defconfig"

View File

@@ -13,6 +13,8 @@ KERNEL_DEVICETREE = " \
ti/k3-am625-sk.dtb \
"
FIT_CONF_DEFAULT_DTB = "ti/k3-am625-sk.dtb"
UBOOT_MACHINE = "am62xsip_evm_a53_defconfig"
UBOOT_MACHINE:bsp-ti-6_1 = "am62x_evm_a53_defconfig"

View File

@@ -1,17 +0,0 @@
#@TYPE: Machine
#@NAME: BeaglePlay (R5F)
#@DESCRIPTION: Machine configuration for the BeaglePlay (R5F core)
require conf/machine/include/k3r5.inc
SYSFW_SOC = "am62x"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "gp"
UBOOT_MACHINE = "am62x_evm_r5_defconfig"
UBOOT_MACHINE:bsp-ti-6_6 = "am62x_beagleplay_r5_defconfig"
UBOOT_MACHINE:bsp-ti-6_12 = "am62x_beagleplay_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS:bsp-bb_org = "am625_beagleplay_r5.config"
UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "am625_beagleplay_r5.config"
UBOOT_CONFIG_FRAGMENTS:bsp-mainline = "beagleplay_r5.config"

View File

@@ -0,0 +1,14 @@
#@TYPE: Machine
#@NAME: BeaglePlay (R5F)
#@DESCRIPTION: Machine configuration for the BeaglePlay (R5F core)
require conf/machine/include/k3r5.inc
SYSFW_SOC = "am62x"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "gp"
UBOOT_MACHINE = "am62x_beagleplay_r5_defconfig"
UBOOT_MACHINE:bsp-ti-6_1 = "am62x_evm_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "am625_beagleplay_r5.config"

View File

@@ -0,0 +1,46 @@
#@TYPE: Machine
#@NAME: BeaglePlay (A53)
#@DESCRIPTION: Machine configuration for the BeaglePlay board (A53 core)
require conf/machine/include/k3.inc
require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":am62xx"
MACHINE_FEATURES += "screen gpu"
SERIAL_CONSOLES = "115200;ttyS2"
require conf/machine/include/mesa-pvr.inc
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
TFA_BOARD = "lite"
TFA_K3_SYSTEM_SUSPEND = "1"
OPTEEMACHINE = "k3-am62x"
UBOOT_MACHINE = "am62x_beagleplay_a53_defconfig"
UBOOT_MACHINE:bsp-ti-6_1 = "am62x_evm_a53_defconfig"
UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "am625_beagleplay_a53.config"
SPL_BINARY = "tispl.bin_unsigned"
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am625-beagle \
ti/k3-am625-sk \
ti/k3-am62x-sk \
"
KERNEL_DEVICETREE = " \
ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
ti/k3-am625-beagleplay.dtb \
ti/k3-am625-sk.dtb \
ti/k3-am62x-sk-csi2-imx219.dtbo \
ti/k3-am62x-sk-csi2-ov5640.dtbo \
ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \
ti/k3-am62x-sk-hdmi-audio.dtbo \
"
MACHINE_GUI_CLASS = "bigscreen"

View File

@@ -1,96 +0,0 @@
#@TYPE: Machine
#@NAME: BeaglePlay (A53)
#@DESCRIPTION: Machine configuration for the BeaglePlay board (A53 core)
require conf/machine/include/k3.inc
require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":am62xx"
MACHINE_FEATURES += "screen gpu"
SERIAL_CONSOLES = "115200;ttyS2"
require conf/machine/include/mesa-pvr.inc
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
TFA_BOARD = "lite"
TFA_K3_SYSTEM_SUSPEND = "1"
OPTEEMACHINE = "k3-am62x"
UBOOT_MACHINE = "am62x_evm_a53_defconfig"
UBOOT_MACHINE:bsp-ti-6_6 = "am62x_beagleplay_a53_defconfig"
UBOOT_MACHINE:bsp-ti-6_12 = "am62x_beagleplay_a53_defconfig"
UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "am625_beagleplay_a53.config"
UBOOT_CONFIG_FRAGMENTS:bsp-bb_org = "am625_beagleplay_a53.config"
UBOOT_CONFIG_FRAGMENTS:bsp-mainline = "beagleplay_a53.config"
SPL_BINARY:bsp-ti-6_6 = "tispl.bin_unsigned"
SPL_BINARYNAME:bsp-ti-6_6 = "tispl.bin"
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am625 \
ti/k3-am62x-sk \
"
KERNEL_DEVICETREE = " \
ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
ti/k3-am625-beagleplay.dtb \
ti/k3-am625-phyboard-lyra-1-4-ghz-opp.dtbo \
ti/k3-am625-phyboard-lyra-rdk.dtb \
ti/k3-am625-sk.dtb \
ti/k3-am625-verdin-nonwifi-dahlia.dtb \
ti/k3-am625-verdin-nonwifi-dev.dtb \
ti/k3-am625-verdin-nonwifi-mallow.dtb \
ti/k3-am625-verdin-nonwifi-yavia.dtb \
ti/k3-am625-verdin-wifi-dahlia.dtb \
ti/k3-am625-verdin-wifi-dev.dtb \
ti/k3-am625-verdin-wifi-mallow.dtb \
ti/k3-am625-verdin-wifi-yavia.dtb \
ti/k3-am62x-sk-csi2-imx219.dtbo \
ti/k3-am62x-sk-csi2-ov5640.dtbo \
ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \
ti/k3-am62x-sk-hdmi-audio.dtbo \
"
KERNEL_DEVICETREE:append:bsp-bb_org = " \
ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
ti/k3-am625-beagleplay-lincolntech-lcd185-panel.dtbo \
ti/k3-am625-beaglemod.dtb \
ti/k3-am625-beaglemod-audio.dtbo \
ti/k3-am625-beaglemod-can0.dtbo \
ti/k3-am625-beaglemod-can1.dtbo \
ti/k3-am625-beaglemod-csi0-ov5640.dtbo \
ti/k3-am625-beaglemod-eeprom.dtbo \
ti/k3-am625-beaglemod-eth.dtbo \
ti/k3-am625-beaglemod-hdmi.dtbo \
ti/k3-am625-beaglemod-io-expand.dtbo \
ti/k3-am625-beaglemod-lt-lcd185.dtbo \
ti/k3-am625-beaglemod-ospi-flash.dtbo \
ti/k3-am625-beaglemod-rs485-1.dtbo \
ti/k3-am625-beaglemod-rs485-2.dtbo \
ti/k3-am625-beaglemod-rtc.dtbo \
ti/k3-am625-beaglemod-wl1835.dtbo \
ti/k3-am625-sk-dmtimer-pwm.dtbo \
ti/k3-am625-sk-ecap-capture.dtbo \
ti/k3-am625-sk-lincolntech-lcd185-panel.dtbo \
ti/k3-am625-sk-mcspi-loopback.dtbo \
ti/k3-am625-sk-microtips-mf101hie-panel.dtbo \
ti/k3-am625-sk-microtips-mf103hie-lcd2.dtbo \
ti/k3-am625-sk-pwm.dtbo \
ti/k3-am625-sk-rpi-hdr-ehrpwm.dtbo \
ti/k3-am62x-sk-csi2-imx219.dtbo \
ti/k3-am62x-sk-csi2-ov5640.dtbo \
ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \
ti/k3-am62x-sk-csi2-v3link-fusion.dtbo \
ti/k3-am62x-sk-eqep.dtbo \
ti/k3-am62x-sk-hdmi-disable-fastboot.dtbo \
ti/k3-am62x-sk-lpm-wkup-sources.dtbo \
ti/k3-am62x-sk-mcan.dtbo \
"
MACHINE_GUI_CLASS = "bigscreen"

View File

@@ -10,9 +10,6 @@ TFA_K3_SYSTEM_SUSPEND = "1"
# Default tiboot3.bin on AM62A is for HS-FS
IMAGE_BOOT_FILES += "tiboot3-am62ax-hs-fs-evm.bin"
# Since default tiboot3.bin on AM62A is for HS-FS, add a version for GP
IMAGE_BOOT_FILES += "tiboot3-am62ax-gp-evm.bin"
# Since default tiboot3.bin on AM62A is for HS-FS, add a version for HS-SE
IMAGE_BOOT_FILES += "tiboot3-am62ax-hs-evm.bin"

View File

@@ -0,0 +1,15 @@
require conf/machine/include/k3.inc
require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":am62dxx"
TFA_K3_SYSTEM_SUSPEND = "1"
# Default tiboot3.bin on AM62D is for HS-FS
IMAGE_BOOT_FILES += "tiboot3-am62dx-hs-fs-evm.bin"
# Since default tiboot3.bin on AM62D is for HS-FS, add a version for HS-SE
IMAGE_BOOT_FILES += "tiboot3-am62dx-hs-evm.bin"
TFA_BOARD = "lite"
OPTEEMACHINE = "k3-am62x"

View File

@@ -0,0 +1,9 @@
require conf/machine/include/k3.inc
SOC_FAMILY:append = ":am62lxx"
MACHINE_FEATURES += "screen"
TFA_BOARD = "am62l"
TFA_K3_SYSTEM_SUSPEND = "1"
OPTEEMACHINE = "k3-am62lx"

View File

@@ -11,6 +11,9 @@ PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
# Default tiboot3.bin on AM62Px is for HS-FS
IMAGE_BOOT_FILES += "tiboot3-am62px-hs-fs-evm.bin"
# Since default tiboot3.bin on AM62Px is for HS-FS, add a version for HS-SE
IMAGE_BOOT_FILES += "tiboot3-am62px-hs-evm.bin"
TFA_BOARD = "lite"
TFA_K3_SYSTEM_SUSPEND = "1"

View File

@@ -34,3 +34,5 @@ TFA_BOARD = "lite"
OPTEEMACHINE = "k3-am64x"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw pruhsr-fw prusw-fw"
TI_WKS_BOOTLOADER_APPEND="console=ttyS2,115200n8"

View File

@@ -17,6 +17,8 @@ KERNEL_DEVICETREE = " \
ti/k3-am654-idk.dtbo \
ti/k3-am654-pcie-usb2.dtbo \
ti/k3-am654-pcie-usb3.dtbo \
ti/k3-am6548-iot2050-advanced-m2-bkey-ekey-pcie.dtbo \
ti/k3-am6548-iot2050-advanced-m2-bkey-usb3.dtbo \
ti/k3-am6548-iot2050-advanced-m2.dtb \
ti/k3-am6548-iot2050-advanced-pg2.dtb \
ti/k3-am6548-iot2050-advanced-sm.dtb \

View File

@@ -18,4 +18,4 @@ TFA_BOARD = "j784s4"
OPTEEMACHINE = "k3-j784s4"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw ti-eth-fw"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw ti-eth-fw-j784s4"

View File

@@ -26,4 +26,4 @@ TFA_BOARD = "generic"
OPTEEMACHINE = "k3-j721e"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "ti-eth-fw"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "ti-eth-fw-j7200"

View File

@@ -36,4 +36,8 @@ TFA_BOARD = "generic"
OPTEEMACHINE = "k3-j721e"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw vxd-dec-fw ti-eth-fw"
TI_VXE_VXD_DRIVER = "ti-vxe-vxd-driver"
TI_VXE_VXD_DRIVER:bsp-ti-6_6 = ""
TI_VXE_VXD_DRIVER:bsp-ti-6_1 = ""
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw vxd-dec-fw ti-eth-fw-j721e ${TI_VXE_VXD_DRIVER}"

View File

@@ -21,4 +21,4 @@ TFA_BOARD = "j784s4"
OPTEEMACHINE = "k3-j784s4"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw ti-eth-fw"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw ti-eth-fw-j784s4"

View File

@@ -3,7 +3,8 @@
require conf/machine/include/ti-soc.inc
SOC_FAMILY:append = ":k3"
require conf/machine/include/arm/arch-arm64.inc
DEFAULTTUNE ?= "aarch64"
require conf/machine/include/arm/armv8a/tune-cortexa72-cortexa53.inc
require conf/machine/include/ti-bsp.inc
@@ -24,10 +25,6 @@ SPL_BINARY = "tispl.bin"
SPL_BINARYNAME = "tispl.bin"
UBOOT_SUFFIX = "img"
UBOOT_SIGN_ENABLE = "1"
UBOOT_MKIMAGE_DTCOPTS = "-I dts -O dtb"
UBOOT_SIGN_KEYNAME ?= "custMpk"
UBOOT_SIGN_KEYDIR ?= "${TI_SECURE_DEV_PKG}/keys"
FIT_HASH_ALG ?= "sha512"
FIT_SIGN_ALG ?= "rsa4096"
@@ -42,7 +39,7 @@ TFA_PLATFORM = "k3"
UBI_VOLNAME = "rootfs"
# List common SoC features, may need to add touchscreen for specific machines
MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 alsa pci"
MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 alsa pci optee-ftpm"
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
@@ -54,6 +51,13 @@ MACHINE_FEATURES += "efi"
WKS_FILE ?= "${@bb.utils.contains("MACHINE_FEATURES", "efi", "sdimage-2part-efi.wks.in", "sdimage-2part.wks", d)}"
TI_WKS_BOOTLOADER_APPEND ?= ""
do_image_wic[depends] += "virtual/bootloader:do_deploy"
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS2"
FALCON_INCLUDE = ""
FALCON_INCLUDE:ti-falcon = "conf/machine/include/ti-falcon.inc"
require ${FALCON_INCLUDE}

View File

@@ -48,5 +48,6 @@ MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu mmip dsp gc3
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
WKS_FILE ?= "sdimage-2part.wks"
IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}"
IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES} ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4"
do_image_wic[depends] += "virtual/bootloader:do_deploy"
do_image_wic[depends] += "ti-ipc-rtos:do_deploy"

View File

@@ -3,8 +3,8 @@
# preferences for kernel, bootloader and graphics components, as
# well as a dedicated machine override.
# Supported options are: mainline, next, ti-6_6, ti-6_1, bb_org
TI_PREFERRED_BSP ??= "ti-6_6"
# Supported options are: mainline, next, ti-6_12, ti-6_6, ti-6_1
TI_PREFERRED_BSP ??= "ti-6_12"
# Use bsp-* namespace for overrides
MACHINEOVERRIDES =. "bsp-${TI_PREFERRED_BSP}:"
@@ -22,6 +22,9 @@ BSP_BOOTLOADER_VERSION:bsp-mainline = "%"
# in mainline, usually present in TI staging or derivative like BB.org
MACHINE_FEATURES:remove:bsp-mainline = "gpu"
# GC320 support requires out-of-tree drivers not available in mainline
MACHINE_FEATURES:remove:bsp-mainline = "gc320"
# ==========
# next
# upcoming upstream/mainline kernel, u-boot
@@ -35,18 +38,25 @@ BSP_BOOTLOADER_VERSION:bsp-next = "%"
# in next, usually present in TI staging or derivative like BB.org
MACHINE_FEATURES:remove:bsp-next = "gpu"
# GC320 support requires out-of-tree drivers not available in next
MACHINE_FEATURES:remove:bsp-next = "gc320"
# ==========
# ti-6_12
# TI staging kernel 6.12, u-boot 2024.10
# TI staging kernel 6.12, u-boot 2025.01
# ==========
BSP_KERNEL_PROVIDER:bsp-ti-6_12 = "linux-ti-staging"
BSP_KERNEL_VERSION:bsp-ti-6_12 = "6.12%"
BSP_BOOTLOADER_PROVIDER:bsp-ti-6_12 = "u-boot-ti-staging"
BSP_BOOTLOADER_VERSION:bsp-ti-6_12 = "2024.10%"
BSP_BOOTLOADER_VERSION:bsp-ti-6_12 = "2025.01%"
# GPU support requires out-of-tree SGX and Rogue drivers not available
# in 6.12 yet
MACHINE_FEATURES:remove:bsp-ti-6_12 = "gpu"
BSP_SGX_DRIVER_PROVIDER:bsp-ti-6_12 = "ti-sgx-ddk-km"
BSP_SGX_DRIVER_VERSION:bsp-ti-6_12 = "1.17%"
BSP_SGX_UMLIBS_VERSION:bsp-ti-6_12 = "1.17%"
BSP_ROGUE_DRIVER_PROVIDER:bsp-ti-6_12 = "ti-img-rogue-driver"
BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_12 = "24%"
BSP_ROGUE_UMLIBS_VERSION:bsp-ti-6_12 = "24%"
BSP_MESA_PVR_VERSION:bsp-ti-6_12 = "24%"
# ==========
# ti-6_6
@@ -63,7 +73,10 @@ BSP_SGX_UMLIBS_VERSION:bsp-ti-6_6 = "1.17%"
BSP_ROGUE_DRIVER_PROVIDER:bsp-ti-6_6 = "ti-img-rogue-driver"
BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_6 = "24%"
BSP_ROGUE_UMLIBS_VERSION:bsp-ti-6_6 = "24%"
BSP_MESA_PVR_VERSION:bsp-ti-6_6 = "23%"
BSP_MESA_PVR_VERSION:bsp-ti-6_6 = "24%"
# GC320 support requires out-of-tree drivers not yet available in 6.6
MACHINE_FEATURES:remove:bsp-ti-6_6 = "gc320"
# ==========
# ti-6_1
@@ -82,24 +95,8 @@ BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_1 = "23%"
BSP_ROGUE_UMLIBS_VERSION:bsp-ti-6_1 = "23%"
BSP_MESA_PVR_VERSION:bsp-ti-6_1 = "22%"
# ==========
# bb_org
# BeagleBoard.org kernel 6.1, u-boot 2023.04
# based on TI staging trees with extra Beagle-specific features
# but may not be up-to-date with TI version
# ==========
BSP_KERNEL_PROVIDER:bsp-bb_org = "linux-bb.org"
BSP_KERNEL_VERSION:bsp-bb_org = "%"
BSP_BOOTLOADER_PROVIDER:bsp-bb_org = "u-boot-bb.org"
BSP_BOOTLOADER_VERSION:bsp-bb_org = "%"
BSP_SGX_DRIVER_PROVIDER:bsp-bb_org = "ti-sgx-ddk-km"
BSP_SGX_DRIVER_VERSION:bsp-bb_org = "1.17%"
BSP_SGX_UMLIBS_VERSION:bsp-bb_org = "1.17%"
BSP_ROGUE_DRIVER_PROVIDER:bsp-bb_org = "ti-img-rogue-driver"
BSP_ROGUE_DRIVER_VERSION:bsp-bb_org = "23%"
BSP_ROGUE_UMLIBS_VERSION:bsp-bb_org = "23%"
BSP_MESA_PVR_VERSION:bsp-bb_org = "22%"
# GC320 support requires out-of-tree drivers not yet available in 6.1
MACHINE_FEATURES:remove:bsp-ti-6_1 = "gc320"
# ==========
# sane fallback defaults
@@ -125,7 +122,6 @@ BSP_MESA_PVR_VERSION ?= ""
PREFERRED_PROVIDER_virtual/kernel ?= "${BSP_KERNEL_PROVIDER}"
PREFERRED_VERSION_${BSP_KERNEL_PROVIDER} ?= "${BSP_KERNEL_VERSION}"
PREFERRED_VERSION_${BSP_KERNEL_PROVIDER}-rt ?= "${BSP_KERNEL_VERSION}"
PREFERRED_VERSION_${BSP_KERNEL_PROVIDER}-systest ?= "${BSP_KERNEL_VERSION}"
PREFERRED_PROVIDER_virtual/bootloader ?= "${BSP_BOOTLOADER_PROVIDER}"
PREFERRED_PROVIDER_u-boot ?= "${BSP_BOOTLOADER_PROVIDER}"
PREFERRED_VERSION_${BSP_BOOTLOADER_PROVIDER} ?= "${BSP_BOOTLOADER_VERSION}"

View File

@@ -0,0 +1,6 @@
IMAGE_INSTALL:append = " u-boot-ti-staging-falcon"
KERNEL_CLASSES:remove = "kernel-fitimage"
KERNEL_CLASSES += "kernel-fitimage-legacyhs"
UBOOT_DTB_LOADADDRESS = "0x88000000"
UBOOT_LOADADDRESS = "0x82000000"
FIT_KERNEL_COMP_ALG = "none"

View File

@@ -7,9 +7,12 @@ require conf/machine/include/j722s.inc
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-j722s \
ti/k3-fpdlink \
ti/k3-am625-sk-mcspi-loopback \
ti/k3-v3link \
"
KERNEL_DEVICETREE = ""
KERNEL_DEVICETREE = " \
ti/k3-j722s-evm.dtb \
"
UBOOT_MACHINE = "j722s_evm_a53_defconfig"

View File

@@ -13,6 +13,7 @@ KERNEL_DEVICETREE_PREFIX = " \
ti/k3-j7200-evm-mcspi-loopback \
ti/k3-j721s2-evm-csi2-ov5640 \
ti/k3-j721s2-evm-fusion \
ti/k3-j721s2-evm-ub954 \
ti/k3-am69-sk \
ti/k3-v3link \
"

View File

@@ -1,4 +1,4 @@
DESCRIPTION = "Cortex-M3 binary blob for suspend-resume"
SUMMARY = "Cortex-M3 binary blob for suspend-resume"
LICENSE = "TI-TSPA"
LIC_FILES_CHKSUM = "file://License.txt;md5=7bdc54a749ab7a7dea999d25d99a41b8"
@@ -14,7 +14,7 @@ SRC_URI = "git://git.ti.com/git/processor-firmware/ti-amx3-cm3-pm-firmware.git;p
S = "${WORKDIR}/git"
do_compile() {
make CROSS_COMPILE="${TARGET_PREFIX}" CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${SECURITY_NOPIE_CFLAGS} ${DEBUG_PREFIX_MAP}"
make CROSS_COMPILE="${TARGET_PREFIX}" CC="${TARGET_PREFIX}gcc -std=gnu11 ${TOOLCHAIN_OPTIONS} ${SECURITY_NOPIE_CFLAGS} ${DEBUG_PREFIX_MAP}"
}
do_install() {

View File

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

View File

@@ -1,4 +1,4 @@
DESCRIPTION = "Kernel drivers for the Vivante GC320 chipset found in TI SoCs"
SUMMARY = "Kernel drivers for the Vivante GC320 chipset found in TI SoCs"
HOMEPAGE = "https://git.ti.com/graphics/ti-gc320-driver"
LICENSE = "MIT | GPL-2.0-only"
LIC_FILES_CHKSUM = "file://../LICENSE;md5=78d9818a51b9a8e9bb89dea418bac297"
@@ -8,9 +8,9 @@ inherit module features_check
REQUIRED_MACHINE_FEATURES = "gc320"
# Need to branch out with ${PV} var
BRANCH = "ti-${PV}-k5.10"
BRANCH = "ti-${PV}-k6.12"
SRCREV = "e2a10f31e255a65ec30a6e10b890e77d7e9cb107"
SRCREV = "83afddf9dbf6a8458267b4dae21ee35bfb11f3d1"
SRC_URI = "git://git.ti.com/git/graphics/ti-gc320-driver.git;protocol=https;branch=${BRANCH}"

View File

@@ -1,4 +1,4 @@
DESCRIPTION = "Goodix GT9271 config firmware"
SUMMARY = "Goodix GT9271 config firmware"
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc

View File

@@ -1,4 +1,4 @@
DESCRIPTION = "Kernel drivers for the PowerVR Rogue GPU found in the TI SoCs"
SUMMARY = "Kernel drivers for the PowerVR Rogue GPU found in the TI SoCs"
HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-driver"
LICENSE = "MIT | GPL-2.0-only"
LIC_FILES_CHKSUM = "file://README;beginline=14;endline=19;md5=0403c7dea01a2b8232261e805325fac2"

View File

@@ -1,4 +1,4 @@
DESCRIPTION = "Kernel drivers for the PowerVR Rogue GPU found in the TI SoCs"
SUMMARY = "Kernel drivers for the PowerVR Rogue GPU found in the TI SoCs"
HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-driver"
LICENSE = "MIT | GPL-2.0-only"
LIC_FILES_CHKSUM = "file://README;beginline=14;endline=19;md5=0403c7dea01a2b8232261e805325fac2"
@@ -13,13 +13,13 @@ COMPATIBLE_MACHINE = "j721e|j721s2|j784s4|j742s2|am62xx|am62pxx|j722s"
DEPENDS = "virtual/kernel"
BRANCH = "linuxws/scarthgap/k6.6/${PV}"
BRANCH = "linuxws/scarthgap/k6.12/${PV}"
SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-driver.git;protocol=https;branch=${BRANCH}"
S = "${WORKDIR}/git"
SRCREV = "707bb373902babf9ced5fd2f99139209ca0f605a"
SRCREV = "8eaff654a8871118c08cfafe53795f57e3b6b396"
TARGET_PRODUCT:j721e = "j721e_linux"
TARGET_PRODUCT:j721s2 = "j721s2_linux"

View File

@@ -1,4 +1,4 @@
DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the TI SoCs"
SUMMARY = "Kernel drivers for the PowerVR SGX chipset found in the TI SoCs"
HOMEPAGE = "https://git.ti.com/graphics/omap5-sgx-ddk-linux"
LICENSE = "MIT | GPL-2.0-only"
LIC_FILES_CHKSUM = "file://GPL-COPYING;md5=60422928ba677faaa13d6ab5f5baaa1e"
@@ -19,7 +19,7 @@ SRC_URI = "git://git.ti.com/git/graphics/omap5-sgx-ddk-linux.git;protocol=https;
S = "${WORKDIR}/git"
SRCREV = "3005cf8145a6720daa47e4e273f9e421ff77cb58"
SRCREV = "9ae0fa4998b1c624408945e062bf8fb0ea7efb9d"
TARGET_PRODUCT:omap-a15 = "ti572x_linux"
TARGET_PRODUCT:ti33x = "ti335x_linux"

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

@@ -7,8 +7,6 @@ COMPATIBLE_MACHINE = "k3"
PACKAGE_ARCH = "${MACHINE_ARCH}"
INHIBIT_DEFAULT_DEPS = "1"
inherit deploy
inherit update-alternatives
@@ -31,6 +29,8 @@ PLAT_SFX:am65xx = "am65xx"
PLAT_SFX:am64xx = "am64xx"
PLAT_SFX:am62xx = "am62xx"
PLAT_SFX:am62axx = "am62axx"
PLAT_SFX:am62dxx = "am62axx"
PLAT_SFX:am62lxx = "am62lxx"
PLAT_SFX:am62pxx = "am62pxx"
DM_FW_DIR = "ti-dm/${PLAT_SFX}"
@@ -38,6 +38,8 @@ DM_FW_DIR = "ti-dm/${PLAT_SFX}"
INSTALL_DM_FW_DIR = "${nonarch_base_libdir}/firmware/${DM_FW_DIR}"
DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f"
DM_FIRMWARE:am62axx = "dm_edgeai_mcu1_0_release_strip.out"
DM_FIRMWARE:am62pxx = "${@oe.utils.conditional('DISPLAY_CLUSTER_ENABLE', '1', 'dss_display_share.wkup-r5f0_0.release.strip.out', 'ipc_echo_testb_mcu1_0_release_strip.xer5f', d)}"
DM_FW_LIST = ""
DM_FW_LIST:j721e = "${DM_FIRMWARE}"
@@ -50,6 +52,8 @@ DM_FW_LIST:am65xx = ""
DM_FW_LIST:am64xx = ""
DM_FW_LIST:am62xx = "${DM_FIRMWARE}"
DM_FW_LIST:am62axx = "${DM_FIRMWARE}"
DM_FW_LIST:am62dxx = "${DM_FIRMWARE}"
DM_FW_LIST:am62lxx = ""
DM_FW_LIST:am62pxx = "${DM_FIRMWARE}"
do_install() {
@@ -83,6 +87,7 @@ do_deploy() {
ALTERNATIVE:${PN}:am62xx = "am62-main-r5f0_0-fw"
ALTERNATIVE:${PN}:am62pxx = "am62p-main-r5f0_0-fw"
ALTERNATIVE:${PN}:am62axx = "am62a-main-r5f0_0-fw"
ALTERNATIVE:${PN}:am62dxx = "am62a-main-r5f0_0-fw"
ALTERNATIVE:${PN}:j721e = "j7-mcu-r5f0_0-fw"
ALTERNATIVE:${PN}:j7200 = "j7200-mcu-r5f0_0-fw"
ALTERNATIVE:${PN}:j721s2 = "j721s2-mcu-r5f0_0-fw"

View File

@@ -3,11 +3,7 @@ SUMMARY = "TI Ethernet prebuilt binary firmware images"
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://${THISDIR}/../../licenses/TI-TFL;md5=a1b59cb7ba626b9dbbcbf00f3fbc438a"
COMPATIBLE_MACHINE = "k3"
PACKAGE_ARCH = "${MACHINE_ARCH}"
INHIBIT_DEFAULT_DEPS = "1"
COMPATIBLE_MACHINE = "j721e|j7200|j784s4"
inherit update-alternatives
@@ -19,66 +15,60 @@ PR = "${INC_PR}.0"
# Secure Build
inherit ti-secdev
PLAT_SFX = ""
PLAT_SFX:j721e = "j721e"
PLAT_SFX:j7200 = "j7200"
PLAT_SFX:j721s2 = "j721s2"
PLAT_SFX:j784s4 = "j784s4"
PLAT_SFX:j722s = "j722s"
PLAT_SFX:j742s2 = "j742s2"
PLAT_SFX:am65xx = "am65xx"
PLAT_SFX:am64xx = "am64xx"
PLAT_SFX:am62xx = "am62xx"
PLAT_SFX:am62pxx = "am62pxx"
PLAT_SFX:am62axx = "am62axx"
PACKAGES += " \
${PN}-j721e \
${PN}-j7200 \
${PN}-j784s4 \
"
# Disable arch checking as firmware is likely to be a different arch from the Yocto build
INSANE_SKIP:${PN}-j721e += "arch"
INSANE_SKIP:${PN}-j7200 += "arch"
INSANE_SKIP:${PN}-j784s4 += "arch"
ETH_FW_DIR = "ti-eth/${PLAT_SFX}"
RDEPENDS:${PN} += " \
${PN}-j721e \
${PN}-j7200 \
${PN}-j784s4 \
"
INSTALL_ETH_FW_DIR = "${nonarch_base_libdir}/firmware/${ETH_FW_DIR}"
PLATS = "\
j721e \
j7200 \
j784s4 \
"
ETH_FW = "app_remoteswitchcfg_server_strip.xer5f"
ETH_FW_LIST = ""
ETH_FW_LIST:j721e = "${ETH_FW}"
ETH_FW_LIST:j7200 = "${ETH_FW}"
ETH_FW_LIST:j721s2 = ""
ETH_FW_LIST:j784s4 = "${ETH_FW}"
ETH_FW_LIST:j722s = ""
ETH_FW_LIST:j742s2 = ""
ETH_FW_LIST:am65xx = ""
ETH_FW_LIST:am64xx = ""
ETH_FW_LIST:am62xx = ""
ETH_FW_LIST:am62pxx = ""
ETH_FW_LIST:am62axx = ""
do_install() {
# ETH firmware
for FW_NAME in ${ETH_FW_LIST}
for PLAT in ${PLATS}
do
${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ${S}/${ETH_FW_DIR}/${FW_NAME} ${S}/${ETH_FW_DIR}/${FW_NAME}.signed
done
# Sign ETH firmware
${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ${S}/ti-eth/${PLAT}/${ETH_FW} ${S}/ti-eth/${PLAT}/${ETH_FW}.signed
# ETH firmware
install -d ${D}${INSTALL_ETH_FW_DIR}
for FW_NAME in ${ETH_FW_LIST}
do
install -m 0644 ${S}/${ETH_FW_DIR}/${FW_NAME} ${D}${INSTALL_ETH_FW_DIR}
install -m 0644 ${S}/${ETH_FW_DIR}/${FW_NAME}.signed ${D}${INSTALL_ETH_FW_DIR}
# Install ETH firmware
install -d ${D}${nonarch_base_libdir}/firmware/ti-eth/${PLAT}
install -m 0644 ${S}/ti-eth/${PLAT}/${ETH_FW} ${D}${nonarch_base_libdir}/firmware/ti-eth/${PLAT}
install -m 0644 ${S}/ti-eth/${PLAT}/${ETH_FW}.signed ${D}${nonarch_base_libdir}/firmware/ti-eth/${PLAT}
done
}
FILES:${PN} = ""
FILES:${PN}-j721e = "${nonarch_base_libdir}/firmware/ti-eth/j721e"
FILES:${PN}-j7200 = "${nonarch_base_libdir}/firmware/ti-eth/j7200"
FILES:${PN}-j784s4 = "${nonarch_base_libdir}/firmware/ti-eth/j784s4"
# Set up names for the firmwares
ALTERNATIVE:${PN}:j721e = "\
ALTERNATIVE:${PN}-j721e = "\
j7-main-r5f0_0-fw \
j7-main-r5f0_0-fw-sec \
"
ALTERNATIVE:${PN}:j7200 = "\
ALTERNATIVE:${PN}-j7200 = "\
j7200-main-r5f0_0-fw \
j7200-main-r5f0_0-fw-sec \
"
ALTERNATIVE:${PN}:j784s4 = "\
ALTERNATIVE:${PN}-j784s4 = "\
j784s4-main-r5f0_0-fw \
j784s4-main-r5f0_0-fw-sec \
"
@@ -94,13 +84,13 @@ ALTERNATIVE_LINK_NAME[j784s4-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmw
ALTERNATIVE_LINK_NAME[j784s4-main-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/j784s4-main-r5f0_0-fw-sec"
# Create the firmware alternatives
ALTERNATIVE_TARGET[j7-main-r5f0_0-fw] = "${INSTALL_ETH_FW_DIR}/${ETH_FW}"
ALTERNATIVE_TARGET[j7-main-r5f0_0-fw-sec] = "${INSTALL_ETH_FW_DIR}/${ETH_FW}.signed"
ALTERNATIVE_TARGET[j7-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/ti-eth/j721e/${ETH_FW}"
ALTERNATIVE_TARGET[j7-main-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/ti-eth/j721e/${ETH_FW}.signed"
ALTERNATIVE_TARGET[j7200-main-r5f0_0-fw] = "${INSTALL_ETH_FW_DIR}/${ETH_FW}"
ALTERNATIVE_TARGET[j7200-main-r5f0_0-fw-sec] = "${INSTALL_ETH_FW_DIR}/${ETH_FW}.signed"
ALTERNATIVE_TARGET[j7200-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/ti-eth/j7200/${ETH_FW}"
ALTERNATIVE_TARGET[j7200-main-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/ti-eth/j7200/${ETH_FW}.signed"
ALTERNATIVE_TARGET[j784s4-main-r5f0_0-fw] = "${INSTALL_ETH_FW_DIR}/${ETH_FW}"
ALTERNATIVE_TARGET[j784s4-main-r5f0_0-fw-sec] = "${INSTALL_ETH_FW_DIR}/${ETH_FW}.signed"
ALTERNATIVE_TARGET[j784s4-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/ti-eth/j784s4/${ETH_FW}"
ALTERNATIVE_TARGET[j784s4-main-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/ti-eth/j784s4/${ETH_FW}.signed"
ALTERNATIVE_PRIORITY = "5"

View File

@@ -0,0 +1,24 @@
SUMMARY = "TI HSM demo Firmware"
inherit deploy
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
PACKAGE_ARCH = "${MACHINE_ARCH}"
PV = "${TI_HSM_DEMO_FW_VERSION}"
PR = "${INC_PR}.0"
COMPATIBLE_MACHINE = "j721s2|j784s4"
HSM_FW_SOC:j721s2 = "j721s2"
HSM_FW_SOC:j784s4 = "j784s4"
HSM_BINARY = "hsm-demo-firmware-${HSM_FW_SOC}*.bin"
do_deploy() {
install -d ${DEPLOYDIR}/ti-hsm
install -m 644 ${S}/ti-hsm/${HSM_BINARY} ${DEPLOYDIR}/ti-hsm
}
addtask deploy before do_build after do_compile

View File

@@ -0,0 +1,23 @@
SUMMARY = "Kernel drivers for Video Accelerators found in the J721E TI SoC"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://README;beginline=11;endline=12;md5=ad10b552e357ac443ec5dd2e02912b1b"
inherit module
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "j721e"
DEPENDS += "virtual/kernel"
BRANCH = "scarthgap/k${PV}"
SRC_URI = "git://git.ti.com/git/multimedia/img-vxe-vxd.git;protocol=https;branch=${BRANCH}"
SRCREV = "038d9263c67900ea4eff631820b088a3dc3a6ad5"
TARGET_PRODUCT:j721e = "j721e_linux"
S = "${WORKDIR}/git"
EXTRA_OEMAKE += 'KERNEL_DIR="${STAGING_KERNEL_DIR}" PREFIX="${D}"'

View File

@@ -9,20 +9,26 @@ INC_PR = "r4"
# Firmware versions
CORESDK_RTOS_VERSION = "08.02.00.04"
PRUETH_FW_AM65X_VERSION = "08.00.00.20"
PRUETH_FW_AM65X_SR2_VERSION = "02.02.14.03"
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.5"
TI_DM_FW_VERSION = "10.01.03"
TI_SYSFW_VERSION = "10.01.07"
CNM_WAVE521_FW_VERSION = "1.0.8"
TI_DM_FW_VERSION = "11.00.09"
TI_SYSFW_VERSION = "11.01.00"
TI_HSM_DEMO_FW_VERSION = "11.00.09"
TAD5212_FW_VERSION = "1.0.0.0"
TI_LINUX_FW_SRCREV ?= "7179a74d1ed38e581bcd35e7b05632955e962c30"
TI_LINUX_FW_SRCREV ?= "e594deb508a322d5681888d48fbb153953b06ca9"
SRCREV = "${TI_LINUX_FW_SRCREV}"
BRANCH ?= "ti-linux-firmware"
SRC_URI = "git://git.ti.com/git/processor-firmware/ti-linux-firmware.git;protocol=https;branch=${BRANCH}"
TI_LINUX_FW_GIT_URI ?= "git://git.ti.com/git/processor-firmware/ti-linux-firmware.git"
TI_LINUX_FW_GIT_PROTOCOL ?= "https"
TI_LINUX_FW_GIT_BRANCH ?= "branch=${BRANCH}"
SRC_URI = "${TI_LINUX_FW_GIT_URI};protocol=${TI_LINUX_FW_GIT_PROTOCOL};${TI_LINUX_FW_GIT_BRANCH}"
S = "${WORKDIR}/git"
@@ -38,6 +44,9 @@ INHIBIT_SYSROOT_STRIP = "1"
# This is used to prevent the build system from splitting out the firmware debug info into a separate file
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
# Firmware here are prebuilt with no external dependencies
INHIBIT_DEFAULT_DEPS = "1"
# Disable arch checking as firmware is likely to be a different arch from the Yocto build
INSANE_SKIP:${PN} += "arch"

View File

@@ -7,8 +7,6 @@ COMPATIBLE_MACHINE = "k3"
PACKAGE_ARCH = "${MACHINE_ARCH}"
INHIBIT_DEFAULT_DEPS = "1"
inherit update-alternatives
PLAT_SFX = ""
@@ -22,6 +20,7 @@ PLAT_SFX:am65xx = "am65xx"
PLAT_SFX:am64xx = "am64xx"
PLAT_SFX:am62xx = "am62xx"
PLAT_SFX:am62axx = "am62axx"
PLAT_SFX:am62dxx = "am62dxx"
PLAT_SFX:am62pxx = "am62pxx"
FILESEXTRAPATHS:prepend := "${METATIBASE}/recipes-bsp/ti-sci-fw/files/:"
@@ -37,20 +36,21 @@ IPC_FW_DIR = "ti-ipc/${PLAT_SFX}"
INSTALL_IPC_FW_DIR = "${nonarch_base_libdir}/firmware/${IPC_FW_DIR}"
MCU_1_0_FW = "ipc_echo_test_mcu1_0_release_strip.xer5f"
MCU_1_1_FW = "ipc_echo_test_mcu1_1_release_strip.xer5f"
MCU_2_0_FW = "ipc_echo_test_mcu2_0_release_strip.xer5f"
MCU_2_1_FW = "ipc_echo_test_mcu2_1_release_strip.xer5f"
MCU_3_0_FW = "ipc_echo_test_mcu3_0_release_strip.xer5f"
MCU_3_1_FW = "ipc_echo_test_mcu3_1_release_strip.xer5f"
MCU_4_0_FW = "ipc_echo_test_mcu4_0_release_strip.xer5f"
MCU_4_1_FW = "ipc_echo_test_mcu4_1_release_strip.xer5f"
C66_1_FW = "ipc_echo_test_c66xdsp_1_release_strip.xe66"
C66_2_FW = "ipc_echo_test_c66xdsp_2_release_strip.xe66"
C7X_1_FW = "ipc_echo_test_c7x_1_release_strip.xe71"
C7X_2_FW = "ipc_echo_test_c7x_2_release_strip.xe71"
C7X_3_FW = "ipc_echo_test_c7x_3_release_strip.xe71"
C7X_4_FW = "ipc_echo_test_c7x_4_release_strip.xe71"
MCU_1_0_FW = "ipc_echo_test_mcu1_0_release_strip.xer5f"
MCU_1_1_FW = "ipc_echo_test_mcu1_1_release_strip.xer5f"
MCU_2_0_FW = "ipc_echo_test_mcu2_0_release_strip.xer5f"
MCU_2_1_FW = "ipc_echo_test_mcu2_1_release_strip.xer5f"
MCU_3_0_FW = "ipc_echo_test_mcu3_0_release_strip.xer5f"
MCU_3_1_FW = "ipc_echo_test_mcu3_1_release_strip.xer5f"
MCU_4_0_FW = "ipc_echo_test_mcu4_0_release_strip.xer5f"
MCU_4_1_FW = "ipc_echo_test_mcu4_1_release_strip.xer5f"
C66_1_FW = "ipc_echo_test_c66xdsp_1_release_strip.xe66"
C66_2_FW = "ipc_echo_test_c66xdsp_2_release_strip.xe66"
C7X_1_FW = "ipc_echo_test_c7x_1_release_strip.xe71"
C7X_1_FW:am62axx = "dsp_edgeai_c7x_1_release_strip.out"
C7X_2_FW = "ipc_echo_test_c7x_2_release_strip.xe71"
C7X_3_FW = "ipc_echo_test_c7x_3_release_strip.xe71"
C7X_4_FW = "ipc_echo_test_c7x_4_release_strip.xe71"
IPC_FW_LIST = ""
IPC_FW_LIST:am65xx = "${MCU_1_0_FW} ${MCU_1_1_FW}"
@@ -58,6 +58,7 @@ IPC_FW_LIST:am64xx = "${MCU_1_0_FW} ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW} $
IPC_FW_LIST:am62xx = " ${MCU_2_0_FW}"
IPC_FW_LIST:am62pxx = " ${MCU_2_0_FW}"
IPC_FW_LIST:am62axx = " ${MCU_2_0_FW} ${C7X_1_FW}"
IPC_FW_LIST:am62dxx = " ${MCU_2_0_FW} ${C7X_1_FW}"
IPC_FW_LIST:j721e = " ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW} ${MCU_3_0_FW} ${MCU_3_1_FW} ${C66_1_FW} ${C66_2_FW} ${C7X_1_FW}"
IPC_FW_LIST:j7200 = " ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW}"
IPC_FW_LIST:j721s2 = " ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW} ${MCU_3_0_FW} ${MCU_3_1_FW} ${C7X_1_FW} ${C7X_2_FW}"
@@ -97,6 +98,14 @@ 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 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}; \
)
}
do_install() {
# IPC Firmware
for FW_NAME in ${IPC_FW_LIST}
@@ -140,6 +149,11 @@ ALTERNATIVE:${PN}:am62axx = "\
am62a-c71_0-fw am62a-c71_0-fw-sec \
"
ALTERNATIVE:${PN}:am62dxx = "\
am62d-mcu-r5f0_0-fw am62d-mcu-r5f0_0-fw-sec \
am62d-c71_0-fw am62d-c71_0-fw-sec \
"
ALTERNATIVE:${PN}:j721e = "\
j7-mcu-r5f0_1-fw j7-mcu-r5f0_1-fw-sec \
j7-main-r5f0_0-fw j7-main-r5f0_0-fw-sec \
@@ -230,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"
@@ -351,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

@@ -26,4 +26,10 @@ do_deploy:k3r5() {
install -m 644 ${S}/ti-sysfw/ti-fs-stub-firmware-* ${DEPLOYDIR}/ti-sysfw
}
do_deploy:am62lxx(){
install -d ${DEPLOYDIR}/ti-sysfw
install -m 644 ${S}/ti-sysfw/ti-sci-firmware-* ${DEPLOYDIR}/ti-sysfw
install -m 644 ${S}/ti-sysfw/ti-fs-firmware-* ${DEPLOYDIR}/ti-sysfw
}
addtask deploy before do_build after do_compile

View File

@@ -1,11 +1,22 @@
PV:k3 = "2.11+git"
SRCREV_tfa:k3 = "58b25570c9ef91753b14c2103f45f4be9dddb696"
LIC_FILES_CHKSUM:k3 = "file://docs/license.rst;md5=83b7626b8c7a37263c6a58af8d19bee1"
SRC_URI:k3 = "git://git.trustedfirmware.org/TF-A/trusted-firmware-a.git;protocol=https;name=tfa;branch=master"
COMPATIBLE_MACHINE:k3 = "k3"
TFA_BUILD_TARGET:k3 = "all"
TFA_INSTALL_TARGET:k3 = "bl31"
TFA_SPD:k3 = "opteed"
# NOTE: This .inc file with customizations only gets included for K3 platforms
EXTRA_OEMAKE:append:k3 = "${@ ' K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}"
EXTRA_OEMAKE:append:k3 = "${@ ' K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}"
PV = "2.12+git"
SRCREV_tfa = "39fe4a856d3576646642c2516b7a99de63eca74e"
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}"
LIC_FILES_CHKSUM = "file://docs/license.rst;md5=1118e32884721c0be33267bd7ae11130"
COMPATIBLE_MACHINE = "k3"
TFA_BUILD_TARGET = "all"
TFA_INSTALL_TARGET = "bl31"
TFA_SPD = "opteed"
# For am62lxx, install bl1 & bl31 using TFA_INSTALL_TARGET
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 += "${@ '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

@@ -1,12 +1,12 @@
# This will have priority over generic uboot path
COMPATIBLE_MACHINE = "am62xx|am62pxx"
COMPATIBLE_MACHINE = "am62xx|am62pxx|am62lxx"
BRANCH = "ti-u-boot-2024.04"
BRANCH:tie-jailhouse = "ti-u-boot-2024.04-jailhouse"
BRANCH = "ti-u-boot-2025.01"
BRANCH:tie-jailhouse = "ti-u-boot-2025.01-jailhouse"
SRCREV = "b3c10f333acccef49ebaf4abc575616ea7326d50"
SRCREV:tie-jailhouse = "b3c10f333acccef49ebaf4abc575616ea7326d50"
SRCREV = "e718bbcec3ebf663c021839753034a224be4cc53"
SRCREV:tie-jailhouse = "e718bbcec3ebf663c021839753034a224be4cc53"
UBOOT_GIT_URI = "git://git.ti.com/git/processor-sdk/u-boot.git"

View File

@@ -2,8 +2,8 @@ require u-boot-ti.inc
SUMMARY = "Mainline U-Boot for TI devices"
PV = "2024.10"
PV = "2025.04"
UBOOT_GIT_URI = "git://source.denx.de/u-boot/u-boot.git"
SRCREV = "f919c3a889f0ec7d63a48b5d0ed064386b0980bd"
SRCREV = "34820924edbc4ec7803eb89d9852f4b870fa760a"

View File

@@ -6,4 +6,4 @@ PR = "r0"
BRANCH = "ti-u-boot-2023.04"
SRCREV = "0853d7725220d59130d8bcc59d01151cba64ffa0"
SRCREV = "0893e693e08f9fc864a6191051dccc818accf933"

View File

@@ -6,4 +6,4 @@ PR = "r0"
BRANCH = "ti-u-boot-2024.04"
SRCREV = "2a7de06d57399e04738573622cbdaa3532e7ab4d"
SRCREV = "29d0c23d67ee7b88e46fe1753cd020e2b04c2ef6"

View File

@@ -1,11 +1,9 @@
require u-boot-ti.inc
DEFAULT_PREFERENCE = "-1"
include ${@ 'recipes-bsp/u-boot/ti-extras.inc' if d.getVar('TI_EXTRAS') else ''}
PR = "r0"
BRANCH = "ti-u-boot-2024.10"
BRANCH = "ti-u-boot-2025.01"
SRCREV = "f919c3a889f0ec7d63a48b5d0ed064386b0980bd"
SRCREV = "c99a1f082ba4970678c9cb5100d13a986e77817c"

View File

@@ -14,6 +14,8 @@ require u-boot-mergeconfig.inc
FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot:"
FILES:${PN}-falcon = "boot/tispl_falcon.bin"
SUMMARY = "u-boot bootloader for TI devices"
LICENSE = "GPL-2.0-or-later"
@@ -40,7 +42,13 @@ DEPENDS += "python3-pyelftools-native python3-pyyaml-native python3-jsonschema-n
DEPENDS:append:k3 = " ti-sci-fw"
DEPENDS:append:k3r5 = " ti-sci-fw"
# HSM Demo Firmware is only applicable for J721S2 & J784S4 devices
DEPENDS:append:j721s2 = " ti-hsm-demo-fw"
DEPENDS:append:j784s4 = " ti-hsm-demo-fw"
DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f"
DM_FIRMWARE:am62axx = "dm_edgeai_mcu1_0_release_strip.out"
DM_FIRMWARE:am62pxx = "${@oe.utils.conditional('DISPLAY_CLUSTER_ENABLE', '1', 'dss_display_share.wkup-r5f0_0.release.strip.out', 'ipc_echo_testb_mcu1_0_release_strip.xer5f', d)}"
PLAT_SFX = ""
PLAT_SFX:j721e = "j721e"
@@ -53,11 +61,14 @@ PLAT_SFX:am65xx = "am65xx"
PLAT_SFX:am64xx = "am64xx"
PLAT_SFX:am62xx = "am62xx"
PLAT_SFX:am62axx = "am62axx"
PLAT_SFX:am62dxx = "am62axx"
PLAT_SFX:am62lxx = "am62lxx"
PLAT_SFX:am62pxx = "am62pxx"
PACKAGECONFIG[ap-trusted-rom] = "BL1=${STAGING_DIR_HOST}/firmware/bl1.bin,,trusted-firmware-a"
PACKAGECONFIG[atf] = "BL31=${STAGING_DIR_HOST}/firmware/bl31.bin,,trusted-firmware-a"
PACKAGECONFIG[optee] = "TEE=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/bl32.bin,,optee-os"
PACKAGECONFIG[dm] = "DM=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/ti-dm/${PLAT_SFX}/${DM_FIRMWARE},,ti-dm-fw"
PACKAGECONFIG[dm] = "TI_DM=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/ti-dm/${PLAT_SFX}/${DM_FIRMWARE},,ti-dm-fw"
PACKAGECONFIG:append:aarch64 = " atf optee"
PACKAGECONFIG:append:j721e = " dm"
@@ -68,11 +79,13 @@ PACKAGECONFIG:append:j722s = " dm"
PACKAGECONFIG:append:j742s2 = " dm"
PACKAGECONFIG:append:am62xx = " dm"
PACKAGECONFIG:append:am62axx = " dm"
PACKAGECONFIG:append:am62dxx = " dm"
PACKAGECONFIG:append:am62lxx = " ap-trusted-rom"
PACKAGECONFIG:append:am62pxx = " dm"
COMPATIBLE_MACHINE = "(ti-soc)"
BINMAN_INDIRS="${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware"
BINMAN_INDIRS = "${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware"
EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS} BINMAN_INDIRS=${BINMAN_INDIRS}"
@@ -226,6 +239,16 @@ uboot_deploy_config:append:k3r5 () {
done
}
uboot_deploy_config:append:am62lxx () {
for f in ${B}/${config}/tiboot3-*.bin; do
if [ -f "$f" ]; then
f_base=$(basename $f)
install -m 644 $f ${DEPLOYDIR}/${f_base}-${type}
ln -sf ${f_base}-${type} ${DEPLOYDIR}/${f_base}
fi
done
}
uboot_deploy:append:k3r5 () {
for f in ${B}/tiboot3-*.bin; do
if [ -f "$f" ]; then
@@ -240,6 +263,14 @@ uboot_deploy:append:k3r5 () {
done
}
uboot_deploy:append:am62lxx () {
for f in ${B}/tiboot3*.bin; do
if [ -f "$f" ]; then
install -m 644 $f ${DEPLOYDIR}/
fi
done
}
uboot_deploy_config:append () {
cd ${DEPLOYDIR}
if [ "x${SPL_UART_BINARY}" != "x" ]; then
@@ -332,24 +363,26 @@ uboot_deploy:append () {
fi
}
do_install:append:am62xx() {
install -d ${D}/boot
install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${D}/boot
}
do_deploy:append:am62xx() {
install -d ${DEPLOYDIR}
install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${DEPLOYDIR}
}
do_install:append:am62pxx() {
install -d ${D}/boot
install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${D}/boot
}
do_deploy:append:am62pxx() {
install -d ${DEPLOYDIR}
install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${DEPLOYDIR}
}
do_install:append:ti-falcon() {
install -m 0644 ${B}/tispl_falcon.bin ${D}/boot
}
FALCON_PKG = ""
FALCON_PKG:ti-falcon = "${PN}-falcon "
PACKAGES:prepend:am62xx-evm = "${FALCON_PKG} "
PACKAGES:prepend:am62axx-evm = "${FALCON_PKG} "
PACKAGES:prepend:am62pxx-evm = "${FALCON_PKG} "
PACKAGES:prepend:am62xx-lp-evm = "${FALCON_PKG} "
TOOLCHAIN = "gcc"

View File

@@ -1,4 +1,4 @@
DESCRIPTION = "Radio Application Firmware"
SUMMARY = "Radio Application Firmware"
LICENSE = "TI-TSPA"
LIC_FILES_CHKSUM = "file://${S}/J6_VIS_DEMO_LINUX_BINARY_01.50.07.15-Manifest.html;md5=a59aa54b9470f555cf086b91dca0afa3"

View File

@@ -1,4 +1,4 @@
DESCRIPTION = "VPDMA firmware for Video Input Port and Video Processing Engine"
SUMMARY = "VPDMA firmware for Video Input Port and Video Processing Engine"
LICENSE = "TI-TSPA"
LIC_FILES_CHKSUM = "file://COPYING;md5=fd463c9500441ed91d07a0331baa635c"

View File

@@ -1,4 +1,4 @@
DESCRIPTION = "VPE test program"
SUMMARY = "VPE test program"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://COPYING;md5=74d2f71d8898c54e3d1c9d0058c484aa"

View File

@@ -6,6 +6,7 @@ FW_NAME = "zephyr_openamp_rsc_table.elf"
# List of cores for which this demo has a build
FW_CORES = ""
FW_CORES:am62xx = "mcu-m4f0_0"
FW_CORES:am64xx = "mcu-m4f0_0"
# Note: Everything below is common to all our Zephyr firmwares and can be
# factored out to a common include file once we have more than one demo
@@ -18,7 +19,7 @@ COMPATIBLE_MACHINE = "k3"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SRC_URI = "git://github.com/glneo/zephyr-firmware.git;protocol=https;branch=main"
SRCREV = "146d4f9b3930722d73685d600958f0b10ea97de2"
SRCREV = "ef5aec48e589902839ebae7ad753c68cf498c15f"
PV = "3.6.0"
#PR = "r1"
@@ -26,6 +27,7 @@ S = "${WORKDIR}/git"
FW_PLAT = ""
FW_PLAT:am62xx = "am62"
FW_PLAT:am64xx = "am64"
FW_INSTALL_DIR = "${nonarch_base_libdir}/firmware/zephyr/${FW_PLAT}"

View File

@@ -10,7 +10,7 @@ PV = "0.3+git"
COMPATIBLE_MACHINE = "k3"
BRANCH ?= "master"
SRCREV = "30a1d5b2d08c0da39d4e62b3ebee591a9882fa21"
SRCREV = "ea9938bf9cafd9c0cb05ef060a713ab4ac72270f"
SRC_URI = "git://git.ti.com/git/k3conf/k3conf.git;protocol=https;branch=${BRANCH}"

View File

@@ -1,4 +1,4 @@
DESCRIPTION = "Userspace libraries for GC320 chipset on TI SoCs"
SUMMARY = "Userspace libraries for GC320 chipset on TI SoCs"
HOMEPAGE = "https://git.ti.com/graphics/ti-gc320-libs"
LICENSE = "TI-TSPA"
LIC_FILES_CHKSUM = "file://Manifest.html;md5=a9121e8936ace09820d23f7626daaca5"
@@ -14,7 +14,7 @@ CLEANBROKEN = "1"
BRANCH = "ti-${PV}"
SRC_URI = "git://git.ti.com/git/graphics/ti-gc320-libs.git;protocol=https;branch=${BRANCH}"
SRCREV = "c0afab259de59909cfe74c01f3f7fbaa147f94b5"
SRCREV = "85c175e8425c33dda6e272aeb45afe0f69a79096"
RRECOMMENDS:${PN} = "ti-gc320-driver"
@@ -43,4 +43,8 @@ do_install() {
chown -R root:root ${D}
}
INSANE_SKIP:${PN} += "ldflags"
PACKAGES = "${PN} ${PN}-dev"
FILES:${PN} += "${libdir}/libGAL.so"
FILES:${PN}-dev = "/usr/include"
INSANE_SKIP:${PN} += "ldflags already-stripped dev-so"

View File

@@ -1,52 +0,0 @@
From 6c5033bb01a3a1341d4db5007586a5f2e2727b0a Mon Sep 17 00:00:00 2001
From: Ryan Eatmon <reatmon@ti.com>
Date: Mon, 4 Nov 2024 13:37:29 -0600
Subject: [PATCH] gallium: Fix build with llvm 18 and 19
- CodeGenOpt::Level changed to CodeGenOoptLevel. [1]
- llvm::sys::getHostCPUFeatures() now returns the features instead of
modifying the passed in argument. [2]
Upstream-Status: Backport [1][https://gitlab.freedesktop.org/mesa/mesa/-/commit/f79617fe804ea6524651ff1bc3a91098d3199179]
Upstream-Status: Backport [2][https://gitlab.freedesktop.org/mesa/mesa/-/commit/fa9cd89a85b904615ebc11da609445b5b751e68d]
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
index 5e7a30a6cc2..dbc777e3096 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
@@ -366,7 +366,11 @@ lp_build_create_jit_compiler_for_module(LLVMExecutionEngineRef *OutJIT,
builder.setEngineKind(EngineKind::JIT)
.setErrorStr(&Error)
.setTargetOptions(options)
+#if LLVM_VERSION_MAJOR >= 18
+ .setOptLevel((CodeGenOptLevel)OptLevel);
+#else
.setOptLevel((CodeGenOpt::Level)OptLevel);
+#endif
#if DETECT_OS_WINDOWS
/*
@@ -394,8 +398,14 @@ lp_build_create_jit_compiler_for_module(LLVMExecutionEngineRef *OutJIT,
* which allows us to enable/disable code generation based
* on the results of cpuid on these architectures.
*/
- llvm::StringMap<bool> features;
- llvm::sys::getHostCPUFeatures(features);
+ #if LLVM_VERSION_MAJOR >= 19
+ /* llvm-19+ returns StringMap from getHostCPUFeatures.
+ */
+ auto features = llvm::sys::getHostCPUFeatures();
+ #else
+ llvm::StringMap<bool> features;
+ llvm::sys::getHostCPUFeatures(features);
+ #endif
for (StringMapIterator<bool> f = features.begin();
f != features.end();
--
2.17.1

View File

@@ -1,42 +0,0 @@
From 00d41cd5aa3f4b494dc276c9b4ccdc096310c91f Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 28 Sep 2023 15:34:22 -0700
Subject: [PATCH] meson: use llvm-config instead of cmake to fix linking errors with meson 1.2.1
meson dependency auto dependency detection uses cmake and then
config-tool to process dependencies, in mesa the logic to detect llvm is
using auto detection which means if it finds cmake then it will try to
use cmake method. Cmake method works ok except a case when llvm-dev
package is installed on the build host then it generates its own
native.meson file and ignores OE supplied meson.native file which has
correct llvm-config tool specified which is pointing to llvm-config from
native sysroot. The generated meson.native file points to one found in
/usr/bin and there onwards detector finds native install of llvm and
configures that into building native mesa package.
Since cmake detector does not always work, disable it by default and use
config-tool which works in all cases. This is suggested in below issues
too
A similar issue is open in meson upstream [1] and mesa [2]
[1] https://github.com/mesonbuild/meson/issues/10483
[2] https://gitlab.freedesktop.org/mesa/mesa/-/issues/6738
Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25438]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meson.build | 1 +
1 file changed, 1 insertion(+)
--- a/meson.build
+++ b/meson.build
@@ -1659,6 +1659,7 @@ with_llvm = false
if _llvm.allowed()
dep_llvm = dependency(
'llvm',
+ method : host_machine.system() == 'windows' ? 'auto' : 'config-tool',
version : _llvm_version,
modules : llvm_modules,
optional_modules : llvm_optional_modules,

View File

@@ -0,0 +1,38 @@
From fa9cd89a85b904615ebc11da609445b5b751e68d Mon Sep 17 00:00:00 2001
From: Satadru Pramanik <satadru@umich.edu>
Date: Sat, 5 Oct 2024 13:35:52 +0000
Subject: [PATCH] Update lp_bld_misc.cpp to support llvm-19+.
Fixes #11896.
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31533>
Upstream-Status: Backport [https://gitlab.freedesktop.org/mesa/mesa/-/commit/fa9cd89a85b904615ebc11da609445b5b751e68d]
Signed-off-by: Randolph Sapp <rs@ti.com>
---
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
index 7975fcf1ac9..5b615d627ff 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
@@ -329,8 +329,14 @@ lp_build_fill_mattrs(std::vector<std::string> &MAttrs)
* which allows us to enable/disable code generation based
* on the results of cpuid on these architectures.
*/
- llvm::StringMap<bool> features;
- llvm::sys::getHostCPUFeatures(features);
+ #if LLVM_VERSION_MAJOR >= 19
+ /* llvm-19+ returns StringMap from getHostCPUFeatures.
+ */
+ auto features = llvm::sys::getHostCPUFeatures();
+ #else
+ llvm::StringMap<bool> features;
+ llvm::sys::getHostCPUFeatures(features);
+ #endif
for (llvm::StringMapIterator<bool> f = features.begin();
f != features.end();
--
2.47.1

Some files were not shown because too many files have changed in this diff Show More