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

Compare commits

...

1425 Commits

Author SHA1 Message Date
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
LCPD Automation Script
d952379f55 CI/CD Auto-Merger: cicd.scarthgap.202411071529
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=1d8a15d0fb56ae479dd3c11e3b17d7434b079acd..2a7de06d57399e04738573622cbdaa3532e7ab4d
  linux-ti-staging-rt_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=4143633c95dc50cb5e2c695629d8b6302ef8de81..d7b6ee144955d71f1c3d29b7dc08619961f12d64
  linux-ti-staging_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=399452cd6d8ff30967ddc4baa444afd32cbbedeb..118cf0c8b392bed94437f1519de10b63705dbacd

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-11-07 15:30:03 -06:00
Randolph Sapp
b444d36dc5 sgx: bump version for kernel 6.6 / mesa 23.2.1
Bump versions of mesa-pvr and ti-sgx-ddk-km to support SGX with kernel
6.6 and the same version of mesa rogue is using.

Enable SGX by default in the 6.6 BSP provider section logic.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-11-07 13:46:09 -06:00
Ryan Eatmon
f269e761a2 trusted-firmware-a: Update to DM_MANAGED suspend
Update to commit 58b25570c9ef91753b14c2103f45f4be9dddb696, which adds
the DM_MANAGED suspend feature.

58b25570c9

Also change the docs/license.rst checksum.  The license file was
modified to include a reference to the pydevicetree project which uses
the Apache License 2.0.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-11-07 13:45:00 -06:00
Randolph Sapp
57863a821a mesa-pvr: remove dynamic-layer append for llvmpipe
The mesa.inc that we inherit from oe-core now has the required
parameters. This conditional append is no longer required.

This reverts commit dbc6afc46e.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-11-06 13:48:46 -06:00
Ryan Eatmon
befff0d605 mesa-pvr-22.3.5: Fix build issues with llvm 18+
Backport two fixes from the latest mesa project to fix two builds issues
related to newer llvm versions.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-11-06 13:48:46 -06:00
Ryan Eatmon
2a6e706d99 mesa-pvr_23.2.1: Fix build issues with llvm 18+
Backport two fixes from the latest mesa project to fix two builds issues
related to newer llvm versions.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-11-06 13:48:46 -06:00
LCPD Automation Script
9997a83156 CI/CD Auto-Merger: cicd.scarthgap.202411060400
Updated the value(s) for:
  linux-ti-staging-rt_6.6: SRCREV
  linux-ti-staging_6.12: SRCREV
  linux-ti-staging_6.6: SRCREV

Changelogs:
  linux-ti-staging-rt_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=9b67993ce6023909325ba366f07d88e37ab60d42..4143633c95dc50cb5e2c695629d8b6302ef8de81
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=b0e715522353879e6c3c1b56dafad6fb681b1e55..f8f8c0b547f67d2d4d653cc59753f85275ff54f2
  linux-ti-staging_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=e3b431a6194fc1b074802d20c9eede8442382b2a..399452cd6d8ff30967ddc4baa444afd32cbbedeb

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-11-06 04:00:53 -06:00
LCPD Automation Script
336a538aee CI/CD Auto-Merger: cicd.scarthgap.202411010400
Updated the value(s) for:
  linux-ti-staging-rt_6.6: SRCREV
  linux-ti-staging_6.6: SRCREV

Changelogs:
  linux-ti-staging-rt_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=71c08e13f47a4b7e5fa65f1219544ae059b0efc7..9b67993ce6023909325ba366f07d88e37ab60d42
  linux-ti-staging_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=126a8167b5915c6014b6a7d2b3bc710b040739b6..e3b431a6194fc1b074802d20c9eede8442382b2a

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-11-01 04:00:43 -05:00
Ryan Eatmon
4a086d523b ti-bsp: Tighten up versions for PREFERRED_VERSION
PREFERRED_VERSION matches against the PV in the recipe, not against the
file name.  With the upcoming 6.12, the 6.1 kernel version string was a
little too loose. The "6.1%" could glob onto the 6.12 recipe.  Take
this time to also clean up a couple of the other versions and narrow
them down.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-31 16:13:58 -05:00
LCPD Automation Script
156b054b33 CI/CD Auto-Merger: cicd.scarthgap.202410311053
Updated the value(s) for:
  ti-linux-fw: CNM_WAVE521_FW_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.12: 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=1e4793a13e99390816a6bf7175584bcdfab57f04..7179a74d1ed38e581bcd35e7b05632955e962c30
  u-boot-ti-staging_2024.04: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=8ce3f54eee6f5d650f5ce2af8e528afeb7090b51..1d8a15d0fb56ae479dd3c11e3b17d7434b079acd
  linux-ti-staging-rt_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=54789d7adda6ab12b4ca38d79c2554ff8af5b54e..71c08e13f47a4b7e5fa65f1219544ae059b0efc7
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=1cdb5a3691bfa5171a265ae931f0912656936a4b..b0e715522353879e6c3c1b56dafad6fb681b1e55
  linux-ti-staging_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=617526782e268112606ca6c5d501e5540b22a56c..126a8167b5915c6014b6a7d2b3bc710b040739b6

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-10-31 10:54:44 -05:00
Chirag Shilwant
52c5d383ec conf: machine: Add support for bsp-ti-6_12 in beagleplay
Add bsp-ti-6_12 overrides in A53 & R5 machine configuration
to ensure it picks the appropriate u-boot configs for beagleplay

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-24 09:46:21 -05:00
Manorit Chawdhry
9b0da26b3b optee-os: Enable OP-TEE TRNG in J722s
Enable TRNG in J722s, as bugs related to TRNG has been fixed now.

Following firmwares have the fix [0]

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

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-24 08:52:35 -05:00
Ryan Eatmon
8c88422367 optee: Update to v4.4.0
Update all of the components to the upstream 4.4.0 version.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-24 08:52:35 -05:00
Ryan Eatmon
7c2ede094f u-boot-ti: Tweak the GIT variables for u-boot
We are planning on adding upstream u-boot testing against stable tagged
versions of u-boot and need a little more control over telling bitbake to
not point at a branch but point to a tag.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-24 08:52:35 -05:00
Ryan Eatmon
0727cfb4c3 u-boot-ti-mainline: Update to 2024.10
Update to the latest u-boot release v2024.10.

Additionally, take this time to clean up the mainline recipe and
streamline it a bit.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-24 08:52:35 -05:00
Ryan Eatmon
ed304b22e1 uboot-ti-next: Add new recipe to track master-next
Our upstream testing needs to point to both master and master-next and
we need two different recipes to track that.  This recipe mirrors the
linux-ti-next recipe and points to the master-next branch for the latest
bleeding edge changes.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-24 08:52:35 -05:00
Ryan Eatmon
3086738d4e linux: Consolidate the SRC_URI variables
It was suggested to move the reproducibility patches out of
ti-kernel.inc and into the respective recipes.

Taking this time to also rework all of the pieces that go into the SRC_URI
and create a standardization for how all of the kernel recipes are done.

Create KERNEL_GIT_URI, KERNEL_GIT_PROTOCOL, KERNEL_GIT_BRANCH,
KERNEL_DEFCONFIG, and KERNEL_REPRODUCIBILITY_PATCHES.  The default for
the above new variables is to the git.ti.com repository and how we manage
the kernel settings.  The other kernel recipes that do something other than
how TI does it can simply override the variables.

This change will make it easier to perform the upstream testing that we
do on a nightly basis.  Additionally, it will simplify the auto generation
of the patches to move the mainline (stable kernel) recipes since the
required patches will be all done in the same recipe.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-24 08:52:35 -05:00
LCPD Automation Script
320b9e5dd8 linux-ti-mainline: Update to version: v6.11
Updated the value(s) for:
  am57xx-evm: KERNEL_DEVICETREE
  am62axx-evm: KERNEL_DEVICETREE
  am62pxx-evm: KERNEL_DEVICETREE
  am62xx-evm: KERNEL_DEVICETREE
  am62xx-lp-evm: KERNEL_DEVICETREE
  am68-sk: KERNEL_DEVICETREE
  am69-sk: KERNEL_DEVICETREE
  beagleplay: KERNEL_DEVICETREE
  am64xx-evm: KERNEL_DEVICETREE
  am65xx-evm: KERNEL_DEVICETREE
  am335x-evm: KERNEL_DEVICETREE
  am437x-evm: KERNEL_DEVICETREE
  j7200-evm: KERNEL_DEVICETREE
  j721e-evm: KERNEL_DEVICETREE
  j721e-sk: KERNEL_DEVICETREE
  j721s2-evm: KERNEL_DEVICETREE
  j722s-evm: KERNEL_DEVICETREE
  j784s4-evm: KERNEL_DEVICETREE
  linux-ti-mainline: PV,SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-24 08:52:35 -05:00
LCPD Automation Script
cf6400520e CI/CD Auto-Merger: cicd.scarthgap.202410240400
Updated the value(s) for:
  ti-linux-fw: TI_DM_FW_VERSION,TI_LINUX_FW_SRCREV
  u-boot-ti-staging_2023.04: SRCREV
  u-boot-ti-staging_2024.04: SRCREV
  u-boot-ti-staging_2024.10: SRCREV
  linux-ti-staging-rt_6.1: SRCREV
  linux-ti-staging-rt_6.6: SRCREV
  linux-ti-staging_6.1: SRCREV
  linux-ti-staging_6.12: 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=ddb9cc251ace41dfad6650390f82e4a389d3967e..1e4793a13e99390816a6bf7175584bcdfab57f04
  u-boot-ti-staging_2023.04: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=7044504f44002fe46b4598420852033d335d56c7..0853d7725220d59130d8bcc59d01151cba64ffa0
  u-boot-ti-staging_2024.04: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=cdac8b4cd3cc1d1e9ac6354c1cfe03ddbbdf01fa..8ce3f54eee6f5d650f5ce2af8e528afeb7090b51
  u-boot-ti-staging_2024.10: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=9cfe0cab3bf135a505e1e163ca442a4e4064d58e..f919c3a889f0ec7d63a48b5d0ed064386b0980bd
  linux-ti-staging-rt_6.1: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=258616ead12edc4acf7ac38e741d588b372144e4..451df8c0a2a3bcf0656b2f6fdc49d6fb4d05f186
  linux-ti-staging-rt_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=517163f797b81a8277a000d6a1c9dfd89b3711b8..54789d7adda6ab12b4ca38d79c2554ff8af5b54e
  linux-ti-staging_6.1: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=da449d8c3cf600b0346a6696e1e3cc431422e765..92ce8d7d2ab679e10c1dda309a0fb2ceae78b908
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b..1cdb5a3691bfa5171a265ae931f0912656936a4b
  linux-ti-staging_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=32ae7316ddc6d9b6bb0d87706cf7daa44c4c1e92..617526782e268112606ca6c5d501e5540b22a56c

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-10-24 04:00:47 -05:00
Randolph Sapp
9757032847 ti-img-rogue-umlibs: fix j721e NPOT texture issues
Resolve some issues with J721E and compressed NPOT (Non-Power-Of-Two)
textures.

Also, add some additional allocation tracking in render process specific
tasks.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-19 14:08:27 -05:00
Randolph Sapp
dc78e06a6b sgx: breaking things to fix other things
We got a bit more time to do a proper migration this time. A discovery
period to see what actually works and boy, it wasn't much.

This update resolves issues with:

	- Macro redefinition
	- Sparse NPOT texture allocations
	- vec4 reductions
	- Mesa image extensions
	- Buffer allocations under weston
	- Devices with both a RENDER and PRIMARY display node
	- Underprivileged users being unable to allocate buffers
	- Removed call to drm_map_legacy
	- Replace deprecated kernel calls
	- Fix some cache attributes for userspace allocations
	- About 40 other various errors and warnings

This core was never fully GLES2 conformant. In fact, if you try to run
cts on any of the older releases you'll find yourself in a hardware
recovery loop pretty quickly. We've gotten it to about 94.2% conformance
with these patches.

There are still dragons here, but they are at least a little more
manageable.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-19 14:08:27 -05:00
LCPD Automation Script
c82f29cae7 CI/CD Auto-Merger: cicd.scarthgap.202410100400
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV,TI_SYSFW_VERSION
  u-boot-ti-staging_2024.04: SRCREV
  u-boot-ti-staging_2024.10: SRCREV
  linux-ti-staging-rt_6.6: SRCREV
  linux-ti-staging_6.12: PV,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=64248dad39a9448ad191bc04130c49e0354cb2ce..ddb9cc251ace41dfad6650390f82e4a389d3967e
  u-boot-ti-staging_2024.04: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=b78dde22088773147d80c3b85c885d9be7a2bfab..cdac8b4cd3cc1d1e9ac6354c1cfe03ddbbdf01fa
  u-boot-ti-staging_2024.10: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=c97ada2dc66934ee00a7a03d9ed078bdfb7b4039..9cfe0cab3bf135a505e1e163ca442a4e4064d58e
  linux-ti-staging-rt_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=d05688f353d10af170286db56535443184202eab..517163f797b81a8277a000d6a1c9dfd89b3711b8
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=9852d85ec9d492ebef56dc5f229416c925758edc..8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b
  linux-ti-staging_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=325ad3650d0b50a4943b9151fb43411f08ad5d0c..32ae7316ddc6d9b6bb0d87706cf7daa44c4c1e92

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-10-10 04:00:55 -05:00
Ryan Eatmon
47ebda87ea ti-bsp: Add RT and systest support
We were missing controlling the versions for linux-ti-staging-rt and
linux-ti-staging-systest using the BSP framework.  Since the
PREFERRED_VERSION is not tied to the virtual/kernel we need two
additional settings for those alternate kernel package names.

For BSPs that do not have the -rt and -systest recipes then the two
new variable settings should effectively be ignored and cause no issues.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-09 08:48:32 -05:00
Ryan Eatmon
e9913bd85d debugss-module-drv: Add patch for kernel 6.11 change
There was a change to the return value for a function pointer in the
kernel v6.11.  This patch adapts the module to the kernel change.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-08 15:44:25 -05:00
Ryan Eatmon
124d54ec4f ti-bsp: Add ti-6_12
Add new BSP for the 6.12 kernel and u-boot 2024.10 versions.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-08 15:44:25 -05:00
Ryan Eatmon
de9414801c u-boot-ti-staging: Add v2024.10 recipe
Adding needed recipe for initial testing and development of the 2024.10
version of u-boot for the next LTS.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-08 15:43:20 -05:00
Ryan Eatmon
8be5ed9003 linux-ti-staging: Add v6.12 recipe
Adding needed recipes for initial testing and development of the 6.12
kernel for the next LTS.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-08 15:43:20 -05:00
Ryan Eatmon
dcd39720f6 optee: Update to v4.3.0
Update all of the components to the upstream 4.3.0 version.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-08 15:43:20 -05:00
Jose Quaresma
d06fd153d0 u-boot-ti: avoid write erros on the logs when removing deployed files
This will prevent a lot of noise on the build logs.
Currently we have some erros:
 rm: cannot remove 'file'
 No such file or directory

Like the following:
| rm: cannot remove '/lmp/build/tmp-lmp-k3r5/work/am64xx_evm_k3r5-lmp-eabi/u-boot-ti-staging/2024.04+git/deploy-u-boot-ti-staging/u-boot-initial-env*'
| : No such file or directory
| + true
| + rm /lmp/build/tmp-lmp-k3r5/work/am64xx_evm_k3r5-lmp-eabi/u-boot-ti-staging/2024.04+git/deploy-u-boot-ti-staging/u-boot-ti-staging-initial-env /lmp/build/tmp-lmp-k3r5/work/am64xx_evm_k3r5-lmp-eabi/u-boot-ti-staging/2024.04+git/deploy-u-boot-ti-staging/u-boot-ti-staging-initial-env-am64xx-evm-k3r5 /lmp/build/tmp-lmp-k3r5/work/am64xx_evm_k3r5-lmp-eabi/u-boot-ti-staging/2024.04+git/deploy-u-boot-ti-staging/u-boot-ti-staging-initial-env-am64xx-evm-k3r5-2024.04+git-r0
| + rm /lmp/build/tmp-lmp-k3r5/work/am64xx_evm_k3r5-lmp-eabi/u-boot-ti-staging/2024.04+git/deploy-u-boot-ti-staging/u-boot-initial-env-am64xx-evm-k3r5*
| rm: cannot remove '/lmp/build/tmp-lmp-k3r5/work/am64xx_evm_k3r5-lmp-eabi/u-boot-ti-staging/2024.04+git/deploy-u-boot-ti-staging/u-boot-initial-env-am64xx-evm-k3r5*'
| : No such file or directory
| + true
| + rm /lmp/build/tmp-lmp-k3r5/work/am64xx_evm_k3r5-lmp-eabi/u-boot-ti-staging/2024.04+git/deploy-u-boot-ti-staging/u-boot-ti-staging-initial-env-am64xx-evm-k3r5*
| rm: cannot remove '/lmp/build/tmp-lmp-k3r5/work/am64xx_evm_k3r5-lmp-eabi/u-boot-ti-staging/2024.04+git/deploy-u-boot-ti-staging/u-boot-ti-staging-initial-env-am64xx-evm-k3r5*'
| : No such file or directory
| + true
| + rm /lmp/build/tmp-lmp-k3r5/work/am64xx_evm_k3r5-lmp-eabi/u-boot-ti-staging/2024.04+git/deploy-u-boot-ti-staging/u-boot-initial-env-am64xx-evm-k3r5-2024.04+git-r0*
| rm: cannot remove '/lmp/build/tmp-lmp-k3r5/work/am64xx_evm_k3r5-lmp-eabi/u-boot-ti-staging/2024.04+git/deploy-u-boot-ti-staging/u-boot-initial-env-am64xx-evm-k3r5-2024.04+git-r0*'
| : No such file or directory
| + true
| + rm /lmp/build/tmp-lmp-k3r5/work/am64xx_evm_k3r5-lmp-eabi/u-boot-ti-staging/2024.04+git/deploy-u-boot-ti-staging/u-boot-ti-staging-initial-env-am64xx-evm-k3r5-2024.04+git-r0*
| rm: cannot remove '/lmp/build/tmp-lmp-k3r5/work/am64xx_evm_k3r5-lmp-eabi/u-boot-ti-staging/2024.04+git/deploy-u-boot-ti-staging/u-boot-ti-staging-initial-env-am64xx-evm-k3r5-2024.04+git-r0*'
| : No such file or directory
| + true

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-04 11:41:13 -05:00
LCPD Automation Script
caf03395d7 CI/CD Auto-Merger: cicd.scarthgap.202410040400
Updated the value(s) for:
  u-boot-ti-staging_2023.04: SRCREV
  linux-ti-staging-rt_6.1: PV,SRCREV
  linux-ti-staging_6.1: PV,SRCREV

Changelogs:
  u-boot-ti-staging_2023.04: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=83660642085462346fbeb410f83bc99448ec7042..7044504f44002fe46b4598420852033d335d56c7
  linux-ti-staging-rt_6.1: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=96b0ebd82722d16e9ab646cd3a73080e6f790747..258616ead12edc4acf7ac38e741d588b372144e4
  linux-ti-staging_6.1: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=c1c2f1971fbf6ddad93a8c94314fe8221e7aa6be..da449d8c3cf600b0346a6696e1e3cc431422e765

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-10-04 04:00:44 -05:00
LCPD Automation Script
c47b32806d CI/CD Auto-Merger: cicd.scarthgap.202410020400
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=821faad142f51304bf2f8e0526838f17dc247825..64248dad39a9448ad191bc04130c49e0354cb2ce

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-10-02 04:00:37 -05:00
LCPD Automation Script
19784e27f9 CI/CD Auto-Merger: cicd.scarthgap.202409271545
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV
  u-boot-ti-staging_2024.04: SRCREV
  linux-ti-staging-rt_6.6: PV,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=35fa44a93549d8d91b1c37a7b9f8767dbe7d37eb..821faad142f51304bf2f8e0526838f17dc247825
  u-boot-ti-staging_2024.04: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=7986fd679935818d0ef11e6a334377df178774f6..b78dde22088773147d80c3b85c885d9be7a2bfab
  linux-ti-staging-rt_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=85d46cfcef8242e37cbd99a6591cab2b90d0d8ed..d05688f353d10af170286db56535443184202eab
  linux-ti-staging_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=d5b1bee95de93e6ab87e73242c20910e7d7d3d83..325ad3650d0b50a4943b9151fb43411f08ad5d0c

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-09-27 15:46:25 -05:00
Ryan Eatmon
ee060643e2 linux: Remove two 6.6 reproducibility patches
The upcoming SRCREV change to the linux-ti 6.6 kernel version no longer
needs these two patches, and they are blocking the CICD promotion being
in place.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-09-24 10:59:17 -05:00
Andrew Davis
8634e44674 meta-ti-extras: ti-osal: Remove this recipe
Last user was dspdce-fw which is removed. Remove this now unused
support library.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-09-23 13:52:17 -05:00
Andrew Davis
b8523a7b03 meta-ti-extras: dspdce-fw: Remove unused firmware
This was an attempt to run the DCE server firmware on the DSP instead
of on the IPU M4 cores. Not widely used and not used at all anymore,
remove the firmware for this.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-09-23 13:52:17 -05:00
Andrew Davis
2a95f97903 cmem: Remove CMEM userspace library
CMEM has been deprecated for removal for some time now. All users should
have migrated to the Linux upstream DMA-BUF Heaps framework. Remove CMEM.

We have already removed the CMEM kernel module but left the CMEM userspace
recipe to prevent breaking meta-arago builds which had some leftover
packages that still had a dependency on it. Nothing we now build still
needs this now so drop it out also.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-09-23 13:50:34 -05:00
Chirag Shilwant
acaca70dea conf: machine: Remove multiconfig compulsion for k3 platforms
- While implementing k3.inc, there was an assumption that all
k3 based TI SOC's would always have a Cortex-R5F core [1]. This
assumption is not true.

- Hence, create a new mc_k3r5 include file & move the multiconfig
dependencies to it. Also, include this file only in those k3 platforms
which needs the R5 multiconfig support.

[1]: https://git.ti.com/cgit/arago-project/meta-ti/commit/conf/machine/include/k3.inc?h=scarthgap&id=f814840465358a6b5429ad20165742ac6e6e6a29

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-09-12 15:06:06 -05:00
Ryan Eatmon
07edb3156e Revert "conf: machine: Breakout IMAGE_BOOT_FILES into new variables"
This reverts commit cada5eb9a6.
2024-09-12 12:24:42 -05:00
Ryan Eatmon
11ce93afcf Revert "ti-unified-wic: Tool to create new wics from deployed collateral"
This reverts commit 7784943fda.
2024-09-12 12:24:42 -05:00
Ryan Eatmon
56c8f4a23e Revert "conf: machine: am62xx-unified: Create new common am62xx machine"
This reverts commit a1eb263dd3.
2024-09-12 12:24:42 -05:00
Ryan Eatmon
2a1878a6b3 Revert "classes: Create uboot-fragments.bbclass"
This reverts commit f39943db86.
2024-09-12 12:24:42 -05:00
Ryan Eatmon
1e536ba12e Revert "conf: machine: Move to new UBOOT_FRAGMENTS"
This reverts commit fc52833b34.
2024-09-12 12:24:42 -05:00
LCPD Automation Script
9a12c2b49b CI/CD Auto-Merger: cicd.scarthgap.202409090400
Updated the value(s) for:
  linux-ti-staging-rt_6.6: SRCREV
  linux-ti-staging_6.6: SRCREV

Changelogs:
  linux-ti-staging-rt_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=fb018c5e9fa7eb05fa1cb2e87760d9c1e430da64..85d46cfcef8242e37cbd99a6591cab2b90d0d8ed
  linux-ti-staging_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=c0deda7906ed2661afaa841e1d822932a37f38f6..d5b1bee95de93e6ab87e73242c20910e7d7d3d83

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-09-09 04:00:50 -05:00
LCPD Automation Script
692ec454f4 CI/CD Auto-Merger: cicd.scarthgap.202409050400
Updated the value(s) for:
  linux-ti-staging-rt_6.6: SRCREV
  linux-ti-staging_6.6: SRCREV

Changelogs:
  linux-ti-staging-rt_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=2cc066b2c5d12544415bd84564e633bf852bef74..fb018c5e9fa7eb05fa1cb2e87760d9c1e430da64
  linux-ti-staging_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=d80245c38ed4432878e5fe309f6ba958fd2c2e8f..c0deda7906ed2661afaa841e1d822932a37f38f6

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-09-05 04:00:47 -05:00
Denys Dmytriyenko
850131c1ae openmp-rtos: deprecate
Remove openmp-rtos component as deprecated and not maintained.

This used to provide OpenMP DSP runtime components for legacy devices.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-09-03 10:44:41 -05:00
Max Krummenacher
c1faefa62a mesa-pvr: set pv explicitly
openembedded-core commit f5cfb3e23603 ("mesa: set PV from the .inc
file and not via filenames") now sets PV in the mesa.inc file
explicitely to whatever version oe-core is using.
Override that setting to the actual version here to prevent the
following parse error and whatever else would go wrong afterwards.

| ERROR: .../mesa-pvr_23.2.1.bb: Unable to get checksum for mesa-pvr SRC_URI entry 0001-meson-Disable-cmake-dependency-detector-for-llvm.patch: file could not be found
| The following paths were searched:
| .../meta-ti-bsp/recipes-graphics/mesa/mesa-pvr-24.0.7/bsp-ti-6_1/0001-meson-Disable-cmake-dependency-detector-for-llvm.patch
| ...

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-08-27 10:13:35 -05:00
Ryan Eatmon
fc52833b34 conf: machine: Move to new UBOOT_FRAGMENTS
Migrate the machine configs to use the new UBOOT_FRAGMENTS methodology.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-08-22 11:14:32 -05:00
Ryan Eatmon
f39943db86 classes: Create uboot-fragments.bbclass
Update our custom config fragment handling code to work with the new
UBOOT_CONFIG changes.  To better align with naming, change the name of
UBOOT_CONFIG_FRAGMENTS to just UBOOT_FRAGMENTS.  Also create a
UBOOT_FRAGMENTS_CONFIG that goes hand in hand with UBOOT_CONFIG so that
you can specify different fragments for each of the config types.

For example:

  UBOOT_CONFIG = "a b"
  UBOOT_CONFIG[a] = "config_a"
  UBOOT_CONFIG[b] = "config_b"

  UBOOT_FRAGMENTS_CONFIG[a] = ""
  UBOOT_FRAGMENTS_CONFIG[b] = "fragment1"

The logic in the class will automatically populate UBOOT_FRAGMENTS from
UBDOOT_FRAGMENTS_CONFIG.

Additionally, change the value that UBOOT_FRAGMENTS can take to be a
comma separated list of fragments to apply.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-08-22 11:14:32 -05:00
Ryan Eatmon
a1eb263dd3 conf: machine: am62xx-unified: Create new common am62xx machine
To reduce the number of required builds for testing purposes, create a
common unified am62xx machine target that can produce all of the files
for all of the variant platforms related to am62xx (sip and lp).
Additionally, continue to support building the specific target if
desired.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-08-22 11:14:32 -05:00
Ryan Eatmon
7784943fda ti-unified-wic: Tool to create new wics from deployed collateral
Deploy a shell script that can take the deployed images/bootloaders from
a build and swap out the bootloader files with alternate versions
produced from the UBOOT_CONFIG flow and from what the u-boot binman tool
creates.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-08-22 11:14:32 -05:00
Ryan Eatmon
cada5eb9a6 conf: machine: Breakout IMAGE_BOOT_FILES into new variables
The IMAGE_BOOT_FILES variable has been overloaded to include additional
files that should be included in the boot partition but are not boot
loaders themselves (images, etc...).

There is also a need to generate a report in the deploy directory for
the list of actual bootloader files that were constructed as part of the
build.

Solution, break the IMAGE_BOOT_FILES into two new variables
TI_BOOTLAODERS and TI_MULTICONFIGS and default IMAGE_BOOT_FILES to
TI_BOOTLOADERS.  This way we can stick additional boot loaders into a
new variable and they will will end up in the IMAGE_BOOT_FILES list.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-08-22 11:14:32 -05:00
Ryan Eatmon
4250e0efa3 u-boot-ti.inc: Refactor overrides to match changes in oe-core
A recent change in oe-core [1] to refactor the uboot flow allows for a more
targeted refactoring of our override code as well.

[1] TBD

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-08-22 11:14:32 -05:00
LCPD Automation Script
b173fe9692 CI/CD Auto-Merger: cicd.scarthgap.202408220400
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=818c76aed67f94059b9ebb94d237418802620b81..7986fd679935818d0ef11e6a334377df178774f6
  linux-ti-staging-rt_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=f9bceb7343387ac6fab003518f1cd31987d6eb05..2cc066b2c5d12544415bd84564e633bf852bef74
  linux-ti-staging_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=db88712931433e92a5f73cec57c82c5c7ebee593..d80245c38ed4432878e5fe309f6ba958fd2c2e8f

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-08-22 04:00:45 -05:00
Kamlesh Gurudasani
12f956fc70 trusted-firmware-a: Update to v2.11 release tag
Update to latest release tag, i.e. v2.11.

Also update the LIC_FILES_CHKSUM since the license file changed since
the last SRCREV change.

Commit:
f2735ebccf

Tag:
https://git.trustedfirmware.org/TF-A/trusted-firmware-a/+/refs/tags/v2.11

Signed-off-by: Kamlesh Gurudasani <kamlesh@ti.com>
Tested-by: Manorit Chawdhry <m-chawdhry@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-08-16 17:25:49 -05:00
Nishanth Menon
44c411e544 meta-ti-extras: recipes-multimedia: libdce: Fix libdce SRC_URI
omapzoom has been down since a long time. Point the repository to the
mirror in git.ti.com

Reported-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-08-04 17:16:13 -05:00
Ryan Eatmon
d2ad1d667a conf: machine: omapl138-lcdk: Update KERNEL_DEVICETREE
Update the entry for KERNEL_DEVICETREE to match what is in the 6.10
kernel.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-08-04 17:16:13 -05:00
Ryan Eatmon
0f9b4b437d u-boot-ti-mainline: Update to 2024.07
Update to the latest u-boot release v2024.07.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-08-04 15:10:14 -05:00
Ryan Eatmon
23af1ebc21 debugss-module-drv: Fix compile failure under kernel v6.10
A compile error has apperaed when building againt the v6.10 kernel.

git/debugss_module/debugss-mod/debugss_kmodule.c:1149:34: error: array type has incomplete element type 'struct of_device_id'
 1149 | static const struct of_device_id dra7xx_debugss_of_match[] = {
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~

The easy fix is just to add an include for the header that defines the
missing struct.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-08-04 12:02:46 -05:00
Ryan Eatmon
779d0a9a52 linux: Reproducibility patches from meta-ti-upstream for 6.10
Backport the reproducibility patches from meta-ti-upstream for the v6.10
mainline kernel.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-08-02 17:29:32 -05:00
LCPD Automation Script
16af84c57d linux-ti-mainline: Update to version: v6.10
Updated the value(s) for:
  am57xx-evm: KERNEL_DEVICETREE
  am62axx-evm: KERNEL_DEVICETREE
  am62pxx-evm: KERNEL_DEVICETREE
  am62xx-evm: KERNEL_DEVICETREE
  am62xx-lp-evm: KERNEL_DEVICETREE
  am68-sk: KERNEL_DEVICETREE
  am69-sk: KERNEL_DEVICETREE
  beagleplay: KERNEL_DEVICETREE
  am64xx-evm: KERNEL_DEVICETREE
  am65xx-evm: KERNEL_DEVICETREE
  am335x-evm: KERNEL_DEVICETREE
  am437x-evm: KERNEL_DEVICETREE
  j7200-evm: KERNEL_DEVICETREE
  j721e-evm: KERNEL_DEVICETREE
  j721e-sk: KERNEL_DEVICETREE
  j721s2-evm: KERNEL_DEVICETREE
  j722s-evm: KERNEL_DEVICETREE
  j784s4-evm: KERNEL_DEVICETREE
  linux-ti-mainline: PV,SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-08-02 08:44:09 -05:00
LCPD Automation Script
84328ead40 CI/CD Auto-Merger: cicd.scarthgap.202408011846
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=1a74648ab378f8c14ae6fc3a4f11ed3ad1ad7126..818c76aed67f94059b9ebb94d237418802620b81
  linux-ti-staging-rt_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=e1ea7912c2045eaea586cb12cc63b6280e2a6c35..f9bceb7343387ac6fab003518f1cd31987d6eb05
  linux-ti-staging_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=a816c5abf3307f42e308a1fe13bd72244f37ec86..db88712931433e92a5f73cec57c82c5c7ebee593

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-08-01 18:47:00 -05:00
LCPD Automation Script
5250a7d136 CI/CD Auto-Merger: cicd.scarthgap.202408010400
Updated the value(s) for:
  ti-linux-fw: TI_DM_FW_VERSION,TI_LINUX_FW_SRCREV
  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=1e01062a34b88427c2fca1ce7c5a5c308961e0c7..35fa44a93549d8d91b1c37a7b9f8767dbe7d37eb
  u-boot-ti-staging_2024.04: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=fda88f8bcea30590528930ff9441c6e958da86f5..1a74648ab378f8c14ae6fc3a4f11ed3ad1ad7126
  linux-ti-staging-rt_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=04a9ad081f0f255a046f398abf6faf1d4374267f..e1ea7912c2045eaea586cb12cc63b6280e2a6c35
  linux-ti-staging_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=6de6e418c80edfbe08f4a5f851c721bd60c0123b..a816c5abf3307f42e308a1fe13bd72244f37ec86

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-08-01 04:00:45 -05:00
Ryan Eatmon
d27fa33b3a gdbc6x: Disable buildpaths check
The gdbc6x debugger might be able to be updated for the reproducible
build effort.  While we continue to explore what is possible, we will
disable the check so that we can continue to maintain our code for
releases.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-30 08:55:08 -05:00
Ryan Eatmon
483e420dee gdbserver-c6x: Disable buildpaths check
The ti-cgt6x compiler is a custom TI compiler for the TI C6000
Digital Signal Processor(DSP) platform.  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>
2024-07-30 08:55:08 -05:00
Ryan Eatmon
bfb1338e11 libulm: Disable buildpaths check
The ti-cgt6x compiler is a custom TI compiler for the TI C6000
Digital Signal Processor(DSP) platform.  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>
2024-07-30 08:55:08 -05:00
Ryan Eatmon
2d37a5babf ti-ipc-rtos: Disable buildpaths check
The ti-cgt6x compiler is a custom TI compiler for the TI C6000
Digital Signal Processor(DSP) platform.  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>
2024-07-30 08:55:08 -05:00
Ryan Eatmon
b33978b8df ti-sysbios: remove install log to avoid "buildpaths" QA error
Installer log contains absolute paths and is not really needed.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-30 08:52:42 -05:00
Ryan Eatmon
8039d2c150 ti-ipc: Fix "buildpaths" QA error
Referring to the TI specific kernel header file via -I${UNPACKDIR}
causes a "buildpaths" QA error.  Solution is to tell gcc to map the host
directory to a target directory using -fdebug-prefix-map

Suggested-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-30 08:49:39 -05:00
Denys Dmytriyenko
6fe59578fa ti-cgt-pru: remove install log to avoid "buildpaths" QA error
Installer log contains absolute paths and is not really needed.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-30 08:43:13 -05:00
LCPD Automation Script
1380773496 CI/CD Auto-Merger: cicd.scarthgap.202407271443
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
  k3conf: SRCREV
  linux-ti-staging-rt_6.6: SRCREV
  linux-ti-staging_6.6: SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-07-27 14:44:31 -05:00
Ryan Eatmon
fb3ea09a04 gcc-arm-baremetal: Add arch to INSANE_SKIP
A newly enabled check in master is causing errors with this package:

ERROR: QA Issue: Architecture did not match (ARM, expected x86-64)

Adding arch to the INSANE_SKIP variable disables that check for this
recipe.

Suggested-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-26 14:16:28 -05:00
Ryan Eatmon
a451e19973 linux: Manage the kernel patches using the BSP system
Applying the patches to all kernels is not going to work.  Each kernel
might need different patches to address reproducibility issues.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-23 09:02:20 -05:00
LCPD Automation Script
f2feb85e96 CI/CD Auto-Merger: cicd.scarthgap.202407230400
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV
  u-boot-ti-staging_2024.04: SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-07-23 04:00:49 -05:00
LCPD Automation Script
d398ed7472 CI/CD Auto-Merger: cicd.scarthgap.202407191111
Updated the value(s) for:
  ti-linux-fw: TI_DM_FW_VERSION,TI_LINUX_FW_SRCREV
  u-boot-ti-staging_2024.04: SRCREV
  k3conf: SRCREV
  linux-ti-staging-rt_6.6: SRCREV
  linux-ti-staging_6.6: SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-07-19 11:12:00 -05:00
Aniket Limaye
33668f996f meta-ti-bsp: j742s2: add Rogue GPU driver to machine definition
Add ti-img-rogue-driver as the preferred provider and enable the gpu
driver in the image.

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-18 08:27:29 -05:00
Aniket Limaye
ed9d48d39a meta-ti-bsp: powervr: Enable building for j742s2
j742s2 has the same GPU as j784s4. Add j742s2 support to the recipes.

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-18 08:27:29 -05:00
Aniket Limaye
17f2f140fe meta-ti-bsp: Add support for j742s2-evm
- Add A72 and R5 machine configurations for j742s2-evm
- Add firmware overrides.
- Add u-boot overrides.

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-18 08:27:29 -05:00
Ryan Eatmon
788f3f5b37 conf: machine: j722s: Update IMAGE_BOOT_FILES for mainline builds
As this is still a new platform, the bsp-mainline also does not have the
hs-fs boot files.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-17 19:47:42 -05:00
Ryan Eatmon
d6dda61fa0 linux: Fix assignment of SRC_URI for patches
Testing shows that the SRC_URI += does not work for adding the new
patches.  += takes place during parsing, we want :append instead to make
sure that no matter what SRC_URI is in the various kernel recipes, that
we we append the patches to the end.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-17 19:46:38 -05:00
Denys Dmytriyenko
6ef887e76d linux: add linux-yocto reproducibility patches
Add reproducibility patches from linux-yocto to resolve "buildpaths"
QA errors.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-17 19:45:11 -05:00
Denys Dmytriyenko
49a502cefa linux: remove old unused patches
These patches are not used anywhere now.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-17 19:45:11 -05:00
Praneeth Bajjuri
599eb3d23a ipc: ti-rpmsg-char: Update library to 0.6.7
update from 0.6.6 to 0.6.7.
This update brings the following fixes from ti-rpmsg-char repo.

5100a2e lib: Fix truncation warnings
15011fe example: Add roundtrip delay metering
aac39ae lib: fix truncation warnings with spritnf
4b9fd76 include: rproc_id: Add numbered enum

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-16 09:53:38 -05:00
LCPD Automation Script
90d605ab14 CI/CD Auto-Merger: cicd.scarthgap.202407160400
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

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-07-16 04:00:51 -05:00
Randolph Sapp
fa22d26c2c ti-img-rogue-driver: pickup page size patches
Bump SRCREV to pick up some patches that adjust the way heaps are
sized. This solves issues seen when utilizing page sizes greater
than 4K.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-12 07:25:14 -05:00
Ryan Eatmon
8beb4375d0 Revert "conf: machine: am62*-evm-k3r5.conf: apply fragment for enabling USB DFU"
This reverts commit fa94effc26.

There are boot issues with SD card booting with this change.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-12 07:15:32 -05:00
LCPD Automation Script
421c347226 CI/CD Auto-Merger: cicd.scarthgap.202407112101
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

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-07-11 21:02:20 -05:00
Randolph Sapp
bf4708e13e ti-img-rogue-umlibs_23: add ldflags to INSANE_SKIP
Adding this sanity check here preemptively. Since these libraries were
compiled with an older version of GCC than what is currently in use on
scarthgap and master they won't trip the sanity check just yet, but if
someone attempts to update them and uses a newer compiler (for some
reason) it will trigger the sanity checks again.

This also keeps the DDK 23.3 and 24.1 recipe diff to a minimum.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-11 09:08:34 -05:00
Randolph Sapp
272b0135da ti-img-rogue-umlibs: fix libopencl-rogue-tools sanity
Add ldflags to INSANE_SKIP for the libopencl-rogue-tools package. For
some reason I didn't catch this sooner, but this falls victim to the
same issues the parent package faced earlier this year.

Just enough options enabled that Yocto wants to do a ldflags check, but
the DDK will not be able to utilize all the build flags Yocto uses.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-11 09:08:34 -05:00
Paresh Bhagat
334bce475f recipes-ti: jailhouse: Update jailhouse for scarthgap
- Update SRCREV for jailhouse which incorporates makefile changes for
scarthgap.
- To handle ${ARAGO_IMAGE_SUFFIX}, add * wherever JH_RAMFS_IMAGE is used in
do_install (install or copy) so to pick correct inmate image for RT build.
- Skip QA checks for usrmerge and buildpath. This is required to package
jailhouse in image.
- Update FILES:${PN}.

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-11 09:04:44 -05:00
Paresh Bhagat
5d4466fdfc ti-extras: Update SRCREV and BRANCH for ti-extras sources
Update u-boot/ti-extras.inc to 2024.04 version.
Update linux/ti-extras-rt.inc to 6.6 version.
Update linux/ti-extras.inc to version 6.6.

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-11 08:55:12 -05:00
Siddharth Vadapalli
fa94effc26 conf: machine: am62*-evm-k3r5.conf: apply fragment for enabling USB DFU
The config fragment "am62x_r5_usbdfu.config" is applicable to AM62x,
AM62x-SIP, AM62x-LP-EVM, AM62Ax and AM62Px devices and enables USB DFU boot
support at the R5 stage of boot.

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Acked-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-11 08:55:12 -05:00
LCPD Automation Script
8690d09b8f CI/CD Auto-Merger: cicd.scarthgap.202407110400
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

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-07-11 04:00:42 -05:00
LCPD Automation Script
ff9bf7b960 CI/CD Auto-Merger: cicd.scarthgap.202407071800
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

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-07-07 18:00:51 -05:00
LCPD Automation Script
af2c741c8c CI/CD Auto-Merger: cicd.scarthgap.202407050400
Updated the value(s) for:
  ti-linux-fw: TI_DM_FW_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

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-07-05 04:00:45 -05:00
Chirag Shilwant
830d81bb7f conf: machine: Update am62pxx-evm for multi-BSP support
- In ti-u-boot-2024.04, the config fragment to disable splashscreen
is now renamed to am62x_evm_prune_splashscreen.config [1]
Hence, update UBOOT_CONFIG_FRAGMENTS for the same.

- Add UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 which ensures that
am62pxx-evm machine configuration still supports Display Cluster usecase [2]
with ti-u-boot-2023.04

[1]: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/commit/?h=ti-u-boot-2024.04&id=981eddc83dfdbbf176a4984977f9779dc1d56f87

[2]: https://software-dl.ti.com/mcu-plus-sdk/esd/AM62PX/09_01_00_39/exports/docs/api_guide_am62px/EXAMPLES_DRIVERS_DSS_DISPLAY_SHARE.html

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Reviewed-by: Devarsh Thakkar <devarsht@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-04 08:57:25 -05:00
Vaishnav Achath
c536e36e28 conf: machine: am69-sk: Pick overlays for IMX219 and FPD-Link
J721E SK, AM68 SK and AM69 SK have similar connectivity
for CSI2 RPi connector and the same overlays can be reused,
thus pick the J721E SK CSI2 IMX219, fusion overlay and
AM68 SK V3Link fusion overlay for AM69 SK also.

Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-28 13:01:12 -05:00
Vaishnav Achath
dec55a3712 conf: machine: am68-sk: Pick overlays for IMX219 and FPD-Link
J721E SK and AM68 SK have similar connectivity for CSI2 RPi
connector and the same overlays can be reused, thus pick the
J721E SK CSI2 IMX219 and fusion overlays for AM68 SK also.

Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-28 13:01:12 -05:00
Vaishnav Achath
37db17985f conf: machine: j784s4-evm: Pick overlays for CSI2 and FPD-Link
J784S4 and J721S2 EVM has similar connectivity for MIPI CSI2
connector and the same overlays can be reused, thus pick the
J721S2 CSI2 OV5640 and J721S2 EVM fusion overlays for J784S4.

Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-28 13:01:12 -05:00
LCPD Automation Script
e902a647ec CI/CD Auto-Merger: cicd.scarthgap.202406280400
Updated the value(s) for:
  ti-linux-fw: PRUETH_FW_AM65X_SR2_VERSION,TI_LINUX_FW_SRCREV
  u-boot-ti-staging_2024.04: SRCREV
  linux-ti-staging-rt_6.6: SRCREV
  linux-ti-staging_6.6: SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-06-28 04:00:51 -05:00
Randolph Sapp
d0967bd01f ti-img-rogue-driver_24.1: gcc 14 compat
Bump this recipe to add a change to help with GCC 14 compatibility in
the check-cc script used to check compiler flags before use.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-26 19:29:05 -05:00
Randolph Sapp
1637b2830c ti-img-rogue-*_23.3: gcc 14 compat and branch sel
Bump this recipe to add a change to help with GCC 14 compatibility in
the check-cc script used to check compiler flags before use.

Reset this back to the proper branches for kernel 6.1 since this recipe
is only being used in 6.6 bsp providers.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-26 19:29:05 -05:00
Sabeeh Khan
9c03a91c81 cc33xx-target-scripts: add cc33xx scripts to control TI cc33xx WLAN device
Add scripts and conf files to be used to control and configure
the cc33xx WLAN device. Documentation for these scripts can be found here:
https://www.ti.com/tool/CC33XX-SOFTWARE

Signed-off-by: Sabeeh Khan <sabeeh-khan@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-26 19:29:05 -05:00
Sabeeh Khan
6f750ff4a9 cc33xx-fw: install cc33xx firmware
Download and install the cc33xx firmware and binaries
to be used with the cc33xx drivers.

FW Version: 1.7.0.120

Signed-off-by: Sabeeh Khan <sabeeh-khan@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-26 19:29:05 -05:00
Sabeeh Khan
a5f833be1b cc33calibrator: add new cc33calibrator tool for cc33xx devices
cc33calibrator is a tool provided by TI to manually control the
radio frontend of the cc33xx device. This tool can also be used
for production line testing of the radio.
Documentation for this tool is provided within the following link:
https://www.ti.com/tool/CC33XX-SOFTWARE

Signed-off-by: Sabeeh Khan <sabeeh-khan@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-26 19:29:05 -05:00
Sabeeh Khan
bde92b899e cc33conf: add new cc33conf tool for cc33xx devices
cc33conf is a tool provided by TI to configure
cc33xx WLAN devices. It can be used to change
the RF parameters and other features of the target.
Documentation for this tool is provided within the following link:
https://www.ti.com/tool/CC33XX-SOFTWARE

Signed-off-by: Sabeeh Khan <sabeeh-khan@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-26 19:29:05 -05:00
Denys Dmytriyenko
7910ea6519 linux: cleanup and unify mainline and next kernel recipes
Share the most commonality between the recipes, except:

* SRC_URI torvalds vs. linux-next
* SRCREV and PV
* Device Tree list vs. DT prefix
* SUMMARY

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-26 19:29:05 -05:00
Denys Dmytriyenko
62c25daa36 ti-rtos-metadata: remove
The use of external metadata file to control RTOS binary firmware
integration has been deprecated some time ago. Remove it now.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-26 19:29:05 -05:00
LCPD Automation Script
67b6af4720 CI/CD Auto-Merger: cicd.scarthgap.202406260816
Updated the value(s) for:
  ti-linux-fw: 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

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-06-26 08:17:45 -05:00
LCPD Automation Script
f73d964327 CI/CD Auto-Merger: cicd.scarthgap.202406202156
Updated the value(s) for:
  ti-linux-fw: CNM_WAVE521_FW_VERSION,TI_DM_FW_VERSION,TI_LINUX_FW_SRCREV
  u-boot-ti-staging_2024.04: SRCREV
  linux-ti-staging-rt_6.6: SRCREV
  linux-ti-staging_6.6: SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-06-20 21:57:32 -05:00
Ryan Eatmon
f7b6116a3a j722s: next BSP doesn't support all SR and HS variants
Adjust IMAGE_BOOT_FILES list as next BSP does not support all combinations
of SR1.0, HS-FS and HS-SE variants.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-20 11:56:01 -05:00
Ryan Eatmon
546ad62c65 conf/machine, ti-bsp: Add support for next BSP provider
For our upstream testing flow we have the need to have a "next" BSP for
configuring various settings based on building the latest kernel/uboot.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-20 11:51:37 -05:00
Denys Dmytriyenko
18ba93db40 j7200: mainline BSP doesn't support all SR and HS variants
Adjust IMAGE_BOOT_FILES list as mainline BSP does not support all combinations
of SR1.0, SR2.0, HS-FS and HS-SE variants.

Suggested-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-19 09:35:31 -05:00
Denys Dmytriyenko
ac9e27871a beaglebone-ai64: BB.org does not support all SR and HS variants
Adjust IMAGE_BOOT_FILES list as BB.org BSP does not support all combinations
of SR1.1, SR2.0, HS-FS and HS-SE variants, same as J721e EVM in mainline.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-19 09:35:31 -05:00
Chirag Shilwant
58395d75d3 conf: machine: Update am62xxsip-evm for multi-BSP support
Update am62xxsip-evm machine configuration to support
TI kernel 6.1 & ti-u-boot-2023.04

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-18 11:28:47 -05:00
Aniket Limaye
f8ae46b1f9 conf: machine: add j721e-sk machine-configuration
As of commit [1] there will be a separate defconfig to build u-boot for
j721e-evm and j721e-sk.

Hence, introduce new yocto machine configs for j721e-sk.

[1]: c9507f07a1

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-18 11:28:47 -05:00
LCPD Automation Script
1d070daf6e CI/CD Auto-Merger: cicd.scarthgap.202406180400
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

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-06-18 04:00:43 -05:00
Denys Dmytriyenko
be422dac3b meta-ti: remove MACHINE_KERNEL_PR globally
MACHINE_KERNEL_PR is a remnant of the early OE days and hasn't been
needed for quite some time. Let's finally remove it completely.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-15 08:07:44 -05:00
Denys Dmytriyenko
3f09f2b995 conf/machine: use the default TI BSP for BeaglePlay
BeaglePlay gains official support from latest TI lts-6.6 baseline, so set
it as the default. Other Beagle platforms will still use BB.org as default.

And these defaults can still be changed with TI_PREFERRED_BSP setting in a
distro config or by end user in the local.conf

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-15 08:07:44 -05:00
Denys Dmytriyenko
cceeec50a5 conf/machine/beagle*, linux-bb.org: update for multi-BSP support
Update all Beagle platform configurations to support multiple BSPs.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-15 08:07:44 -05:00
Denys Dmytriyenko
09bc1e353e conf/machine/j721e: some BSPs don't support all SR and HS variants
Adjust IMAGE_BOOT_FILES list as some BSPs do not support all combinations
of SR1.1, SR2.0, HS-FS and HS-SE variants.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-15 08:07:44 -05:00
Denys Dmytriyenko
7394a1b438 conf/machine, ti-bsp: add support for multiple BSP providers
This adds a facility to define multiple supported BSPs with their own
preferences for individual components, as well as lets machine configs
specify conditional configurations for different BSPs.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-15 08:07:44 -05:00
Chirag Shilwant
e85ae1d830 conf: machine: Update UBOOT_MACHINE for am62xxsip-evm
Modify the U-Boot defconfig names for A53 and R5
machine configurations based on ti-u-boot-2024.04 [1]

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

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-15 08:07:44 -05:00
Randolph Sapp
7647f7c800 ti-img-rogue-umlibs: update for new am62p binaries
Bump the SRCREV to pick up some new binaries for AM62P. The allocation
patch for Chromium was not included for this device previously.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-15 08:07:44 -05:00
Chirag Shilwant
45f15a5024 meta-ti-bsp: ti-rtos-bin: Drop references of am62-main-r5f0_0-fw
- Under ti-ipc, ti-linux-firmware repository never had a R5 firmware for AM62x [1]
It only contains `am62-mcu-m4f0_0-fw` since AM62x firmwares were initially added [2]

- Hence, remove this faulty code that used to create a R5 firmware symlink under /lib/firmware/
that ultimately used to point to the same M4 firmware under /lib/firmware/ti-ipc/am62xx/ of filesystem.

[1]: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/tree/ti-ipc/am62xx?h=ti-linux-firmware

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

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-15 08:07:44 -05:00
LCPD Automation Script
a68200bc01 CI/CD Auto-Merger: cicd.scarthgap.202406140408
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

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-06-14 04:08:46 -05:00
LCPD Automation Script
e8f03ea3c7 CI/CD Auto-Merger: cicd.scarthgap.202406131800
Updated the value(s) for:
  u-boot-ti-staging_2024.04: SRCREV
  linux-ti-staging-rt_6.6: PV,SRCREV
  linux-ti-staging_6.6: PV,SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-06-13 18:00:54 -05:00
Denys Dmytriyenko
911524e35b conf/machine, linux-bb.org: re-org DT lists for Beagle platforms
In order to be able to switch between different kernel providers, as well
as different versions of kernel LTS (e.g. 6.1 vs. 6.6), let's re-organize
Device Tree lists as follows:

* Move all Beagle-specific DTBs and overlays into corresponding linux-bb.org
recipe for now, to be used when building beagleboard.org baseline
* Update KERNEL_DEVICETREE in the machine configs to only list what already
exists in the upstream/mainline kernel
* Update KERNEL_DEVICETREE_PREFIX to match the list when building TI baseline

With this change it is now very easy to switch the kernel between providers
supported by meta-ti - linux-ti-mainline, linux-ti-staging and linux-bb.org

Please note that 6.6 LTS has moved to "vendored" device tree layout even for
32-bit platforms, while BB.org still uses 6.1 LTS and flat DT layout.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-07 13:44:01 -05:00
Randolph Sapp
9214aec743 gitignore: lift some sane defaults from others
Lift the common parts of the top level gitignore from oe-core and
meta-openembedded. This masks out temporary python files, intermediate
artifacts, and unclean patch leftovers (.orig, .rej, etc).

We're choosing to leave patches at the root of the project out of this
as maintainer preference.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-06 21:09:23 -05:00
Aniket Limaye
835fe057a7 conf: machine: add AM68-SK machine configuration
As of commit [1] there will be a separate defconfig to build u-boot
for j721s2-evm and am68-sk.

Hence, introduce new yocto machine configs for am68-sk. This is done
through a new am68.inc file as the am68-sk platform does not support GP.
So j721s2-evm.inc is copied to am68.inc and updated accordingly.

[1]: a96be9b8c0

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-06 09:17:36 -05:00
LCPD Automation Script
cb025b80e7 CI/CD Auto-Merger: cicd.scarthgap.202406060400
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV,TI_SYSFW_VERSION
  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: SRCREV
  linux-ti-staging_6.1: PV,SRCREV
  linux-ti-staging_6.6: SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-06-06 04:00:51 -05:00
Randolph Sapp
a973fb3de5 ti-img-rogue-umlibs: bump SRCREV for alloc patch
Bump the SRCREV to pick up rebuilt binaries. Upstream release notes:

Regenerate all binaries with a fix for exportable buffer allocations
that should improve Chromium compatibility.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-05-31 17:31:17 -05:00
Denys Dmytriyenko
2aa0011134 meta-ti-bsp: update BeagleBoard.org BSP to the latest
* Update linux-bb.org to 6.1.80 for both 32 and 64 bit platforms
* Update DTB/DTBO lists to include latest renames and additions
* Re-enable vendored DTB layout by default

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-05-31 17:24:47 -05:00
Kamlesh Gurudasani
a5383bc772 optee: Update to upstream 4.2.0
Update all of the optee components to the upstream 4.2.0 version.

While at it, remove the patches and fixups which are not needed anymore.

Signed-off-by: Kamlesh Gurudasani <kamlesh@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-05-31 17:17:46 -05:00
Ryan Eatmon
d41d49cfdc recipes: Remove DEFAULT_PREFERENCE
Now that are past the inital stages of our LTS migration, we can remove
the DEFAULT_PREFERENCE settings that prevented these recipes from being
the default.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-05-23 12:54:53 -05:00
Ryan Eatmon
3326989e20 conf: machine: Fallback to software rendering
While we are working to finish our kernel migration 6.6, we are falling
aback to software rendering for platforms that do not currently have a
solution for GPU drivers (namely the boards that use SGX).

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-05-23 12:48:00 -05:00
Chirag Shilwant
177d62c372 conf: am437x-evm: Bump up max_leb_cnt
New features added require another increase to max_leb_cnt.

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-05-14 11:01:35 -05:00
LCPD Automation Script
7f5bdf201b CI/CD Auto-Merger: cicd.scarthgap.202405140400
Updated the value(s) for:
  u-boot-ti-staging_2024.04: SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-05-14 04:00:46 -05:00
LCPD Automation Script
545afaca7a CI/CD Auto-Merger: cicd.scarthgap.202405121800
Updated the value(s) for:
  u-boot-ti-staging_2024.04: SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-05-12 18:00:44 -05:00
LCPD Automation Script
bbd25eba74 CI/CD Auto-Merger: cicd.scarthgap.202405081800
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

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-05-08 18:00:41 -05:00
LCPD Automation Script
6f47646da3 CI/CD Auto-Merger: cicd.scarthgap.202405021800
Updated the value(s) for:
  ti-linux-fw: PRUETH_FW_AM65X_SR2_VERSION,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.6: PV,SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-05-02 18:00:45 -05:00
Randolph Sapp
650b690639 mesa-pvr_23.2.1: add recipe for 23.2.1
Add a recipe for mesa-pvr to use a newer branch based on mesa 23.2.1.
This branch does not currently contain SGX patches so it is also being
masked by the ltsprep branding to prevent regressing those devices
currently.

Please note that may run into sstate errors when switching to or away
from the ltsprep tag. Please issue a clean to mesa and
ti-img-rogue-umlibs if you get warnings from either package's
do_create_runtime_spdx step.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-05-02 15:02:04 -05:00
Randolph Sapp
dfd32e7e77 mesa-pvr_23.2.1: import mesa patches from oe-core/master
Locally overlay verbatim copies of mesa 22.3.5 patches from
oe-core/master, so we get whatever QoL patches from core relevant to the
current release.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-05-02 15:02:04 -05:00
Randolph Sapp
d89907ec23 ti-img-rogue-*: add ddk 24.1 recipes for ltsprep
Recipes for DDK 24.1, but lock them behind ltsprep tags because they
require device tree changes that do not work on the current default
kernel for this layer.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-05-02 15:02:04 -05:00
Ryan Eatmon
dd114ef1c5 README: update meta-arm with scarthgap specific info
meta-arm has created the scarthgap branch.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-05-02 14:42:30 -05:00
Ryan Eatmon
78a11543bc conf: machine: am69-sk: Create a new am69.inc file
Reusing the j784s4.inc file presents problems as the am69-sk platform
does not support GP.  So copy the j784s4.inc to am69.inc and update
accordingly.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-30 15:01:45 -05:00
Ryan Eatmon
f8e4272d7e conf: machine: j784s4-evm: Add k3-am69-sk dtb back in
Currently, the 6.1 kernel is the default.  Removing the k3-am69-sk dtb
file only applies to the 6.6 kernel.  Restoring this entry so that
current builds work until such time as the 6.1 kernel is removed from
the recipes.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-30 08:45:14 -05:00
Beleswar Padhi
2666cedb6c conf: machine: add AM69-SK machine configuration
As of commits [1] and [2] in ti-u-boot-2024.04 and upstream respectively
there is a separate defconfig to build u-boot for j784s4-evm and am69-sk

Hence, introduce new yocto machine configs for am69-sk. Also remove am69
devicetree builds from the j784s4-evm conf

[1]: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/commit/?h=ti-u-boot-2024.04&id=8a46af7a39e6218e4de5c6195697af36201c778c
[2]: 740759d558

Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-29 10:03:37 -05:00
Brandon Brnich
6ce53c14dd meta-ti-bsp: cnm-wave-fw: Change target firmware name
Upstream driver expects Wave5 firmware to be named "wave521c_k3_codec_fw.bin".
Driver probe fails because this compatible isn't being found.

Signed-off-by: Brandon Brnich <b-brnich@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-26 16:28:55 -05:00
Denys Dmytriyenko
6a3c9f0a65 wic: prevent boot FAT partition mounting under /boot
Separate FAT boot partition holds SPL, SYSFW and U-boot images, while
rootfs places kernel images and DTBs into /boot directory. So it is not
desirable to mount boot FAT partition into /boot directory of the rootfs
and shadow its original content - adjust corresponding entry in wic
templates.

While at it, remove unused ondisk parameter when using use-uuid, which
takes precedence and is more flexible.

Note: boot FAT partition will be automounted at /run/media/boot-mmcblk0p1/

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Reviewed-by: Jonathan Cormier <jcormier@criticallink.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-26 16:19:34 -05:00
Ryan Eatmon
b8cb7c787f conf: am57/am33/am43: Add/fix DEVICETREE_FILE
The new kernel directory stucture for the DTBs is causing problems when
assembing the image files.  It produces errors like this:

output: install: cannot stat 'deploy-ti/images/XXXX-evm/omap/XXXX.dtb': No such file or directory

or

output: install: cannot stat 'deploy-ti/images/XXXX-evm/ti/omap/XXXX.dtb': No such file or directory

The issue comes from the UBOOT_EXTLINUX_BOOT_FILES list.  am57 already
had a mechanism but it was missing the omap/ dir to remove, and am33 and
am43 were just takeing KERNEL_DEVICETREE directly.  This patch fixes
both cases.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-26 16:17:55 -05:00
Ryan Eatmon
9c0d895c02 conf: machine: Update KERNEL_DEVICETREE for mainline 32bit platforms
We missed that the KERNEL_DEVICETREE should have been updated for the
32bit platforms with the change in linux-ti-mainline to v6.6.  The new
directory structure under arch/arm/boot/dts is in effect for that
version.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-26 16:16:48 -05:00
Sabeeh Khan
a8aa5fb499 wl18xx-target-scripts: upgrade to R8.8.1
This upgrade contains the following changes:
* updated hostapd path in ap_start.sh
* ap_stop.sh removes wlan1 interface
* hostapd.conf updated to work seamlessly with hostapd 2.10

Signed-off-by: Sabeeh Khan <sabeeh-khan@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-22 16:48:32 -05:00
Denys Dmytriyenko
2724e080cd u-boot-ti: deploy initial-env for the main machine
It is useful to have U-boot initial environment deployed for future
reference or to initialize environment files as part of the build.

In multiconfig setup, such as TI K3 platforms, building U-boot
multiple times for Cortex-R5 and Cortex-A53 cores results in file
conflicts when deploying under the same name. To avoid that, those
initial-env files were removed at the end of the do_deploy task.

But it is better to only remove them for k3r5 multiconfig, since
that only builds SPL and saved env doesn't make much sense, but
preserve and deploy initial-env for the main machine multiconfig.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-19 10:20:29 -05:00
Denys Dmytriyenko
dee641c00d meta-ti-extras: remove SRCPV
Last time around SRCPV was removed from meta-ti-bsp[1], but meta-ti-extras
got missed. Resolve it now.

[1] https://git.yoctoproject.org/meta-ti/commit/?id=d7624a767e20c776eb937c2942127299b4dc0093

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-19 10:18:31 -05:00
Paresh Bhagat
20f1200b4b Update SRCREV for jailhouse recipe
Update SRCREV for jailhouse recipe which will add changes for Out of Box
demo and also a new application to test whether the linux inmate cell has
crashed or not.

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Acked-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-19 10:16:16 -05:00
Aniket Limaye
9845f66ae1 conf: machine: j722s: Add support for HS-SE variant
ti-u-boot [1] already supports building the HS-SE variant.
Add support in the machine conf to package this tiboot3.bin in the built wic images.

[1]: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/arch/arm/dts/k3-j722s-binman.dtsi?h=ti-u-boot-2023.04&id=d2612223375a25f81068d7a7abd86c08cd129a2c

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-19 10:15:38 -05:00
Praneeth Bajjuri
7b205e6d92 conf: machine: am62p: pick lpm overlay
overlay k3-am62x-sk-lpm-wkup-sources.dtso is common across
am62x platforms. This overlay is added in 6.1 kernel at [1]

[1]: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/?&id=4ba1886b886d

This patch is to enable the same low power management wakeup sources
overlay for am62pxx platform as well.

Reported-by: Vibhore Vardhan <vibhore@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-19 10:14:57 -05:00
Aniket Limaye
f4b8a42914 conf: machine: j721s2/j784s4: Add support for HS-SE variants
ti-u-boot [1][2] already supports building the HS-SE variants of these platforms.
Add support in the machine confs to package them in the built wic images.

[1]: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/arch/arm/dts/k3-j721s2-binman.dtsi?h=ti-u-boot-2023.04
[2]: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/arch/arm/dts/k3-j784s4-binman.dtsi?h=ti-u-boot-2023.04

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-19 10:13:48 -05:00
Aniket Limaye
546da0ea24 conf: machine: j7200: Add support for HSSE1.0 and HSFS1.0
Latest ti-u-boot will be supporting HSSE1.0 and HSFS1.0 versions of the
j7200 soc through the binman dts nodes. Add support in yocto to package
the created binaries in the wic images.

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-19 10:13:04 -05:00
Aniket Limaye
28e7472393 conf: machine: j721e: Add support for HSSE2.0 and HSFS1.1
Latest ti-u-boot will be supporting HSSE2.0 and HSFS1.1 versions of the
j721e soc through the binman dts nodes. Add support in yocto to package
the created binaries in the wic images.

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-19 10:13:04 -05:00
Ryan Eatmon
56d5881492 linux-ti-staging: Remove SRCPV again
Our CICD script inadvertently added the SRCPV back into the recipes.
The script has been fixed, so removing the variable once again.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-17 09:10:48 -05:00
Chirag Shilwant
14f79c1b2a conf: am335x-evm: Bump up max_leb_cnt
New features added require another increase to max_leb_cnt.

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-08 12:57:06 -05:00
Ryan Eatmon
5e701bce01 conf: machine: beagleplay/beaglebone-ai64: Set KERNEL_DEVICETREE_PREFIX
Set the KERNEL_DEVICETREE_PREFIX so that, when using the various TI
kernel recipes, the "correct" DTB files are pulled in depending on what
is available in that kernel source.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-04 08:40:57 -05:00
Ryan Eatmon
5c049dcb30 README: update with scarthgap specific info
Update the READMEs with the current available scarthgap branches.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-02 14:30:39 -05:00
Rahul T R
a23a678b29 conf: machine: j721s2/j784s4: Pick overlays for V3Link cameras
am69 and am68 sk boards supports V3Link cameras interfaced via V3Link
camera fusion board. Refer to
commit b7a97b1b (conf: machine: am62axx: Pick overlays for V3Link cameras)
for details

Signed-off-by: Rahul T R <r-ravikumar@ti.com>
Acked-by: Jai Luthra <j-luthra@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-02 12:07:47 -05:00
Rahul T R
60a0d58621 conf: machine: j722s-evm: Update KERNERL_DEVICETREE_PREFIX to package fpdlink cam dtbos
j722s-evm supports capture from fpdlink cams via fpdlink fusion1 board
or V3Link camera fusion board. So package fpdlink camera overlays

Signed-off-by: Rahul T R <r-ravikumar@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-02 12:07:47 -05:00
Andrew Davis
070800c321 meta-ti-bsp: Add Zephyr RTOS example firmware
Like the current TI-RTOS/MCU+ firmware, this is a prebuilt example
firmware for TI K3 remote cores. It is an alternative to the echo test
demo currently provided by "ti-rtos-firmware" recipe. In addition to
supporting rpmsg_client_sample just as the current firmware does, it
also provides:

 * A serial console with shell on the MCU UART port
 * A console over RPMSG at /dev/ttyRPMSG0
 * Example usage of the MCU GPIO/I2C/SPI from this shell
 * And many other Zephyr default enabled features..

It does all this using the Zephyr RTOS, a scalable real-time operating
system, optimized for resource constrained devices, and built with
security in mind. Zephyr is a Linux Foundation project. For more
info see here[0][1].

Zephyr firmware like this can also be built as part of the Yocto build
using meta-zephyr. Although this is a prebuilt currently, we intend
to build this from source to reduce meta-ti's dependence on firmware
blobs.

This currently works with the AM62 M4F. Support for additional SoCs
and cores is in progress.

[0] https://www.zephyrproject.org/
[1] https://docs.zephyrproject.org/latest/introduction/index.html

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-02 12:07:47 -05:00
Ryan Eatmon
0be56b799d layer.conf: Update LAYERSERIES
Update the compatibility to just scarthgap.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-03-19 13:49:16 -05:00
LCPD Automation Script
0584bef40f CI/CD Auto-Merger: cicd.master.202403180100
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV,TI_SYSFW_VERSION
  u-boot-ti-staging_2023.04: SRCREV
  linux-ti-staging-rt_6.1: SRCREV
  linux-ti-staging_6.1: SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-03-18 01:00:59 -05:00
Ryan Eatmon
0139eacc86 conf: machine: beagle: Centralize some settings for all beagle boards
We have a request to be able to override the beagle kernel set in
PREFERRED_PROVIDER_virtual/kernel, but it is being absolutely set and
not loosely set with ?=.  Take this time to create a central include for
all beagle boards like we have for the k3.inc.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-03-13 11:20:34 -05:00
Udit Kumar
e1be7ec5b9 conf: machine: am57xx: export ov10635 camera device tree overlay
Signed-off-by: Udit Kumar <u-kumar1@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-03-13 08:18:28 -05:00
Andrew Davis
0aae212a5b pruprp-fw: Do not make this firmware package machine specific
This firmware is named so that the correct firmware is chosen on each
machine. No need to split this package for each machine, combine them
into one non-machine-specific package.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-03-13 08:18:28 -05:00
Andrew Davis
2c4db58069 prusw-fw: Combine PRU-Switch firmwares into single package
The firmware for different machines and versions are named differently so
there is no need to have machine specific packages for each of these
firmwares. Move all the PRU-Switch firmwares into single package.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-03-13 08:18:28 -05:00
Andrew Davis
41bd985020 pruhsr-fw: Combine PRU-HSR firmwares into single package
The firmware for different machines and versions are named differently so
there is no need to have machine specific packages for each of these
firmwares. Move all the PRU-HSR firmwares into single package.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-03-13 08:18:28 -05:00
Andrew Davis
81b671424f prueth-fw: Combine PRU-ETH firmwares into single package
The firmware for different machines and versions are named differently so
there is no need to have machine specific packages for each of these
firmwares. Move all the PRU-ETH firmwares into single package.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-03-13 08:18:28 -05:00
Andrew Davis
e37033130d recipes-bsp: Do not use MACHINE_ARCH when package is not machine specific
Most firmware does not run on the host and is therefor not architecture
specific, at least as far as the package manager is concerned. Although
the firmware might not be useful on some machines, the package itself
is not machine specific. Remove PACKAGE_ARCH.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-03-13 08:18:28 -05:00
LCPD Automation Script
3482c0b47c CI/CD Auto-Merger: cicd.master.202403130100
Updated the value(s) for:
  u-boot-ti-staging_2024.04: SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-03-13 01:00:53 -05:00
Praneeth Bajjuri
fb273080e3 ipc: ti-rpmsg-char: Update library to 0.6.6
update from 0.6.4 to 0.6.6.
This update brings the following fixes from ti-rpmsg-char repo.

55a6f40 remove ti.ipc4.ping-pong reference
8892e57 lib: fix data type build warnings
7c2ab48 lib: fix build warnings

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-03-12 08:59:35 -05:00
LCPD Automation Script
abd4c74b38 CI/CD Auto-Merger: cicd.master.202403120100
Updated the value(s) for:
  linux-ti-staging-rt_6.6: SRCREV
  linux-ti-staging_6.6: SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-03-12 01:00:45 -05:00
LCPD Automation Script
ee1f6799d0 CI/CD Auto-Merger: cicd.master.202403080100
Updated the value(s) for:
  ti-linux-fw: TI_DM_FW_VERSION,TI_LINUX_FW_SRCREV,TI_SYSFW_VERSION
  u-boot-ti-staging_2023.04: SRCREV
  u-boot-ti-staging_2024.04: SRCREV
  k3conf: 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.6: PV,SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-03-08 01:01:13 -06:00
Jai Luthra
4768f79792 conf: machine: am62axx: Pick overlays for V3Link cameras
The new V3Link camera fusion board [1] comes with a CSI to FPDLink
serializer board, which allows interfacing multiple 22-pin FFC
compatible sensors with SK-AM62A.

Currently overlays for interfacing IMX219 sensor with V3Link are built
as part of the TI linux kernel, so pick these in the BSP filesystem.

[1]: https://www.arducam.com/fpd-link-3-cameras/

Signed-off-by: Jai Luthra <j-luthra@ti.com>
Acked-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-02-29 09:02:52 -06:00
Ryan Eatmon
35e9ea852f linux-ti-staging-rt_6.6: Add KERNEL_LCOALVERSION change
Copy the same KERNEL_LOCALVERSION change to the upcoming 6.6 kernel.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-02-28 16:15:01 -06:00
Ryan Eatmon
339ae4c944 u-boot-ti: Change from UBOOT_LOCALVERSION and SRCPV
Stop using UBOOT_LOCALVERSION, and copy what is done in the kernel recipe.  This
allows us to set the correct SHA into the version string even if AUTOREV is used
since SRCPV is no longer set in oe-core.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-02-28 16:15:01 -06:00
Ryan Eatmon
79e5bcecbc linux-ti-staging: Update KERNEL_LOCALVERSION
The use of KERNEL_LOCALVERSION for controlling the kernel version has
changed recently.  Placing the value of KERNEL_LOCALVERSION in
.scmversion was causing it to duplicate the string in the final version.

Instead, drop KERNEL_LOCALVERSION to just identify that it comes from
TI, and that it is an RT kernel.  Additionally, place the commit sha for
the kernel into the .scmversion file explicitly to be both backward and
forward compatible.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-02-28 13:28:44 -06:00
Denys Dmytriyenko
d7624a767e Drop SRCPV
A change in master from last year [1] dropped setting SRCPV.  Since it is now empty,
we do not need to use when setting PV.

[1] https://git.openembedded.org/openembedded-core/commit/?id=a8e7b0f932b9ea69b3a218fca18041676c65aba0

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-02-28 13:20:35 -06:00
LCPD Automation Script
fba0b17167 CI/CD Auto-Merger: cicd.master.202402271317
Updated the value(s) for:
  ti-linux-fw: TI_DM_FW_VERSION,TI_LINUX_FW_SRCREV,TI_SYSFW_VERSION
  u-boot-ti-staging_2023.04: SRCREV
  u-boot-ti-staging_2024.04: SRCREV
  k3conf: SRCREV
  linux-ti-staging-rt_6.1: SRCREV
  linux-ti-staging_6.1: SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-02-27 13:17:56 -06:00
Paresh Bhagat
4744809516 Rework jailhouse recipe to support different image build
This patch moves the jailhouse recipe general variables to a
ti-jailhouse.inc file along with fetch and compile task.
Jailhouse repo also contains some demo applications which can
be packaged alone in filesytem and does not require packaging
jailhouse module, firmware and tool.

So add a new recipe jailhouse-inmate which can be used to only
package those demos. The existing jailhouse recipe will contain
variables and other dependencies needed for do_install task for
jailhouse module, tools, demos etc. The do_install of jailhouse
inmate recipe will only package demo applications.

This new recipe(jailhouse-inmate) will be added to a new image
in meta-arago. The new image will be used for jailhouse second
linux instance or cell.

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-02-21 14:27:33 -06:00
Chirag Shilwant
713ef2619a conf: beaglebone-ai64: Apply U-boot defconfig fragments
- Apply j721e_beagleboneai64_a72.config which is maintained in U-boot tree & is intended
to be applied on top of j721e_evm_a72_defconfig [1].

- Apply j721e_beagleboneai64_r5.config which is maintained in U-boot tree & is intended
to be applied on top of j721e_evm_r5_defconfig [2].

References
----------

[1] https://github.com/beagleboard/u-boot/blob/v2023.04-ti-09.01.00.008-BeaglePlay/configs/j721e_beagleboneai64_a72.config

[2] https://github.com/beagleboard/u-boot/blob/v2023.04-ti-09.01.00.008-BeaglePlay/configs/j721e_beagleboneai64_r5.config

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-02-20 09:28:28 -06:00
Chirag Shilwant
8f66109af8 conf: beagleplay: Apply U-boot defconfig fragments
- Apply am625_beagleplay_a53.config which is maintained in U-boot tree & is intended
to be applied on top of am62x_evm_a53_defconfig [1].

- Apply am625_beagleplay_r5.config which is maintained in U-boot tree & is intended
to be applied on top of am62x_evm_r5_defconfig [2].

References
----------

[1] https://github.com/beagleboard/u-boot/blob/v2023.04-ti-09.01.00.008-BeaglePlay/configs/am625_beagleplay_a53.config

[2] https://github.com/beagleboard/u-boot/blob/v2023.04-ti-09.01.00.008-BeaglePlay/configs/am625_beagleplay_r5.config

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-02-16 17:54:05 -06:00
Denys Dmytriyenko
44eb6f8198 meta-ti-bsp: update BeagleBoard.org BSP to the latest
* Update linux-bb.org to 6.1.69 for both 32 and 64 bit platforms
* Update u-boot-bb.org to the latest 2023.04 based on SDK 9.1 release
* Update DTB/DTBO lists to include latest renames and additions

Note: all changes are in a single commit for bisectability

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-02-14 12:11:10 -06:00
Denys Dmytriyenko
ef0ba74ca3 linux-bb.org: remove custom FILES:${KERNEL_PACKAGE_NAME}-devicetree
Upstream now includes all DTB/DTBO files recursively, no need to extend
corresponding FILES list.

Revert "linux-bb.org: also package DT overlays in separate dir"
This reverts commit f22ea63f66.

Note: adjust SRC_URI cosmetically, so it now matches kirkstone

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-02-14 12:11:10 -06:00
Manorit Chawdhry
98b9185878 meta-ti-bsp: trusted-firmware-arm: Update to master
The current master has the support for power off functionality, update
to that.

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-02-14 12:11:10 -06:00
Manorit Chawdhry
f923538b00 meta-ti-bsp: optee: Upgrade to 4.1
Update all OP-TEE components to 4.1 tag. OP-TEE examples are already in
4.1 tag.

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-02-14 12:11:10 -06:00
Chirag Shilwant
060fc704ef conf: machine: Apply U-boot fragment configs for AM62P Display Cluster Image
- For AM62P tisdk-display-cluster image[1], Splash Screen is handled by SBL[2].
Hence, disable the A53 based U-boot Splash Screen using the am62px_evm_prune_splashscreen.config
fragment present in ti-u-boot tree.

- Apply a check on DISPLAY_CLUSTER_ENABLE variable[3] to ensure we apply am62px_evm_prune_splashscreen.config
only incase of tisdk-display-cluster image as tisdk-default-image will still have the A53 based U-boot Splash Screen.

References
----------
[1] https://git.ti.com/cgit/ti-sdk-linux/meta-tisdk/tree/recipes-core/images/tisdk-display-cluster-image.bb?h=kirkstone

[2] https://software-dl.ti.com/mcu-plus-sdk/esd/AM62PX/09_01_00_39/exports/docs/api_guide_am62px/EXAMPLES_DRIVERS_DSS_DISPLAY_SHARE.html

[3] https://software-dl.ti.com/processor-sdk-linux/esd/AM62PX/09_01_00_08/exports/docs/linux/Overview_Building_the_SDK.html#build-steps

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-02-14 12:11:10 -06:00
Denys Dmytriyenko
e24577a7c8 layer.conf: add compatibility with scarthgap
OE-Core master has switched compatibility requirements from nanbield
to scarthgap in preparation for the upcoming 5.0 release.
https://wiki.yoctoproject.org/wiki/Releases

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Acked-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-02-14 12:11:10 -06:00
LCPD Automation Script
ee30de7055 CI/CD Auto-Merger: cicd.master.202402130100
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV
  u-boot-ti-staging_2023.04: SRCREV
  k3conf: SRCREV
  linux-ti-staging-rt_6.1: SRCREV
  linux-ti-staging-rt_6.6: PV,SRCREV
  linux-ti-staging_6.1: SRCREV
  linux-ti-staging_6.6: PV,SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-02-13 01:01:01 -06:00
Ryan Eatmon
17b3c101bd linux-ti-staging-rt: Add LTS 6.6 support
Now that the correct branch exists, we can update this recipe to point
to it.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-02-10 16:02:39 -06:00
Randolph Sapp
737807fc43 ti-img-rogue-*: switch branches to new lts
Switch the branches to the new LTS names. These are still experimental,
hence the isolation from kirkstone.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-02-09 16:37:59 -06:00
Ryan Eatmon
43e49f69c1 gdbc6x: Fix Upstream-Status tag
We should be using Inactive-Upstream instead of Pending for these
patches.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-02-08 20:21:49 -06:00
Ryan Eatmon
0cdeb4fb75 gdbc6x: Fix kernel module to work on 6.6+
The "upstream" is not maintained, but this is an easy patch to get this
working again.  Still need to watch this for big breakages and rethink
supporting this recipe at that time.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-02-08 20:21:49 -06:00
Devarsh Thakkar
277f04df4c meta-ti-bsp: Add bootsplash image file for AM62P
Add TI logo image as bootsplash image file for AM62P and install it in
boot directory from where u-boot can read from and display during
boot-up time.

Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
Acked-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-02-08 12:47:16 -06:00
Praneeth Bajjuri
8009c57560 u-boot-ti-staging: Add 2024.04 uboot in prep for LTS migration
In preperation of LTS migration, switching from 2024.01 to 2024.04 for
u-boot as this is close to what will be the final version for LTS.

Default preference is still kept as low for this version since we are in
early migration phase.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-02-07 10:38:50 -06:00
Denys Dmytriyenko
c2544ab8ba cairo: drop local bbappend
Latest cairo release 1.18.0 no longer has corresponding opengl or glesv2
PACKAGECONFIGs.

https://git.openembedded.org/openembedded-core/commit/?id=9a4ca6b08d6031ebb67adcdd650aa59acd4fb5fb

Removed:
- The cairo-sphinx tool
- The XML, GL, GLES, Qt5, BeOS, OS/2, DirectFB, DRM, Cogl, and OpenVL
  backends
- Autotools build system

https://www.cairographics.org/news/cairo-1.18.0/

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-02-07 10:38:50 -06:00
Randolph Sapp
e9ed788e18 ti-img-rogue-*: version bump to 23.3.6512818
Migrate to version 23.3.6512818, this includes the stability updates
released in 23.2 as well as some additional modifications to help with
userspace application support, namely Chromium.

We're also dropping the x11 window system extensions from the Vulkan
libraries for now. Ideally, both x11 and wayland extensions will be
provided by mesa's vulkan-wsi-layer in the future, but currently x11
isn't supported and this just added extra complexity to the package in
Yocto.

Signed-off-by: Randolph Sapp <rs@ti.com>
Tested-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-02-07 10:38:35 -06:00
Randolph Sapp
5b29403de4 mesa-pvr: bump srcrev and drop conditional logic
Bump the SRCREV to include some useful patches that:
	- Fix the ROGUE segfault issue introduced by SGX (this was what
	  the old conditional logic was addressing)
	- Fix destruction of event queue with proxies still attached

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-02-06 09:18:18 -06:00
Randolph Sapp
6059a3fd01 ti-img-rogue-umlibs: remove the dev package
If Yocto even sees a "-dev" package in the PACKAGES string it will
automatically forward all dev-so links to that package. Remove that
entry from the PACKAGES string so we get the required links again.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-02-06 09:18:18 -06:00
Paresh Bhagat
cca4537afd ti-extras: Add support for extra kernel/u-boot features for am62xx-lp
Add support for ti-extras for am62xx-lp to control the kernel and u-boot
repos, branches, and srcrevs via the TI_EXTRAS variable in the local.conf
file.

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-02-06 09:18:18 -06:00
Ryan Eatmon
520f0e2694 u-boot-ti*: Move mainline to 2024.01 and move logo code
Now that 2024.01 is official, the logo that am62xx-evm installs is
available in all versions of the repo that we point to.  Move all of
that code out of the .bb files and into the u-boot-ti.inc file.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-02-06 09:18:18 -06:00
Randolph Sapp
16186a72ba ti-img-rogue-*: stability update
Bump SRCREV to include the following changes in UM and KM:

	- Rebuild all releases with external memory wrap disabled due to
	  some incompatibility with certain Qt use cases.
	- Add a watchdog change that prevents an occasional false
	  timeout when servicing long DM processes.
	- Rely on snooping to perform certain cache operations and
	  results in decreased overhead for device -> cpu
	  communications.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-02-06 09:18:18 -06:00
Ryan Eatmon
f0c9e00ea9 Revert "python3-yamllint: Temporarily carry this new recipe"
This reverts commit 04c2204c11.

oe-core master branch picked up this patch [1], so we no longer need it
in meta-ti.

[1] https://git.openembedded.org/openembedded-core/commit/?id=128cfc5222752a6337a9cbb9bc9023c13ee19f2f

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-02-06 09:18:18 -06:00
Ryan Eatmon
a8ffd3afef u-boot-ti: Add yamllint dependency
A patch has been accepted in mainline u-boot that has binman calling
yamllint to verify the configs during compile.  This means that the
yamllint must be available as a tool at the time.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-01-22 14:49:15 -06:00
Ryan Eatmon
04c2204c11 python3-yamllint: Temporarily carry this new recipe
Add recipe for yamllint.  There is an upcoming change in u-boot where
the binman tool is now configured to call yamllint to verify the configs
during compile time.

There was a previous patch a year ago from Trevor Woerner that never
made it into oe-core.  This patch is a reworking of his patch but
pointing to a newer version.

We are waiting on this patch to be accepted in oe-core.  Once it is
available on master we will remove this recipe to avoid conflict.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-01-22 14:49:15 -06:00
Darren Etheridge
1cbf96ebb2 meta-ti-bsp: j722s: add Rogue GPU driver to machine defintion
j722s is same GPU as am62p,  need to add this into machine definition so
that Rogue driver gets included in the image.

Signed-off-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-01-10 08:43:14 -06:00
Darren Etheridge
79fa1420fc meta-ti: powervr: Enable building for j722s
Signed-off-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-01-10 08:43:14 -06:00
Ryan Eatmon
aaed80b695 meta-ti-bsp: Add Support for j722s-evm
- Add A53 and R5 machine configurations for j722s-evm.
- Add firmware overrides.
- Add u-boot overrides.
- Add cnm-wave support.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-01-10 08:43:14 -06:00
LCPD Automation Script
0fdb49acb6 CI/CD Auto-Merger: cicd.master.202401100100
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV
  u-boot-ti-staging_2023.04: SRCREV
  linux-ti-staging-rt_6.1: PV,SRCREV
  linux-ti-staging_6.1: PV,SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-01-10 01:00:21 -06:00
Darren Etheridge
6dd3fdaa4a meta-ti: powervr: Bump srcrev to include j722s support
Signed-off-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-01-09 13:34:49 -06:00
Apurva Nandan
3cc4cea657 ipc: ti-rpmsg-char: Update library to 0.6.4
Fetch from the latest commit which has J722S support now.

Signed-off-by: Apurva Nandan <a-nandan@ti.com>
Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-01-05 10:22:34 -06:00
Paresh Bhagat
9c9c220bf0 meta-ti-extras: Update jailhouse recipe to delete irrelevant files
Remove config files from /usr/share/jailhouse as they are not required.
Package only the cell files for respective devices and not all k3 files.
Update FILES:PN to use wildcard.

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-01-03 17:01:31 -06:00
Denys Dmytriyenko
328bc9227f mesa-pvr: adjust PR to be RPM-safe
RPM does not accept '-' as a character in the PR/version and fails with:

| error: line 4: Illegal char '-' (0x2d) in: Release: sgxrgx-54fd9d7dea098b6f11c2a244b0c6763dc8c5690c.1

The correct approach is to reference SRCPV and not SRCREV and also add it
to PV and not PR. But PV is used in the branch to fetch the sources and
cannot be modified, so use SRCPV in PR w/o any illegal characters.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-12-13 12:27:39 -06:00
Jose Quaresma
5dd8e7f62b k3r5: make the separate TMPDIR optional
With the current implemetation is not possible to remove the '-k3r5'
customization using overrides like below and the '-k3r5' always stay there.

| TMPDIR:remove:k3r5 = "-k3r5"
| or
| TMPDIR:k3r5 = "${TOPDIR}/tmp"

This patch allows to build the core-image-minimal in oe-core master/nanbield
without any issue on a common TMPDIR folder just using the following:

| TI_COMMON_DEPLOY = "${DEPLOY_DIR}"
| TI_TMPDIR_APPEND = ""

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-12-13 12:22:29 -06:00
Ryan Eatmon
5b5b8b9325 u-boot-ti-staging: Add 2024.01 uboot in prep for LTS migration
We are preparing to migrate our uboot version to 2024.01.  As we are still
working on the migration, mark the default preference low for this
version.  We will enable building with this uboot in a meta-arago brand
in the near future.  Once the migration is complete, we will remove the
2023.04 uboot and make this the default.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-12-11 15:05:27 -06:00
Ryan Eatmon
e4d10138db linux-ti-staging: Add 6.6 kernel in prep for LTS migration
We are preparing to migrate our kernel version to 6.6.  As we are still
working on the migration, mark the default preference low for this
version.  We will enable building with this kernel in a meta-arago brand
in the near future.  Once the migration is complete, we will remove the
6.1 kernel and make this the default.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-12-11 13:28:42 -06:00
LCPD Automation Script
5fb05dcb31 CI/CD Auto-Merger: cicd.master.202312070100
Updated the value(s) for:
  u-boot-ti-staging_2023.04: SRCREV
  linux-ti-staging-rt_6.1: SRCREV
  linux-ti-staging_6.1: SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-12-07 01:00:17 -06:00
LCPD Automation Script
758cba73df CI/CD Auto-Merger: cicd.master.202312060100
Updated the value(s) for:
  ti-linux-fw: PRUETH_FW_AM65X_SR2_VERSION,TI_LINUX_FW_SRCREV,TI_SYSFW_VERSION
  u-boot-ti-staging_2023.04: SRCREV
  linux-ti-staging-rt_6.1: SRCREV
  linux-ti-staging_6.1: SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-12-06 01:00:17 -06:00
Denys Dmytriyenko
79d838b428 linux-bb.org: update to the latest
Update the BB.org kernel to the latest. Also update BeaglePlay device
tree list, as there were some renames and new additions.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-12-05 09:36:03 -06:00
Praneeth Bajjuri
89b8408d25 conf: machine: am62xx-lp-evm.conf: Pick LPM wkup sources overlay
commit [1] created a common LPM wkup sources overlay and removes
k3-am62x-sk-mcu-gpio-wakeup.dtso for am62 device family.
k3-am62x-sk prefix picks this overlay for am62xx, am62axx and am62xxsip already.

This patch picks the necessary overlay for am62xx-lp-evm since it doesnt use
the same prefix as other am62 platforms.

[1]: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/?&id=4ba1886b886d

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Reviewed-by: Judith Mendez <jm@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-29 16:59:37 -06:00
Paresh Bhagat
edcd569448 Update SRCREV for ti-jailhouse
Update SRCREV for ti-jailhouse. All the patches which was being applied via yocto
have been moved to ti-jailhouse repo now. So remove the patches from SRC_URI and
files.

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-28 09:18:04 -06:00
Paresh Bhagat
54b55b55fa ti-extras: Add support for extra kernel/u-boot features for am62pxx
Add support for ti-extras for am62pxx to control the kernel and u-boot
repos, branches, and srcrevs via the TI_EXTRAS variable in the local.conf
file.

Also add am62pxx as compatble machine in jailhouse recipe. So the am62pxx
jailhouse build can be done by adding TI_EXTRAS=tie-jailhouse in local.conf.

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-24 08:20:08 -06:00
Darren Etheridge
85729f8454 mesa-pvr: use different srcrev for Rogue and SGX GPU platforms
A bug was introduced while trying to unify the Mesa version that is used
on SGX GPU's and Rogue GPU's.   It manifests itself as an immediate segfault
whenever you try and run something like glmark2-es2-wayland or
weston-simple-egl on certain Rogue based platforms (specifically am62x).

Use different srcrev for Rogue GPU and SGX GPU platforms. The SGX GPU platforms
will use the latest commit. Rogue GPU platforms will use the last good working
commit before SGX related changes were introduced.

This change will be reverted once the issue is rootcaused and a common solution
is found for both Rogue and SGX based GPU platforms.

Signed-off-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-24 08:15:51 -06:00
Praneeth Bajjuri
d3bcad2cbe pru-icss_git.bb: update to PSSP v6.3.0
Upgrade to v6.3.0 version.

This release adds resources for using AM243x & AM64x PRU cores with cores
running FreeRTOS:
 * The RTOS Getting Started Labs
 * Examples for using PRU GPIO and the broadside interface
 * SORTE_G example (a custom networking interface)

Bug fixes:
 * AM64x & AM65x header files, fix the names of extended sections to be in the
   format of
   ConstantsTableName_0x100

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Nick Saulnier <nsaulnier@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-22 13:07:47 -06:00
Denys Dmytriyenko
488a923814 k3r5: ensure separate TMPDIR used for this multiconfig
This k3r5 multiconfig builds baremetal components (and corresponding native,
nativesdk and cross tools) and sets TCLIBC accordingly to "baremetal". The
expectation is that those components and tools will use a separate TMPDIR
to isolate from the main Linux build that uses "glibc" TCLIBC and to avoid
potential conflicts.

OE-Core "nodistro" default configuration already sets TCLIBCAPPEND facility
to automatically add a suffix to TMPDIR, resulting in "tmp-baremetal" temp
directory for this multiconfig and "tmp-glibc" for the main Linux one. Other
distros like Arago follow this convention and even extend a bit (e.g. Arago
also adds TCMODE suffix to TMPDIR for external toolchain support separation).

But Poky (and derivative distros, like AGL or YoE) disable TCLIBCAPPEND and
result in a combined TMPDIR, leading to potential conflicts, such as:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15273

And that's just the beginning, there were other conflicts observed later in
the build, e.g. during nativesdk builds - that's why we also set a unique
SDKPKGSUFFIX here.

To force a separate TMPDIR for k3r5 multiconfig, we have to directly append
a suffix to it. Multiple other options were tested in hopes of making it
slightly cleaner, but they either didn't work or were dismissed. For example,
trying to override TCLIBCAPPEND getting cleared by a distro would require
using a machine/soc-override, which doesn't have enough scope (nativesdk)
or forcing it with :forcevariable would also change the main Linux TMPDIR
and affect existing CI flows. Also, using TCLIBC itself as a suffix to add
to TMPDIR may result in getting it appended twice (tmp-baremetal-baremetal)
when normal TCLIBCAPPEND facility is used. Hence the least invasive/confusing
option is to always append "-k3r5" suffix to this multiconfig TMPDIR. That
results in "tmp-k3r5" in Poky (leaving main TMPDIR as "tmp"), while OE-Core
"nodistro" and Arago would end up with "tmp-baremetal-k3r5" (and "tmp-glibc"
for the main).

Also note, meta-ti-bsp layer.conf sets up images and sdks to be deployed
into a common location outside of TMPDIRs, but TI_COMMON_DEPLOY variable
that controls it is set weakly, allowing to be modified from a distro
configuration or local.conf. It means that all images and sdks can be
deployed into the main TMPDIR if one's CI flow expects tmp/deploy/ as
the final destination, by using := for immediate variable expansion:
TI_COMMON_DEPLOY := "${TMPDIR}/deploy"

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-22 08:57:02 -06:00
Kamlesh Gurudasani
f453254d81 optee-os: Enable OP-TEE TRNG in AM62X
Enable TRNG in AM62X, as bugs related to TRNG has been fixed now.

TF-A fix:
https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/commit/?id=d7a7135d32a8c7da004c0c19b75bd4e2813f9759

OP-TEE fix:
e313f4765f

Signed-off-by: Kamlesh Gurudasani <kamlesh@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-20 08:47:32 -06:00
LCPD Automation Script
4b00f246a4 linux-ti-staging_6.1: CI/CD Auto-Merger: cicd.master.202311200100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-11-20 01:10:34 -06:00
LCPD Automation Script
86fe5d8606 linux-ti-staging-rt_6.1: CI/CD Auto-Merger: cicd.master.202311200100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-11-20 01:10:34 -06:00
LCPD Automation Script
76dc283bc9 u-boot-ti-staging_2023.04: CI/CD Auto-Merger: cicd.master.202311200100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-11-20 01:10:34 -06:00
LCPD Automation Script
253771e2d2 ti-linux-fw: CI/CD Auto-Merger: cicd.master.202311200100
Updated the value(s) for:
  CNM_WAVE521_FW_VERSION
  PRUETH_FW_AM65X_SR2_VERSION
  TI_DM_FW_VERSION
  TI_LINUX_FW_SRCREV
  TI_SYSFW_VERSION

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-11-20 01:10:34 -06:00
Praneeth Bajjuri
d29501f882 conf: machine: am62xx-lp-evm.conf: Pick MCU GPIO wakeup overlay
commit [1] renamed the MCU GPIO wakeup overlay as k3-am62x-sk-mcu-gpio-wakeup.dtbo
k3-am62x-sk prefix picks this overlay for am62xx, am62axx and am62xxsip already.

This patch picks the necessary overlay for am62xx-lp-evm since it doesnt use
the same prefix as other am62 platforms.

[1]: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/?&id=24bd6ce832cd

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Reviewed-by: Judith Mendez <jm@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-15 12:58:24 -06:00
Andrew Davis
4576ef2bec kernel-fitimage: Remove signing of fitImage entries for 5.10 kernel
This was a temporary class to help with the v5.10 to v6.1 kernel
migration, now that we have completed that, remove this class.

Suggested-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-14 11:58:20 -06:00
Andrew Davis
a5518929b7 linux-ti-staging: Remove kernel v5.10 packages
We support Linux v6.1 as our official version for Kirkstone. The older
kernel version was kept around during the transition to the newer version,
but we are past that now. Remove this old version.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-14 11:56:33 -06:00
LCPD Automation Script
461b6aa70a linux-ti-staging_6.1: CI/CD Auto-Merger: cicd.master.202311100100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-11-10 01:01:01 -06:00
LCPD Automation Script
eba1d72844 linux-ti-staging-rt_6.1: CI/CD Auto-Merger: cicd.master.202311100100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-11-10 01:01:01 -06:00
LCPD Automation Script
464deeca08 u-boot-ti-staging_2023.04: CI/CD Auto-Merger: cicd.master.202311100100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-11-10 01:01:01 -06:00
Andrew Davis
987240edd7 k3conf: Update to v0.3
The SRCREV is auto updated, but the PV still uses the old tag version,
update this to v0.3.

While here, we also now have a proper LICENSE file, use that.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-09 14:21:10 -06:00
Praneeth Bajjuri
4d4d71ac63 conf: machine: am62*: extend picking common overlays by prefix
commit f5851386 ("conf: machine: am62*: Pick common overlays by prefix")
picks common HDMI and CSI overlays for am62 platform variants.

Adding capability to extend the same prefix for common overlays for applicable
am62 platforms in more generic way to include new mcan overlays added [1]

[1]: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/?&id=3b01c392627f

given the differences in SK-AM62-LP containing  B2B HDMI Samtec connector,
just added the kernel prefix to pick common mcan overlay.

for am62pxx: It has 4 MCANs vs all other am62xx devices have 3 MCANs,
hence keeping this prefix seperate for am62pxx to pick right overlay.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Reviewed-by: Jai Luthra <j-luthra@ti.com>
Reviewed-by: Judith Mendez <jm@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-09 08:14:26 -06:00
Andrew Davis
24b5a07d26 recipes-bsp: Do not inherit deploy in recipes that do not deploy anything
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-08 17:36:02 -06:00
Andrew Davis
547ec80a73 ti-linux-fw: Add several more firmware helper lines to this common include
These are all useful for firmware recipes but some recipes did not have
them. For firmware including ti-linux-fw.inc let's add these all to
one spot and remove them from any recipe that did already have these.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-08 17:36:02 -06:00
Andrew Davis
2eda955fae conf: machine: Move IMAGE_BOOT_FILES to the SoC inc for J721s2 and J784s4
These defines are specific to a SoC, not any specific board. Move these
to the SoC level for these boards to be consistent with boards already
doing this correctly.

J7200 didn't have these at all, add them while we are here.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-08 17:36:02 -06:00
Andrew Davis
e5cfc83cb4 ti-linux-fw: Do not set source directory when including ti-linux-fw.inc
The common include ti-linux-fw.inc already includes setting this, no need
to set it in each recipe, remove that.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-08 17:36:02 -06:00
Andrew Davis
78f530158a ti-sci-fw: Do not unexport CFLAGS, LDFLAGS, AS, or LD
There is no compilation in this simple firmware recipe, no need for
these lines, remove them.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-08 17:36:02 -06:00
Andrew Davis
f1f741180a ti-linux-fw: Make CLEANBROKEN and FILES part of common include
These are common for all recipes that include ti-linux-fw.inc, add
it to this include file and remove from each recipe.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-08 17:36:02 -06:00
Andrew Davis
02263dbf15 vpdma-fw: This firmware blob does not depend on the kernel
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-08 17:36:02 -06:00
Paresh Bhagat
53c09be7a8 ti-extras: Add support for extra kernel features for RT
Add support for ti-extras features for rt as it was added for non
rt kernel and u-boot earlier. It will also be accessible via the
TI_EXTRAS variable in the local.conf file.

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-08 17:36:02 -06:00
Denys Dmytriyenko
7e2fb321b6 conf/machine: drop deprecated SERIAL_CONSOLES_CHECK
OE-Core master/nanbield recently introduced ttyrun for spawning gettys only
on existing terminals:
https://git.openembedded.org/openembedded-core/commit/?id=8e48297621311116d3edd7e3aa0de1b8ef2431b1

With that, SERIAL_CONSOLES_CHECK has been deprecated even for SysVinit setups.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-08 17:36:02 -06:00
Denys Dmytriyenko
51b519d62e bsp: fw: point to TI-TFL license within meta-ti-bsp relative to recipes
Don't try to locate TI-TFL license within meta-ti-bsp relative to OE-Core
using COREBASE, as the directory structure of the layers is not guaranteed.
Instead, point to it relative to the recipe itself.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-08 17:36:02 -06:00
Ryan Eatmon
d27c11e263 u-boot-ti-mainline: Update to v2023.10 mainline version
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-07 13:23:41 -06:00
Ryan Eatmon
a8360b9722 linux-ti-mainline: Update to v6.6 mainline version
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-07 13:22:58 -06:00
Ryan Eatmon
93249485b5 optee: Rework include files
Minor rework of the TI include files used to override both SRCREV and
other settings in the optee recipes for TI SOC parts.  The intent is to
make it more clear when we are changing SRCREVs versus changing other
items, and allow for sharing the SRCREV changes for optee-os-tadevkit
which should track the optee-os SRCREV.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-07 09:07:08 -06:00
Paresh Bhagat
984e838d75 Update SRCREV for u-boot and linux extras
Update the SRCREV to latest commit for both u-boot and linux
extras. Also update SRCREV for jailhouse branch for both psdk
linux and u-boot.

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-07 09:07:08 -06:00
LCPD Automation Script
0dc59a9732 linux-ti-staging_6.1: CI/CD Auto-Merger: cicd.master.202311060100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-11-06 01:01:02 -06:00
LCPD Automation Script
786f7bac3d linux-ti-staging-rt_6.1: CI/CD Auto-Merger: cicd.master.202311060100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-11-06 01:01:02 -06:00
LCPD Automation Script
361f59ace9 u-boot-ti-staging_2023.04: CI/CD Auto-Merger: cicd.master.202311060100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-11-06 01:01:02 -06:00
LCPD Automation Script
bcec87a19b ti-linux-fw: CI/CD Auto-Merger: cicd.master.202311060100
Updated the value(s) for:
  TI_LINUX_FW_SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-11-06 01:01:02 -06:00
Ryan Eatmon
61d7499e73 k3r5: Remove ?= default assignment for the kernel
The previous allowance for overriding the value for the kernel is
incorrect.  The kernel should not be changed from linux-dummy for the
k3r5 multiconfigs.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-05 11:56:37 -06:00
Ryan Eatmon
b86f4f7591 optee-client: Remove upstreamed options
Remove the pkgconfig settings since they are upstreamed.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-02 13:15:19 -05:00
Ryan Eatmon
4c0952f066 ti-img-rogue-driver: Fix build error due to .SECONDARY/.NOTINTERMEDIATE
There is a build error under master that is not present in kirkstone
related to .SECONDARY/.NOTINTERMEDIATE being set differently between the
ti-img-rogue-driver repo and the kernel.  The long term solution to
allow this code to be built on both kirkstone/master is being
investigated.  In the meantime, this patch gets things building on
master.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-11-01 13:07:21 -05:00
Randolph Sapp
128a5074b8 am62pxx: set default gpudriver to ti-img-rogue-driver
Enable the GPU on the am62pxx-evm machine target.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-30 16:53:44 -05:00
Randolph Sapp
d10e4b8171 ti-img-rogue-*: add am62p support
Add the configuration options for am62pxx-evm.

This also adds support for new devicetree properties to override the
clock value of the device. See the kernel module modifications [1] and
dt bindings for more information.

[1] https://git.ti.com/cgit/graphics/ti-img-rogue-driver/log/?h=linuxws/kirkstone/k6.1/23.2.6460340

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-30 16:53:44 -05:00
Randolph Sapp
48000c1114 ti-img-rogue-*: move to 23.2 release
Move to the 23.2 release branch and bump SRCREV accordingly. This branch
has the proper implementation of the cache coherency fix along with some
other checks that address some system stability issues on Jacinto
devices.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-30 16:53:44 -05:00
Randolph Sapp
a6e170fd78 mesa-pvr: isolate sgx and rogue components
Bump SRCREV to include some patches to better isolate SGX and PVR
components.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-30 16:53:44 -05:00
Chirag Shilwant
c535b9cd38 conf: machine: Update OPTEEMACHINE for am62pxx
- OPTEEMACHINE for am62pxx should be k3-am62x.

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-30 16:53:44 -05:00
Jai Luthra
be691a1826 conf: machine: am62*: Pick common overlays by prefix
SK boards of AM62 SoC family share peripheral expansions for camera
and audio-over-HDMI.

The HDMI bridge is common across all SK-AM62* boards. The CSI2 FFC
camera connector is common across all except SK-AM62-LP which only has a
B2B Samtec connector.

As the kernel now uses the same prefix "k3-am62x-sk-" for the devicetree
overlays for these peripherals, make sure we pick them by prefix for
applicable boards.

Link: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=b50ccab9e07c
Link: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/?&id=0432df3d2ae7
Signed-off-by: Jai Luthra <j-luthra@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-27 15:01:23 -05:00
Ryan Eatmon
26729b38d3 optee: Update to upstream 4.0.0
Update all of the optee components to the upstream 4.0.0 version.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-27 13:43:48 -05:00
Chirag Shilwant
9e3727d4b2 meta-ti-bsp: Add Support for am62pxx-evm
- Add A53 and R5 machine configurations for am62pxx-evm.
- Add firmware overrides.
- Add u-boot overrides.
- Add cnm-wave support.

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Brandon Brnich <b-brnich@ti.com>
2023-10-27 13:43:48 -05:00
LCPD Automation Script
73022e544e linux-ti-staging_6.1: CI/CD Auto-Merger: cicd.master.202310270100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-10-27 01:01:00 -05:00
LCPD Automation Script
c053936bc8 linux-ti-staging-rt_6.1: CI/CD Auto-Merger: cicd.master.202310270100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-10-27 01:01:00 -05:00
LCPD Automation Script
721f87fc58 u-boot-ti-staging_2023.04: CI/CD Auto-Merger: cicd.master.202310270100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-10-27 01:01:00 -05:00
Denys Dmytriyenko
ef80a01ba0 conf: machine: move RDEPENDS and RRECOMMENDS from kernel-rdepends.inc
Instead of making kernel RDEPENDS on devicetree and different FW images with
lots of machine-override appends that are hard to modify downstream, use proper
MACHINE_ESSENTIAL_EXTRA_RDEPENDS and MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS vars
that are specifically designed for this purpose.

This also makes such dependencies generic and not tied to a particular kernel
recipe including kernel-rdepends.inc with the entire machine-specific list.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Acked-by: Andrew Davis <afd@ti.com>
Acked-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-24 09:56:09 -05:00
Ryan Eatmon
2749107fb3 linux-bb.org: Remove unneeded patches
With the move to the 6.1 kernel, we no longer need any of the 5.10 based
patches.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-23 10:49:44 -05:00
Denys Dmytriyenko
95f8c181d5 conf: beagle*: recommend essential FW images for Beagle devices
Set MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS per platform to list recommended
essential FW images to be added to rootfs by default.

Correct beagle-x15 to pull devicetrees and kernel image as well.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-20 17:31:41 -05:00
Denys Dmytriyenko
da1b9f332a u-boot-bb.org: add back Beagle-specific U-boot 2023.04
Majority of Beagle devices use ti-u-boot repo from u-boot-ti-staging directly.
But some latest devices may need to point to own tree with additional support
added that is not yet upstream, e.g. BeaglePlay.

Add the Beagle-specific recipe and point beagleplay to use it. Other devices
can switch to using it as well, if desired, but right now the code base is the
same for other Beagle devices.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-20 17:31:41 -05:00
Denys Dmytriyenko
8fd532fc72 linux-bb.org: update kernel to 6.1 for Beagle devices
Update both 32-bit and 64-bit configs to use the latest 6.1 Linux kernel
from beagleboard.org repository, which is based on ti-linux-kernel repo
used in linux-ti-staging, but with extra Beagle-specific features on top.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-20 17:31:41 -05:00
Denys Dmytriyenko
73abbb2750 conf: beagleplay: trim down the DTB list
Update DTB/DTBO list to only upstreamed devicetrees and overlays. This
help with migration to kernel 6.1, which doesn't have BB.org specific
overlays.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-20 17:28:20 -05:00
Denys Dmytriyenko
8f57ce8e49 conf: beaglebone-ai64: trim down the DTB list
Update DTB/DTBO list to only upstreamed devicetrees and overlays. This
help with migration to kernel 6.1, which doesn't have BB.org specific
overlays.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-20 17:28:20 -05:00
Andrew Davis
fc51c79233 ti-pru-sw-edma-driver: Remove this recipe
Not used and the source is gone anyway, remove.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-20 17:27:03 -05:00
Matthias Schiffer
fe75c0410d conf: include TI_COMMON_DEPLOY in PSEUDO_IGNORE_PATHS
Since the introduction of TI_COMMON_DEPLOY, we've been seeing frequent
Pseudo errors [1] breaking image build during development, in particular
with partial rebuilds due to the externalsrc bbclass.

The relevant part of the error log seems to be the following:

    ERROR: Task (/home/schifferm/Devel/src/ci-meta-tq-kirkstone/sources/meta
        -tq/meta-dumpling/recipes-images/images/tq-image-generic-debug.bb:do
	_rootfs) failed with exit code '1'
    Pseudo log:
    path mismatch [1 link]: ino 12215614 db '/home/schifferm/Devel/src/ci-me
        ta-tq-kirkstone/build-mba64xx/deploy-ti/images/tqma64xxl-mbax4xxl/tq
	-image-generic-debug-tqma64xxl-mbax4xxl-20231020091917.testdata.json
	' req '/home/schifferm/Devel/src/ci-meta-tq-kirkstone/build-mba64xx/
	tmp/work/tqma64xxl_mbax4xxl-tq-linux/tq-image-generic-debug/1.0-r0/r
	ootfs/usr/share/stress-ng/example-jobs/device.job;65324e26'.

My understanding is that all deploy dirs should be ignored by Pseudo, as
openembedded-core/meta/bitbake.conf includes the whole of DEPLOY_DIR in
PSEUDO_IGNORE_PATHS. With the introduction of TI_COMMON_DEPLOY,
DEPLOY_DIR_IMAGE is not covered by that setting anymore, so we add it in
meta-ti to avoid the issue.

[1] https://wiki.yoctoproject.org/wiki/Pseudo_Abort

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Acked-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-20 17:25:29 -05:00
LCPD Automation Script
2e1da8efe4 linux-ti-staging_6.1: CI/CD Auto-Merger: cicd.master.202310200100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-10-20 01:00:47 -05:00
LCPD Automation Script
ee27eb442a linux-ti-staging-rt_6.1: CI/CD Auto-Merger: cicd.master.202310200100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-10-20 01:00:47 -05:00
LCPD Automation Script
4c201f1813 u-boot-ti-staging_2023.04: CI/CD Auto-Merger: cicd.master.202310200100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-10-20 01:00:47 -05:00
LCPD Automation Script
1cec6975fa ti-linux-fw: CI/CD Auto-Merger: cicd.master.202310200100
Updated the value(s) for:
  TI_LINUX_FW_SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-10-20 01:00:47 -05:00
Paresh Bhagat
0ab626b533 meta-ti-extras: recipes-ti: Update jailhouse SRC_URI to point to ti-jailhouse repo
The ti-jailhouse repo is synced with the Siemens/jailhouse
at https://github.com/siemens/jailhouse. Use this for
development and build for TI devices.

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-17 19:15:18 -05:00
LCPD Automation Script
c00c9a8fef linux-ti-staging_6.1: CI/CD Auto-Merger: cicd.master.202310170100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-10-17 01:01:20 -05:00
LCPD Automation Script
6b69277929 u-boot-ti-staging_2023.04: CI/CD Auto-Merger: cicd.master.202310170100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-10-17 01:01:20 -05:00
Randolph Sapp
0da5297426 machine: include: enable sgx on tested platforms
Enable SGX Graphics on the currently tested platforms.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-16 21:34:07 -05:00
Randolph Sapp
b2ed1e28ae mesa-pvr: bump srcrev for sgx support
Bump the SRCREV to include the required changes to build for SGX now.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-16 21:34:07 -05:00
Randolph Sapp
c3b08caa9b ti-sgx-ddk-*: version bump to support kirkstone
Bump ti-sgx-ddk-um and ti-sgx-ddk-km to the new branch for Kirkstone and
mesa independent builds. This also sets up SGX to use the latest mesa
revision rogue uses.

Changelog:

 - IMG Support has officially ended. This repo will not be getting
   regular updates after this unless things are really broken.
 - The Mesa patches which were previously being relicensed internally
   were opened and combined with the unofficial rogue efforts on
   freedesktop.
 - Toolchains were upgraded and multiple warnings and issues were
   addressed. Hardware recoveries work now, but there are still some
   longstanding issues with SGX that remain to be addressed if further
   resources are set aside for that.
 - We moved to an lws-generic build target to avoid rebuilding external
   components. As such, these external components must be patched as
   needed. Libdrm is an example of this and the required patches can be
   found in meta-ti.

Known bugs:

 - Buffer allocations under Weston may misbehave
 - GLSL macro redefinitions will cause errors regardless of whether or
   not they are identical

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-16 21:34:07 -05:00
Aniket Limaye
01835f5018 ti-eth-fw: Reduce priority for softlinks to 5.
Makes ti-ipc firmware as default for main-r5f0_0 firmware softlink
The ti-eth-fw binaries are tested at the SDK level and should be
made default only at that level

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-16 09:57:01 -05:00
Aniket Limaye
41ab0af3a7 ti-eth-fw: Fix firmware alternative names for j784s4
The main-r5f0_0 softlinks should be pointing to the ethfw binaries
instead of the mcu-r5f0_0

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-16 09:55:27 -05:00
Aniket Limaye
5f162b1a26 Revert "recipes-bsp: u-boot-ti.inc: Remove ti-sci-fw from DEPENDS for k3 machine"
This reverts commit cd13cafd65.
Some devices need ti-fs-stub-* firmware for the uboot aarch64 build

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-12 13:13:28 -05:00
Aniket Limaye
a105374b4c ti-sci-fw: Remove COMPATIBLE_MACHINE and extend recipe to k3 machines
Revert ebcf15bf0f :
  "recipes-bsp:ti-sci-fw: Add k3r5 as COMPATIBLE_MACHINE"

Extend recipe to k3 machines too, to provide ti-fs-stub-* firmware
for u-boot aarch64 build.

Update do_deploy() to allow multiconfig builds for k3 machines

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-12 13:13:28 -05:00
Dan McGregor
276d95c553 amx3-cm3: use debug-prefix-map
Fixes the QA warnings about package contains reference to TMPDIR.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-12 13:09:38 -05:00
Garrett Giordano
70dd1de0bf uboot: Handle UBOOT_CONFIG for multiple R5 defconfigs
Currently the do_compile step fails if we try to implement UBOOT_CONFIG
in an attempt to build U-Boot with multiple R5 defconfigs.

This commit adds a condition to handle linking the UBOOT_BINARY if
UBOOT_CONFIG is used in place of UBOOT_MACHINE.

Signed-off-by: Garrett Giordano <ggiordano@phytec.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-11 15:28:15 -05:00
Ryan Eatmon
00a43c3ee4 u-boot-ti: Correctly fix SPL binary name for SD/MMC media on HS boards
The previous patch is incorrectly accepted and released.  This patch
applies the logic that was discussed on the mailing list.

- Create a new variable grouping for SPL_HS_MLO
- Update the install/deploy code to reference the new variables.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-09 16:43:03 -05:00
LCPD Automation Script
33176434a7 linux-ti-staging_6.1: CI/CD Auto-Merger: cicd.master.202310090100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-10-09 01:00:58 -05:00
LCPD Automation Script
7380fe409d linux-ti-staging-rt_6.1: CI/CD Auto-Merger: cicd.master.202310090100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-10-09 01:00:58 -05:00
LCPD Automation Script
08a30bd66d k3conf: CI/CD Auto-Merger: cicd.master.202310090100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-10-09 01:00:58 -05:00
LCPD Automation Script
ae9468a4cc u-boot-ti-staging_2023.04: CI/CD Auto-Merger: cicd.master.202310090100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-10-09 01:00:58 -05:00
LCPD Automation Script
3638d5e08a ti-linux-fw: CI/CD Auto-Merger: cicd.master.202310090100
Updated the value(s) for:
  TI_LINUX_FW_SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-10-09 01:00:58 -05:00
Denys Dmytriyenko
7f918090db u-boot: set the correct latest LIC_FILES_CHKSUM generically
The common u-boot-ti.inc file still uses the old license checksum
from 2021 U-boot. There were formatting changes in the license text
between 2021 and 2023 and version-specific recipes had the license
checksum updated to the new value. Since there are no 2021 recipes
remaining, the new license checksum can be set in the common .inc
file generically.

Note: U-boot license hasn't changed and the same checksum is simply
being moved from the recipes to the common .inc file.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-05 12:17:50 -05:00
Kamlesh Gurudasani
ef25f010a4 trusted-firmware-a: Update to sha fixing deep sleep on AM62x
Update to commit d7a7135d32a8c7da004c0c19b75bd4e2813f9759,
which fixes deep sleep bug on AM62x

https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/commit/?id=d7a7135d32a8c7da004c0c19b75bd4e2813f9759

Signed-off-by: Kamlesh Gurudasani <kamlesh@ti.com>
Tested-by: Dhruva Gole <d-gole@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-05 12:09:04 -05:00
Aniket Limaye
a450190c11 ti-dm-dw: Preserve structure of the deployed ti-dm-fw binaries
Preserve the directory structure of the deployed dm firmware so that one
can directly specify the deploy directory for binman based u-boot build.

Additionally, this makes it easier to preserve the same structure inside
the prebuilt-images directory of the tisdk-core-bundle for the same reason.

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-05 12:07:22 -05:00
Aniket Limaye
77bdad928a ti-sci-fw: Deploy the fw binaries to the deploy directory
Deploy the sysfw binaries to the DEPLOYDIR, to be picked up by the
tisdk-core-bundle... for the prebuilt binaries directory

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-10-05 12:07:22 -05:00
Julien Panis
5306d61211 u-boot-ti: Fix SPL binary name for SD/MMC media on HS boards
The SPL binary built by u-boot for SD/MMC/eMMC media on HS platforms is
u-boot-spl_HS_MLO. Thanks to this fix, the binary is properly installed
and deployed.

Signed-off-by: Julien Panis <jpanis@baylibre.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-09-29 12:53:57 -05:00
Aniket Limaye
22b8a0a352 recipes-bsp:ti-sci-fw: Add k3r5 as COMPATIBLE_MACHINE
This recipe only provides the sysfw binaries compiled for the r5

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-09-29 11:23:58 -05:00
Aniket Limaye
6905661065 recipes-bsp: u-boot-ti.inc: Remove ti-sci-fw from DEPENDS for k3 machine
ti-sci-fw should be needed by the binman u-boot build only for the k3r5
machines and not for the k3 machines

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-09-29 11:23:58 -05:00
Andrew Davis
50ba626ebf optee-os: Install OP-TEE OS provided TAs
OP-TEE OS provides a handful of TAs itself. While these are often meant
to be built-in, when they are not we should deploy them as part of the
OP-TEE OS package so they can be loaded at runtime.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-09-29 11:21:44 -05:00
Max Krummenacher
1ca59a8eae ti-img-rogue-umlibs: harden handling of usrmerge
Only move directories which haven't already been moved.
This prevents a build error should a subsequent bitbake execution
rerun do_install where the sources to 'mv' no longer exist.
| mv: cannot stat 'ti-img-rogue-umlibs/23.1.6404501/git/targetfs/am62_linux/lws-generic/release/lib/firmware': No such file or directory

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-09-29 11:16:00 -05:00
Praneeth Bajjuri
0c872168cb linux-ti-staging: am335x/am437x: Add no_smp option
multi_v7_defconfig that is used for legacy platforms enables
SMP by default.

Platforms like am335x and am473x are single core platforms that
doesnt need this option to be enabled.

This config cannot go in multi_v7_defconfig as well,
since there will be systems like am57x/dra7x or other community platforms
which can have multiple arm cores.

Adding the provision to disable SMP configuration for applicable platforms like
am335x and am437x.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-09-29 10:32:46 -05:00
LCPD Automation Script
4605b1f6fb linux-ti-staging_6.1: CI/CD Auto-Merger: cicd.master.202309290100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-09-29 01:01:16 -05:00
LCPD Automation Script
8097ee2440 linux-ti-staging-rt_6.1: CI/CD Auto-Merger: cicd.master.202309290100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-09-29 01:01:16 -05:00
LCPD Automation Script
c2d79dd353 k3conf: CI/CD Auto-Merger: cicd.master.202309290100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-09-29 01:01:16 -05:00
LCPD Automation Script
62b66914e3 u-boot-ti-staging_2023.04: CI/CD Auto-Merger: cicd.master.202309290100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-09-29 01:01:16 -05:00
LCPD Automation Script
efe5ea26e9 ti-linux-fw: CI/CD Auto-Merger: cicd.master.202309290100
Updated the value(s) for:
  TI_LINUX_FW_SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-09-29 01:01:16 -05:00
Anthony J. Martinez
602875f148 linux-bb.org: update to 5.10.168 for armv7a targets
Updates SRCREV, PV, and BRANCH for armv7a targets and fixes
failure to mount /boot when using poky with systemd. The
kernel selected supports VFAT without initramfs as noted
here - https://lists.yoctoproject.org/g/meta-ti/message/16913

Removes defconfig patch setting LZMA, as the new kernel
already defaults to LZ4.

Tested by running `bitbake core-image-base` with this patchset,
and then booting a pair of Beaglebone Black devices from the
resulting image. Prior to the change, systemd boots to a
maintenance mode having failed to mount /boot. After the change,
the system boots normally and /boot is mounted.

Suggested-by: Robert Nelson <robertcnelson@gmail.com>
Signed-off-by: Anthony J. Martinez <anthony@ajmartinez.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-09-26 15:28:54 -05:00
Hari Nagalla
2aa7155417 ipc: ti-rpmsg-char: Update library to 0.6.3
Update library to 0.6.3 as it adds support for AM62P
SoC.

Signed-off-by: Hari Nagalla <hnagalla@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-09-25 12:30:50 -05:00
Denys Dmytriyenko
8b94460cae ti-rtos-firmware: cleanup leftover alternative entries for Jacinto
Jacinto platforms use first R5 MCU core for DM firmware. When DM firmware was
split out into own recipe[1], ALTERNATIVE_TARGET entries got removed from
ti-rtos-firmware recipe, but corresponding ALTERNATIVE_LINK_NAME entries
remained, causing warnings. Clean up those now.

[1] https://git.yoctoproject.org/meta-ti/commit/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb?id=b21d29d94694ac49b97a1f4ba428c7d8cd6fb64a

Fixes these warnings:

| WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alternative target (/usr/lib/firmware/j7-mcu-r5f0_0-fw or /usr/lib/firmware/j7-mcu-r5f0_0-fw.ti-rtos-firmware) does not exist, skipping...
| WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alternative target (/usr/lib/firmware/j7-mcu-r5f0_0-fw-sec or /usr/lib/firmware/j7-mcu-r5f0_0-fw-sec.ti-rtos-firmware) does not exist, skipping...
| WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: NOT adding alternative provide /usr/lib/firmware/j7-mcu-r5f0_0-fw: /usr/lib/firmware/j7-mcu-r5f0_0-fw.ti-rtos-firmware does not exist
| WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: NOT adding alternative provide /usr/lib/firmware/j7-mcu-r5f0_0-fw-sec: /usr/lib/firmware/j7-mcu-r5f0_0-fw-sec.ti-rtos-firmware does not exist
| WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alt_link == alt_target: /usr/lib/firmware/j7-mcu-r5f0_0-fw == /usr/lib/firmware/j7-mcu-r5f0_0-fw
| WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alt_link == alt_target: /usr/lib/firmware/j7-mcu-r5f0_0-fw-sec == /usr/lib/firmware/j7-mcu-r5f0_0-fw-sec

| WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alternative target (/usr/lib/firmware/j7200-mcu-r5f0_0-fw or /usr/lib/firmware/j7200-mcu-r5f0_0-fw.ti-rtos-firmware) does not exist, skipping...
| WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alternative target (/usr/lib/firmware/j7200-mcu-r5f0_0-fw-sec or /usr/lib/firmware/j7200-mcu-r5f0_0-fw-sec.ti-rtos-firmware) does not exist, skipping...
| WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: NOT adding alternative provide /usr/lib/firmware/j7200-mcu-r5f0_0-fw: /usr/lib/firmware/j7200-mcu-r5f0_0-fw.ti-rtos-firmware does not exist
| WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: NOT adding alternative provide /usr/lib/firmware/j7200-mcu-r5f0_0-fw-sec: /usr/lib/firmware/j7200-mcu-r5f0_0-fw-sec.ti-rtos-firmware does not exist
| WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alt_link == alt_target: /usr/lib/firmware/j7200-mcu-r5f0_0-fw == /usr/lib/firmware/j7200-mcu-r5f0_0-fw
| WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alt_link == alt_target: /usr/lib/firmware/j7200-mcu-r5f0_0-fw-sec == /usr/lib/firmware/j7200-mcu-r5f0_0-fw-sec

| WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alternative target (/usr/lib/firmware/j721s2-mcu-r5f0_0-fw or /usr/lib/firmware/j721s2-mcu-r5f0_0-fw.ti-rtos-firmware) does not exist, skipping...
| WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alternative target (/usr/lib/firmware/j721s2-mcu-r5f0_0-fw-sec or /usr/lib/firmware/j721s2-mcu-r5f0_0-fw-sec.ti-rtos-firmware) does not exist, skipping...
| WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: NOT adding alternative provide /usr/lib/firmware/j721s2-mcu-r5f0_0-fw: /usr/lib/firmware/j721s2-mcu-r5f0_0-fw.ti-rtos-firmware does not exist
| WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: NOT adding alternative provide /usr/lib/firmware/j721s2-mcu-r5f0_0-fw-sec: /usr/lib/firmware/j721s2-mcu-r5f0_0-fw-sec.ti-rtos-firmware does not exist
| WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alt_link == alt_target: /usr/lib/firmware/j721s2-mcu-r5f0_0-fw == /usr/lib/firmware/j721s2-mcu-r5f0_0-fw
| WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alt_link == alt_target: /usr/lib/firmware/j721s2-mcu-r5f0_0-fw-sec == /usr/lib/firmware/j721s2-mcu-r5f0_0-fw-sec

| WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alternative target (/usr/lib/firmware/j784s4-mcu-r5f0_0-fw or /usr/lib/firmware/j784s4-mcu-r5f0_0-fw.ti-rtos-firmware) does not exist, skipping...
| WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alternative target (/usr/lib/firmware/j784s4-mcu-r5f0_0-fw-sec or /usr/lib/firmware/j784s4-mcu-r5f0_0-fw-sec.ti-rtos-firmware) does not exist, skipping...
| WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: NOT adding alternative provide /usr/lib/firmware/j784s4-mcu-r5f0_0-fw: /usr/lib/firmware/j784s4-mcu-r5f0_0-fw.ti-rtos-firmware does not exist
| WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: NOT adding alternative provide /usr/lib/firmware/j784s4-mcu-r5f0_0-fw-sec: /usr/lib/firmware/j784s4-mcu-r5f0_0-fw-sec.ti-rtos-firmware does not exist
| WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alt_link == alt_target: /usr/lib/firmware/j784s4-mcu-r5f0_0-fw == /usr/lib/firmware/j784s4-mcu-r5f0_0-fw
| WARNING: ti-rtos-firmware-08.02.00.04-r4.1 do_package: ti-rtos-firmware: alt_link == alt_target: /usr/lib/firmware/j784s4-mcu-r5f0_0-fw-sec == /usr/lib/firmware/j784s4-mcu-r5f0_0-fw-sec

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-09-25 12:20:11 -05:00
Ryan Eatmon
142f6d0798 u-boot-ti-mainline: update to the latest 2023.07
Update to the latest release version.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-09-25 11:06:46 -05:00
Ryan Eatmon
026a88e6c4 linux-ti-next: Update to v6.6-rc3 next version
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-09-25 11:04:55 -05:00
Denys Dmytriyenko
811c87bbbd conf: switch k3r5 multiconfig to baremetal
There are couple of k3r5 components that need to be built for the target
and they are self-contained and don't use glibc. Moreover, when building
a cross-compile toolchain for k3r5, there's no need to build glibc and
all its dependencies. While build-time speed up is nice, the main benefit
comes when packaging a nativesdk toolchain for distribution, reducing the
number of packages and the resulting size of the toolchain installer.

To avoid potential namespace conflict in package feeds between nativesdk
binary packages of Linux glibc and k3r5 baremetal toolchains, adjust the
package suffix accordingly.

This also requires a rather impactful change in the deployment structure,
which affects CIs and user experience. By default different TCLIBC builds
(e.g. glibc and baremetal in this case) are built in separate TMPDIRs to
avoid conflicts, especially on the nativesdk side. Also the default config
has DEPLOY_DIR residing under corresponding TMPDIR. Of course, this can be
changed by local.conf or <distro>.conf, which meta-ti-bsp has no control
over. Unlike multiconfig-image-packager example that can access deployed
artifacts across multiconfigs to package in an image, we use wic and its
IMAGE_BOOT_FILES list to package a final image. Unfortunately, wic cannot
access deployed artifacts across multiconfigs in separate TMPDIRs, as it
uses DEPLOY_DIR_IMAGE to collect the artifacts. To overcome this, we need
to set up a "common" deploy directory for images and sdks produced by
multiconfigs, which is located outside of TMPDIRs, set by TI_COMMON_DEPLOY
variable that can be changed or adjusted by distros as needed.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-09-25 09:58:09 -05:00
Ryan Eatmon
209e4e8898 mesa-pvr: Patches for LLVM 17 support
There are a number of issues in gallium when moving to LLVM 17.  These
patches fix those compile issues.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-09-25 09:58:09 -05:00
Denys Dmytriyenko
de4310f4ff k3r5: u-boot: prevent overlapping deployed SPL symlinks
Make sure shortname R5 SPL symlink is not the same as the main K3 SPL
one, as they will overlap/overwrite each other when deployed into a
common location. Latest code in master now checks for this and errors
out.

Also remove unused UBOOT_SPI_* variables.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-09-25 09:58:09 -05:00
Chirag Shilwant
556bda07c9 conf: machine: Add am62xxsip-evm configuration
- Add A53 and R5 machine configurations for am62xxsip-evm.
- Use UBOOT_CONFIG_FRAGMENTS as am62xsip_sk_r5.config in R5 machine configuration. This will ensure we
build u-boot-r5 with baseconfig as am62x_evm_r5_defconfig and config fragment as am62xsip_sk_r5.config.

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Reviewed-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-09-20 17:30:56 -05:00
Chirag Shilwant
b07c6fa556 recipes-bsp: u-boot: Add u-boot-mergeconfig.inc to handle fragment u-boot config
- U-boot recipe in OE-Core supports out-of-tree config fragments that are passed via
SRC_URI and automatically merges all *.cfg files as fragments. This makes specifying
config fragments in the machine configuration a bit difficult. Hence, add a logic which
will ensure we handle u-boot config fragments using a new variable UBOOT_CONFIG_FRAGMENTS.

- The u-boot-mergeconfig.inc will allow us to build u-boot with list of config fragments
specified in UBOOT_CONFIG_FRAGMENTS along with the base defconfig mentioned in UBOOT_MACHINE.

- Include u-boot-mergeconfig.inc in u-boot-ti.inc

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-09-20 17:30:56 -05:00
Denys Dmytriyenko
58bf804889 meta-ti: layer.conf: add compatibility with nanbield
OE-Core is switching layer compatibility to nanbield for the upcoming release.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-09-20 17:30:56 -05:00
Randolph Sapp
dbc6afc46e mesa-pvr: add dynamic-layer append for llvmpipe
Meta-clang provides a bbappend for mesa to use clang to accelerate it's
rasterization with runtime code generation through the use of llvmpipe.
With the addition of mesa-pvr we no longer get this for free with the
blanket mesa bbappend on the devices that explicitly request mesa-pvr so
lets add a dynamic layer to append the same args meta-clang does.

Though the number of devices that would select pvr-mesa and still want
to use software rendering is small, it's not zero due to debug and
testing purposes.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-09-20 17:30:56 -05:00
LCPD Automation Script
9bc415f9bb linux-ti-staging_6.1: CI/CD Auto-Merger: cicd.master.202309200100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-09-20 01:00:57 -05:00
LCPD Automation Script
b97b923047 linux-ti-staging-rt_6.1: CI/CD Auto-Merger: cicd.master.202309200100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-09-20 01:00:57 -05:00
LCPD Automation Script
c955b3a5fa u-boot-ti-staging_2023.04: CI/CD Auto-Merger: cicd.master.202309200100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-09-20 01:00:57 -05:00
Ryan Eatmon
ee2dd26980 conf/am65xx-hs-evm: Fix UBOOT_MACHINE to match u-boot config
The uboot config for am65 is moving to a merged build for both GP and
HS.  Until the yocto configs catch up, we need to keep am65xx-hs-evm
working.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-09-05 08:23:25 -05:00
Ryan Eatmon
411f2d4b21 k3conf: Update SRCREV and move to cmake
The SRCREV change corresponds to a commit that changes from make to
cmake for building k3conf, so we need to update the recipe as well.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-08-30 15:29:44 -05:00
LCPD Automation Script
43676653a9 linux-ti-staging_6.1: CI/CD Auto-Merger: cicd.master.202308290957
Updated the value(s) for:
  PV
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-08-29 09:58:10 -05:00
LCPD Automation Script
02b9dc0252 linux-ti-staging-rt_6.1: CI/CD Auto-Merger: cicd.master.202308290957
Updated the value(s) for:
  PV
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-08-29 09:58:10 -05:00
LCPD Automation Script
949367a389 u-boot-ti-staging_2023.04: CI/CD Auto-Merger: cicd.master.202308290957
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-08-29 09:58:10 -05:00
LCPD Automation Script
3b8873c313 ti-linux-fw: CI/CD Auto-Merger: cicd.master.202308290957
Updated the value(s) for:
  TI_LINUX_FW_SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-08-29 09:58:10 -05:00
Ryan Eatmon
5e0b4fa2e7 ti-img-rogue-umlibs: Reset INHIBIT_DEFAULT_DEPS
A recent change to oe-core [1], has caused a pile of QA errors during
packaging for this binary package.  The effect of the change in oe-core
was to remove the dependency on the compiler and other compiler adjacent
libraries.  But the binary packages need some of the compiler tools as
part of the packaging flow (ie. objdump).

Until the above gets reverted, this patch will fix the issue and can be
reverted itself once oe-core is fixed.

[1] https://git.openembedded.org/openembedded-core/commit/?h=master&id=d1d09bd4d7be88f0e341d5fccbfbefeb98d4b727

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-08-29 09:54:17 -05:00
Denys Dmytriyenko
d958630a71 conf/k3: switch mcdepends from do_image_complete
Previously k3 mcdepends for k3r5 artifacts has been changed from do_image_wic
to support non-wic builds in other layers and do_image_complete was believed
to be sufficient. Switching k3r5 to baremetal builds has exposed another race
when some pieces come from sstate and hence requires using do_image instead.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-08-23 08:41:42 -05:00
Trevor Woerner
a62b01aea8 pru-icss: update QA checks
Update the QA checks done on the build artifacts to include [buildpaths] since
the PRU linker includes these paths in its output. This avoids build warnings
or errors of the type:

	pru-icss-6.2.0-r1 do_package_qa: QA Issue: File /lib/firmware/pru/PRU_Halt.out in package pru-icss-halt contains reference to TMPDIR [buildpaths]

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-08-23 08:41:42 -05:00
Ryan Eatmon
bc83b32500 conf: am335x-evm and am437x-evm: bump max_leb_cnt
New features added require another increase to max_leb_cnt.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-08-23 08:41:42 -05:00
Julien Panis
e83a907b96 conf: ti33x: Add earlycon parameter to kernel command line
Sometimes on am335x devices, no more output is printed after
"Starting kernel..." message. Modify UBOOT_EXTLINUX_KERNEL_ARGS
to enable the console before standard serial driver is probed.

Signed-off-by: Julien Panis <jpanis@baylibre.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-08-23 08:41:42 -05:00
Ryan Eatmon
b12c4b83db linux-ti-next,conf/machine: Add support for new vendored dts dir
The latest kernel has made the change to add vendor subdirectories into
the arch/arm/boot/dts directory.  This effectively breaks the
KERNEL_DEVICETREE settings in the machine configs for 32bit platforms,
so switch them over to using the PREFIX variable.  Also change the
linux-ti-next to use the PREFIX setting for KERNEL_DEVICETREE.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-07-31 14:55:48 -05:00
Ryan Eatmon
e969884edb ti-kernel-devicetree-prefix: Add search function for DTBMERGE
With the change to the vendored arch/arm/boot/dts directory, we need to
add support to the KERNEL_DEVICETREE_DTBMERGE to make it a search
pattern instead of a fixed list.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-07-31 14:55:48 -05:00
Ryan Eatmon
19340ce0cd ti-rtos-firmware: Add missing links and reformat file for consistency
Add in missing *-sec links pointing to signed files especially for
j784s4.  Reformat file a little to make the groupings easier to
manage in the future when looking to see if -sec links are missing.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-07-24 14:28:22 -05:00
Ryan Eatmon
73dd142262 trusted-firmware-a: Remove rwx patch
Upstream meta-arm has picked up support for what this patch was doing,
it can be removed.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-07-22 19:40:02 -05:00
Andrew Davis
b8fb4a6ab5 conf: machine: am65xx: Remove SYSFW_SUFFIX from non-k3r5 configs
This definition is only needed in the "-k3r5" multiconfig files.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-07-21 10:43:28 -05:00
Andrew Davis
4be6466ef8 conf: Remove old and no longer used MACHINE_FEATURES
The following MACHINE_FEATURES are not matched against anywhere, remove:
 * kernel26
 * ethernet
 * mmc

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-07-21 10:43:28 -05:00
Andrew Davis
2288d6622b conf: Remove leftover UIO Device Tree overlay files
We do not use UIO anymore, remove these files.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-07-21 10:43:28 -05:00
Kamlesh Gurudasani
055541af09 trusted-firmware-a: Update to v2.9 release tag
Update to latest release tag, i.e. v2.9

https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/commit/?id=d3e71ead6ea5bc3555ac90a446efec84ef6c6122

Signed-off-by: Kamlesh Gurudasani <kamlesh@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-07-21 10:43:28 -05:00
LCPD Automation Script
2f99de0e39 linux-ti-staging_6.1: CI/CD Auto-Merger: cicd.master.202307210100
Updated the value(s) for:
  PV
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-07-21 01:02:27 -05:00
LCPD Automation Script
1190ce114e linux-ti-staging-rt_6.1: CI/CD Auto-Merger: cicd.master.202307210100
Updated the value(s) for:
  PV
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-07-21 01:02:27 -05:00
LCPD Automation Script
1121209714 k3conf: CI/CD Auto-Merger: cicd.master.202307210100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-07-21 01:02:27 -05:00
LCPD Automation Script
70030a60cc u-boot-ti-staging_2023.04: CI/CD Auto-Merger: cicd.master.202307210100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-07-21 01:02:27 -05:00
Praneeth Bajjuri
a656575ecd meta-ti: conf: am62xx-lp-evm: Use common include am62xx.inc
commit 5f9be22839 ("machine: Add AM62Q HS-SE evm configuration")
has added am62xx-lp.inc which is used by am62xx-lp-evm machine.

The features listed in am62xx.inc are common between machines
am62xx-evm and am62xx-lp-evm. (Ex: MACHINE_FEATURES = "gpu")

Hence updating the necessary include file to have
common features to be enabled between these two platform variants.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Suggested-by: Randolph Sapp <rs@ti.com>
Reviewed-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-07-18 08:23:52 -05:00
LCPD Automation Script
660a693785 linux-ti-staging_6.1: CI/CD Auto-Merger: cicd.master.202307180100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-07-18 01:03:06 -05:00
LCPD Automation Script
ea4a474e32 linux-ti-staging-rt_6.1: CI/CD Auto-Merger: cicd.master.202307180100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-07-18 01:03:06 -05:00
LCPD Automation Script
c13289b1a5 u-boot-ti-staging_2023.04: CI/CD Auto-Merger: cicd.master.202307180100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-07-18 01:03:06 -05:00
Randolph Sapp
a2c3fd8668 ti-img-rogue-*: bump srcrev for jacinto fixes
Bump the SRCREV for the umlibs and driver package to include some fixes
for Jacinto devices. These patches do the following:
 - Fix virtual memory addressing
 - Resolve an issue with APM and debug requests
 - Attempt to resolve most of the cache coherency related issues on
   Jacinto devices
 - Introduce some extra cache maintenance operations in the kernel
   module

It also introduces the following known issues:
 - Visual artifacting on the second-to-last EGL/GLES context on BXS
   based devices (J721S2/J784S4)

We're still working on that last one, but the stability improvements
make this worth while for now.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-07-11 12:56:58 -05:00
Andrew Davis
6b741edf5f conf: machine: k3: Use ARM64 kernel load address in FIT
The address 0x80008000 was used in pre-K3 devices. ARM64 requires the
kernel loaded to a 2MB aligned address when not using KASLR. For FIT
set the address to 0x81000000 which gives the kernel 32MB before running
into the FDT at 0x83000000.

If you get this error someday then your kernel is too large and either it
or FDT needs relocated in memory:
    ERROR: image is not a fdt - must RESET the board to recover.

Signed-off-by: Andrew Davis <afd@ti.com>
Tested-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-07-07 08:45:10 -05:00
Praneeth Bajjuri
cc14f9eb41 pru-icss_git.bb: update to PSSP v6.2.0
Upgrade to v6.2.0 version.
This release supports Linux kernel 6.1.
The RPMsg library in previous versions of the PSSP will not work with
the PRU RPMsg drivers in Linux kernel 6.1.

Other changes in this version:
 * Bug fixes:
     - Getting Started Labs, fix "zero" command clearing too many bytes
     - Include files, add a missing parentheses to pru_cfg, pru_ctrl, pru_ecap
 * Update ReadMe files to point to the latest URLs

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-07-07 08:45:10 -05:00
Hari Nagalla
b644099752 ipc: ti-rpmsg-char: Update library to 0.6.2
Update ti-rpmsg-char library to fix wrong rpmsg-ctrl
device ids observed when multiple remote procs are present
with multiple channels opened.

Signed-off-by: Hari Nagalla <hnagalla@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-07-07 08:45:10 -05:00
LCPD Automation Script
35f8418759 linux-ti-staging_6.1: CI/CD Auto-Merger: cicd.master.202307070100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-07-07 01:01:51 -05:00
LCPD Automation Script
87ac962bb6 linux-ti-staging-rt_6.1: CI/CD Auto-Merger: cicd.master.202307070100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-07-07 01:01:51 -05:00
LCPD Automation Script
19417c46e2 u-boot-ti-staging_2023.04: CI/CD Auto-Merger: cicd.master.202307070100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-07-07 01:01:51 -05:00
LCPD Automation Script
c012b56b94 ti-linux-fw: CI/CD Auto-Merger: cicd.master.202307070100
Updated the value(s) for:
  TI_LINUX_FW_SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-07-07 01:01:51 -05:00
Ryan Eatmon
a3fe9c4e2a conf: am335x-evm and am437x-evm: bump max_leb_cnt
New features added require another increase to max_leb_cnt.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-07-05 19:10:51 -05:00
LCPD Automation Script
ad01add7d2 linux-ti-staging_6.1: CI/CD Auto-Merger: cicd.master.202306300100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-06-30 01:15:54 -05:00
LCPD Automation Script
3fb2ba034f linux-ti-staging-rt_6.1: CI/CD Auto-Merger: cicd.master.202306300100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-06-30 01:15:54 -05:00
LCPD Automation Script
078a5eb653 u-boot-ti-staging_2023.04: CI/CD Auto-Merger: cicd.master.202306300100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-06-30 01:15:53 -05:00
LCPD Automation Script
19773df34a ti-linux-fw: CI/CD Auto-Merger: cicd.master.202306300100
Updated the value(s) for:
  TI_LINUX_FW_SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-06-30 01:15:53 -05:00
Aniket Limaye
877c9b62a2 conf: machine: j7*: Update KERNERL_DEVICETREE_PREFIX to match latest filenames
1) The k3-fpdlink-* dtbs were missing.
2) k3-j7200-mcspi-loopback.dts -> k3-j7200-evm-mcspi-loopback.dtso

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-29 08:33:47 -05:00
Randolph Sapp
f482051d3c ti-img-rogue-driver: drop unused patch
The following patch was dropped from the SRC_URI one of my previous
graphics overhaul patches:
0001-compiler-support-OpenEmbedded-nodistro-internal-aarc.patch

Actually remove it from the source tree now that upstream is carrying
the equivalent to help enable other tools.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-28 07:23:59 -05:00
Randolph Sapp
38bd40b803 ti-img-rogue-driver: update to catch more compilers
Upstream changed to not be so picky about compilers. Bump SRCREV so the
odd things using our recipes are happy again.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-26 16:33:36 -05:00
Randolph Sapp
c21c827638 ti-img-rogue-umlibs: absolute path for file globs
Edit the file paths so they point at files in the source directory
explicitly. For some reason shell glob were previously only respected by
some machines.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-26 16:33:36 -05:00
LCPD Automation Script
40844ca5f1 linux-ti-staging-rt_6.1: CI/CD Auto-Merger: cicd.master.202306260100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-06-26 01:02:19 -05:00
LCPD Automation Script
8f52313cb7 u-boot-ti-staging_2023.04: CI/CD Auto-Merger: cicd.master.202306260100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-06-26 01:02:19 -05:00
Udit Kumar
df928ff49c linux-ti-staging: add configuration for remoteproc/rpmsg IPC modules
* rpmsg_client_sample is a test module and should not be autoloaded
* Both k3_r5 and k3_dsp remoteproc modules depend on virtio_rpmsg_bus

Cc: Denys Dmytriyenko <denys@ti.com>
Cc: Ryan Eatmon <reatmon@ti.com>
Cc: Praneeth Bajjuri <praneeth@ti.com>
Cc: Apurva Nandan <a-nandan@ti.com>
Cc: Hari Nagalla <hnagalla@ti.com>
Signed-off-by: Udit Kumar <u-kumar1@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-23 13:13:56 -05:00
Randolph Sapp
8af0ba63d2 ti-img-rogue-umlibs: use rrecommends for components
Use RRECOMMENDS for components. Apparently I made an resolvable
dependency cycle that Yocto silently clipped. My best guess at the
culprit was: mesa-megadriver (RR) -> rogue-km (RR) -> rogue-um (RD) ->
libgles1-rogue (RD) -> mesa-megadriver

That killed the ti-img-rogue-umlibs recipe during do_rootfs. The rogue
GLES libs do depend on mesa-megadriver at runtime but I guess the UM
components should only really recommend the rogue GLES components be
present at runtime to make the cycle resolvable by opkg.

Fixes:
1705f6d3 (ti-img-rogue-umlibs: make all components optional, 2023-06-21)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-23 13:13:56 -05:00
Ravi Gunasekaran
fbc7a67449 prusw-fw: SR2.0: Package switch firmware for AM64
Now that driver support is added to support switch mode
for AM64, update recipes to package the switch firmware.

Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-23 13:13:56 -05:00
Ryan Eatmon
c70c1b611a pruhsr-fw: SR2.0: Add new firmware
We need to package up new HSR firmware for am65x-sr2.  Add dependencies
for them on the correct platforms.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-23 13:13:56 -05:00
Manorit Chawdhry
bde91baf8a conf: machine: include: k3 enable fit signing for uboot
Enables FIT Image signing for K3 platforms

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-23 13:13:56 -05:00
Randolph Sapp
09c2c7597f ti-img-rogue-umlibs: make all components optional
Bumping into the limitations of the binary_package class. This change
allows all rogue components to be optionally packaged without blowing
out the dependency chain.

Add a python function to fetch file paths from the FILE vars for each
component so we don't end up double tracking files. Add variables to
track component packages if things split up more later. Add a package
config string to set runtime dependencies and recommendations. Change
all logic to revolve around the PACKAGECONFIG instead of distro
features.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-23 13:13:56 -05:00
LCPD Automation Script
907ffe2102 linux-ti-staging_6.1: CI/CD Auto-Merger: cicd.master.202306230100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-06-23 01:01:33 -05:00
LCPD Automation Script
b8cc20bd11 linux-ti-staging-rt_6.1: CI/CD Auto-Merger: cicd.master.202306230100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-06-23 01:01:33 -05:00
LCPD Automation Script
4ae979e628 u-boot-ti-staging_2023.04: CI/CD Auto-Merger: cicd.master.202306230100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-06-23 01:01:33 -05:00
LCPD Automation Script
2f0f92dbd0 linux-ti-staging_6.1: CI/CD Auto-Merger: cicd.master.202306220100
Updated the value(s) for:
  PV
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-06-22 01:01:45 -05:00
LCPD Automation Script
8a493fcf78 linux-ti-staging-rt_6.1: CI/CD Auto-Merger: cicd.master.202306220100
Updated the value(s) for:
  PV
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-06-22 01:01:45 -05:00
LCPD Automation Script
e35b828f7a u-boot-ti-staging_2023.04: CI/CD Auto-Merger: cicd.master.202306220100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-06-22 01:01:45 -05:00
LCPD Automation Script
38ec351103 ti-linux-fw: CI/CD Auto-Merger: cicd.master.202306220100
Updated the value(s) for:
  TI_LINUX_FW_SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-06-22 01:01:45 -05:00
Ryan Eatmon
a79e28015f kernel-rdepends: Add ti-eth-fw as an RDEPENDS
When the ti-eth-fw recipe was split out from the ti-rtos-firmware recipe
we forgot to add it as a dependency.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-21 09:52:05 -05:00
Ryan Eatmon
3f51206480 conf: am335x-evm and am437x-evm: bump max_leb_cnt
New features added require another increase to max_leb_cnt.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-21 09:30:30 -05:00
Devarsh Thakkar
3f945cae72 conf: machine: am62xx: Add TI logo as image boot file
Add TI logo bitmap image as image boot file so that it gets
copied to boot partition and A53 SPL or U-boot proper
can load it and display during board bootup.

Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-19 13:40:25 -05:00
Devarsh Thakkar
1fed958bfe u-boot-ti-staging_2023.04: Copy bitmap file to boot partition for AM62x
Early splash screen support for AM62x has been enabled in u-boot
and it requires bitmap tarball to be present in boot partition
as per the default environment settings done in u-boot [1].

Copy the ti logo bitmap tarball to boot partition of wic image in order
to enable out of box early display on AM62x.

[1] https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/board/ti/am62x/am62x.env

Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-19 13:40:25 -05:00
Andrew Davis
f2c401efc3 ti-sci-fw: Include the TIFS LPM stub with the rest of SYSFW
This firmware is shipped with the rest of ti-sysfw blobs, it shares
the same versions too and so should be simply bundled with the same.

This stub is also built into U-Boot and not loaded during kernel
runtime anymore, so remove the RDEPENDS in kernel.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-19 13:40:25 -05:00
LCPD Automation Script
bc5a7c7a61 ti-k3-secdev: CI/CD Auto-Merger: cicd.master.202306190100
Updated the value(s) for:
  GIT_SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-06-19 01:02:42 -05:00
LCPD Automation Script
4edad9ff21 linux-ti-staging_6.1: CI/CD Auto-Merger: cicd.master.202306190100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-06-19 01:02:42 -05:00
LCPD Automation Script
52f4cf633e linux-ti-staging-rt_6.1: CI/CD Auto-Merger: cicd.master.202306190100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-06-19 01:02:42 -05:00
LCPD Automation Script
5268d392b6 u-boot-ti-staging_2023.04: CI/CD Auto-Merger: cicd.master.202306190100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-06-19 01:02:42 -05:00
LCPD Automation Script
c684309b59 ti-linux-fw: CI/CD Auto-Merger: cicd.master.202306190100
Updated the value(s) for:
  TI_LINUX_FW_SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-06-19 01:02:42 -05:00
Paresh Bhagat
8269533988 ti-extras: Add support for extra kernel/u-boot features
There are some features that will either never be accepted into the
upstream kernel, or are not ready to be accepted.  ti-extras allows for
controlling the kernel and u-boot repos, breanches, and srcrevs to gain
access to those features via the TI_EXTRAS variable in the local.conf
file.

Initial support for TI_EXTRAS=tie-jailhouse is being added by this
patch.

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Acked-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-14 12:49:59 -05:00
Denys Dmytriyenko
4c5461c237 optee: local fix for stray CFG_MAP_EXT_DT_SECURE=y in meta-arm
Latest update in meta-arm added unconditional CFG_MAP_EXT_DT_SECURE=y
that affects all platforms, but was only needed for qemu. And it also
depends on CFG_DT=y, which is platform-specific. The fix was submitted
upstream[0], overlay it locally until upstream resolves it.

[0] https://patchwork.yoctoproject.org/project/arm/patch/20230613181723.1711212-1-denis@denix.org/

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-14 10:01:45 -05:00
Denys Dmytriyenko
a0ce9c392f binutils: apply local fix for packaging of gprofng static library
The fix was submitted upstream to OE-Core[0], but due to other issues,
it is currently sitting in a backlog queue. Apply it locally for now.

[0] https://patchwork.yoctoproject.org/project/oe-core/patch/20230609235726.3119540-1-denis@denix.org/

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-14 10:01:45 -05:00
LCPD Automation Script
ab46744ef3 u-boot-ti-staging_2023.04: CI/CD Auto-Merger: cicd.master.202306120100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-06-12 01:01:55 -05:00
Ryan Eatmon
68ab34dcf4 conf: am335x-evm and am437x-evm: bump max_leb_cnt
New features added require an increase to max_leb_cnt.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-10 20:12:54 -05:00
Randolph Sapp
ffcf419a28 ti-img-rogue-umlibs: drop the api specific dev packages
Well, flew a bit too close to the sun on that last patch. Apparently
there are a few hidden runtime dependencies on the API devlinks that
make things like EGL upset when they aren't present.

We may circle back to this at some point but for now we're fine shipping
the devlinks in the base API packages as these links don't step on any
other package.

Fixes: 1899f5ea (ti-img-rogue-umlibs: bump version and explicitly
package, 2023-06-01)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-09 08:06:52 -05:00
LCPD Automation Script
803a9256d6 linux-ti-staging_6.1: CI/CD Auto-Merger: cicd.master.202306090100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-06-09 01:02:39 -05:00
LCPD Automation Script
a45aa613a9 linux-ti-staging-rt_6.1: CI/CD Auto-Merger: cicd.master.202306090100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-06-09 01:02:39 -05:00
LCPD Automation Script
754fa8bfd2 u-boot-ti-staging_2023.04: CI/CD Auto-Merger: cicd.master.202306090100
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-06-09 01:02:39 -05:00
LCPD Automation Script
408d1c0bc9 ti-linux-fw: CI/CD Auto-Merger: cicd.master.202306090100
Updated the value(s) for:
  TI_LINUX_FW_SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-06-09 01:02:39 -05:00
Bryan Brattlof
c0d9cb1970 ti-kernel: Apply RT fragments to RT kernel config
Apply the ti_rt.config fragment to all the linux-ti-staging-rt-6.1
defconfigs so we can properly build the RT kernel for our devices.

Signed-off-by: Bryan Brattlof <bb@ti.com>
Acked-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-08 14:42:26 -05:00
LCPD Automation Script
1b0f195031 linux-ti-staging_6.1: CI/CD Auto-Merger: cicd.master.202306071118
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-06-07 11:19:39 -05:00
LCPD Automation Script
e6dfd8d975 linux-ti-staging-rt_6.1: CI/CD Auto-Merger: cicd.master.202306071118
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-06-07 11:19:39 -05:00
LCPD Automation Script
06782cbe59 u-boot-ti-staging_2023.04: CI/CD Auto-Merger: cicd.master.202306071118
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-06-07 11:19:39 -05:00
LCPD Automation Script
f219978224 ti-linux-fw: CI/CD Auto-Merger: cicd.master.202306071118
Updated the value(s) for:
  TI_LINUX_FW_SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-06-07 11:19:39 -05:00
Andrew Davis
29051c0e20 conf: machine: am65xx: Update GP to SR2 firmware
SR2.0 firmware binaries should be used here as SR1.0 has been descoped.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-07 10:13:29 -05:00
Andrew Davis
54fc7cef41 conf: machine: am62xx-lp: Default to HS-FS instead of GP
This matches how we had the symlink for tiboot3.bin before binman.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-07 10:13:00 -05:00
Andrew Davis
e201cb74e9 conf: machine: am62xx: Default to HS-FS instead of GP
This matches how we had the symlink for tiboot3.bin before binman.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-07 10:13:00 -05:00
Andrew Davis
c8193da595 ti-dm-fw: Do not make signed DM image the default for K3
U-Boot with binman will do the signing as these images are packaged.
Do not rename the DM image as the signed image.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-07 10:12:16 -05:00
Andrew Davis
c76f3d98c8 optee-os: Do not sign OPTEE OS image for K3
U-Boot with binman will do the signing as these images are packaged.
Remove signing steps here.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-07 10:12:16 -05:00
Andrew Davis
d669f362ef trusted-firmware-a: Do not sign TF-A image for K3
U-Boot with binman will do the signing as these images are packaged.
Remove signing steps here.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-07 10:12:16 -05:00
Andrew Davis
a9dab0a216 conf: machine: j721e: Also deploy full named tiboot3.bin files
The platforms with combined boot image have full names for tiboot3.bin
and to keep things consistent we can do the same here. Deploy these files.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-07 10:10:22 -05:00
Andrew Davis
cb41db9eef conf: machine: am65xx: Also deploy full named tiboot3.bin files
The platforms with combined boot image have full names for tiboot3.bin
and to keep things consistent we can do the same here. Deploy these files.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-07 10:10:22 -05:00
Andrew Davis
4bbb9446f7 conf: machine: Do not override SPL_BINARY on AM65x and J721e
In U-Boot the names of these files have been updated to match our
expected defaults. Remove these fixups.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-07 10:10:22 -05:00
Andrew Davis
2e9bca6470 conf: machine: am62xx: Remove old SPL_BINARY and UBOOT_BINARY overrides
The defaults set in am62xx.inc are correct now and these can be dropped.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-07 10:10:22 -05:00
Andrew Davis
5e75149926 conf: machine: j784s4: Include the non-HS config in the HS config
Everything is the same, so just include the non-HS config to set vars.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-07 10:10:22 -05:00
Andrew Davis
fb5cdc1631 conf: machine: j721s2: Include the non-HS config in the HS config
Everything is the same, so just include the non-HS config to set vars.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-07 10:10:22 -05:00
Andrew Davis
b0dbaf58a1 conf: machine: am65xx: Deploy SR2 version of SYSFW
The HS boards use the SR2 version of the silicon, ship that version
of the sysfw.itb image.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-07 10:10:22 -05:00
Andrew Davis
72e9b749c0 conf: machine: Remove leftover k3r5 SOC_FAMILY names
These are not used anymore and most have been removed, these look
to be leftovers, remove them.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-07 10:10:22 -05:00
Hari Nagalla
ace86cffee ipc: ti-rpmsg-char: Update library to 0.6.1
Update the ti-rpmsg-char library to 0.6.1 version to fix rpmsg_ctlr
id on v6.1 kernel when multiple channels are created.

Signed-off-by: Hari Nagalla <hnagalla@ti.com>
Reviewed-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-07 10:09:57 -05:00
Andrew Davis
ec7aaf6df9 conf: machine: Remove all leftover config files
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-07 10:08:55 -05:00
Andrew Davis
568e63b542 conf: machine: Switch all the machines over to U-Boot binman
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-07 10:08:55 -05:00
Andrew Davis
e74b9a1746 u-boot-ti-staging: Use binman to package our firmware
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-07 10:06:40 -05:00
Andrew Davis
835811cf85 ti-sci-fw: Drop k3-image-gen and only provide firmware
This converts ti-sci-fw into a standard firmware provider package. We do
not need to do anything additional here with that firmware as U-Boot now
does that for us with binman.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-07 10:05:03 -05:00
Andrew Davis
d7d207a4e0 u-boot-ti-staging: Remove version 2021.01
This will no longer build after we switch away from k3-image-gen. Remove
this version and make 2023.04 the default.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-07 10:03:46 -05:00
Andrew Davis
017bdbb286 u-boot-bb.org: Remove this recipe
This will no longer build after we switch away from k3-image-gen. Remove
this version until it can be rebased on the latest U-Boot with binman
support. For now switch current users of this over to u-boot-ti v2021.01.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-07 10:02:09 -05:00
Andrew Davis
b7e58ce15a ti-sci-fw: Remove source package recipe
K3-image-gen is going away and we don't do SRCIPK packages like this
anymore anyway. Remove this recipe.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-07 10:02:09 -05:00
Andrew Davis
91e5a1ca65 ti-eth-fw: Add recipe for TI Ethernet firmware
Split out the TI Ethernet firmware from ti-rtos-firmware.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-07 10:02:09 -05:00
Andrew Davis
b21d29d946 ti-dm-fw: Add recipe for TI DM firmware
Split out the TI DM firmware from ti-rtos-firmware.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-07 10:02:09 -05:00
Ryan Eatmon
f96430c0f3 ti-kernel: Apply vendored dtb flags
Set the variables needed to put the DTBs into the same vendored
directory structure as they are in the kernel.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-07 10:00:41 -05:00
Randolph Sapp
9af812fcd6 ti-img-rogue-umlibs: bump version and explicitly package
Bump the version and explicitly package all Khronos APIs separately.
This should be nice for those folks that want a headless opencl system
for tinkering and such.

This version includes experimental GEM support (for applications like
Chromium that like to poke at the render node) and a new Vulkan ICD
loader interface for better support with the Vulkan ICD loaders present
in Yocto.

This lifts a method from mesa used to force a common naming convention
for Vulkan, OpenCL, and OpenGLES libs to make things a little easier to
follow. Without it the target package names get scrambled based on the
shared object name.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-01 16:07:00 -05:00
Randolph Sapp
2734d0d290 libgles: rename subdir to powervr-umlibs
Move recipes to new subdir since we offer more than just libgles now.
Reusing the naming convention of the subdirectory used for the km
components for now.

Signed-off-by: Randolph Sapp <rs@ti.com>
Acked-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-01 16:07:00 -05:00
Kevin Hao
8fa9ec7dcd cnm-wave-fw: Fix old override syntax
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-31 08:28:42 -05:00
Andrew Davis
39ac02d70f ti-xdctools: Fold include files into the one remaining user
There is only one user of these include files, expand the files inside
the one user and remove the includes.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-25 08:59:11 -05:00
Andrew Davis
bcffc44675 ti-paths: Remove extra paths and alphabetize
This file should be whittled away over time, remove currently unused
paths to help us take inventory of what remains.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-25 08:59:11 -05:00
Denys Dmytriyenko
31fa75797a optee: couple minor changes to match with kirkstone
Minor changes to match with Kirkstone for consistency.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-23 10:45:33 -05:00
Randolph Sapp
4cfad35643 meta-ti-bsp: ti-img-rogue-driver: cleanup apm and add hack
Cleanup the J* APM patch a little. Apparently I could have stood to read
the docs a little more. Found some better runtime pm functions and also
discovered something new about the power island definition.

Notes from upstream:
	- Add the CCB coherency HACK from DDK 1.15 to improve stability
	  on J* devices
	- Fix power island support on J* devices
	- Use better APM calls so user modification to power domains
	  don't cause the device to enter a bad state

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-19 08:34:30 -05:00
Praneeth Bajjuri
64ba6e40da ipc: ti-rpmsg-char: Update library to 0.6.0
Update the ti-rpmsg-char library to 0.6.0 version that enables the
support for 6.1 kernel.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-18 14:50:05 -05:00
Randolph Sapp
a556e14310 meta-ti-bsp: sdimage-2part-efi: rename to load variables
Rename the .wks to .wks.in so the EFI_PROVIDER variable is expanded
properly. We only ever set a soft recommendation for GRUB. If anyone
attempted to change that previously it was ignored (for more than just
the reason here, but that's out of my control).

Add a timeout for the bootloader menu. Currently setting it to 3
seconds.

Remove the read only flag on the rootfs. Not sure why that was there.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-18 14:50:05 -05:00
Jai Luthra
507ff12202 conf: machine: am62axx: Use generic fpdlink prefix
The FPDLink overlays are platform-agnostic, and have been renamed to
match that in the tiL6.1 kernel [1]. So use the generic k3-fpdlink
prefix to pick the overlays in the builds.

[1]: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/Makefile?id=13ef48e91#n62

Signed-off-by: Jai Luthra <j-luthra@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-18 14:50:05 -05:00
LCPD Automation Script
b2cf11414a various: Sync from kirkstone CICD
ti-linux-fw: CI/CD Auto-Merger: cicd.kirkstone.202305161900
linux-ti-staging-rt_6.1: CI/CD Auto-Merger: cicd.kirkstone.202305161900
linux-ti-staging_6.1: CI/CD Auto-Merger: cicd.kirkstone.202305161900
u-boot-ti-staging_2023.04: CI/CD Auto-Merger: cicd.kirkstone.202305170400

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-17 10:40:50 -05:00
Ryan Eatmon
8b88d74469 various: Remove DEFAULT_PREFERENCE
Now that are past the inital stages of our LTS migration, we can remove
the DEFAULT_PREFERENCE settings that prevented these recipes from being
the default.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-17 09:46:34 -05:00
LCPD Automation Script
739b24bf1e various: Intial LTS migration version
As part of the initial LTS migration, move to the latest commits for the
various repos.
- ti-linux-fw
- u-boot-ti-staging_2021.01
- u-boot-ti-staging_2023.04
- k3conf_git
- linux-ti-staging-rt_5.10
- linux-ti-staging-rt_6.1
- linux-ti-staging_5.10
- linux-ti-staging_6.1

Going forward all updates will come from the CICD flow.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-17 09:46:34 -05:00
Ryan Eatmon
6eb5ffb743 ti-sci-fw: Add SYSFW_SUFFIX to SYSFW_BINARY to match k3-image-gen
k3_image_gen added the suffix to the sysfw binary to differentiate
between GP and HS binaries.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-17 09:46:34 -05:00
Randolph Sapp
49c17fb277 ti-img-rogue-driver: enable bxs/8xe apm
Bump the src revision to enable the following features on Jacinto:
	- Active power managment
	- Power island control via firmware

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-17 09:46:34 -05:00
Ryan Eatmon
bf146d794d ti-ipc: Stop looking for rpmsg_rpc.h in the kernel
Stop looking for the rpmsg_rpc.h in the kernel.  While we are doing the
LTS migration for kirkstone, this file is not going to be in the kernel
for a bit.  This patch works in conjunction with a recipe change that
downloads the header and adds a -I to the CFLAGS to pick it up.  This
will be removed once the 6.1 kernel has been updated.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-17 09:46:34 -05:00
Manorit Chawdhry
5763b91942 j721e-hs-evm: Merge j721e defconfigs
uboot will now use a merged defconfig build so keep the defconfig same
for hs here

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-17 09:46:34 -05:00
Udit Kumar
5607a7a7cc meta-ti-bsp: conf: machine: j721s2: Update def config
u-boot 2023.04 merged def configs for HS and GP EVM into one.
This patch updates config for J721S2 HS EVM for both A72 and R5.

Signed-off-by: Udit Kumar <u-kumar1@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-17 09:46:34 -05:00
Udit Kumar
0e5428549b meta-ti-bsp: conf: machine: j7200: Update def config
u-boot 2023.04 merged def configs for HS and GP EVM into one.
This patch updates config for J7200 HS EVM for both A72 and R5.

Signed-off-by: Udit Kumar <u-kumar1@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-17 09:46:34 -05:00
Khem Raj
4137bd9b30 linux-bb.org_git.bb: Fix build with gcc-13
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-15 08:40:21 -05:00
Ryan Eatmon
96c6006bb0 conf: machine: Add extra tiboot3.bin version that matches default
When creating the boot partition we copy all of the images for the
different board types (gp, hs-fs, hs-se), but one of those we consider
to be a default.  That default is not copied with the longer name, but
rather with the tiboot3.bin name.

The issue comes when someone wants to boot with a different bin file.
They need to copy the approriate longer named .bin file to tiboot3.bin.
But then the original name of what tiboot3.bin is lost unless the use
backs it up.

This patch just additionally copies that longer named bin file so that
anyone who wants to look at the boot partiion and decide to boot for a
different board can know which file to copy to tiboot3.bin and does not
need to worry about making a backup.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-11 15:06:17 -05:00
Denys Dmytriyenko
389f9a8b72 trusted-firmware-a: only activate customizations for TI platforms
Avoid inheriting ti-secdev class and adding unconditional dependency
on TI_SECURE_DEV_PKG and other variables, when meta-ti-bsp is in the
bblayers.conf stack, but not building for TI platforms. This solves
yocto-check-layer signature test for Yocto Project compliance.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-11 14:27:59 -05:00
Denys Dmytriyenko
55c90c0aae optee-os: only activate customizations for TI platforms
Avoid inheriting ti-secdev class and adding unconditional dependency
on TI_SECURE_DEV_PKG and other variables, when meta-ti-bsp is in the
bblayers.conf stack, but not building for TI platforms. This solves
yocto-check-layer signature test for Yocto Project compliance.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-11 14:27:59 -05:00
Denys Dmytriyenko
24e9324551 mesa-pvr: convert bbappend into standalone alternative provider
There are some unobvious issues with adding PVR support to Mesa
via a bbappend:

1. We need to mark mesa package as machine-specific, due to
differences in builds between SGX, Rogue and software-rendering

2. We also need to then mark mesa package as providing safe
ABIs (EGL/GLES/GBM) in order for all generic dependent packages
to not be treated as machine-specific, allowing their re-use
across different machines of the same architecture

But doing the above alters the upstream mesa package and changes
its signatures even when not building for TI platforms, which is
a Yocto Project compliance violation.

In order to resolve this issue, convert Mesa bbappend, that adds
PVR support, into its own standalone alternative provider, called
mesa-pvr and allow selecting it with PREFERRED_PROVIDER settings.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-11 14:19:01 -05:00
Ryan Eatmon
f3a081a6c2 conf: machine: j784s4: Add AM69 SK dtbs to KERNEL_DEVICETREE_PREFIX
Add in missing am69 based dtbs that were added in dunfell at the end of
the 8.6 release cycle.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-09 15:28:36 -05:00
Ryan Eatmon
a6e4dcafc2 conf: machine: j721s2: Add AM68 SK dtbs to KERNEL_DEVICETREE_PREFIX
Add in missing am68 based dtbs that were added in dunfell at the end of
the 8.6 release cycle.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-09 15:28:36 -05:00
Ryan Eatmon
917989fe75 conf: Sync KERNEL_DEVICETREE(_PREFIX) with upstream
Some of the settings for KERNEL_DEVICETREE_PREFIX were missed in the
first pass.  Additionally, some new dts files that were not present in
upstream are now there and can be updated in KERNEL_DEVICETREE.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-09 15:27:44 -05:00
Denys Dmytriyenko
f22ea63f66 linux-bb.org: also package DT overlays in separate dir
OE-Core recently added non-flat directory structure for device trees
and overlays packaging:
https://git.openembedded.org/openembedded-core/commit/?id=04ab57d20009d85eb566e83ae6fe1dcea4db7300

But it only packages 2 levels - top KERNEL_DTBDEST and one level down
for vendored device trees. But linux-bb.org installs own overlays in
"overlays" subdir of the "ti" vendor directory, making it the third
level. Add those overlays into the package as weel.

Cc: Randolph Sapp <rs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-08 15:24:40 -05:00
Aradhya Bhatia
8cf2128085 meta-ti: conf: am62xx-lp-evm: Fix DT and DT prefixes
The DT name k3-am62-lp-sk.dts was adopted instead of k3-am62x-lp-sk.dts
because the community prefers avoiding the wildcard letter 'x'.[1]

Drop the letter 'x' from the strings in KERNEL_DEVICETREE_PREFIX and
KERNEL_DEVICETREE to accurately reflect the DT names.

Signed-off-by: Aradhya Bhatia <a-bhatia1@ti.com>

[1]:
https://lore.kernel.org/all/06cbcd7d-bc83-bfeb-0821-72c7caf9a5e7@linaro.org/

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-08 15:23:35 -05:00
Paresh Bhagat
31eb1aa2b7 recipes-ti: Add recipe and patches for jailhouse support for am62xx
Add and enable Jailhouse support for TI's k3-am625-sk similarly to how other
TI platforms were added and enabled in the past by adding platform-specific
configuration variables for the root cell DTB overlay, and the Linux demo inmate
DTB, configuration, and Kernel command line settings.

Migrate the jailhouse recipe to kirkstone from dunfell.

Switch to latest upstream source tree for jailhouse. The TI Jailhouse repo has
gone stale and now upstream is really the happening place where new development
happens including for new devices such as AM62x. Hence go ahead and switch to
using the upstream repo.

Update the platform-specific config files to such that the root cell DTB overlay
gets included in the file system images.

Enable additional console on ttyS3 (usually mapped to main_uart1) and ttyS2 for
the Linux demo inmate to use.

Add patches for the Jailhouse source tree for am62xx.

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-08 11:17:40 -05:00
Daniel Schultz
d3c2c6e809 recipes-graphics: ti-img-rogue-umlibs: Make -vulkan optional
Only include the ti-img-rogue-umlibs-vulkan package if the
DISTRO_FEATURES x11 is enabled. Right now, this recipe has a failed
build dependency on images without x11.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Tested-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-08 11:12:38 -05:00
Daniel Schultz
ab92e0322d conf: machine: include: k3: Select correct WKS file
Select the correct WKS file according to the MACHINE_FEATURE efi.

Right now, the sdimage-2part-efi.wks is set by default. Switch to the
sdimage-2part.wks file, if efi was removed from MACHINE_FEATURES to allow
non-efi boot methods.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-08 11:12:38 -05:00
Randolph Sapp
f1bab6abb0 ti-img-rogue-umlibs: package firmware separately
Split the firmware into it's own package so we can make the insane
checks a little more paranoid again.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-08 11:11:09 -05:00
Randolph Sapp
ade5e668dc cairo: resolve opengl version
Cairo can either be built for use with OpenGL or OpenGLES. By default it
assumes it can use OpenGL if X11 is provided as a distro feature. This
assumption is not true when using the proprietary SGX / Rogue drivers.

Vulkan libraries need some X libs at runtime now, so we need to manually
override the PACKAGECONFIG for cairo to use OpenGLES.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-08 11:11:09 -05:00
Randolph Sapp
6225d78b65 pvr-mesa: add new vulkan configuration options and wsi
Add the required vulkan configuration options and the new PVR WSI file to
the corresponding package.

Also bump the PV to match the version of Mesa actually being shipped.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-08 11:11:09 -05:00
Randolph Sapp
50f5e36332 ti-img-rogue-umlibs: bump srcrev, add vulkan, update deps
Update the source revision for the following upstream changes:
	- Drop the included ICD loader. Use the Mesa/Khronos one
	  instead.
	- Enable all vulkan window system extensions

Separate the vulkan libs into their own package so people can choose to
ignore them if they want, considering the new runtime deps.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-08 11:11:09 -05:00
Ryan Eatmon
63c14bcacd gdbserverproxy-module-drv: Fix patch fuzz
Some how I missed that there was fuzz when applying the patch, which
master treats as an error.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-04 15:20:28 -05:00
Denys Dmytriyenko
d606b53903 linux-bb.org: add support for config fragments
* Add support for additional config fragments passed via semi-standard
  KERNEL_CONFIG_FRAGMENTS variable
* Also don't build all DTBs, only those specified in the machine config

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-03 08:40:08 -05:00
Randolph Sapp
c1d4a25172 graphics: upgrade rogue graphics to 23.1.6404501
Update the rogue graphics recipes to point at the new 23.1.6404501
release. This adds support for:
	- kernel 6.1
	- vulkan
	- opencl (more testing needed)
	- zink (more testing needed)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-03 08:38:42 -05:00
Randolph Sapp
1b313bcd80 mesa: update pvr-mesa for the 22.3.5 version of mesa
Update the pvr-mesa include to use the 22.3.5 patches from
oe-core/master and the branch for DDK version 23.1 on freedesktop.

Also remove the PACKAGECONFIG options elf-tls and xvmc as those
functions were dropped by the oe-core/master version of this package and
mesa package respectively.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-03 08:38:42 -05:00
Randolph Sapp
ec99a3c13d mesa: locally overlay 22.3.5-specific patches from oe-core/master
Locally overlay verbatim copies of mesa 22.3.5 patches from
oe-core/master, so the same codebase works in kirkstone and master.

Also drop the old patches from 22.0 that were from the tip of
oe-core/kirkstone previously.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-03 08:38:42 -05:00
Andrew Davis
558ebdcf22 ti-rtos-firmware: Use the same directory structure as linux-firmware
Currently we move this firmware around and put it in a directories named
pdk-ipc/ and ethfw/. This does not match what is in linux-firmware which
is what projects should expect /lib/firmware to match. This causes issues
for projects that want to work both on meta-ti and also on any other distro.

Switch to shipping the same directory structure as linux-firmware here.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-04-20 08:15:32 -05:00
Andrew Davis
af1d4c9add ti-rtos-firmware: Do not provide default CORESDK_RTOS_VERSION
The version information should come from the ti-linux-fw.inc and this
version is old anyway.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-04-20 08:15:32 -05:00
Denys Dmytriyenko
fa9e4f8125 meta-ti-bsp: add mesa to SIGGEN_EXCLUDERECIPES_ABISAFE list
For TI platforms with SGX and Rogue graphics we patch upstream Mesa with
PVR support and conditionally enable features based on virtual/gpudriver
preference. This makes Mesa package platform-specific and it contains the
corresponding PACKAGE_ARCH = "${MACHINE_ARCH}" line.

In order to get greater re-use from generic non-machine-speciofic packages
down the dependency chain, such as Wayland, Weston, Qt5 modules, etc. we
need to mark mesa recipe as still providing stable OpenGL ABIs, such as
EGL, GLES, GBM, etc. - add it to SIGGEN_EXCLUDERECIPES_ABISAFE list.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Reviewed-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-04-18 15:20:49 -05:00
Andrew Davis
6cae32babe meta-ti-bsp: Remove SGX driver from SIGGEN_EXCLUDERECIPES_ABISAFE
Neither of recipes nor their ABI is all that stable. OpenGL might be
slightly more stable, but that is not what these provide anymore.
The variable helps with re-use of generic packages down the dependency
tree, when they depend on a machine-specific package. SGX UM used to
provide different standard OpenGL ABIs (EGL, GLES, GBM) and hence was
listed here. Now those ABIs are provided by Mesa, so SGX is removed.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-04-18 15:18:34 -05:00
Andrew Davis
af68e3192c ti-sgx-ddk-km: Use PVR_BUILD and PVR_WS to match Rogue
Use these to select build type and window system support to match how
the Rouge driver does the same. No functional change.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-04-18 15:13:48 -05:00
Andrew Davis
e9d468ff6d ti-sgx-ddk-km: Be specific on supported K3 machines
Of the K3 family only the AM65x device is currently supported by this
driver. COMPATIBLE_MACHINE should match.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-04-18 15:13:48 -05:00
Andrew Davis
dff7ed6468 ti-sgx-ddk-um: Remove no longer needed CLEANBROKEN and INSANE_SKIPs
The "clean" target has been fixed along with some other issues that
caused us to need these set. Remove them now.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-04-18 15:13:48 -05:00
Andrew Davis
a786148c45 ti-sgx-ddk-um: Remove RDEPENDS on libdrm-omap
We no longer use libdrm-omap so remove it.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-04-18 15:13:48 -05:00
Andrew Davis
76bd751f74 gdbc6x: Fix kernel module to work on v5.15+
Small changes, the "upstream" doesn't look to be maintained anymore,
so if we get any more breaks it might be time to remove this recipe.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-04-18 15:01:45 -05:00
Andrew Davis
bc894bf52e conf: machine: Set common default SERIAL_CONSOLES for all K3
The traditional order of serial consoles for K3 has ttyS2 being the
primary UART attached console. ttyS0 is also a common choice for
distros and the TI kernel may switch at some point. To prepare
we check both UARTs on all K3 devices. Move this common check
to a K3 common location.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-04-18 09:18:15 -05:00
Andrew Davis
6a00c74301 linux-ti-next: Update to v6.3-rc6 next version
Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-04-12 07:54:04 -05:00
Andrew Davis
dfb0d783dc linux-ti-next: Remove unneeded do_compile append
Was used to build kernel DTBs prior to KERNEL_DEVICETREE getting populated
with the list of preset of upstream DTBs. Not needed anymore so remove.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-04-12 07:54:04 -05:00
Andrew Davis
07dd54cb14 linux-ti-next: Add defconfig for OMAP-L138
Not sure if anyone is testing on this device with -next, but for
completeness add its defconfig.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-04-12 07:54:04 -05:00
Andrew Davis
98427b0011 linux-ti-mainline: Update to v6.2 mainline version
Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-04-12 07:54:04 -05:00
Andrew Davis
94e93e2b6b linux-ti-mainline: Remove ti-upstream-tools
Mainline should test the mainline kernel as it is, not with out-of-tree
changes like new DTB/DTBOs. Use only upstream DTB/DTBOs. As that was the
last thing provided by ti-upstream-tools, remove it here.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-04-12 07:54:04 -05:00
Andrew Davis
00a4a5ed31 linux-ti-mainline: Use upstream configs with upstream kernel
Mainline should test the mainline kernel as it is, not with out-of-tree
changes like to the default configuration that one would get when using
a stock distro. Use only upstream configuration.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-04-12 07:54:04 -05:00
Ryan Eatmon
da6f02540f patches: Add missing Upstream-Status to various patches
The check-layer command caught that we were missing the Upstream-Status
on a few older patches, and I found a few new ones.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-04-11 09:01:52 -05:00
Denys Dmytriyenko
6fa8e2dbaa optee: remove bbappends with version bumps
meta-arm now has all optee components updated to the latest 3.20 version

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-04-11 09:01:52 -05:00
Denys Dmytriyenko
32c76bb5df machine: switch beaglebone and beagle-x15 to bb.org kernel/u-boot
Switch 32-bit beaglebone and beagle-x15 platforms to use linux-bb.org and
u-boot-bb.org recipes for simplicity and for additional Beagle-specific
features that are added on top of TI reference kernel, such as dynamic
management of capes and other OOBE enhancements.

Cc: Robert Nelson <robertcnelson@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-04-10 11:21:14 -05:00
Denys Dmytriyenko
381b997f95 machine: beagleplay: add new BeaglePlay platform
* Add configs for BeaglePlay Cortex-A53 and Cortex-R5F cores (am62xx SoC family)
* Uses corresponding linux-bb.org and u-boot-bb.org recipes
* U-boot for now uses a separate branch for BeaglePlay

Cc: Robert Nelson <robertcnelson@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-04-10 11:21:14 -05:00
Denys Dmytriyenko
ef63c52960 beaglebone-ai64: add new DTBOs, remove duplicate settings
* 5.10.162 added 2 new DT overlays
* Remove duplicate settings that are already set in SoC config

Cc: Robert Nelson <robertcnelson@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-04-10 11:21:14 -05:00
Denys Dmytriyenko
374e035aa6 u-boot-bb.org: use dedicated branch for beaglebone-ai64
Use dedicated branch for BB-AI64 that includes recent changes for new
memory part.

Cc: Robert Nelson <robertcnelson@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-04-10 11:21:14 -05:00
Denys Dmytriyenko
04bc169a3d linux-bb.org: update to 5.10.162 and dedicated branches
* Update both 32 and 64-bit trees to 5.10.162
* Switch from using a common branch that gets periodically rebased to using
  dedicated per-merge branches
* Patch 32-bit defconfig to use LZMA compression instead of LZO, that is
  being deprecated in OE-Core

Cc: Robert Nelson <robertcnelson@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-04-10 11:21:14 -05:00
Ryan Eatmon
b95384b639 conf: change from do_image_wic/tar to do_image_complete
When trying to support OpenBMC, we found that our use of do_image_wic
and do_image_tar for adding depends and mcdepends was too limiting.
Moving to do_image_complete is a higher level in the tree that means
for any image type the dependencies will be correct.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-04-05 13:58:50 -05:00
Robert Nelson
26665b1fea meta-ti-bsp: BeagleBoard-u-boot switch to GitHub mirror
BeagleBoard.org use the new u-boot mirror on GitHub
https://github.com/beagleboard/u-boot as
https://git.beagleboard.org/ easily becomes overloaded

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-04-04 16:41:46 -05:00
Khem Raj
34e8a5b269 linux-ti-staging: Fix build with gcc13
Backport a patch from Linux mainline [1]

Thanks Martin Jansa for figuring it out.

[1] https://github.com/torvalds/linux/commit/f07788079f515

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-04-04 16:38:38 -05:00
Matthias Schiffer
b492cb8457 ti-sgx-ddk-um: fix error in postinst with sysvinit+udev
When sysvinit is in DISTRO_FEATURES, the update-rc.d class must only be
inherited when the script referenced by INITSCRIPT_NAME actually exists,
or the update-rc.d command in the generated postinst script will fail.

Reported-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Reviewed-by: Andrew Davis <afd@ti.com>
Acked-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-04-03 13:49:30 -05:00
Robert Nelson
994fa26a12 meta-ti-bsp: BeagleBoard switch to GitHub mirror
BeagleBoard.org's GitLab instance: https://git.beagleboard.org/
easily becomes overloaded, switch to GitHub mirror.

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-31 17:11:53 -05:00
Theodore A. Roth
3659c01234 meta-ti-bsp: Update mesa bbappend files for mesa-23
The mesa recipes in oe-core have been updated to mesa-23 causing the
following build error:

    $ bitbake core-image-minimal
    Loading cache: 100% |                                               | ETA:  --:--:--
    Loaded 0 entries from dependency cache.
    Parsing recipes: 100% |#############################################| Time: 0:00:20
    Parsing of 2816 .bb files complete (0 cached, 2816 parsed). 4472 targets, 484 skipped, 0 masked, 0 errors.
    ERROR: No recipes in default available for:
      /build/../oe/meta-ti/meta-ti-bsp/recipes-graphics/mesa/mesa-gl_22.%.bbappend
      /build/../oe/meta-ti/meta-ti-bsp/recipes-graphics/mesa/mesa_22.%.bbappend

    Summary: There was 1 ERROR message, returning a non-zero exit code.

Signed-off-by: Theodore A. Roth <troth@openavr.org>
Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-31 09:44:32 -05:00
Ryan Eatmon
92d465f4e6 u-boot-ti-staging: Add 2023.04 in prep for LTS migration
We are preparing to migrate our u-boot version to 2023.04.  As we are still
working on the migration, mark the default preference low for this
version.  We will enable building with this u-boot in a meta-arago brand
in the near future.  Once the migration is complete, we will remove the
2021.01 u-boot and make this the default.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2023-03-31 09:25:46 -05:00
Ryan Eatmon
094be4d0f5 linux-ti-staging: Add 6.1 kernel in prep for LTS migration
We are preparing to migrate our kernel version to 6.1.  As we are still
working on the migration, mark the default preference low for this
version.  We will enable building with this kernel in a meta-arago brand
in the near future.  Once the migration is complete, we will remove the
5.10 kernel and make this the default.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-31 09:25:41 -05:00
Ryan Eatmon
4baa0cbd9b linux-ti-*: Add filtering for which dtb/dtbo to include
We often carry more dtbs/dtbos in our kernel than we have upstreamed.
The inclusion of all of the dtb/dtbo in the KERNEL_DEVICETREE has become
problematic as we start testing the linux-next and 6.1 as part of our
LTS migration.  To address this issue we are adding in two step method
for managing the KERNEL_DEVICETREE.

Going forward we will only accept dtb/dtbo in KERNEL_DEVICETREE if it is
available in upstream.  This way we ensure that the variable is more
accurate for whichever kernel you might be looking at.  We have also
added a new variable KERNEL_DEVICETREE_PREFIX which our kernel recipes
will use to auto set KERNEL_DEVICETREE based on what files are in the
kernel and not a fixed list in the conf files.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-31 09:25:37 -05:00
Ryan Eatmon
2d5d741f9b kernel-fitimage: Add signing of fitImage entries for 5.10 kernel
While we are mirgrating to kernel v6.1 and u-boot v2023.04, we want to
keep kernel v5.10 and u-boot v2021.01 "working" for anyone looking at
kirkstone.  One of the items we are looking at changing is the signing
of entries in the fitImage.

To try and acheive a limited parity with dunfell while we work on the
migration, this commit creates a class that implements the logic that was in
dunfell and applies that class to the 5.10 kernel.

This is a temporary patch that will be remvoed when we remove the 5.10
recipe down the road.  This logic will not apply to the 6.1 kernel.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-31 09:25:29 -05:00
Ryan Eatmon
72cd51fa11 optee-os: Only sign files for platforms that support it
We are seeing some testing issues where the new code that signs all of
the files at all times is causing issues.  So rollback the logic and
only sign for platforms that support it.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-31 09:25:19 -05:00
Ryan Eatmon
aeb44bbe53 trusted-firmware-a: Only sign files for platforms that support it
We are seeing some testing issues where the new code that signs all of
the files at all times is causing issues.  So rollback the logic and
only sign for platforms that support it.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-31 09:24:17 -05:00
Ryan Eatmon
97ea27cc3f u-boot-ti-staging: Fix u-boot configs to match oe-core fitImage
After moving to the oe-core kernel-fitimage.bbclass we found that the
dtb names we were searching for did not match.  This was due to the
KERNEL_DEVICETREE entries including the vendor subdir in the section
names of the fitImage file.  This patch updates support in 2021 so that
we can temporarily get to a stable boot point before starting our LTS
migration and changing a lot of things in the recipes.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-31 09:24:00 -05:00
Ryan Eatmon
d3edf89da2 ti-sci-fw: Fix some syntax issues
Fixing some syntax issues from the last dunfell to kirkstone sync up
patch series.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:04:58 -05:00
Denys Dmytriyenko
404a8835b5 ti-rtos-firmware: numerous fixes and cleanups
Doing multiple do_install:prepend overrides does not guarantee the
order - it was observed that signing could fail as it was happening
prior to symlinking to the correct name. Move signing code inside the
main do_install, so the machine-specific do_install:prepend works
correctly.

Also, pass -f flag for symlinking, otherwise it could fail with "file
already exists" error when trying to re-build the recipe again.

Several IPC list/matrix fixes:
* j721e was missing MCU_1_1_FW entry
* j721s2 was also missing MCU_1_1_FW entry
* j721s2 had a second MCU_2_0_FW in place of MCU_3_0_FW
* j784s4 was missing MCU_4_0_FW and MCU_4_1_FW entries

Other minor cleanups and indentation fixes.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Denys Dmytriyenko
b1aa926874 linux-ti-staging: update to the latest from Dunfell
Match the latest sha used in Dunfell.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Denys Dmytriyenko
90b5051f37 u-boot-ti-staging: update to the latest from Dunfell
Match the latest sha used in Dunfell.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Denys Dmytriyenko
294a193722 ti-linux-fw: update to the latest from Dunfell
Match the latest sha used in Dunfell.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Denys Dmytriyenko
06e0157824 ti-k3-secdev: update to the latest from Dunfell
Match the latest sha used in Dunfell.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Siddharth Vadapalli
88eb96ef96 conf: machine: am62axx: Add overlay for second CPSW3G Port
The SK-Ethernet-DC01 Add-On Ethernet Card for AM62A-SK board supports
RGMII mode.

Add overlay to enable the second CPSW3G port in RGMII-RXID mode with the
Add-On Ethernet Card.

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Vaishnav Achath
f236123f6b conf: machine: j784s4-evm: Add MCSPI loopback overlay for J784S4
Add the MCSPI loopback overlay file for J784S4 EVM which helps
users to enable MCU-MAIN MCSPI loopback applications, even though
the overlay is named j7200-mcspi-loopback.dtbo, same can be used
for testing on other J7 platforms as well.

Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Vaishnav Achath
fcb758ffdd conf: machine: j721s2-evm: Add MCSPI loopback overlay for J721S2
Add the MCSPI loopback overlay file for J721S2 EVM which helps
users to enable MCU-MAIN MCSPI loopback applications, even though
the overlay is named j7200-mcspi-loopback.dtbo, same can be used
for testing on other J7 platforms as well.

Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Vaishnav Achath
53ccb6278f conf: machine: j721e-evm: Add MCSPI loopback overlay for J721E
Add the MCSPI loopback overlay file for J721E EVM which helps
users to enable MCU-MAIN MCSPI loopback applications, even though
the overlay is named j7200-mcspi-loopback.dtbo, same can be used
for testing on other J7 platforms as well.

Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Bhavya Kapoor
c1148f0011 conf: machine: j784s4-evm: Add uarts overlay for J784S4
Add device tree overlay for extending support for mcu_uart0 as well as
wkup_uart0 for boards with J784S4 SoC. This overlay will mainly be used
for the purpose of testing uart instances.

Signed-off-by: Bhavya Kapoor <b-kapoor@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Bhavya Kapoor
255b0f6f81 conf: machine: j721s2-evm: Add uarts overlay for J721S2
Add device tree overlay for extending support for mcu_uart0 as well as
wkup_uart0 for boards with J721S2 SoC. This overlay will mainly be used
for the purpose of testing uart instances.

Signed-off-by: Bhavya Kapoor <b-kapoor@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Bhavya Kapoor
8c78422190 conf: machine: j721e-evm: Add uarts overlay for J721E
Add device tree overlay for extending support for mcu_uart0 as well as
wkup_uart0 for boards with J721E SoC. This overlay will mainly be used
for the purpose of testing uart instances.

Signed-off-by: Bhavya Kapoor <b-kapoor@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Bhavya Kapoor
3160d7e907 conf: machine: j7200-evm: Add uarts overlay for J7200
Add device tree overlay for extending support for mcu_uart0 as well as
wkup_uart0 for boards with J7200 SoC. This overlay will mainly be used
for the purpose of testing uart instances.

Signed-off-by: Bhavya Kapoor <b-kapoor@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Vaishnav Achath
34c4cdeaa1 conf: machine: j784s4-evm: Add camera overlays for J784S4 EVM
Add the following overlay files on J784S4 EVM:

1. Fusion board (For FPDLink-III cameras)
2. OV5640 camera module

Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Vaishnav Achath
515c89cb34 conf: machine: j721s2-evm: Add camera overlays for J721S2 EVM
Add the following overlay files on J721S2 EVM:

1. Fusion board (For FPDLink-III cameras)
2. OV5640 camera module

Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Vaishnav Achath
40ea9c1793 conf: machine: j721e-evm: Add camera overlays for J721E EVM
Add the following overlay files on J721E EVM:

1. Fusion board (For FPDLink-III cameras)
2. IMX390 FPDLink camera module
3. IMX219 RPi-compatible camera module

Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Vaishnav Achath
6aa51ce72a conf: machine: j7200-evm: Add MCSPI loopback overlay for J7200
Add the MCSPI loopback overlay file for J7200 EVM which helps
users to enable MCU-MAIN MCSPI loopback applications.

Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Dasnavis Sabiya
1f258bdb64 conf: machine: j784s4: Add ehrpwm overlay for am69-sk
The AM69 SK has PWM output pins connected to its RPi header. Add
overlay file to enable PWM pins.

Signed-off-by: Dasnavis Sabiya <sabiya.d@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Aradhya Bhatia
cecce222e2 conf: machine: am62xx-lp-evm: Add OLDI Panel overlay
Add the Microtips OLDI Panel DT overlay for AM62 LP SK.

Signed-off-by: Aradhya Bhatia <a-bhatia1@ti.com>
Reviewed-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Sinthu Raja
cdb570d3e4 conf: machine: j721s2: Add ehrpwm overlay for am68-sk
The AM68 SK has PWM output pins connected to its RPi headers. Add
overlay file to enable PWM pins.

Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Dasnavis Sabiya
b6820fd6b0 conf: machine: j784s4: Add FPDLink overlays for AM69 SK
Add the overlay files for AM69 SK:
1. Fusion board (For FPDLink-III cameras).
2. IMX390 FPDLink-III camera module that includes both the CM and
   RCM type of modules.

Signed-off-by: Dasnavis Sabiya <sabiya.d@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Sinthu Raja
02663ef00f conf: machine: j721s2: Add FPDLink overlays for am68-sk
Add the overlay files, over AM68 SK, for the following:

 1. Fusion board (For FPDLink-III cameras).
 2. IMX390 FPDLink-III camera module which includes both the CM and
    RCM type of modules.

Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Sinthu Raja
71854ee327 conf: machine: j721s2: Fix DTB overlay extension for OV5640
The extension for OV5640 overlay is incorrect. Therefore, update the
correct extension to build the overlay with .dtbo

Fixes: f67e9805 ("conf: machine: j721s2: Add AM68 SK specific dtb and dtbo to KERNEL_DEVICETREE")
Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Dasnavis Sabiya
c0414a10d5 conf: machine: j784s4: Add AM69 SK specific dtb and dtbo to KERNEL_DEVICETREE
AM69 Starter Kit is a single board designed based on TI's AM69 SOC
providing advanced system integration in automotive ADAS applications,
autonomous mobile robot and edge AI applications. Add support
for the same to include the board dtb file into the root filesystem.

Add DT overlays support for the following features on AM69 SK:
* Add DTBO entry to support OV5640 camera
* Add DTBO entry to support RPi(IMX219) camera
* Add DTBO entry for the DDR memory carveout.

[1]:https://www.ti.com/lit/zip/spruj52

Signed-off-by: Dasnavis Sabiya <sabiya.d@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Jai Luthra
e4f3d0dac4 conf: machine: am62axx: Add overlays for IMX390 cameras
IMX390 is a 2MP FPDLink-III raw camera. This sensor was originally
targeted for J7-based devices, but AM62A can re-use the existing
overlays. Both the CM and RCM type of modules are supported.

As AM62A only has one CSI-RX port, we only use 4 out of the 8 total
FPDLink ports on the fusion board.

Signed-off-by: Jai Luthra <j-luthra@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Sinthu Raja
0266a8977d conf: machine: j721s2: Add AM68 SK specific dtb and dtbo to KERNEL_DEVICETREE
AM68 Starter Kit is a low cost, small form factor board designed for
TI's AM68/J721S2 SoC[1] which is optimized to provide best in class performance
for industrial applications. Add DTB entry for the same.

AM68 SK features camera support with MIPI(OV5640) and RPi(IMX219) connectors.
Add DTBO for the same. Also, add DTBO entry for the DDR memory carveout.

[1]:http://www.ti.com/lit/zip/spruj28

Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Jai Luthra
6594550bc0 conf: machine: am62axx: Add camera overlays for AM62A SK
Add the following overlay files on AM62A SK:

1. Fusion board (For FPDLink-III cameras)
2. OV2312 FPDLink camera module
3. IMX219 RPi-compatible camera module

Signed-off-by: Jai Luthra <j-luthra@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Aradhya Bhatia
2bb9ab9d3d conf: machine: am62xx: Add missing overlays for AM625 SK
Add the overlay files, over AM625 SK, for the following:

1. Technexion OV5640 Camera
2. Enhanced Capture (ECAP)
3. HDMI Audio Output
4. MCAN Transceiver
5. Microtips OLDI Panel

Signed-off-by: Aradhya Bhatia <a-bhatia1@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Dasnavis
ae7e399555 conf: machine: j784s4-evm: Add support for J784S4 HS-FS
Add the basic J784S4 HS-FS configuration.
* Add configurations to support both HS-FS and GP keeping GP as default.
* Add ti-sci-firmware overrides for HS-FS.
* Remove evm conf file inclusion in hs-evm conf.
* Add j784s4 hs-evm specific config to hs-evm conf.

Signed-off-by: Dasnavis Sabiya <sabiya.d@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Sai Sree Kartheek Adivi
c8a96a7299 am62axx-evm: Add AM62A HS-FS evm configuration
Lets add the basic AM62A configuration
- Add machine conf for AM62A.
- The wic images will boot on AM62A HS-FS devices by default.
- The sysfw image for GP and HS-SE will be packaged in the wic image as
  tiboot3-am62ax-gp-evm.bin and tiboot3-am62ax-hs-evm.bin respectively.
- Add ti-sci-firmware overrides.
- Sign ATF, OPTEE and RTOS Firmware.

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Sinthu Raja
daf2262214 conf: machine: j721s2-evm: Add support for J721S2 HS-FS
Add the basic J721S2 HS-FS configuration.
    - Add configurations to support both HS-FS and GP keeping GP
      as default.
    - Add ti-sci-firmware overrides for HS-FS.
    - Remove evm conf file inclusion in hs-evm conf.
    - Add j721s2 hs-evm specific config to hs-evm conf.

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Ryan Eatmon
252b8ad2c5 ti-sci-fw: Add SYSFW_SUFFIX to sysfw.itb files
With the advent of using multiconfigs to build all of the versions of
the machines (gp, hs-se, hs-fs, etc...) the sysfw.itb has become a point
of contention for do_deploy.  To resolve the duplicate file copy errors
from bitbake we need to uniquify the sysfw.itb file names.  So, let's do
the same thing we do with the tiboot3.bin file and add the SYSFW_SUFFIX
into the name.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Chirag Shilwant
75cddc215e am62xx-lp-evm: Add AM62x LP HS-FS evm configuration
Lets add the basic AM62x LP HS-FS configuration
- Add machine conf for AM62x LP HS-FS.
- The wic images will boot on AM62x LP HS-FS devices by default.
- The sysfw image for HS-SE will be packaged in the wic image as
  tiboot3-am62x-hs-evm.bin.
- Add ti-sci-firmware overrides.

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Chirag Shilwant
ee7ac55504 am62xx-evm: Add AM62x HS-FS evm configuration
Lets add the basic AM62x HS-FS configuration
- Add machine conf for AM62x HS-FS.
- The wic images will boot on AM62x HS-FS devices by default.
- The sysfw image for GP and HS-SE will be packaged in the wic image as
  tiboot3-am62x-gp-evm.bin and tiboot3-am62x-hs-evm.bin respectively.
- Add ti-sci-firmware overrides.

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Sinthu Raja
e619334e9c conf: machine: k3: Define RD, DTB and DTBO load address for FIT image
K3 platforms include the FIT image-based kernel by default. The bootloader
loads the kernel and DTB from the FIT image. The DTB/DTBOs are added to the
FIT image but the load address is not included in the image section of
each DTB/DTBO. This load address is determined by the LOADADDRESS macros
in the kernel-fitmage class.

Hence, define the RD/DTB/DTBOs LOADADDRESS and OFFSET macros in the K3 common
include, and remove those macros defined in the K3 board specific config files.

Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
Reviewed-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Denys Dmytriyenko
05fb51715f optee-os-tadevkit: update to match optee-os
This installs shared OPTEE-OS APIs and needs to match in order for latest
client/test/examples to be able to build.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Manorit Chawdhry
2857a0abe3 optee: update optee components to 3.20 tag
OPTEE tests is not being upgraded due to a newer python dependency for
the build

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Chirag Shilwant
17e230e365 machine: Add AM62x HS-SE evm configuration
Lets add the basic AM62x HS-SE configuration.
- Add machine conf for AM62x HS-SE.
- The wic images will boot on AM62x GP devices by default.
- To boot on AM62x HS-SE, simply switch out the SYSFW image:
           $ cd /mnt/sd-card/boot
           $ mv tiboot3-am62x-hs-evm.bin tiboot3.bin

- Add ti-sci-firmware overrides.
- Add support to sign ATF and OPTEE.

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Bryan Brattlof
b04409dcc3 k3conf update SRCREV to add am62ax support
update the SHA of k3conf to pickup am62ax support

Signed-off-by: Bryan Brattlof <bb@ti.com>
Reviewed-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Judith Mendez
b5381aeb1f trusted-firmware-a: upgrade to v2.8+
Upgrade arm-trusted-firmare to v2.8-226-g2fcd408bb.

This upgrade picks up K3 L2 cache, snoop delayed, and EA
handling updates from upstream master.

Do not update to tip of master due to PSCI system off
support breaking AM62x and AM62q platforms.

Signed-off-by: Judith Mendez <jm@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Tested-by: Manorit Chawdhry <m-chawdhry@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Dhruva Gole
2b9a1b8dd6 optee-os: Enable SW PRNG for OP-TEE in AM62X
commit 98506a4a07 ("optee-os: Update SRCREV for OP-TEE TRNG in AM62X")

Disables SW PRNG => Enabling Hardware RNG. This is breaking Suspend Resume
on AM62xx EVM variants. To fix this keep using SOFTWARE_PRNG enabled as
it was.

Cc: vibhore@ti.com
Cc: Andrew Davis <afd@ti.com>
Signed-off-by: Dhruva Gole <d-gole@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Ryan Eatmon
71618f6e77 hs: Deploy the unsigned versions of bl31 and bl32
In addition to releasing the signed versions of the bl31.bin and
bl32.bin files, also release the unsigned original versions.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Chirag Shilwant
3f47f79afe machine: Add AM62Q HS-SE evm configuration
Lets add the basic AM62Q HS-SE configuration.
- Add configurations.
- Add ti-sci-firmware overrides.
- Add u-boot overrides.
- Add optee overrides.
- Add ti-rtos-firmware overrides.

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Praneeth Bajjuri
8d174266e5 optee-os: Lower log level for am62axx
Lower the log level for am62axx platform

commit 27641e1f2d ("optee-os: Lower log level for AM62x")
changes the log level for am62xx platforms.
This patch is to extend the same for am62axx

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Reported-by: Sai Sree Kartheek Adivi <s-adivi@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Devarsh Thakkar
2ef8667bc0 ipc: ti-rpmsg-char: Update library to 0.5.2
Update library to 0.5.2 as it adds support for AM62A
SoC.

Co-Authored-By: Sai Sree Kartheek Adivi <s-adivi@ti.com>
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
Acked-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Manorit Chawdhry
29e9b3b63e optee: update optee-test, optee-examples to 3.19 tag
optee-os is already at 3.20 tag but the others were still outdated.

Updates other optee components to 3.19 tag

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Kamlesh Gurudasani
d5a0cb6896 optee-os: Revert to lower log level for AM62x
While removing SOFTWARE_PRNG support
commit:98506a4a07363a1b57012ccfaee263f47e5b46c4,
accidently removed the changes applied
by commit:27641e1f2d7f6696fd7bbd8f24fcac20766b6234
(optee-os: Lower log level for AM62x).

Reverting those changes back

Signed-off-by: Kamlesh Gurudasani <kamlesh@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Paresh Bhagat
129b52b0fd machine: Add am62axx evm configuration
Lets add the basic AM62Axx-evm configuration.
- Add configurations.
- Add firmware overrides.
- Add u-boot overrides.
- Add tifs-lpm-stub.
- Add cnm-wave-fw.

Signed-off-by: Sai Sree Kartheek Adivi <s-adivi@ti.com>
Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Ryan Eatmon
0288443726 conf: Remove vmlinux.gz from KERNEL_IMAGETYPES
With a recent patch to the TI kernel that includes debug symbols,
the vmlinux.gz file grew in size that impacted the testing.
This file is not needed to be in the final image so remove it
from the list.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Zachary Booth
666a488046 conf: omap-a15: Fix parsing when KERNEL_DEVICETREE is not set
Correctly handle parsing when KERNEL_DEVICETREE is not set.

Signed-off-by: Zachary Booth <zachary.booth@garmin.com>
Signed-off-by: Joshua Watt <Joshua.Watt@garmin.com>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Kamlesh Gurudasani
668a702edb optee-os: Enable OP-TEE TRNG in AM62X
Enable trng support as trng support is added now in OP-TEE

Signed-off-by: Kamlesh Gurudasani <kamlesh@ti.com>
Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
Acked-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Manorit Chawdhry
d498e41a62 j784s4-hs: changes to support new hs platform
Changes to support new j784s4-hs platform in:

    1) ti-sci-fw_git: Update firmware prefix for j784s4-hs
    2) atf: sign the image
    4) optee: sign the image

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Manorit Chawdhry
06ca37a28b conf: machine: Add J784S4 hs platform
Machine conf for J784S4 HS platform.
Used J721S2 hs as reference.

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-21 13:03:29 -05:00
Andrew Davis
0fa0afc0b9 ti-rtos-firmware: Deploy secure firmware unconditionally
Having signed firmware is needed for the HS platforms, but does not
cause any issues for non-HS. To keep things simple, let's deploy
both sets unconditionally. This prevents mistakes when adding HS
support and further reduces the image delta between the two types.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-01 09:24:28 -06:00
Andrew Davis
99f45b1275 ti-rtos-firmware: Fix use of base_libdir with nonarch_base_libdir
Firmware belongs in the nonarch lib directory. Use the right variable.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-01 09:24:28 -06:00
Andrew Davis
2122ea84b6 ti-rtos-firmware: Use a table instead of a list of copy commands
Using a table makes it easier to see what firmware is included with
each machine build. It also helps prevent errors here.

Since the same functions run across machines we now sign all the firmware
without needing to add a new signing function for each new machine.

Another fix is that we install the DM firmware to the deploy directory
for all machines that use need it. This was added for J7x machines
but missed for AM62x.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-01 09:24:28 -06:00
Andrew Davis
5d3e675b5d ti-rtos-firmware: Use defines to set firmware names
This allows us to change the name in one spot and avoid duplication.
It also helps prevent hard to see changes/typos in the firmware names.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-01 09:24:28 -06:00
Andrew Davis
27a1742c5b ti-rtos-firmware: Do not break the source directory by renaming files
If we rename files in the source directory the next time we need to rebuild
the original files will be gone and build will fail. Use symlinks instead.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-01 09:24:28 -06:00
Andrew Davis
50c0aad841 ti-rtos-firmware: Fix name for AM64x and AM62x firmware
The firmware for AM64x and AM62x are renamed to match the other platforms,
but we don't actually change them to match. Remove baremetal from the
names.

These are only referenced to by softlink, so this change will have no
effect on Linux users.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-01 09:24:28 -06:00
Andrew Davis
8546439c58 ti-rtos-firmware: Remove unneeded per-machine TARGET defines
Since these TARGET defines are only used on the machine for which
an ALTERNATIVE is defined and always have the same name, these
provide nothing. Drop them.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-01 09:24:28 -06:00
Andrew Davis
ee75598a38 ti-k3-secdev: Remove inclusion of ti-paths.inc
Since this directory path will not change, let's avoid use
of ti-paths.inc which is set to be removed.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-01 09:24:28 -06:00
Andrew Davis
5349ee1deb conf: machine: k3: Remove unneeded TI_SECURE_DEV_PKG_K3 assignments
For K3 machines the SECDEV selection happens in the recipes that use it.
This assignment is therefor no longer needed. Remove it.

Suggested-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-01 09:24:28 -06:00
Andrew Davis
c5483cceca ti-sci-fw: Use new ti-secdev class to sign the images
Use the new ti-k3-secdev package to pull in the signing tools if they are
not provided by the environment.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-01 09:24:28 -06:00
Andrew Davis
5c1db20699 ti-rtos-firmware: Use new ti-secdev class to sign the images
Use ti-k3-secdev native package to provide secure-binary-image.sh script
when it is not passed on as an environment variable. This fixes an issue
with AM64xx which is always HS but should not require TI_SECURE_DEV_PKG
when building for HS-FS or GP platforms.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-01 09:24:28 -06:00
Andrew Davis
f82e111123 u-boot-ti: Use new ti-secdev class to sign the images
Use the new ti-k3-secdev package to pull in the signing tools if they are
not provided by the environment. This allows us to use these tools
unconditionally. Remove the checks for the script and do the signing
for all K3 machines. The signature is automatically stripped from
the binaries on non-HS devices at boot time as needed so this change
is harmless for GP devices.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-01 09:24:28 -06:00
Andrew Davis
c9848791fb optee-os: Use new ti-secdev class to sign the images
Use the new ti-k3-secdev package to pull in the signing tools if they are
not provided by the environment. This allows us to use these tools
unconditionally. Remove the checks for the script and do the signing
for all K3 machines. The signature is automatically stripped from
the binaries on non-HS devices at boot time as needed so this change
is harmless for GP devices.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-01 09:24:28 -06:00
Andrew Davis
95e7682551 trusted-firmware-a: Use new ti-secdev class to sign the images
Use the new ti-k3-secdev package to pull in the signing tools if they are
not provided by the environment. This allows us to use these tools
unconditionally. Remove the checks for the script and do the signing
for all K3 machines. The signature is automatically stripped from
the binaries on non-HS devices at boot time as needed so this change
is harmless for GP devices.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-01 09:20:15 -06:00
Andrew Davis
ede16ed8de meta-ti-bsp: Add helper class for TI Security Development Tools
The setup here is common to all packages that require signing with
the TI Security Development Tools. Add a helper class to factor out
this commonality.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-01 09:18:09 -06:00
Andrew Davis
f25344f876 ti-linux-fw: update to the latest
While here update FW versions and remove those no longer used.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Tested-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-01 09:15:24 -06:00
Jose Quaresma
37de5fcd84 ti-img-rogue-umlibs: handling the firmware installation with usrmerge
The ti-img-rogue-umlibs package is not obeying usrmerge distro feature. /lib should be relocated to /usr. [usrmerge]

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-03-01 09:14:22 -06:00
Denys Dmytriyenko
696c7d090d conf/machine: fix use of screen and touchscreen machine features
Some machine configs didn't specify their use of screen and touchscreen
machine features correctly, fix them.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-02-24 08:38:07 -06:00
Ryan Eatmon
d859c8c091 conf: machine: Fallback to software rendering
While we are working to update our platforms to support Weston 10 and
beyond, we are falling back to software rendering for platforms that do
not currently have a solution for GPU drivers (namely the boards that
use SGX).

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-02-24 08:38:07 -06:00
Randolph Sapp
3c2ab9f56a meta-ti-bsp: machine: set SGX display controller alias
Set SGX display controller alias variables accordingly, as SGX has a few
different aliases across platforms.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-02-24 08:38:07 -06:00
Randolph Sapp
515a6c7e9b meta-ti-bsp: machine: remove default preferences for egl,gles,gbm
Remove default preferences for virtual/egl, virtual/libgles and virtual/libgbm
from machine configs to follow the new dependency chains via mesa in oder to
support accelerated and software-rendered graphics, which is selected by
virtual/gpudriver preference.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-02-24 08:38:07 -06:00
Randolph Sapp
600d45cdb0 meta-ti-bsp: graphics: Resolve dependency chain
Patched mesa will now be configured based on what virtual/gpudriver
preferred provider is selected. The gpu drivers will now runtime
recommend the associated UM components.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-02-24 08:38:07 -06:00
Denys Dmytriyenko
b5d687fe46 mesa: locally overlay 22.0-specific patches from oe-core/kirkstone
Locally overlay verbatim copies of mesa 22.0 patches from oe-core/kirkstone,
so the same codebase works in kirkstone and master. Since upstream version
of mesa in master is now 22.3 and no longer carries these patches, but they
are still needed for 22.0-based PVR fork of mesa used with Rogue driver.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-02-24 08:38:07 -06:00
Denys Dmytriyenko
a85553a214 Revert "meta-ti-bsp: graphics: Resolve dependency chain"
Merged by accident.

This reverts commit 15417ca726.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-02-21 09:03:43 -06:00
Denys Dmytriyenko
85742dd952 Revert "meta-ti-bsp: machine: Remove all gpu features"
Merged by accident.

This reverts commit 51bb56b74c.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-02-21 09:03:43 -06:00
Denys Dmytriyenko
9f5db9c713 Revert "meta-ti-bsp: machine: Attempt to update DC alias"
Merged by accident.

This reverts commit 0dd6a86b9a.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-02-21 09:03:43 -06:00
Denys Dmytriyenko
92adfccf9d Revert "conf: machine: Fallback to software rendering"
Merged by accident.

This reverts commit 5ae790999e.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-02-21 09:03:43 -06:00
Ryan Eatmon
5ae790999e conf: machine: Fallback to software rendering
While we are working to update our platforms to support Weston 10 and
beyond, we are falling back to software rendering for platforms that do
not currently have a solution for GPU drivers (namely the boards that
use SGX).

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-02-16 13:33:40 -06:00
Randolph Sapp
0dd6a86b9a meta-ti-bsp: machine: Attempt to update DC alias
Attempt to update the SGX display controller alias variable according to
what Andrew told me. SGX apparently had a few different aliases across
platforms.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-02-16 13:31:05 -06:00
Randolph Sapp
51bb56b74c meta-ti-bsp: machine: Remove all gpu features
Remove all gpu machine features and instead rely on the new dependency
chain for resolving gpu dependencies. Set preferred providers for
virtual/gpudriver where needed.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-02-16 13:31:05 -06:00
Randolph Sapp
15417ca726 meta-ti-bsp: graphics: Resolve dependency chain
Patched mesa will now be configured based on what virtual/gpudriver
preferred provider is selected. The gpu drivers will now runtime
recommend the associated um components.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-02-16 13:31:05 -06:00
Denys Dmytriyenko
248bea1c50 conf/machine/k3r5.inc: update bootflow links
Original READMEs with bootflows were reworked and moved to a dedicated doc/
folder in more recent U-boot versions. Update links in the k3r5 config file
accordingly to provide some basic explanation of K3 bootflows.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-02-16 13:31:05 -06:00
Andrew Davis
610f1f498b uio-module-drv: Remove deprecated uio-module-drv
UIO drivers are generally frowned upon in the community, and for PRU
we now have much better alternatives in RProc, RPmsg, and PRU-Consumer.
Let's not send the wrong message by continuing to support this crufty
interface. Remove the kernel module, DTBs, and test recipe.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-02-16 13:31:05 -06:00
Ryan Eatmon
20405b32e1 linux-bb.org: work around for too few arguments to function init_disassemble_info() error
binutils 2.39 changed the signature of init_disassemble_info(),
which now causes perf and bpftool to fail to compile.

Relevant binutils commit: [1]

There is a proper fix in development upstream[2].
This is a work-around for older kernels.

Inspired by a patch by Anton Antonov to fix this issue on meta-arm
kernels. [3]

[1] https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=60a3da00bd5407f07d64dff82a4dae98230dfaac
[2] https://patchwork.kernel.org/project/netdevbpf/cover/20220801013834.156015-1-andres@anarazel.de/
[3] https://patchwork.yoctoproject.org/project/arm/patch/20220824025819.4888-1-jon.mason@arm.com/#5104

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-02-07 08:25:08 -06:00
Denys Dmytriyenko
f843fa1914 meta-ti-bsp: add BeagleBone AI-64 support
BeagleBone AI-64 (https://beagleboard.org/ai-64) uses Texas Instruments
Jacinto TDA4VM/J721e SoC. Officially BeagleBone AI-64 supports Debian
Linux and builds its BSP on top of meta-ti and TI SDK, but adds custom
DTBs and DTBO overlays, plus integrates other drivers and features.

Let's add corresponding recipes for beagleboard.org kernel and u-boot
along with the BeagleBone AI-64 machine config.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-01-31 14:44:38 -06:00
Matthias Schiffer
0b3fa09a5f ti-sgx-ddk-um: use udev for userspace initialization
The ti-sgx-ddk driver requires an additional userspace initialization
step after the kernel module has probed the device. Without this
initialization, no EGL context can be created and Weston etc. will fail to
start.

The driver package contains an init script, but this does not work on pure
systemd-based systems without sysvinit compat support (as provided by the
systemd-compat-units package). Introduce an enabled-by-default
PACKAGECONFIG that installs a udev rule instead to run the init command
automatically when the driver is loaded, solving the issue without
depending on a specific init system. On builds without udev, this
PACKAGECONFIG can be disabled, reverting to the old init script-based
solution.

udev reports several events when the pvrsrvkm module is loaded:

- add event for the kernel module
- add events for two DRM devices
- bind event for the GPU platform device

The DRM devices aren't nice to match on, and the kernel module add is
too early to run `pvrsrvctl --start`, so we trigger on the platform
device bind.

Tested with Weston 9.0.0 on the AM65x-based TQ-Systems MBa65xx.

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-01-31 14:44:38 -06:00
Matthias Schiffer
649a0357d5 treewide: replace leftover git://git.ti.com
These URIs have been updated in dunfell, but two instances were
forgotten in kirkstone/master.

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-01-31 14:44:38 -06:00
Jose Quaresma
1e99e1354d ti-sci-fw: sets TI_K3_SECDEV_INSTALL_DIR default value
The TI_K3_SECDEV_INSTALL_DIR is defined on the meta-ti-extras layer
so when the layer is not used the variable is undefined.
For such cases we can use default value that is the same defined
on the recipes-ti/includes/ti-paths.inc

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-01-31 14:44:38 -06:00
Jose Quaresma
4bc0e6af68 ti-k3-secdev: sets TI_K3_SECDEV_INSTALL_DIR_RECIPE default value
The TI_K3_SECDEV_INSTALL_DIR_RECIPE is defined on the meta-ti-extras layer
so when the layer is not used the variable is undefined.
For such cases we can use default value that is the same defined
on the recipes-ti/includes/ti-paths.inc

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Acked-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-01-31 14:44:38 -06:00
Jose Quaresma
b7823d771c ti-k3-secdev: move from meta-ti-extras to meta-ti-bsp
The meta-ti-bsp layer is still broken for K3 HS platforms.

The patch [1] makes the check-layer happy again as it does not
fail any more during bitbake parsing but it will be difficult
for the end user to discover this dependency on meta-ti-extras.
On the other side, meta-ti-extras depends on meta-ti-bsp so
this is a circular dependency.

Currently the layer is broken for am62xx-evm/am64xx-evm machines:

| ERROR: Nothing PROVIDES 'ti-k3-secdev-native' (but mc:k3r5:/srv/oe/build/conf/../../layers/meta-ti/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb DEPENDS on or otherwise requires it). Close matches:
|  libtspi-dev-native
|  makedevs-native

[1] - 8e43835c ti-sci-fw: make dependency on meta-ti-extras soft

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Acked-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-01-31 14:44:38 -06:00
Andrew Davis
cdc19549d5 conf: machine: Rework do_image_wic dependencies
The WIC image for K3 depends on the TI-SCI firmware, on AM65x and J721e
also the bootloader. Make this clear by only depending on firmware in
the base k3.inc file, then adding the bootloader dependency in AM65x and
J721e specific includes.

Remove unneeded overrides from the evm level files.

Remove do_image_tar dependencies as the tar files do not include
the bootloader nor TI-SCI firmware, only the boot partition of
the WIC file needs these.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-01-24 12:51:24 -06:00
Andrew Davis
4033c054c0 conf: machine: Move TFA_BOARD and OPTEEMACHINE to the SoC level
These defines are specific to a SoC, not a SoC family (K3) nor
any specific board. Move these to the SoC level for all boards
to be consistent with boards already doing this correctly.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-01-24 12:51:24 -06:00
Andrew Davis
0942b58dab conf: machine: Remove OPTEEOUTPUTMACHINE definition
This was used in the base Linaro optee-os_git.bb recipe, it is
no longer used, remove it from our boards.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-01-24 12:51:24 -06:00
Andrew Davis
c9f9e4e9ac conf: machine: Remove j7 grouping and j7.inc
J7 is an unneeded level of grouping that is now causing issues and
leading to mistakes when adding new J7 based platforms. Each J7x
family device should use the SoC name specifically to prevent
accidentally adding or removing features that are not meant
for the new SoC.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-01-24 12:51:24 -06:00
Andrew Davis
f5653ce0ae conf: machine: Use new J7 SoC names over specific board names
Now that we have SoC names, we can avoid adding features based on the
board name. We expect folks to create their own boards based on these
SoCs, and so using the TI made EVM board name everywhere adds extra churn
when adding a new board. Plus it is more correct for most of these
features as they depend on the SoC, not on the EVM board.

One other thing we do here is to not use the generic "j7" name,
the current and future J7 devices are far to feature diverse
to group at this level. Grouping like that will lead to the wrong
things getting enabled as new J7 SoCs are added.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-01-24 12:51:24 -06:00
Andrew Davis
7cd8114bb0 conf: machine: j784s4: Move common defines into j784s4.inc
Like we do with J721e, J7200, and J721s2, use a SoC header include file
to define common properties. This eases adding new boards based on these
SoC.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-01-24 12:51:24 -06:00
Andrew Davis
5e082976b9 conf: machine: Remove multi-certificate image comment
Multi-cert is already now the default, no need to add a comment on that.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-01-24 12:51:24 -06:00
Denys Dmytriyenko
04791d24e2 optee-os: sync up with upstream meta-arm update
Upstream meta-arm has updated optee-os to 3.19 and our local changes
conflict with that. Update bbappend to match upstream.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-01-24 12:50:06 -06:00
Andrew Davis
0e5df43108 meta-ti-bsp: Move legacy HS signing classes into this layer
These were in the meta-arago layer, but any distro should be able
to run on HS devices. So move the classes and setup to the BSP layer.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-01-24 12:50:06 -06:00
Andrew Davis
7033f0e804 ti-sgx-ddk-um: Update SRCREV for Kirkstone support
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-01-24 12:50:06 -06:00
Andrew Davis
a46edd771a meta-ti-bsp: Add am57xx.inc allowing use of SoC name over full EVM name
In many spots we have to use the full EVM name for each EVM using the
AM57x SoC leading to missed features on some EVMs. Add the am57xx name
so we can generically add for AM57x.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-01-24 12:50:06 -06:00
Ryan Eatmon
54087fb0ea layer.conf: Add kirkstone, langdale back into LAYERSERIES_COMPAT
Rather than just support mickledore we should also support the other
layers that we still support to ensure that as many as different
versions we can.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-01-11 14:53:10 -06:00
Khem Raj
e18e18005d layer.conf: Update LAYERSERIES_COMPAT for mickledore
oe-core switched to mickedore [1]

[1] https://git.openembedded.org/openembedded-core/commit/?id=57239d66b933c4313cf331d35d13ec2d0661c38f

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-01-04 13:17:27 -06:00
Ryan Eatmon
bd1318d2ed k3r5: Use the ?= default assignment to allow for overrides
Move to setting the values for PREFERRED_PROVIDER using the
?= default assignment so that we can override the setting if
we would like to.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-01-04 13:17:27 -06:00
Ryan Eatmon
f20ceaa7fb linux-ti-staging: Clean up init_disassemble_info() patch
There were fuzz errors with the patch that needed to be cleaned up,
and for some reason a v2 that was supposed to move the duplicate
patches in files/ was not pushed properly before merging.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-12-04 15:09:32 -06:00
Denys Dmytriyenko
0f39cef228 optee: drop 3.17 versions
These bbappends were bumping versions to 3.17 when upstream only provided
3.16 version. Now that upstream meta-arm provides 3.18 versions, there's
no need for the bbappends, especially since they break in do_install.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-12-01 15:05:13 -06:00
Khem Raj
6b89b23df4 ffa-debugfs-mod: Remove bbappend
The main recipe in meta-arm is gone with 5.19 kernel onwards

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-12-01 15:04:17 -06:00
Denys Dmytriyenko
8e43835c4d ti-sci-fw: make dependency on meta-ti-extras soft
Replace "require" with "include" to load ti-paths.inc and not break
parsing when meta-ti-extras is not in the BBLAYERS list.

As ti-paths.inc is only needed to define TI_K3_SECDEV_INSTALL_DIR
for ti-k3-secdev when TI_SECURE_DEV_PKG_K3 is not set and building
for K3 HS platforms. Since ti-k3-secdev resides in meta-ti-extras,
the soft dependency will still work fine and give a build error
"Nothing PROVIDES 'ti-k3-secdev-native'" when it is needed.

Also, since TI_K3_SECDEV_INSTALL_DIR can now be undefined, use
d.getVar() to access it ensuring it doesn't break the condition.

Reported-by: Daniel Díaz <mrchapp@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-12-01 15:03:47 -06:00
Ryan Eatmon
d083ee992f linux-ti-staging: work around for too few arguments to function init_disassemble_info() error
binutils 2.39 changed the signature of init_disassemble_info(),
which now causes perf and bpftool to fail to compile.

Relevant binutils commit: [1]

There is a proper fix in development upstream[2].
This is a work-around for older kernels.

Inspired by a patch by Anton Antonov to fix this issue on meta-arm
kernels. [3]

[1] https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=60a3da00bd5407f07d64dff82a4dae98230dfaac
[2] https://patchwork.kernel.org/project/netdevbpf/cover/20220801013834.156015-1-andres@anarazel.de/
[3] https://patchwork.yoctoproject.org/project/arm/patch/20220824025819.4888-1-jon.mason@arm.com/#5104

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-27 19:24:17 -06:00
Ryan Eatmon
a072e9d0fb ti-unpack: Remove update_data call
update_data() was removed from upstream bitbake, so we should remove
the call from our code as well.

584989ed2b

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-25 16:48:40 -06:00
Ryan Eatmon
4056431375 optee-os: Remove 3.18 patches from our 3.19 recipe
These patches are from upstream against v3.18, but we moved to v3.19 and the
patches are now invalid.  These can be removed once upstream moves up to or
beyond v3.19.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 19:11:35 -06:00
Denys Dmytriyenko
0ae9fbb11c conf/machine/omapl138: correct few of the machine settings
Cleanup and unify again - omapl138-lcdk is the only platform supported in
the OMAP-L1 family. Plus there's no longer DaVinci family with corresponding
settings. Adjust accordingly.

Please note, there's currently a bug building Rust on ARMv5 platforms:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=14967

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Andrew Davis
92fdd13c1c cmem-mod: Remove CMEM kernel module
CMEM has been deprecated for removal for some time now. All users should
have migrated to the Linux upstream DMA-BUF Heaps framework. Remove CMEM.

We only remove the kernel module part in this patch to prevent builds
from breaking in the meta-arago layer due to dependencies on the CMEM
library. These packages should either be updated or disabled. After
that we will remove the library.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Praneeth Bajjuri
cc0afdae52 optee-os: Upgrade to upstream 3.19.0
Update to the latest upstream master which is 3.19.0.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Randolph Sapp
08db1e1cf8 ti-img-rogue-driver: Bump the source revision
Bump the source revision for the rogue pvr kernel module.

Source changelog:
  - A hack was added to increase stability on J7 platforms while we are
    looking into a proper fix for cache coherency issues in this module

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Denys Dmytriyenko
d1e5358bec ti-sci-fw: use getVar() to check if TI_SECURE_DEV_PKG_K3 is defined
Otherwise undefined variable is returned literally as ${TI_SECURE_DEV_PKG_K3}
and the condition won't work.

Cc: Andrew Davis <afd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Denys Dmytriyenko
473927d5bd ti-k3-secdev: include ti-paths.inc
Include ti-paths.inc so TI_K3_SECDEV_INSTALL_DIR_RECIPE gets defined and
artifacts are installed in the correct location.

Cc: Andrew Davis <afd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Denys Dmytriyenko
8ce06fe12c linux-ti-staging: update to the latest
This matches current version in Dunfell.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Denys Dmytriyenko
cbc1b036e3 u-boot-ti-staging: update to the latest
This matches current version in Dunfell.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Denys Dmytriyenko
0c75cdda64 ti-linux-fw: update to the latest
This matches current version in Dunfell.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Ryan Eatmon
5c35b2fa87 cnm-wave-fw: update firmware name to wave521c_k3_codec_fw.bin
update firmware name to wave521c_k3_codec_fw.bin to align with
linux-firmware main branch. the following patch is part of
ti-linux-firmware thru mainline sync.

commit 48407ffd ("cnm: update chips&media wave521c firmware.")

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Jayesh Choudhary
e8d7286266 optee-os: Enable TRNG driver as OP-TEE support is added
OP-TEE upstream now has support for sa3ul for j721s2 platform.
Re-enable the trng driver which was disabled earlier.

Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Jayesh Choudhary
2bf95d97ae conf: machine: j721s2: Add OP-TEE flavour
Change the OP-TEE flavour from default k3-j721e to k3-j784s4
as sa3ul support for j784s4 is upstreamed in OP-TEE and we
can use the same settings in j721s2 to access TRNG.

Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Jayesh Choudhary
082dfdeea4 conf: machine: j784s4: Add OP-TEE flavour
Add the new OP-TEE flavour for J784S4 instead of default k3-j721e.
The TI-SCI ID for MCU domain sa2ul/sa3ul are not the same for
J721E and J784S4. So a new flavour is added in upstream OP-TEE.

Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Jayesh Choudhary
c397bba16a optee-os: Update SRCREV for OP-TEE TRNG in J784S4
Update the SRCREV to the commit when sa3ul support was
added in upstream OP-TEE for J784S4 platform to access rng.

Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Ryan Eatmon
c60a9a2859 j721s2 and j784s4: Correct serial console device
Serial console in J721S2/J784S4 EVM config was set to ttyS10.  It should be ttyS2.
This caused sysv based systems (eg, tiny) to apparently hang because of no login prompt.
This didn't show up as a problem on systemd systems (eg, default) because systemd will
automatically setup a serial tty with the console option passed in on the kernel command line
(using console=...), which U-Boot correctly passes in as ttyS2 for J721S2/J784S4.

Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Denys Dmytriyenko
805943b5c0 ti-img-rogue-driver: drop local patch as upstream is now fixed
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Randolph Sapp
14fcd9a9bf ti-img-rogue-*: Bump the graphics recipes
Bump the graphics recipes source revision and remove the old BVNC
switch. The BVNC is now baked into the platform Makefile that is
selected with PVR_BUILD_DIR / TARGET_PRODUCT.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Andrew Davis
e0ff5cbd25 trusted-firmware-a: Update to latest upstream master
Notable changes include support for J784s4.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Ryan Eatmon
c74ea6f30b machine: Add j784s4-evm configuration.
Adding support for j784s4-evm:
- Add configurations.
- Add firmware.
- Add u-boot.
- Add gpu support.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Hari Nagalla <hnagalla@ti.com>
Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Ryan Eatmon
e6f1b2edf0 ti-img-rogue-driver: Fix git SRC_URI
We missed a spot when updating all of the git access for git.ti.com
to use HTTPS.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Praneeth Bajjuri
2e81f60882 ipc: ti-rpmsg-char: Update library to 0.5.1
Update the ti-rpmsg-char library to 0.5.1 version that enables the
support for R5F on am62x SoCs.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Manorit Chawdhry
b4502cc32b ti-rtos-firmware: j721s2-hs-evm: add secure firmware images
Adds support for secure firmware images in J721S2 HS EVM.

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Manorit Chawdhry
2ee63c5d7f ti-rtos-firmware: j7200-hs-evm: add secure firmware images
Adds support for secure firmware images in J7200 HS EVM.

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Manorit Chawdhry
04705ec7f7 ti-rtos-firmware: j721e-hs-evm: add secure firmware images
Adds support for secure firmware images in J721E HS EVM.

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Denys Dmytriyenko
529bd52c5d linux-ti-mainline: unbreak devtool
devtool has a long-standing bug where it cannot handle references to ${WORKDIR}
due to externalsrc:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=12677

linux-ti-mainline clones additional ti-upstream-tools repo alongside the kernel
sources into ${WORKDIR}, which exposes this devtool bug.

Work around the issue by moving ti-upstream-tools inside the kernel source tree,
i.e. inside ${S}

Reported-by: Radoslav Pesek <radoslav.pesek@microstep-mis.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Andrew Davis
b8616f4627 conf: machine: am64xx: Move multi-config targets into base SoC include
The supported device types depends on the SoC, not on any specific
board or EVM. Any board can be populated with any of the 3 supported
AM64x types. Move these into the AM64x common include.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Andrew Davis
3395cb0bcc conf: machine: am64xx-evm: Switch to SR2.0 HS-FS build by default
AM64x devices will only be available as SR2.0 HS-FS. Set this as the
default type provided by the SDK. To allow SR2.0 HS-SE to continue to
boot, like we did with GP, we add an extra machine to build SR2.0 HS-SE
SYSFW. To use on SR2.0 HS-SE boards simply switch out the SYSFW image:

$ cd /mnt/sd-card/boot
$ mv tiboot3-am64x_sr2-hs-evm.bin tiboot3.bin

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Rahul T R
598a832221 cadence-mhdp-fw: Add dependency for j721s2
cdns mhdp bridge is present in j721s2 soc.
Add the dependency for the same

Signed-off-by: Rahul T R <r-ravikumar@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Randolph Sapp
68f9392fc3 ti-sci-fw: Use d.getVar() in DEPENDS expression
Switch the DEPENDS_append expression to use d.getVar() instead of the
usual variable expansion to prevent the inline Python command from
becoming mangled.

Signed-off-by: Randolph Sapp <rs@ti.com>
Acked-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Andrew Davis
6ac89438e6 optee-os: Lower log level for AM62x
During resume from low power mode suspend OP-TEE prints some messages
on the UART. It seems this UART is not powered at this point in the
sequence breaking suspend/resume. We should track down the exact
prints and quiet them. Until we get that fix upstream, lets lower
the log level for this platform to unblock the LPM work.

Signed-off-by: Andrew Davis <afd@ti.com>
Acked-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Andrew Davis
bdfc41492a optee-os: Upgrade to upstream 3.18.0
Update to the latest upstream master which is 3.18.0.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Anand Gadiyar
79fc6e6f91 machine: add am62xx-lp-evm configuration
This platform is similar to the currently supported am62xx-evm, except
that we currently need new defconfigs for u-boot and new dtbs in the
filesystem.

Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Cc: Hari Nagalla <hnagalla@ti.com>
Cc: Andrew Davis <afd@ti.com>
Cc: Praneeth Bajjuri <praneeth@ti.com>
Cc: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Andrew Davis
29ed73bad4 conf: machine: am64xx-evm: Update default HS names
In the latest U-Boot the HS images for AM64x have been renamed to the
default names, and the GP have been changed to *_unsigned. Remove
the overrides to pull the now default HS images.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Ryan Eatmon
8adeecdc49 all: Stop using git://git.ti.com
Stop using un-encrypted git:// protocol to access TI repositories.

This is inline with the same arguments as made by github in
https://github.blog/2021-09-01-improving-git-protocol-security-github/

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Andrew Davis
4457391897 conf: machine: am64xx-evm: Make HS-SE the default
The HS-SE AM64xx machine can now be run on GP devices and built without
needing the TI_SECURE_DEV_PKG for the same. AM64xx will only be available
in the HS-FS type going forward. Make the HS-SE the default and remove
the original GP machine.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Andrew Davis
be1ddf405d u-boot-ti-staging: Update to the latest ti-u-boot-2021.01
Update to the latest commit of ti-u-boot-2021.01.

As part of this U-Boot update the non-HS AM64x-evm defconfig was removed.
This is okay as building this defconfig without defining TI_SECURE_DEV_PKG
will still result in usable binaries for the non-HS devices. Use the
HS defconfig for both the HS and non-HS machines.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Andrew Davis
fa6c1e0176 ti-sci-fw: Use ti-k3-secdev if TI_SECURE_DEV_PKG_K3 is not defined
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Andrew Davis
dbc37abd67 recipies-ti: Add TI K3 Security Development Package
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Praneeth Bajjuri
52eaeb872c trusted-firmware-a: upgrade to v2.7
upgrade arm-trusted-firmare to v2.7

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Tested-by: Judith Mendez <jm@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Andrew Davis
71ae142a05 ti-sci-fw: Add am65xx-evm-k3r5-sr2 to combined R5 boot list
This machine was missed when making combined R5 boot the default.
Add this machine to fix build failure.

Reported-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Denys Dmytriyenko
48b22e8266 k3: also inherit kernel-fitimage class for FIT image generation
In order to support fitImage image type, kernel-fitimage class is needed.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Andrew Davis
f584f736dc conf: machine: k3: Add fitImage to the default kernel image types
FIT Image based kernels are valid for all K3 devices, not just HS, deploy
this kernel image type by default so it doesn't have to be appended on
a per-device-type basis.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Andrew Davis
252d345f1a conf: machine: am64xx-hs-evm: Add extra machine to build GP SYSFW
Use multiconfig to generate a GP SYSFW image. This allows the HS SDK
to be used on GP boards by simply switching out the SYSFW image:

$ cd /mnt/sd-card/boot
$ mv tiboot3-am64x-gp-evm.bin tiboot3.bin

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Andrew Davis
23f5b48d8f ti-sci-fw: Only deploy the raw SYSFW images for one machine target
This recipe deploys the raw SYSFW unconditionally which causes issues
when doing multiconfig builds. What should happen is only one deploys
these, select that the same way we select which one deploys the default
SYSFW symlink. Move the deploy step there.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Andrew Davis
9e035d6fbe conf: machine: Move K3 TI_SECURE_DEV_PKG definition to common include
The K3 TI_SECURE_DEV_PKG is the same for all devices, move this out
of each machine file and into the common K3 includes. This doesn't
have any effect on the GP machines as they make no use of it.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Andrew Davis
ad7db9c97f ti-sci-fw: Only install and deploy combined boot symlink when set
Add SYSFW_TIBOOT3_SYMLINK and use it the same way we use SYSFW_SYMLINK
for the non-combined boot flow, to allow not setting the default for
some machine types.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Andrew Davis
dcd64932bf ti-sci-fw: Make combined R5 boot the default
Going forward, the combined tiboot3.bin is going to be the standard. Only
AM65x and J721e will still use the split boot.

Set DEPENDS and EXTRA_OEMAKE for combined boot and override only for the
two split boot platforms. This makes it easier to add new platforms and
simplifies deployment logic.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Andrew Davis
c388ad3df1 ti-sci-fw: Use SYSFW_TIBOOT3 to point to the SYSFW image
Currently we reuse UBOOT_* names which usually are the same we
want to give to the name of the SYSFW binary. This isn't always
correct, we should use a SYSFW specific variable in case the
UBOOT names are changed.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Andrew Davis
485a6955c5 ti-sci-fw: Deploy all SYSFW firmware types
This allows us to rebuild and re-sign the SYSFW image if needed from
the deploy directory for any SoC type.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Andrew Davis
feb3357c74 ti-sci-fw: Use new SOC_TYPE and SYSFW_DIR to simplify recipe
The k3-image-gen now has two new helper flags SOC_TYPE and SYSFW_DIR
that we can use to simplify this recipe. With these we do not need to do
anything different here for HS builds, the SOC_TYPE selects this now.

DL_URL also do not need cleared anymore, the k3-image-gen will no longer
download missing files when not needed for the current build type.

do_install and do_deploy can also check for the existence of either
sysfw.itb or tiboot3.bin and install/deploy as needed. k3-image-gen only
gerneates the right one now depending on the SoC. Merge all these
steps for all SoCs.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Andrew Davis
f112212083 machine: k3r5: Make combined R5 boot the default
Going forward, the combined tiboot3.bin is going to be the standard. Only
AM65x and J721e will still use the split boot. Set the output of U-Boot
to be u-boot-spl.bin by default and override only for the two split boot
platforms. This makes it easier to add new platforms and simplifies
deployment logic.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Denys Dmytriyenko
1cea5220ea linux-ti-next: add recipe for building linux-next
Required for daily test plans. Can be enabled in local.conf or <distro>.conf:

PREFERRED_PROVIDER_virtual/kernel = "linux-ti-next"
SRCREV:pn-linux-ti-next = "${AUTOREV}"

Only uses in-tree defconfigs, does not support config fragments, builds and
packages in-tree DTBs.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Denys Dmytriyenko
92598343f3 u-boot-ti-mainline: update to the latest 2022.10
Update to the latest release version.
bzip2 license was added to the list, update checksum.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Denys Dmytriyenko
8ea305bf98 u-boot: drop 2020.01
Deprecated in favor of 2021.01

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Denys Dmytriyenko
27b1bfc1e0 linux: drop 5.4 kernel
Deprecated in favor of 5.10

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-11-23 16:08:24 -06:00
Ryan Eatmon
c023b50537 u-boot: Remove lzop dependency
lzop support has been moved from oe-core to meta-oe.  Since we are not
setting FIT_KERNEL_COMP_ALG and (for minimal poky builds) we would like
to not require meta-oe just for this, just remove the dependency entirely.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-10-17 13:05:21 -05:00
Ryan Eatmon
928d30486b trusted-firmware-a: work around RWX permission error on segment
Binutils 2.39 now warns when a segment has RXW permissions[1]:

  aarch64-none-elf-ld.bfd: warning: bl31.elf has a LOAD segment with RWX permissions

However, TF-A passes --fatal-warnings to LD, so this is a build failure.

There is a ticket filed upstream[2], so until that is resolved we can
disable this warning.

[1] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=ba951afb99912da01a6e8434126b8fac7aa75107
[2] https://developer.trustedfirmware.org/T996

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>

Adapted from the above patch[3] in meta-arm, but we cannot use that patch as
we are on an older SRCREV and the Makefile has changed.

[3] https://git.yoctoproject.org/meta-arm/commit/meta-arm/recipes-bsp?id=977c5222d8c2f6f6c7e522e480a6e4cd40ba32d7

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-10-17 13:04:19 -05:00
Khem Raj
5eb1a669b8 layers: Add langdale to LAYERSERIES_COMPAT
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-10-12 15:11:51 -05:00
Andrew Davis
2b11afa8aa prueth-fw: Deploy for AM64xx based on SoC not EVM
This makes sense but looks like was done wrong to match AM65xx which
needed the exact EVM specified due to this only working on SR2.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Andrew Davis
47d212666b trusted-firmware-a: Allow build to continue without TI_SECURE_DEV_PKG set
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Andrew Davis
e1f119c925 optee-os: Allow build to continue without TI_SECURE_DEV_PKG set
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Andrew Davis
c64c2ad48d u-boot-ti: Do not prepend output files with DEPLOYDIR
We already cd into DEPLOYDIR so this is not needed. This now matches the
keystone version below. Also fixes build in some odd situations.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Andrew Davis
8a81c48da1 conf: machine: Make multi-certificate image the default
Only the first two K3 devices do not support multi-cert boot so
lets make multi-cert the default and only add back sysfw.itb
for these two devices.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: lines be preserved?
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
77753a1326 ti-linux-fw: Bump to 08.04.01.001 release
Updated the ti-linux-fw version for 08.04.01.001

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
6c9c0b2225 linux-ti-staging-rt: Bump to 08.04.01.001 release
Updated the linux rt version for 08.04.01.001

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
bc268a11f6 linux-ti-staging: Bump to 08.04.01.001 release
Updated the linux version for 08.04.01.001

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
LCPD Automation Script
c5adf7f675 u-boot-ti-staging: CI/CD Auto-Merger: cicd.2022.07.30.15:19:12
Updated the value(s) for:
  SRCREV

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
9d15def4e1 ti-linux-fw: Create K3_IMAGE_GEN_BRANCH variable
For the upcoming CICD flow we need to control the branch for
all of the needed packages.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
59e2bfd7e5 cadence-mhdp-fw: Lock firmware to j721e
This firmware is only applicable to the j721e platform and not
all j7 devices.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
fec5a9ffdc linux-ti-staging-rt: Bump to 08.04.00.005 release
Updated the linux rt version for 08.04.00.005

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
555fdfce01 linux-ti-staging: Bump to 08.04.00.005 release
Updated the linux version for 08.04.00.005

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
8bfb413637 u-boot-ti-staging: Bump to 08.04.00.005 release
Updated the u-boot version for 08.04.00.005

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
c36d687a7b kernel u-boot: Fix formulation of LOCALVERSION
devtool does not work with the current formulation of
the LOCALVERSION variables.  We need to use SRCPV to
avoid AUTOREV on bleeding builds, but there will be no
+ in the string, so we cannot split on that.  Just
use SRCPV directly.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Jonathan Humphreys
5eca63d1de j7200-hs-evm-k3r5: Move J7200 HS evm support to PG2.0
With J7200 PG1.0 being deprecated, use PG2.0 sysfw when building images for j7200-hs-evm.
Also update k3-image-gen version to support this change.

Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Bryan Brattlof
cc987c6f36 k3conf: update SRCREV to add j721S2 fixes
update the SHA for k3conf to pickup the j721s2 fixes

Signed-off-by: Bryan Brattlof <bb@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Denys Dmytriyenko
fac7b49607 j721e-hs-evm-k3r5: do not create generic sysfw.itb symlink
Commit bdceaa05ac added SR1.1 support for
J721e HS with the idea that the default sysfw.itb will point to SR1.1.
For that to work, the config for SR1 has to explicitly disable creating
such symlink.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
6686c2f6c3 ti-img-encode-decode: Lock test app to j7-evm
The test app is not compatible with later versions of j7, so
add COMPATIBLE_MACHINE to lock these recipes down to just
j721e.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Drew Fustini
85f42b95d7 conf: am43: avoid missing dtb files for linux-ti-mainline
Avoid the inclusion of device tree files that do not exist upstream
when virtual/kernel is linux-ti-mainline for the am43xx machines.

Signed-off-by: Drew Fustini <dfustini@baylibre.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Drew Fustini
3dc7e20b9a conf: am57xx-evm: avoid missing dtb files for linux-ti-mainline
Avoid the inclusion of device tree files that do not exist upstream
when virtual/kernel is linux-ti-mainline for the am57xx-evm MACHINE.

Signed-off-by: Drew Fustini <dfustini@baylibre.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Drew Fustini
386e9688ec conf: dra7xx-evm: avoid missing dtb files for linux-ti-mainline
Avoid the inclusion of device tree files that do not exist upstream
when virtual/kernel is linux-ti-mainline for the dra7xx-evm MACHINE.

Signed-off-by: Drew Fustini <dfustini@baylibre.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
0c9b989e90 linux-ti-staging-rt: Bump to 08.04.00.004 release
Updated the linux rt version for 08.04.00.004

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
2ca9237b64 linux-ti-staging: Bump to 08.04.00.004 release
Updated the linux version for 08.04.00.004

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
9e22497883 u-boot-ti-staging: Bump to 08.04.00.004 release
Updated the u-boot version for 08.04.00.004

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
2954a3352a conf: machine: j721s2: add new dtb for GESI
The following commits in ti-linux-5.10.y kernel has introduced a new dtb.

commit: 9b05b2a89ff ("arm64: dts: ti: Add overlay for GESI to enable main CPSW2G in J721S2")

This patch on j721s2 conf is to include the new dtb.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Andrew Davis
e20a52005c linux-ti-staging: Unblock SA2UL for AM64x and J7200 HS devices
The SA2UL driver now works on HS devices, unblock this.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Andrew Davis
8a05ea2970 optee-os: Use software RNG on AM62x and J721s2
The TRNG driver is not currently functional for these two platforms.
Disable the TRNG driver until fixed.

Reported-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
3e05a20aec linux-ti-staging-rt: Bump to 08.04.00.003 release
Updated the linux rt version for 08.04.00.003

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
a00773c99f linux-ti-staging: Bump to 08.04.00.003 release
Updated the linux version for 08.04.00.003

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
6a608220c8 u-boot-ti-staging: Bump to 08.04.00.003 release
Updated the u-boot version for 08.04.00.003

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
LCPD Automation Script
6e6c2b7196 linux-ti-staging: CI/CD Auto-Merger: cicd.2022.06.28.12:11:17
Updated the value(s) for:
  SRCREV

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
LCPD Automation Script
b4db434553 linux-ti-staging-rt: CI/CD Auto-Merger: cicd.2022.06.28.12:11:17
Updated the value(s) for:
  SRCREV

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
LCPD Automation Script
897c674921 u-boot-ti-staging: CI/CD Auto-Merger: cicd.2022.06.28.12:11:17
Updated the value(s) for:
  SRCREV

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
a978baef66 conf: machine: wic: Fix j721s2-hs-evm image boot partition
This patch is to align with a recent change to how the HS platforms
are setup in the /boot partition.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
b49e78d058 ti-linux-fw: Bump to 08.04.00.002 release
Updated the ti-linux-fw version for 08.04.00.002

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
edc6cc7851 linux-ti-staging-rt: Bump to 08.04.00.002 release
Updated the linux rt version for 08.04.00.002

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
406941d686 linux-ti-staging: Bump to 08.04.00.002 release
Updated the linux version for 08.04.00.002

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
1ef9eed89b u-boot-ti-staging: Bump to 08.04.00.002 release
Updated the u-boot version for 08.04.00.002

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Manorit Chawdhry
087da8901c conf: machine: wic: Fix HS image boot partition
IMAGE_BOOT_FILES was being overwritten in the HS recipes leading to
incomplete binaries in /boot and the naming of the binaries were not
correct.

Fixes /boot partition for HS devices.

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
[afd: Extended fix to all HS platforms]
Signed-off-by: Andrew Davis <afd@ti.com>
Acked-by: Manorit Chawdhry <m-chawdhry@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Bryan Brattlof
ddff668638 k3conf: update SRCREV to add J721S2 support
update the SHA of k3conf to pickup j721s2 support

Signed-off-by: Bryan Brattlof <bb@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Andrew Davis
1899bc04e4 optee: Upgrade to upstream 3.17.0
Update to the latest upstream master which is 3.17.
We do this to add HUK and AM64x/AM62x support.
With this we need to also switch OPTEEMACHINE for AM64x/AM62x.

To build against the latest OP-TEE the support recipes need updated also.
Move these here into meta-ti so that builds will still work when not using
meta-arago-distro.

The fix patches do not look to be needed anymore.

While here switch to git checkout with https.

NOTE: The latest OP-TEE requires SYSFW 8.04+

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Andrew Davis
761d5c18b1 trusted-firmware-a: Update to latest upstream master
For TF-A we work against upstream first, our fork has only been
used in the rare cases we need to ship a feature before we can
get it upstream. This is not currently the case so lets switch
to upstream repo until there is a need for our fork.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
a4037a50a0 ti-linux-fw: Bump to 08.04.00.001 release
Updated the ti-linux-fw version for 08.04.00.001

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
4f1ed197be linux-ti-staging-rt: Bump to 08.04.00.001 release
Updated the linux rt version for 08.04.00.001

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
7eeaec409a linux-ti-staging: Bump to 08.04.00.001 release
Updated the linux version for 08.04.00.001

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
19b0ef1d11 u-boot-ti-staging: Bump to 08.04.00.001 release
Updated the u-boot version for 08.04.00.001

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
f8558a3647 u-boot: Bump to verison that supports j721s2-hs-evm
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Denys Dmytriyenko
cb5890b94b cnm-wave-fw: mark also compatible with j721s2 HS
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Jayesh Choudhary
3a1e3bfe6c j721s2-hs: changes to support new hs platform
Changes to support new j721s2-hs platform in:
1) ti-sci-fw_git: Update firmware prefix for j721s2-hs
2) atf: sign the image
3) u-boot: Add u-boot-spl image for combined boot image
4) optee: sign the image

Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Jayesh Choudhary
b3822e7b26 ti-rtos-firmware: Add j721s2 hs support
Sign the DM firmware for j721s2 similar to j7200 hs.
Duplicate all j721s2 entries for j721s2-hs as we cannot use same
keyword for match between j721s2-evm and j721s2-hs-evm.

Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Jayesh Choudhary
77fc98c790 conf: machine: Add j721s2 hs platform
Machine conf for J721S2 HS platform.
Used j7200 hs as reference.

Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Andrew Davis
1da21eeedc conf: machine: am64xx: Add missing dtbo
Add missing k3-am642-evm-icssg1-dualemac-mii.dtbo.

Reported-by: Judith Mendez <jm@ti.com>
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
0aad7566e8 ti-linux-fw: Bump to 08.03.00.005 release
Updated the ti-linux-fw version for 08.03.00.005

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
4533610d96 linux-ti-staging-rt: Bump to 08.03.00.005 release
Updated the linux rt version for 08.03.00.005

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
279f726128 linux-ti-staging: Bump to 08.03.00.005 release
Updated the linux version for 08.03.00.005

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
482627d9c7 u-boot-ti-staging: Bump to 08.03.00.005 release
Updated the u-boot version for 08.03.00.005

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Praneeth Bajjuri
afcf8534ed conf: machine: am62xx: add new dtb for low-power
The following commits in ti-linux-5.10.y kernel has introduced new dtbs.
a minimal skeleton and a lpm (low-power-mode) demo dtb.

commit c161df7b1ea0 ("arm64: dts: ti: Introduce k3-am625-sk-lpmdemo")
commit 61df7fcf9307 ("arm64: dts: ti: introduce minimal dt for am625")

This patch on am62xx conf is to include the new dtbs.

Reported-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
a62d226839 ti-linux-fw: Bump to 08.03.00.004 release
Updated the ti-linux-fw version for 08.03.00.004

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
2f296801fc linux-ti-staging-rt: Bump to 08.03.00.004 release
Updated the linux rt version for 08.03.00.004

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
76afbc349d linux-ti-staging: Bump to 08.03.00.004 release
Updated the linux version for 08.03.00.004

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
d391c3cd89 u-boot-ti-staging: Bump to 08.03.00.004 release
Updated the u-boot version for 08.03.00.004

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Ryan Eatmon
123bc2609c conf: machine: am62xx Fix overlay extension
The file extension for the overlay needs to be .dtbo.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Aparna M
25b110448a ti-tros-firmware: Add DM firmware binary to deploy directory for am62xx-evm
The DM firmware binary is required for building uboot binaries for
am62xx-evm  using toplevel makefile in SDK. Add this file to deploy
directory so it can be included in prebuilt-images directory of SDK
for am62xx-evm.

Signed-off-by: Aparna M <a-m1@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Darren Etheridge
e210d36ad1 ti-graphics: update for 4K/64K page size GPU drivers
Pull in the GPU KM/UMLIBS that enable the unified 4K/64K page
firmware support in the IMG Rogue drivers.

Signed-off-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-09-22 11:23:07 -05:00
Denys Dmytriyenko
2124e7ecd8 dsptop: fix host contamination warning
Fixes this warning:

| WARNING: dsptop-1.4.0-r2.2 do_package_qa: QA Issue: dsptop: /usr/bin/dsptop is owned by uid 1000,
| which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-10 09:56:19 -05:00
Denys Dmytriyenko
f10ed11082 libdce: upgrade to 3.00.15.00 and specify branch
Fixes these warnings:

| WARNING: libdce-3.00.14.00-r1 do_fetch: URL: git://git.omapzoom.org/repo/libdce.git;protocol=git
| does not set any branch parameter. The future default branch used by tools and repositories
| is uncertain and we will therefore soon require this is set in all git urls.
| WARNING: libdce-3.00.14.00-r1 do_unpack: URL: git://git.omapzoom.org/repo/libdce.git;protocol=git
| does not set any branch parameter. The future default branch used by tools and repositories
| is uncertain and we will therefore soon require this is set in all git urls.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-10 09:56:19 -05:00
Ryan Eatmon
6b572dc29c linux-ti-staging-rt: Bump to 08.03.00.003 release
Updated the linux rt version for 08.03.00.003

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-10 09:56:19 -05:00
Ryan Eatmon
5d488783c5 linux-ti-staging: Bump to 08.03.00.003 release
Updated the linux version for 08.03.00.003

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-10 09:56:19 -05:00
Ryan Eatmon
7ac4bd2f8a u-boot-ti-staging: Bump to 08.03.00.003 release
Updated the u-boot version for 08.03.00.003

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-10 09:56:19 -05:00
Nishanth Menon
c2114fbbb4 conf/machine: am62xx: Update build flag for low power mode
Update build flag for arm-trusted-firmware to include low power mode
support

K3_PM_SYSTEM_SUSPEND is added in arm-trusted-firmware now which enables
low power mode support for am62xx.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-10 09:56:19 -05:00
Praneeth Bajjuri
8fc1557c12 trusted-firmware-a: upgrade to v2.6+
upgrade arm-trusted-firmare to master which is currently v2.6+

This upgrade picks up am62x low power mode feature.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-10 09:56:19 -05:00
Ryan Eatmon
2c1ae06f18 recipes-bsp: tifs-lpm-stub: Introduce new recipe
This firmware stub is required by the TI foundational security
software while transitioning to low power mode.

Add a recipe for this compatible with am62xx-evm

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-10 09:56:19 -05:00
Nishanth Menon
038882c616 recipes-kernel: setup-defconfig: Use SRCPV to update KERNEL_LOCALVERSION
Due to recent security update[1] in git, a subprocess will be unable
to run git rev-parse to fetch revision.

So instead, use the SRCPV to parse the short commit ID and set the
KERNEL_LOCALVERSION variable.

[1] https://github.blog/2022-04-12-git-security-vulnerability-announced/

Inspired-by: Devarsh Thakkar <devarsht@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-10 09:56:19 -05:00
Nishanth Menon
e3505e2cd0 u-boot-ti: Use SRCPV instead of SRCREV for U_BOOT_LOCAL_VERSION
SRCREV works with fixed commits, but when we use AUTOREV for a
downstream distro bbappend, we will end up getting a bad local
revision.

Lets use SRCPV instead, which bitbake already deals with sensibly.

[1] https://www.yoctoproject.org/docs/2.5.1/dev-manual/dev-manual.html#automatically-incrementing-a-binary-package-revision-number

Fixes: 39fa0c1d3d ("u-boot-ti: Use SRCREV to get short commit ID")
Suggested-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-10 09:56:19 -05:00
Denys Dmytriyenko
aedd163c79 optee-os, trusted-firmware-a: add leading whitespace when using append override
As append override does not add any whitespaces, it could lead to potential
issues when two items in space-separated list get concatenated. It is always
recommended to add a leading whitespace in such cases, like EXTRA_OEMAKE.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-05 14:24:13 -05:00
Denys Dmytriyenko
0547c442d2 ti-rtos-firmware: remove duplicate assignment
FILES:${PN} is being assigned twice, remove duplicate.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-05 14:22:22 -05:00
Denys Dmytriyenko
31b053692c conf/machine: remove default setting for xorg
meta-ti does not provide official X.org support, so no reason to set any
defaults, just assume the ones from OE-Core.

Also, drop setting MACHINE_GUI_CLASS, which is now only used by the kernel
from meta-openembedded to determine the size of the Tux during boot. Keep
those for now in community Beagle machines.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-05 14:22:22 -05:00
Denys Dmytriyenko
fa2639b3a6 conf/machine: make default PREFERRED_PROVIDERs easy to override
Use weak assignment for default PREFERRED_PROVIDER values to allow user to
easily overwrite them from local.conf.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-05 14:22:22 -05:00
Denys Dmytriyenko
50c81f868c conf/machine: add preferences for 3D graphics providers
Specify default 3D GLES/EGL providers for platforms using SGX and Rogue GPUs,
both kernel and user-space components.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-05 14:22:22 -05:00
Denys Dmytriyenko
a9327edb03 am62xx, j721s2: move "gpu" machine feature from machine to soc config
In most cases machine features should be set in the corresponding SoC config
to be applicable to different machine variants, like GP, HS or custom board.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-05 14:22:22 -05:00
Khem Raj
8e8c7de0b4 ffa-debugfs-mod: Do not build for TI SOCs
The module can not be compiled without patching kernel 5.10
This helps meta-ti to live in multi-BSP envs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-04 14:27:26 -05:00
Matthias Schiffer
db50af1677 optee-os: fix build with OPTEEPAGER=y
meta-arm commit e03b824d7824 ("arm/optee-os: cleanup recipe") changed the
recipe's do_compile(), which broke the build of the am57xx-hs-evm and
dra7xx-hs-evm machines. Adjust the .bbappend accordingly.

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-04 13:18:55 -05:00
Andrew Davis
721ce6ef5d ION is superseded now by DMA-BUF Heaps remove libion
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-04 13:12:30 -05:00
Ryan Eatmon
88e8c1cbf3 uio-module-drv: Remove unneeded patch.
Now that we have moved to a newer version, this patch is no longer
needed.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-04 10:21:58 -05:00
Ryan Eatmon
0b48ef9815 uio-module-drv-test: Fix build with clang
Point to an updated SRCREV that fixes a compile error with the clang
compiler.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-03 10:40:12 -05:00
Khem Raj
6e27ccb7c8 cmem-mod: Fix kernel module packaging for usrmerge
ERROR: cmem-mod-4.20.00.01+gitAUTOINC+86269258a4-0a do_package: QA Issue: cmem-mod: Files/directories were installed but not shipped in any package:
  /lib/modules/5.10.100-g4a12bec7d3/extra/cmemk.ko

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 13:00:54 -05:00
Denys Dmytriyenko
8212701aa9 ti-img-rogue-driver: fix breakage with GCC 11
Explicitly cast the value into correct type to fix this error:

| .../services/server/devices/rogue/rgxinit.c:1345:36: error: implicit conversion from 'enum <anonymous>' to 'IMG_BOOL' {aka 'enum tag_img_bool'} [-Werror=enum-conversion]
|  1345 |                         bEnableAPM = false;
|       |                                    ^

Cc: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 12:53:38 -05:00
Ryan Eatmon
ebceeec482 ti-linux-fw: Bump to 08.03.00.002 release
Updated the ti-linux-fw version for 08.03.00.002

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 11:31:08 -05:00
Ryan Eatmon
974cd2f0c9 linux-ti-staging-rt: Bump to 08.03.00.002 release
Updated the linux rt version for 08.03.00.002

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 11:31:08 -05:00
Ryan Eatmon
532db41ad2 linux-ti-staging: Bump to 08.03.00.002 release
Updated the linux version for 08.03.00.002

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 11:31:08 -05:00
Ryan Eatmon
f352d0a356 u-boot-ti-staging: Bump to 08.03.00.002 release
Updated the u-boot version for 08.03.00.002

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 11:31:08 -05:00
Praneeth Bajjuri
8b41b21a15 k3conf: Update SRCREV to pick AM62x support
Update the k3conf to the latest SHA.
This adds AM62x support.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 11:31:08 -05:00
Ryan Eatmon
1ab0aec473 conf: machine: am62xx Add missing dtbo file
Add missing k3-am625-sk-csi2-ov5640.dtb required for the camera overlay.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Reviewed-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 11:31:08 -05:00
Praneeth Bajjuri
307d940383 ipc: ti-rpmsg-char: Update library to 0.4.1
Update the ti-rpmsg-char library to 0.4.1 version that enables the
support for AM62x SoC family remote processors.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 11:31:08 -05:00
Ryan Eatmon
e8df1a8d80 linux-ti-staging-rt: Bump to 08.03.00.001 release
Updated the linux rt version for 08.03.00.001

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 11:31:08 -05:00
Ryan Eatmon
cd2ab125a2 linux-ti-staging: Bump to 08.03.00.001 release
Updated the linux version for 08.03.00.001

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 11:31:08 -05:00
Ryan Eatmon
c4b63382f5 u-boot-ti-staging: Bump to 08.03.00.001 release
Updated the u-boot version for 08.03.00.001

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 11:31:08 -05:00
Denys Dmytriyenko
c50e6fd6b3 linux-ti-staging/mainline: depend on libmpc-native and gmp-native
Similar to OE-Core changes:
https://git.openembedded.org/openembedded-core/commit/?id=128abf5eb76dd0d2680c93f043bf7cac0a3552b8

5.10.85 changed how the GCC plugins are built, which means they now
depend on both GMP and MPC to be built.

Also add MPC dependency to linux-ti-mainline, as it already depends
on GMP since:
https://git.yoctoproject.org/meta-ti/commit/?id=0376ebcd4333ea2915b3113945ff6a818f7cb442

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 11:31:08 -05:00
Devarsh Thakkar
885ebfc248 u-boot-ti: Use SRCREV to get short commit ID
Due to recent security update in git, we are
not able to fetch revision currently using existing method:
https://github.blog/2022-04-12-git-security-vulnerability-announced/

So instead, use the SRCREV to parse the short commit ID
and set the UBOOT_LOCALVERSION variable.

Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 11:31:08 -05:00
Nick Saulnier
14bf3b06b1 pru-icss_git.bb: add AM62x
This commit adds the PRU Software Support Package (PSSP) to the AM62x Linux
Processor SDK under example-applications/pru-icss-x.x.x. It also adds prebuilt
PRU firmware to the default AM62x filesystem image under the /lib/firmware
folder.

Signed-off-by: Nick Saulnier <nsaulnier@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 11:31:08 -05:00
Nick Saulnier
8213b30bcf pru-icss_git.bb: update to PSSP v6.1.0
Update the SDK folder example-applications/pru-icss-x.x.x to install the latest
version of the PRU Software Support Package (PSSP).

This also uses PSSP v6.1.0 to generate the PRU Halt and RPMsg binaries in the
Linux SDK default filesystem image under /lib/firmware.

Signed-off-by: Nick Saulnier <nsaulnier@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 11:31:08 -05:00
Etheridge, Darren
28fa5882ed ti-graphics: gpu enable and move all platforms to ddk 1.15
Enable the GPU for am62xx and j721s2 and use IMG DDK 1.15

Migrate Imagination DDK 1.13 to DDK 1.15 for J721e

Signed-off-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 11:31:08 -05:00
Nishanth Menon
15ae8b802a machine: Add am62xx evm configuration
Lets add the basic AM62xx-evm configuration.
- Add configurations.
- Add firmware overrides.
- Add u-boot overrides.
- Update TI_LINUX_FW_SRCREV and K3_IMAGE_GEN_SRCREV to appropriate SHAs.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Hari Nagalla <hnagalla@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 11:31:08 -05:00
Ryan Eatmon
0b9083e6a5 u-boot-ti-staging: Bump to 08.02.00.006 release
Updated the u-boot version for 08.02.00.006

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 11:31:08 -05:00
Ryan Eatmon
81759bc4e8 ti-linux-fw: Bump to 08.02.00.005 release
Updated the ti-linux-fw version for 08.02.00.005

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 11:31:08 -05:00
Ryan Eatmon
31b7d097be u-boot-ti-staging: Bump to 08.02.00.005 release
Updated the u-boot version for 08.02.00.005

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 11:31:08 -05:00
Ryan Eatmon
a9f4888467 linux-ti-staging-rt: Bump to 08.02.00.005 release
Updated the linux rt version for 08.02.00.005

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 11:31:08 -05:00
Ryan Eatmon
a463017cbe linux-ti-staging: Bump to 08.02.00.005 release
Updated the linux version for 08.02.00.005

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 11:31:08 -05:00
Ryan Eatmon
c65015e3be u-boot-ti-staging: Bump to 08.02.00.004 release
Updated the u-boot version for 08.02.00.004

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 11:31:08 -05:00
Ryan Eatmon
ca013895d9 linux-ti-staging-rt: Bump to 08.02.00.004 release
Updated the linux rt version for 08.02.00.004

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 11:31:08 -05:00
Ryan Eatmon
566379f9ac linux-ti-staging: Bump to 08.02.00.004 release
Updated the linux version for 08.02.00.004

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 11:31:08 -05:00
Matthias Schiffer
7e4cdc3c15 ti-sgx-ddk-um: avoid unnecessary dependency on -dev package
ti-sgx-ddk-um's do_install creates a symlink libGLESv2.so.1 to
libGLESv2.so. As this symlink will be installed to ti-sgx-ddk-um, but
its target libGLESv2.so is in ti-sgx-ddk-um-dev, the automated
dependency analysis will add ti-sgx-ddk-um-dev to ti-sgx-ddk-um's
RDEPENDS. This will pull in a large number of other -dev packages
through RDEPENDS and RRECOMMENDS in turn.

Avoid this by having libGLESv2.so.1 point to libGLESv2.so.2 instead of
libGLESv2.so, so the symlink's target is in ti-sgx-ddk-um as well.

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 11:31:08 -05:00
Jonathan Humphreys
e627b423ab conf: Enable bmap file for wic images on legacy platforms
To allow a consistent experience across current devices, enable wic.bmap file
generation for AM3/4/5 images.

Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-05-02 11:31:08 -05:00
Khem Raj
60c27f59a7 wlconf: Use nonarch_base_libdir instead of hardcoding /lib
Helps with usrmerge builds

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-04-26 16:40:42 -05:00
Khem Raj
d6494c933f uim-sysfs: Specify branch and protocol for git fetcher
bitbake git fetcher warns about protocol and fall back branches
therefore be explicit about these parameters in source uri

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-04-05 10:51:52 -05:00
Alessio Igor Bogani
67827e39e7 wl18xx-fw: Make it support usrmerge
Signed-off-by: Alessio Igor Bogani <alessio.bogani@elettra.eu>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-04-05 10:50:16 -05:00
Alessio Igor Bogani
f4c912b48b ti-cgt-pru: Update to version 2.3.3
Signed-off-by: Alessio Igor Bogani <alessio.bogani@elettra.eu>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-03-30 08:43:20 -05:00
Andrew Davis
b95d0f999e ti-sgx-ddk-um: only the am65xx member of the k3 family is supported
The AM65xx is the only member of the K3 family with an SGX GPU.
Be specific here to avoid confusion.

Signed-off-by: Andrew Davis <afd@ti.com>
Tested-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-03-29 07:33:57 -05:00
Andrew Davis
4d3664d918 ti-img-rogue-umlibs: only the j721e SoC is currently supported
There are now three SoCs in the J7 family, but only the j721e variant
is currently supported. Be specific here.

Signed-off-by: Andrew Davis <afd@ti.com>
Tested-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-03-29 07:33:57 -05:00
Andrew Davis
531fd1af23 meta-ti-bsp: add SoC families for the J7 SoCs
This allows us to be more specific around what SoCs we support and
lets us add features based on the SoC family not just at the EVM or
whole J7family level.

Signed-off-by: Andrew Davis <afd@ti.com>
Tested-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-03-29 07:33:57 -05:00
Andrew Davis
8cc837d238 meta-ti: rename j7-evm to j721e-evm
In many places we use "j7" the family when we should be using a
specific SoC or EVM and vice-versa. For instance when including
graphics drivers we add for all "j7" family, but what we really
want is only for some specific j7 SoC.

First step in untangling this is to make it clear that there is
no SoC called j7. There is a SoC called j721e with a j721e-evm.

Fix up this naming here.

Signed-off-by: Andrew Davis <afd@ti.com>
Tested-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-03-29 07:33:57 -05:00
Denys Dmytriyenko
f1b6ff1503 meta-ti: correct and do not skip "installed-vs-shipped" QA check
Skipping "installed-vs-shipped" QA check is now considered bad practice
due to possible SDK issues and is being flagged by yocto-check-layer [1]
script and could affect "Yocto Project Compatible" status for the layer.

[1] https://git.openembedded.org/openembedded-core/commit/?id=e8baa75535fc888f1d768b23a0140475e832c910

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-03-01 11:54:29 -06:00
Denys Dmytriyenko
e98a97691d meta-ti: convert licenses to SPDX format
Update LICENSE variable to use SPDX license identifiers.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-25 07:19:25 -06:00
Denys Dmytriyenko
9549245076 meta-ti: add README for meta-ti-extras and update maintainer
Add README for the newly added meta-ti-extras layer and update the maintainer.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Reviewed-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-23 08:21:21 -06:00
Ryan Eatmon
7938c6b4b8 u-boot-ti-staging: Bump to 08.02.00.003 release
Updated the u-boot version for 08.02.00.003

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:50 -06:00
Ryan Eatmon
13a858d46a linux-ti-staging-rt: Bump to 08.02.00.003 release
Updated the linux rt version for 08.02.00.003

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:50 -06:00
Ryan Eatmon
f11c578a3f linux-ti-staging: Bump to 08.02.00.003 release
Updated the linux version for 08.02.00.003

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:50 -06:00
Ryan Eatmon
46ae885d39 ti-linux-fw: Bump to 08.02.00.003 release
Updated the ti-linux-fw version for 08.02.00.003

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:50 -06:00
Ryan Eatmon
c37a045dcb ti-linux-fw: Bump to 08.02.00.002 release
Updated the ti-linux-fw version for 08.02.00.002

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:50 -06:00
Ryan Eatmon
6cd44f6731 u-boot-ti-staging: Bump to 08.02.00.002 release
Updated the u-boot version for 08.02.00.002

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:50 -06:00
Ryan Eatmon
5d5a883f07 linux-ti-staging-rt: Bump to 08.02.00.002 release
Updated the linux rt version for 08.02.00.002

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:50 -06:00
Ryan Eatmon
a0db6c0792 linux-ti-staging: Bump to 08.02.00.002 release
Updated the linux version for 08.02.00.002

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:50 -06:00
Kevin Hilman
b3a01f947e conf/machine/am57xx-evm: add overlay for OV10635 sensor
The VIP camera capture driver recently ported to ti-linux-5.10.y adds
a DT overlay for the OV10635 camera sensor.  Add this to
KERNEL_DEVICTREE so it's added to the artifacts.

Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:50 -06:00
Ryan Eatmon
5de2a62051 cnm-wave-fw: Split firmware name into target and source
We need to control both the source name of the firmware and
the target name, so split the current variable into two and
update the install command.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:50 -06:00
Ryan Eatmon
c5a566266d ti-linux-fw: Bump to 08.02.00.001 release
Updated the ti-linux-fw version for 08.02.00.001
  - Changed CORESDK_RTOS_VERSION version to 08.02.00.04

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:50 -06:00
Ryan Eatmon
f30f9b682e u-boot-ti-staging: Bump to 08.02.00.001 release
Updated the u-boot version for 08.02.00.001

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:50 -06:00
Ryan Eatmon
28c8d23ac3 linux-ti-staging-rt: Bump to 08.02.00.001 release
Updated the linux rt version for 08.02.00.001

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:50 -06:00
Ryan Eatmon
41c93af05d linux-ti-staging: Bump to 08.02.00.001 release
Updated the linux version for 08.02.00.001

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:50 -06:00
Hari Nagalla
2dd2942429 ipc: ti-rpmsg-char: Update library to 0.4.0
Update the ti-rpmsg-char library to 0.4.0 version that enables the
support for j721s2 SoC family remote processors.

Signed-off-by: Hari Nagalla <hnagalla@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:50 -06:00
Roger Quadros
94c8c6bfbf u-boot-ti: Support binman image generation
We are now using binman to generate the images for
K3 AM64 in u-boot.

tools/binman/binman needs python3-setuptools so add it to
DEPENDS.

Reported-by: Praneeth Bajjuri <praneeth@ti.com>
Suggested-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Roger Quadros <rogerq@kernel.org>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:50 -06:00
Ryan Eatmon
ef31e7d042 cnm-wave-fw: lock the compatiable machine to j721s2-evm
The original recipe listed the compatible platforms to
all of j7, but at this time it is limited to j721s2-evm.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:50 -06:00
Praneeth Bajjuri
793e2df24b Revert "ti-sci-fw: Fix for k3-image-gen issue for combined boot images"
This reverts commit d29025f7e8.

* associated fix in k3-image-gen is picked up now.
  commit 892c86501ff7 ("Makefile: Skip signing of binaries for HS combined boot")

hence its no longer needed to carry the same fix from meta-ti here.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:50 -06:00
Praneeth Bajjuri
8013c82321 ti-linux-fw: Bump up TIFS and DM to v2022.01
Update ti-linux-firmware and k3-image-gen to
pick latest TIFS and DM v2022.01

This version also adds support to j721s2

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:49 -06:00
Ryan Eatmon
71e0db4f8b cnm-wave-fw: Fix name of firmware for j721s2
Update the name of the firmware for j721s2 as the file
was renamed.  Also, fix a typo in the variable name.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:49 -06:00
Hari Nagalla
a9b4685388 recipes-ti/ti-rtos-bin: Fix unavailable binary path
Lets fix the missing switch firmware binary to point to ping binary
instead. If we attempt to start alternate CPU, we get a very beserk
system.

Signed-off-by: Hari Nagalla <hnagalla@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:49 -06:00
Nishanth Menon
60ec56f77a recipes-bsp: Add cnm-wave-fw firmware recipe
Add firmware recipe to add the Wave521cl firmware pieces in for j7
platform.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:49 -06:00
Nishanth Menon
85ca39a1a3 recipies-ti: ti-rtos-firmware: Fixup typo for rtos firmware
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:49 -06:00
Nishanth Menon
c709bf3629 recipes-bsp/ti-rtos: Define the TARGET and ALTERNATE_TARGET as well.
Dont forget the alternate-target as well.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:49 -06:00
Nishanth Menon
a8d5ceff64 ti-rtos-bin: Add j721s2
Lets keep ethernet switch firmware disabled till we can actually
integrate it.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:49 -06:00
Nishanth Menon
c0386006e5 recipes-bsp/ti-rtos: Use target_c7x_0 instead of just c7x
Lets enumerate the C7x target instead of defaulting as a since C7x.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:49 -06:00
Nishanth Menon
efef689921 trusted-firmware-a: Add support for alternate console
Actual systems may choose to use a different console from the default
Allow the machine configurations to describe the same. Since the
option provided is custom to TI K3, make this a k3 product override
capability.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:49 -06:00
Nishanth Menon
d2cd50c748 optee-os: Add support for alternate console
Actual systems may choose to use a different console from the default
Allow the machine configurations to describe the same.

Since the option provided is custom to TI K3, make this a k3 product
override capability.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:49 -06:00
Nishanth Menon
2adccf625d machine: Add j721s2 evm configuration
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:49 -06:00
Denys Dmytriyenko
fa8035fc26 meta-ti: use nonarch_base_libdir for firmware installations
Firmware images should always be installed under /lib and hence should use
nonarch_base_libdir, as regular base_libdir is configuration-specific and
doesn't always resolve to /lib.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:39 -06:00
Awais Belal
d39f85d1d0 ti-rtos-firmware: use nonarch_base_libdir for deployment
base_libdir is not configuration safe while firmware binaries
should always be deployed to /lib. In configurations where
base_libdir is not /lib the firmware gets deployed to wrong
paths.
This is fixed by using the nonarch_base_libdir which is
configuration agnostic.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:39 -06:00
Vivien Didelot
4f26e54f20 ti33x: move screen feature to machine configs
The AM335x SoC has a built-in 16bit/24bit RGB LCD controller, and
the BeagleBone Black uses an external chip to convert this to HDMI.

But the SoC does not have a video output port per-se, thus the "screen"
machine feature does not belong to its configuration but rather to
the machine configurations.

Move the feature (and the MACHINE_GUI_CLASS definition) out of
ti33x.inc into am335x-evm.conf and beaglebone.conf respectively.

At the same time, drop the irrelevant comments regarding the external
screen, since MACHINE_GUI_CLASS is unlikely used and the BeagleBone
Black has a micro HDMI port, not a DVI port.

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:39 -06:00
Vivien Didelot
852a93501e beaglebone: move kernel and dtb to packagegroup-core-boot
Require kernel image and device tree as machine-specific packages with
MACHINE_ESSENTIAL_EXTRA_RDEPENDS instead of appending IMAGE_INSTALL.

This binds the packages to the packagegroup-core-boot package group,
allowing one to skip their installation, e.g. for container trees.

This patch reflects commit d4cbe0e43393 [1] from meta-yocto-bsp
("beaglebone-yocto: move kernel and dtb to packagegroup-core-boot").

[1] https://git.yoctoproject.org/meta-yocto/commit/?id=d4cbe0e43393ec70e98caf006372b5311597d377

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:39 -06:00
Denys Dmytriyenko
b8f1562bee meta-ti: set layer compatibility with kirkstone
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:39 -06:00
Denys Dmytriyenko
bd7971a8a8 meta-ti: update ambiguous "BSD" license with "BSD-3-Clause"
OE-Core recently removed ambiguous "BSD" license[1] in order for recipes to
be more specific and use the exact variants of BSD. Update meta-ti recipes
with "BSD-3-Clause" as that was the previous default.

[1] https://git.openembedded.org/openembedded-core/commit/?id=14d4c007c49652d836d325a12bdbcd3bfa42e6d5

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:39 -06:00
Denys Dmytriyenko
af04276c83 meta-ti: move beaglebone-specific components to meta-ti-extras
Move beagleboard.org beaglebone componentns to meta-ti-extras.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:39 -06:00
Denys Dmytriyenko
600a51055a meta-ti: move cuia to meta-ti-extras
Move TI Unified Instrumentation Architecture in C (cUIA) to meta-ti-extras under
recipes-devtools.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:39 -06:00
Denys Dmytriyenko
a609bb4b64 ti-ipc: use fuller path when including common files
Some .inc file now span across layers, so use fuller path to find them when
including.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:39 -06:00
Denys Dmytriyenko
09c87828b1 meta-ti-extras: setup layer custom licenses
Those were moved from meta-ti-bsp and used by CodeGen Tools.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:39 -06:00
Denys Dmytriyenko
37ef6ae6fe meta-ti: move BIOS,XDC,XDAIS, CGT,DSP libs and components to meta-ti-extras
Legacy platforms AM3/4/5/J6 build components for multimedia acceleration and
other DSP showcasing using SYS/BIOS, XDC, XDAIS, CodeGen Tools and different
DSP libraries. Move all of them to meta-ti-extras.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:39 -06:00
Denys Dmytriyenko
c300766506 wl18xx-calibrator: explicitly specify source branch
bitbake now requires it, as default master is no longer deterministic.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:39 -06:00
Denys Dmytriyenko
8ea38ca3c8 wlconf: explicitly specify source branch
bitbake now requires it, as default master is no longer deterministic.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:39 -06:00
Denys Dmytriyenko
f81ec177d7 meta-ti: move WiLink components to meta-ti-extras
Move WiLink WiFi and BT components from meta-ti-bsp to meta-ti-extras layer.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:39 -06:00
Denys Dmytriyenko
f11b313cdf meta-ti-extras: add sub-layer with extra components that don't belong to BSP
Add MIT license file for the metadata.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:39 -06:00
Denys Dmytriyenko
aca2a78448 meta-ti: add MIT license file for the metadata and basic README
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:39 -06:00
Denys Dmytriyenko
20f3191aeb meta-ti: create a sub-layer meta-ti-bsp from existing content
Extra sub-layers will be created next and relevant content moved across them.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:38 -06:00
Denys Dmytriyenko
bea4fd2c40 trusted-firmware-a: adjust ${BUILD_DIR} for meta-arm/master
After 8b2c97b585, new platforms were merged with
BUILD_DIR used as in early Dunfell days, correct those.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:31 -06:00
Denys Dmytriyenko
05b0fe7a5f gcc-linaro-baremetal: remove 7.2 version of GCC for baremetal Arm and Aarch64
Newer versions of baremetal GCC toolchain available from meta-arm-toolchain.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:31 -06:00
Denys Dmytriyenko
b652b636b1 dspbios,biosutils: remove remnants of DSP/BIOS, predecessor to SYS/BIOS
DSP/BIOS was the name for older versions of TI-RTOS, prior to SYS/BIOS and
used on older deprecated platforms. Remove any remnants.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:31 -06:00
Denys Dmytriyenko
5196fed3c9 kselftests: remove outdated version in favor of upstream
Newer versions of Linux kernel selftests are available from meta-oe.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:31 -06:00
Denys Dmytriyenko
cdea532764 doxygen: remove outdated version in favor of upstream
It's not BSP core functionality and newer version is available from meta-oe.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:31 -06:00
Denys Dmytriyenko
183896349c meta-ti: remove remaining Keystone1/2 overrides
Cleanup remaining recipes that are used by other platforms from any machine
overrides that still refer to deprecated Keystone1/2 platforms.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:31 -06:00
Denys Dmytriyenko
53f4cdf2ce classes,recipes: remove K1/2 PDK RTOS support, FWs and IPC transports
Remove deprecated support for compiling Keystone1/2 RTOS components and
Linux firmwares using PDK, CSL, etc.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:31 -06:00
Denys Dmytriyenko
dd55815180 recipes-bsp: remove Keystone1/2 LLDs
Low Level Drivers (LLDs) were used by Keystone1/2 to access peripherals by
RTOS and Linux. Remove due to deprecation.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:30 -06:00
Denys Dmytriyenko
edf5e8ca6c conf/machine: remove Keystone1/2 SoC/machine configs
As Keystone1/2 platforms are being deprecated.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:30 -06:00
Denys Dmytriyenko
7ba14c8ddb formfactor: remove beagleboard-specific configs
As beagleboard platform is being deprecated.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:30 -06:00
Denys Dmytriyenko
6b3e9f060f init-ifupdown: remove default /etc/interfaces file for beagleboard
As beagleboard platform is being deprecated.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:30 -06:00
Denys Dmytriyenko
821c4242bb alsa-state: remove asound.state for deprecated beagleboard
As beagleboard is now deprecated and removed from future meta-ti releases.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:30 -06:00
Denys Dmytriyenko
725254c56c abefw: remove OMAP4 Audio Back-End (ABE) firmware
Due to platform deprecation, remove Audio Back-End firmware.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:30 -06:00
Denys Dmytriyenko
fa91f87cb0 ti-ocf-crypto-module: remove OMAP3-specific OCF ctypto module
OMAP3 platforms used OCF-Linux, a Linux port of the OpenBSD/FreeBSD
Cryptographic Framework (OCF) for Crypto HW acceleration. Later, an
alternative Cryptodev-linux API standard became dominant for newer
platforms. Remove deprecated module.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:30 -06:00
Denys Dmytriyenko
ccfad70de8 linuxutils: remove Linux Utils helper package
Linux Utils were used mainly by DMAI on deprecated DaVinci and OMAP3
platforms.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:30 -06:00
Denys Dmytriyenko
d9909b47e8 dmai: remove Davinci Multimedia Application Interface (DMAI)
Was used with deprecated DaVinci, OMAP-L1 and OMAP3 families of platforms.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:30 -06:00
Denys Dmytriyenko
ec16ad9d81 hdvpss: remove DaVinci High-Definition Video Processing Subsystem (HDVPSS)
Due to DaVinci family of platforms being deprecated.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:30 -06:00
Denys Dmytriyenko
cd64b0e064 x-load: remove deprecated first stage X-Loader bootloader
X-Loader was originally used on OMAP3/4 platforms, but eventually got
replaced by U-boot SPL.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:30 -06:00
Denys Dmytriyenko
209da2791f conf/machine: remove SoC/platforms in DaVinci and OMAP3/4 families
Those platforms are being deprecated and not supported in future meta-ti releases.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:30 -06:00
Denys Dmytriyenko
ea5b431bda ti-sgx-ddk-km: patches got merged upstream, update recipe accordingly
Both of the local patches were merged upstream, so update the reecipe to pull
the latest SRCREV and drop those patches from the OE metadata.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Cc: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-18 09:50:56 -06:00
Denys Dmytriyenko
75ff5168d3 ti-img-encode-decode: constrain ti-img-encode-decode test apps to J7
Since corresponding functionality and FW only available on J7.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-17 09:02:52 -06:00
Amjad Ouled-Ameur
7a9ebcf960 conf: am437xx-evm: re-introduce required DTBs for HDMI support
commit ba0ddc5ae9 ("conf: am437xx-evm: Remove non-existent dtb* from
5.10") removed all non-existent dtb* for am437xx-evm as they were not
available on linux 5.10 branch at that time.

This patch reintroduces following HDMI DTBs.
- am437x-gp-evm-hdmi.dtb
- am43x-epos-evm-hdmi.dtb

The required dts have been added to the 5.10LTS by these two following
commits:
- https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/arch/arm/
boot/dts/am437x-gp-evm-hdmi.dts?h=ti-linux-5.10.y&id=25434078d3f93d1346af5
e52e0f150f9083321d8
- https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/arch/arm/
boot/dts/am43x-epos-evm-hdmi.dts?h=ti-linux-5.10.y&id=c5114144b568e470a8f6
e613f7c6e8b88ad19d7e

Signed-off-by: Amjad Ouled-Ameur <aouledameur@baylibre.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-16 08:24:22 -06:00
Khem Raj
dd7e2ac744 ti-sgx-ddk-km: Fix build with kernel 5.10 and musl support
This adds a patch to fix runtime problems loading the kernel module with
kernel 5.10

Adds support to build with musl targets

Add yoe to recognised OE distributions

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Denys Dmytriyenko <denys@konsulko.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-16 08:06:47 -06:00
Nishanth Menon
e9eba33e9e Revert "ti-sci-fw: k3-image-gen: Revert SPL address change for mainline"
This reverts commit d5db414172.

We should'nt have to carry patches for u-boot or kernel, since the
upstream is now fixed since 5.14 kernel and u-boot 2021.10 tag onwards,
lets revert the patch to allow upstream to work with 5.15+ kernel and
2021.10 u-boot (from the already applied commit cae609388f
"recipes-bsp: u-boot-ti-mainline: Update to v2021.10 release").

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 15:21:36 -06:00
Ryan Eatmon
55bb275431 linux-ti-mainline: Bump kernel version to v5.15
This adds up numerous fixes for various k3 platforms.

While at it, bump the ti-upstream-tools repo as this sync up gives us:
config: audio_display: Update cdns-mhdp configs

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 15:21:36 -06:00
Yogesh Siraswar
4cb251338f linux-ti-staging: block sa2ul for am64x hs and j7200 hs device
SA2UL GP driver will not work for HS. Need SA2UL HS driver.
Till it is implemented blacklist sa2ul for am64xx hs and j7200 hs

Suggested-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 15:21:36 -06:00
Yogesh Siraswar
09741461f6 conf: j7200-hs: fix the wrong machine configuration included
j7-evm instead of j7200-evm was included causing boot failure

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 15:21:36 -06:00
Yogesh Siraswar
a2df9cee2b ti-sci-fw: Fix for k3-image-gen issue for combined boot images
This is temporary fix for combined boot images for KIG in meta-ti till
the patch is integrated.

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 15:21:36 -06:00
Praneeth Bajjuri
f8aba53e21 u-boot-ti-staging: Bump u-boot version for 08.01.00.006
u-boot bump for 08.01.00.006 release

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 15:21:36 -06:00
Praneeth Bajjuri
078d970b4f linux-ti-staging: Bump linux version for 08.01.00.006
Bump linux and rt-linux version to 08.01.00.006

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 15:21:36 -06:00
Sidraya
3c771d3e2d videnc-test-app: Add the videnc-test-app recipe
The videnc-test-app provides the video encoder test app
(tienc_encode) for j7-evm.

Signed-off-by: David Huang <d-huang@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 15:21:36 -06:00
Sidraya
97ac4f77c1 viddec-test-app: Add the viddec-test-app recipe
The viddec-test-app provides the video decoder test app
(tidec_decode) for j7-evm.

Signed-off-by: David Huang <d-huang@ti.com>
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 15:21:36 -06:00
Yogesh Siraswar
93754925f6 vxd-dec-fw: Move firmware one folder up in target
The application expects the pvdec_full_bin.fw to be in /lib/fimware
directory.

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 15:21:36 -06:00
Nick Saulnier
c6ee8a5e93 pru-icss_git.bb: update to PSSP v6.0.1
Found a bug in the PRU_ICSSG examples in PSSP v6.0.0, fixed in v6.0.1.

Signed-off-by: Nick Saulnier <nsaulnier@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 15:21:36 -06:00
Denys Dmytriyenko
a8b70d6721 prusw-fw-am65x-sr2: update with the new override syntax
This got accidentally merged from Dunfell with the old syntax, fix it.

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 15:20:09 -06:00
Yogesh Siraswar
20caecba1a j7-hs-evm: Correct image boot file causing build error
Correct the boot image file that is causing build error

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 11:40:51 -06:00
Ryan Eatmon
605d95c51a linux-ti-staging-rt: Bump linux rt version for 08.01.00.005
Bump linux rt version to 08.01.00.005

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 11:40:51 -06:00
Ryan Eatmon
a4ed692d5a linux-ti-staging: Bump linux version for 08.01.00.005
Bump linux for 08.01.00.005 release

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 11:40:51 -06:00
Ryan Eatmon
8421fc60ce u-boot-ti-staging: Bump u-boot version for 08.01.00.005
u-boot bump for 08.01.00.005 release

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 11:40:51 -06:00
Yogesh Siraswar
bdceaa05ac j721e-sr1_1: Add j721e sr1.1 HS support
This patch adds support for J721e HS SR1.1
HS SR1.1 requires updated sysfw binary. Both SR1.0 and SR1.1 sysfw
binary will be generated. sysfw.itb will point to SR1.1

This patch requires J7 SR 1.1 support in K3 Image gen.

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 11:40:51 -06:00
Praneeth Bajjuri
c5e541918b vxd-dec-fw: Add the recipe for vxd-dec-fw
Add the firmware packaging recipe for the video decoder
for j721e.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 11:40:51 -06:00
Yogesh Siraswar
29fe207bec j7200-hs: changes to support new hs platform
Changes to support new j7200 hs platform in:
1) optee: sign the image
2) atf: sign the image
3) u-boot: Add u-boot-spl image for combined boot image
4) ti-sci-fw_git: Update firmware prefix for j7200 hs

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 11:40:51 -06:00
Yogesh Siraswar
21feb29d8b ti-rtos-firmware: Add j7200 hs support
We cannot use j7200 keyword for match b'n j7200-evm and j7200-hs-evm due
to existing j7 keyword, we need to duplicate all the j7200 entries for hs.

Also sign the DM firmware for J7200 similar to J7 HS

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 11:40:51 -06:00
Yogesh Siraswar
f679c92a52 conf: machine: Add j7200 hs platform
Machine conf for J7200 HS platform.
Used am64xx hs and j721e hs as reference.

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 11:40:51 -06:00
Yogesh Siraswar
9207a6294d conf: machine : am65xx: Add missing dtbo
Added missing dtbo k3-am654-evm-ov5640.dtbo required for system test

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 11:40:51 -06:00
Yogesh Siraswar
03caaba391 conf: machine: am64xx: Add missing dtbo
Add missing k3-am642-evm-nand.dtbo required for system test

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 11:40:51 -06:00
Yogesh Siraswar
de1d246c2f am64xx-hs: changes to support new hs platform
Changes to support new am64x hs platform in:
1) optee: sign the image
2) atf: sign the image
3) u-boot: Add u-boot-spl image for combined boot image

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 11:40:51 -06:00
Yogesh Siraswar
8ab51d9a5d ti-sci-fw: changes to build combined boot image for hs build
Added support to build combined boot image for hs build.
This required k3 image gen patch that is already merged.

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 11:40:51 -06:00
Yogesh Siraswar
8fc0161e68 conf: machine: add new am64x hs platform
Add new am64x hs platform. This requires two files to be created.
Used am65x and j7  hs platform for reference.

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 11:40:51 -06:00
Yogesh Siraswar
20196b279f conf: am57xx-evm: Add missing *.dtb and *.dtbo
Add missing dtb and dtbo to deploy folder

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 11:40:51 -06:00
Yogesh Siraswar
480b66f984 ti-linux-fw: Add AUTOREV support for K3 Image Gen
This patch brings k3 image gen under bleeding for nightly builds

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 11:40:51 -06:00
Amjad Ouled-Ameur
f91404f98e recipes-bsp: u-boot-ti-mainline: Update to v2021.10 release
This introduces a critical fix for both AM335X EVM and AM43XX EVM, which
can no longer boot because "uuid" is undefined.

v2021.10 has these two fixes, one for each platform:
- commit ff8f277e9121 ("ti: am335x_evm: Switch to DISTRO_BOOT only")
- commit e0c91ae24e5b ("ti: am43xx_evm: Switch to DISTRO_BOOT only")

Signed-off-by: Amjad Ouled-Ameur <aouledameur@baylibre.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 11:40:51 -06:00
Denys Dmytriyenko
147dc71a2b recipes: update github SRC_URIs
https://github.blog/2021-09-01-improving-git-protocol-security-github/

GitHub is deprecating unauthenticated protocols, including git:// so update
SRC_URIs with protocol=https

Explicitly pass branch=master where omitted, as bitbake now requires it.

While at it, update libion to the latest to eliminate upstreamed patch.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 11:40:51 -06:00
Yogesh Siraswar
f8bb5f84b1 linux-ti-staging-rt: Bump linux rt version for 08.01.00.003
Bump linux rt version to 08.01.00.003

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 11:40:51 -06:00
Yogesh Siraswar
59ab7fde7f linux-ti-staging: Bump linux version for 08.01.00.003
Bump linux for 08.01.00.003 release

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 11:40:51 -06:00
Yogesh Siraswar
af9a95a499 u-boot-ti-staging: Bump u-boot version for 08.01.00.003
u-boot bump for 08.01.00.003 release

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 11:40:51 -06:00
Yogesh Siraswar
0f9929905d ti-linux-fw: Bump k3 image gen to latest
Update k3 image gen to latest.
Bump linux firmware to v2021.09a

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 11:40:51 -06:00
Yogesh Siraswar
4eadcd5ae0 linux-ti-staging-rt: Bump linux rt version for 08.01.00.002 release
Bump linux rt version for 08.01.00.002 release

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 11:40:51 -06:00
Yogesh Siraswar
ae8049d55f linux-ti-staging: Bump linux version for 08.01.00.002
Bump linux version for 08.01.00.002 release

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 11:40:51 -06:00
Yogesh Siraswar
440aab3274 ti-linux-fw: Bump ti linux firmware for 08.01.00.002
Bump ti-linux-fw version for 08.01.00.002 release

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 11:40:51 -06:00
Yogesh Siraswar
89defa67e5 u-boot-ti-staging: Bump u-boot version for 08.01.00.002
Bump u-boot version to 08.01.00.002 release

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-12-15 11:40:51 -06:00
Khem Raj
55e4d2ef11 mpm-transport: Do not use append with += operator
this is undefined behaviour, mant times devs used them together to get
the missing space at the beginning of string which append/prepend needs
but thats not intended behaviour

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-15 20:54:36 +00:00
Hari Nagalla
15326435dd ti-rtos-firmware: Update M4F binary for AM64x SoCs
AM64x SoCs have a Cortex-M4F core in MCU domain. This core is used a
standalone device for safety applications. For non safety applications,
the device is exposed as a remote processor with Linux rpmsg framework.

Signed-off-by: Hari Nagalla <hnagalla@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-11 19:05:55 +00:00
Yogesh Siraswar
cac1d81b98 linux-ti-staging: Bump to 08.01.00.001 release
Updated the linux version for 08.01.00.001

Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-11 19:05:55 +00:00
Yogesh Siraswar
1c5080e941 linux-ti-staging-rt: Bump to 08.01.00.001 release
Updated the linux-rt version for 08.01.00.001

Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-11 19:05:55 +00:00
Yogesh Siraswar
a1a8b11fc8 u-boot-ti-staging: Bump to 08.01.00.001 release
Updated the u-boot version for 08.01.00.001

Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-11 19:05:55 +00:00
Yogesh Siraswar
b59c315bd2 ti-linux-fw: Bump to 08.01.00.001 release
Updated the firmware version for 08.01.00.001

Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-11 19:05:55 +00:00
Sinthu Raja
c883a0a74a conf: j7-evm: Replace eaik dtb with sk to KERNEL_DEVICETREE
The board name for J721E EdgeAI Kit (EAIK) is changed to J721E SK [1],
so replace the eaik dtb with sk dtb file

[1] https://www.ti.com/tool/SK-TDA4VM

Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-11 19:05:55 +00:00
Yogesh Siraswar
7606302918 linux-ti-staging-rt: Bump linux rt version to latest
To merge j7 dtb name change patch need to bump the linux and linux rt
before the point release

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-11 19:05:55 +00:00
Yogesh Siraswar
5fae0af5d9 linux-ti-staging: Bump linux version to latest
To merge the dtb file name change patch in meta-ti for j7 need to bump
linux version

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-11 19:05:55 +00:00
Yogesh Siraswar
19466e99ef ti-sci-fw_git: Fix issue with using gp*.bin for TISCI firmware
With ti-sysfs also hosting *gp-cert.bin for am64x hs-fs breaks gp.
This patch removes * to directly reference the TISCI firmware

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-11 19:05:55 +00:00
Vignesh Raghavedra
4ea19a4b5a prusw-fw-am65x-sr2: Add recipe for ICSSG Switch mode firmware for AM65x SR2.0
Add AM65x SR2.0 ICSSG Switch firmware. Base version is 02.02.09.06

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-11 19:05:55 +00:00
Nick Saulnier
bd273ee281 pru-icss_git.bb: add AM64x, update to PSSP v6.0.0
PRU Software Support Package (PSSP) v6.0.0 should be included in Linux Processor
SDK 8.1 for AM335x, AM437x, AM57x (if generated), AM64x, AM65x under
example-applications. For the release notes that come with v6.0.0, see
https://git.ti.com/cgit/pru-software-support-package/pru-software-support-package/tag/?h=v6.0.0

Linux Processor SDK 8.1 will be the first AM64x SDK release to include the PSSP.

PRU firmware will also be generated and placed in the default filesystem under
lib/firmware/pru.

Signed-off-by: Nick Saulnier <nsaulnier@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-11 19:05:55 +00:00
Yogesh Siraswar
d3cb55e783 ti-linux-fw: AUTOREV support for ti-linux-fw
Adds AUTOREV support for ti-linux-fw for nightly builds.
Requires corresponding change in meta-arago branding-bleeding.inc

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-05 23:48:09 +00:00
Yogesh Siraswar
82ed77e4d6 ti-linux-fw: Support common inc for all firmware
Change to support common INC for all firmware
This will help with:
1) Eliminating requirement to change multiple recipes for firmware
update
2) This will help support AUTOREV

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-05 23:48:09 +00:00
Hari Nagalla
9f3bff1642 ipc: ti-rpmsg-char: Update library to 0.3.1
Update the ti-rpmsg-char library to 0.3.1 version that enables the
support for the M4F remote processor on AM64x SoCs.

Signed-off-by: Hari Nagalla <hnagalla@ti.com>
Reviewed-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-05 23:48:09 +00:00
Yogesh Siraswar
2f616d3dc4 conf: am57xx-evm: ReIntroduce existent dtb* for 5.10
This reverts commit 43bf0f36a3.
Added dtb and dtbo for am57xx

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-05 23:48:09 +00:00
Yogesh Siraswar
69b0c997ea conf: dra7xx-evm: ReIntroduce existent dtb* for 5.10
This reverts commit 8bdfe1413c.
Introduces existent dtb and dtbo for dra7x

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-05 23:48:09 +00:00
Yogesh Siraswar
665de4e0bf conf: omap-a15: fix the dtb file path for extlinux boot
The uboot extlinux is using kernel device tree variable to populate the
dtb files. The error occurs if the device tree files are in ti folder
since there is no ti folder in deploy directory. Fix the kernel device
tree path before using in the uboot extlinux.

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-05 23:48:09 +00:00
Yogesh Siraswar
a27fffffd7 linux-ti-staging-rt: Update SRCREV to 5.10.65
Update SRCREV to 5.10.65

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-05 23:48:09 +00:00
Yogesh Siraswar
dce2f6cfc6 linux-ti-staging: Update SRCREV to 5.10.65
Update linux to 5.10.65

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-05 23:48:09 +00:00
Tom Rini
993d80764d conf: Add extlinux.conf support on some 32bit platforms
To make use of the "generic distro boot" support in U-Boot, an
extlinux.conf file needs to be generated and reside in the extlinux
directory.  The extlinux.conf file will be parsed by U-Boot and the
"append" line will be evaluated and expanded and used entirely as the
bootargs passed to the kernel.  Our generated extlinux.conf states
that the kernel image and device trees live one level up (so the root
directory) from it, so populate that location with our kernel and device
trees.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-05 23:48:09 +00:00
Tom Rini
f2d9882e17 conf/machine: k3: Enable grub-efi by default in wic images
All of our platforms here support running EFI binaries.  We can have wic
generate a simple grub.cfg file for us that will find the root partition
via PARTUUID and utilize the device tree that is already discoverable
via the EFI configuration tables.  Assuming the EFI loader is U-Boot,
this device tree can be replaced at run-time by the normal mechanism of
loading in to memory and passing that address as an argument to bootefi.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-05 23:48:09 +00:00
Denys Dmytriyenko
88f48e7cfa powervr-drivers: teach modules_install to respect "usrmerge" distro feature
https://www.freedesktop.org/wiki/Software/systemd/TheCaseForTheUsrMerge/

When "usrmerge" distro feature is enabled, root directories /bin, /sbin, /lib
are simply symlinks pointing to their counterparts in /usr. Hence, modules
should be installed accordingly into /usr/lib/modules/...

Since IMG Makefiles don't take the direct target directory, such as
${nonarch_base_libdir}/modules/, adjust the top-level rootfs path instead.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Reported-by: Vivien Didelot <vdidelot@pbsc.com>
Tested-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-04 11:44:03 +00:00
Phil Sutherland
28d179d01a meta-ti: Fix several errors introduced during override syntax changes
Signed-off-by: Phil Sutherland <phil@sutherland.id.au>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-10-18 06:34:08 -05:00
Praneeth Bajjuri
67e95742fc linux-ti-staging: Update 5.10 kernel to 5.10.59
Update linux 5.10 to 5.10.59 stable

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-09-10 18:37:47 +00:00
Khem Raj
1a0d097261 machines: Adjust to use new location of tune files in oe-core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Tested-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-08-19 09:41:14 +00:00
Denys Dmytriyenko
e21c11b4a4 meta-ti: convert to new override syntax in honister
Upcoming "honister" release changes the override syntax to improve usability,
speed and memory footprint. Update recipes with the new syntax and set layer
compatibility to honister.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Tested-by: Paul Barker <paul.barker@sancloud.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-08-17 11:21:54 +00:00
Yogesh Siraswar
f56051c9a8 ti-rtos-firmware: Update PATH to include ti-sci-fw
Build is failing for ti-rtos-firmware when ARAGO_BRAND = "mainline"
with below error:
"ERROR: ti-rtos-firmware-08.00.00.32-r0.0 do_fetch: Fetcher failure:
Unable to find file file://0001-Revert-soc-am64x-Makefile-Move-the-
SPL-Load-address-.patch;patchdir=../imggen anywhere."

This is because the mentioned patch is not present in the current path.
Fix this by updating the path to include ti-sci-fw

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-08-09 14:09:05 +00:00
Yogesh Siraswar
0da40c138f ti-rtos-firmware: Add soft link to the rtos firmware binaries
Changes for firmware update( eff643e5 ti-rtos-firmware: update the
source to ti-linux-firmware) were in-complete without soft link.
1) Added soft link missing for the rtos firmware.
2) Updated the IPC am64x firmware name to be consistent with 7.3

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Tested-by: Grygorii Strashko <grygorii.strashko@ti.com>
2021-07-27 22:05:35 +00:00
Yogesh Siraswar
eccc3fc877 linux-ti-staging-rt: Update linux rt to 08.00.00.004 release
Changes to pick 08.00.00.004 release tag

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-27 22:05:35 +00:00
Yogesh Siraswar
e68b92a46e linux-ti-staging: Update linux to 08.00.00.004 release
Changes to pick the 08.00.00.004 release tag

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-27 22:05:35 +00:00
Yogesh Siraswar
a5005320c0 u-boot-ti-staging: Updated the u-boot to 08.00.00.004 release
Changes to pick 08.00.00.004 release tag

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-27 22:05:35 +00:00
Yogesh Siraswar
0bf2541bca ti-sci-fw: Update to fix ipc firmware load issue
These are the complete changes in the patch
1) Updated the firmware to fix IPC load issue due to resource_table
placement
2) Added the INC_PR
3) Updated the RTOS version

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-27 22:05:35 +00:00
Vignesh Raghavedra
b80ab4ba87 prueth-fw-am65x-sr2: Update firmware to 02.02.09.03
Update AM65x SR2.0 prueth firmware to 02.02.09.03 that adds support for
100M HD mode.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-27 22:05:35 +00:00
Yogesh Siraswar
d3bee129f8 ti-sci-fw: Update ti-linux-firmware srcrev to 08.00.00.003
Update ti-linux-firmware to pick 08.00.00.003

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-27 22:05:35 +00:00
Yogesh Siraswar
1f5a7c5e8e linux-ti-staging-rt: Update linux-rt srcrev to 08.00.00.003
Updated the linux-rt to pick 08.00.00.003 tag

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-27 22:05:35 +00:00
Yogesh Siraswar
27e4b9ff60 linux-ti-staging: Update the linux srcrev to 08.00.00.003
Updated the linux branch to pick 08.00.00.003 tag

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-27 22:05:35 +00:00
Yogesh Siraswar
cfb35f8f27 u-boot-ti-staging: Update the u-boot srcrev to 08.00.00.003
Update the u-boot to pick tag 08.00.00.003

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-27 22:05:35 +00:00
Yogesh Siraswar
e33cc2c56e ti-rtos-firmware: update the source to ti-linux-firmware
This is temporary change to pick the 08.00.00.026 firmware from
ti-linux-firmware repos:
1) Using the ti-sci-fw to pick the latest firmware and support AUTOREV
in future
2) Kept the destination folder name same to avoid wide-spead changes to
other recipes. Since that will be changed as part of over-all clean-up

TODO:
1) Re-structure rtos firmware repo and update all dependent firmware recipes.
2) Fix the destination folder name to match src folder

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-27 22:05:35 +00:00
Denys Dmytriyenko
4c4cb8ecf2 ti-img-rogue-driver: unify with dunfell and fix double-patching
There was a discrepancy between master and dunfell where 2 different versions
of the same patch existed, so when syncing branches, it resulted in appying
the same change twice. This cleans it up.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-27 21:08:04 +00:00
Theodore A. Roth
951c222f2f wic: Set a fixed size for boot partition in wic image
The beagleboneai is not loading the MLO without this change.

A similar change was needed in meta-yocto-bsp for the beaglebone black
due to the updating of dosfstools to 4.2 in Hardknott.

[Yocto #14306]

(See also meta-yocto rev: 0c679ac53b52e631a7c961872ce58f5cf74b8629)

Signed-off-by: Theodore A. Roth <troth@openavr.org>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-27 18:16:41 +00:00
Denys Dmytriyenko
1eae9060a5 ti-img-rogue-driver: support OE nodistro toolchain same as Poky
Add OpenEmbedded "nodistro" internal toolchain triplet detection similar to
corresponding Poky one.

Cc: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-14 18:11:08 +00:00
Nishanth Menon
c4a33c8fcf recipes-bsp: u-boot-ti-mainline: Update to v2021.07 release
Update u-boot recipe to be on the latest official upstream tag.

This introduces initial support for AM64x which works with v5.13
kernel tag.

Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-14 14:46:43 +00:00
Sinthu Raja
1d4b333354 conf: j7-evm: Add j721e eaik dtb to KERNEL_DEVICETREE
J721E EdgeAI Kit (EAIK) is a low cost, small form factor board designed
for TI’s J721E SoC. TI’s J721E SoC comprises of dual core A72, high
performance vision accelerators, video codec accelerators, latest C71x
and C66x DSP, high bandwidth real-time IPs for capture and display,
GPU, dedicated safety island and security accelerators.

J721E EAIK supports the following interfaces:
* 4 GB LPDDR4 RAM
* x1 Gigabit Ethernet interface
* x1 USB 3.0 Type-C port
* x3 USB 3.0 Type-A ports
* x1 PCIe M.2 E Key
* x1 PCIe M.2 M Key
* x2 CSI2 Camera interface (RPi and TI Camera connector)
* 40-pin Raspberry Pi compatible GPIO header

J721e EVM and EAIK uses the unified bootloader. Add j721e eaik dtb
for machine=j721e-evm

Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-14 14:46:43 +00:00
Yogesh Siraswar
f9940de034 ti-sci-fw: Update linux firmware repo to 08.00.00.002
Update linux firmware repo to 08.00.00.002

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-13 18:47:28 +00:00
Yogesh Siraswar
02ca7d6034 u-boot-ti-staging: Update to 08.00.00.002 release tag
Update to 08.00.00.002 release tag

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-13 18:47:06 +00:00
Yogesh Siraswar
744f6ff7f5 linux-ti-staging-rt: Update to 08.00.00.002 release tag
Update to 08.00.00.002 release

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-13 18:45:05 +00:00
Yogesh Siraswar
1e6c0bd195 linux-ti-staging: Update to 08.00.00.002 release tag
Update to 08.00.00.002 release tag

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-13 18:43:39 +00:00
Nishanth Menon
123c3df365 linux-ti-mainline: Bump kernel version to v5.13
And lets work with the latest kernel and while at it bump the system up
to latest ti-upstream-tools repo to get:
* AM65x SR1.0 overlay support
* EFI configuration to allow for the eventual support
* Few more cleanups for new architectures that have popped in.

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-13 18:41:39 +00:00
Nishanth Menon
1cb784fd95 ti-sci-fw: k3-image-gen: Revert SPL address change for mainline
Commit 02a2433c ("ti-sci-fw: Update image gen to latest") switched to a
newer commit in k3-image-gen that also picked up TISCI firmware release,
However, does include a change where the SPL address changed.

This switch in address has been queued for upstream in a future release
(v5.14 + u-boot 2021.10) and current mainline formal tags do not support
this address change. As a result, we have a broken AM64x mainline
support.

Revert this specific change from k3-image-gen for mainline alone for
now.

NOTE: This uses ARAGO_BRAND=mainline which is NOT accurate for meta-ti
which is distro independent, hence without appropriate changes while
using alternate distros, this change will not take effect.

Reported-by: Tom Rini <trini@konsulko.com>
Suggested-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-13 18:41:39 +00:00
Nishanth Menon
3533f776d9 ti-sci-fw: Update linux firmware repo to 08.00.00.001
Just updating imggen to a configuration compatible with latest firmware
should not have been accepted, we should have ensured that firmware
commit has moved correspondingly as well. Fix the same, else we get a
broken system.

Fixes: 406f599822 ("ti-sci-fw: Update imggen to release 08.00.00.001 tag")

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Praneeth Bajjuri <praneeth@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-13 18:41:24 +00:00
Lokesh Vutla
5270ee88ab prueth-fw: Update prueth dual emac firmware to 5.6.15
Update the Prueth Dual Emac firmware to 5.6.15 version

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-13 18:38:25 +00:00
Lokesh Vutla
bc1f6b16e8 prusw-fw: Update switch firmwares to 3.2.9 version
Update prueth switch firmwares to 3.2.9 version

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-13 18:38:25 +00:00
Yogesh Siraswar
6ede945575 ti-sci-fw: Update imggen to release 08.00.00.001 tag
Update imggen for release 08.00.00.001 tag

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-13 18:36:50 +00:00
Nikhil Devshatwar
e93a7df55e recipes-bsp: ivshmem: Remove ivshmem packages
Jailhouse support is dropped for K3 platforms. So the ivshmem
(inter VM shared memory) based UIO driver and test applications
cannot be build and are not required.

Remove the recipes for the same.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-13 18:18:51 +00:00
Nikhil Devshatwar
eaf17ed1ed recipes-kernel: jailhouse: Remove jailhouse recipe
Jailhouse support is dropped for K3 platforms, remove the
recipe and corresponding patches.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-13 18:17:41 +00:00
Grygorii Strashko
7a8f68803e prueth-fw-am65x-sr2: Updating firmware to 02.02.09.02
Update AM65x SR2.0 prueth firmware to 02.02.09.02

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-13 18:00:17 +00:00
Grygorii Strashko
1a7b96b492 prueth-fw: am65x: SR1.0: Package the firmware images from ti-linux-firmware
Directly take the images from ti-linux-firmware instead of using pdk build,
due to inconsistency of PDK releases vs Linux SDK releases vs different
SoCs.

Update to FW version: REL.CORESDK.08.00.00.20

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-13 17:59:46 +00:00
Praneeth Bajjuri
532154149d trusted-firmware-a: Update to v2.5
Update to v2.5 tag merge from upstream to keep TF-A in sync.

For major changes in trusted-firmware-a, See:
https://trustedfirmware-a.readthedocs.io/en/latest/change-log.html#version-2-5

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-13 17:57:20 +00:00
Praneeth Bajjuri
15f5bd9753 conf: am65xx-evm: ReIntroduce display overlays for 5.10
commit 9ea50db095 ("conf: am65xx-evm: Remove non-existent dtb* from 5.10")
removed all non-existent dtb* for am65xx-evm as they were not
available on linux 5.10 branch at that time.

This patch reintroduces following display overlays.
- k3-am654-evm-tc358876.dtbo
- k3-am654-evm-oldi-lcd1evm.dtbo

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-13 17:46:39 +00:00
Praneeth Bajjuri
f755d73809 conf/machine: am64xx: Add overlay to support icssg1-dualemac
This patch adds overlay to support icssg1-dualemac
ie: 1 x CPSW3g ports and 2 x ICSSG1 ports configuration

overlay: k3-am642-evm-icssg1-dualemac.dtbo

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-13 17:45:48 +00:00
Grygorii Strashko
9647d51277 prueth-fw: am64xx-evm: add prebuilt PRU Ethernet FW
Add prebuilt PRU Ethernet FW for am64xx-evm which is the same as
for AM65x SR2.0.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Reviewed-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-13 17:43:36 +00:00
Praneeth Bajjuri
2c379a603c conf: j7-evm: ReIntroduce existent dtbo for 5.10
commit 8b206b32ec ("conf: j7-evm: Remove unavailable dtb/o from 5.10 kernel")
removed all non-existent dtb* for j7-evm as they were not
available on linux 5.10 branch at that time.

This patch reintroduces k3-j721e-common-proc-board-infotainment.dtbo overlay.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-13 17:42:12 +00:00
Yogesh Siraswar
1f0e915356 linux-ti-staging: Add extra dtc flags to support dtb overlays
Added KERNEL_DTB_OVERLAY_SUPPORT to common ti-soc include. This fixes the issue
where the dtbs are build without symbols causing issue with overlays.

Please note this increases the size of the dtb for all platform
derived from ti-soc. So for custom boards disable it from local.conf to
reduce size.

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-07-13 17:39:04 +00:00
Praneeth Bajjuri
9ada213d1e ti-rtos-firmware: sign DM firmware for J721e HS platform
U-boot build process requires DM firmware to be signed for J7 HS.
It's better for ti-rtos-firmware package (that delivers DM firmware) to sign
it once and provide signed version to other packages, instead of U-boot needing
to re-sign it during build in staging location.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2021-07-13 16:43:48 +00:00
Lokesh Vutla
d54da74494 machine: am64xx-sk: Drop am64xx-sk Machine support
With U-Boot supporting both am64xx-evm and am64xx-sk with single
defconfig, there is not need for a new machine for am64xx-sk.

So, drop support for am64xx-sk machine.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
2021-05-17 22:35:15 -05:00
Lokesh Vutla
0db194a572 conf/machine: am64xx: Include SK dtb for machine am64xx-evm
As a step towards unification for am64xx-evm and am64xx-sk,
start including am64xx-sk dtb for machine=am64xx-evm.

Once U-Boot merges support for unified bootloader, am64xx-sk
machine can be dropped.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
2021-05-17 22:35:04 -05:00
Praneeth Bajjuri
ef48d2b3a0 ti-uboot-staging: Update to the latest ti-u-boot-2021.01
Update to the latest commit of ti-u-boot-2021.01

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-17 22:34:40 -05:00
Praneeth Bajjuri
95f00d3a6b linux-ti-staging: Update 5.10 kernel to the latest commit SHA
Update 5.10 kernel to the latest commit SHA

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-17 22:34:21 -05:00
Praneeth Bajjuri
43eb651f09 ti-uboot-staging: Update to the latest ti-u-boot-2021.01
Update to the latest commit of ti-u-boot-2021.01

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-17 22:34:15 -05:00
Gowtham Tammana
d95593b973 ti-sgx-ddk-km: Update srcrev to pick rt kernel build fix
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
2021-05-17 22:33:55 -05:00
Nishanth Menon
30335d90a1 linux-ti-mainline: Bump kernel version to v5.12
And lets work with the latest kernel

Signed-off-by: Nishanth Menon <nm@ti.com>
2021-05-04 23:20:38 -05:00
Nishanth Menon
4df0624568 recipes-bsp: u-boot-ti-mainline: Update to v2021.04 release
Update u-boot recipe to be on the bleeding upstream tag.

While at it, also update the u-boot source url to point to the new
server as per [1].

While it may be redundant, lets document the usage of URI and
PROTOCOL for those, who (cough), may get tripped otherwise.

[1] a3bbd0b912

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
2021-05-04 23:20:38 -05:00
Praneeth Bajjuri
5d790a8902 conf: am65xx-evm: ReIntroduce AM65 SR1.0 overlay
ReIntroduce AM65x SR1.0 Overlay as the support for it
is added in the ti-linux-5.10.y kernel now.

Reviewed-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-04 23:20:38 -05:00
Praneeth Bajjuri
94a123fd34 linux-ti-staging: Update 5.10 kernel to 5.10.30
Update linux 5.10 to 5.10.30 stable.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-04 23:20:38 -05:00
Praneeth Bajjuri
ed5c495960 ti-uboot-staging: Update to the latest ti-u-boot-2021.01
Update to the latest commit of ti-u-boot-2021.01

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-04 23:20:38 -05:00
Praneeth Bajjuri
cf68e38e42 conf: am65xx-evm: ReIntroduce existent dtbo for 5.10
commit 9ea50db095 ("conf: am65xx-evm: Remove non-existent dtb* from 5.10")
removed all non-existent dtb* for am65xx-evm as they were not
available on linux 5.10 branch at that time.

This patch reintroduces overlays present current on ti-linux-5.10.y kernel.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-04 23:20:38 -05:00
Praneeth Bajjuri
604a4ecfdd linux-ti-staging: Update 5.10 kernel to the latest commit SHA
Update 5.10 kernel to the latest commit SHA

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-04 23:20:38 -05:00
Praneeth Bajjuri
8d1088184b ti-sci-fw: Update image gen and linux-firmware to latest
update image gen and linux-firmware projects to latest commit

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-04 23:20:32 -05:00
Gowtham Tammana
b6577ffaa4 ti-gc320-driver: update branch for 5.10
Update branch and srcrev for picking up 5.10 branch.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-04 23:19:24 -05:00
Praneeth Bajjuri
b06174509c linux-ti-staging: Update 5.10 kernel to the latest commit SHA
Update 5.10 kernel to the latest commit SHA

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-04 23:19:24 -05:00
Praneeth Bajjuri
41c29756f2 ti-uboot-staging: Update to the latest ti-u-boot-2021.01
Update to the latest commit of ti-u-boot-2021.01

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-04 23:19:24 -05:00
Praneeth Bajjuri
85217b1032 cmem: Update to new version 4.20.00.01
The update brings the fix for 5.10.x linux kernel.
commit c0039f1fec25 ("cmemk: Fix 5.10 build errors for non Keystone2 platforms")
commit 8aba20e20bf7 ("cmemk: Fix build errors for 5.10+ kernels")

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
2021-05-04 23:19:24 -05:00
Praneeth Bajjuri
c5bffc7217 uio-module-drv: Build fix for linux kernel 5.10
This update contains build fix for linux kernel 5.10
* uio-module-drv: Replace ioremap_nocache with ioremap

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Reviewed-by: Gowtham Tammana <g-tammana@ti.com>
2021-05-04 23:19:24 -05:00
Praneeth Bajjuri
78b8829d42 dsptop: bump SRCREV for kernel 5.10 build fix
bump SRCREV to latest to pick build fix for 5.10 kernel.
this update picks
commit 816485e68430 ("Merge pull request #1 in DBG/dsptop from for-5.10 to master")

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
2021-05-04 23:19:24 -05:00
Praneeth Bajjuri
bbfb4c2b30 gdbc6x: bump SRCREV for kernel 5.10 build fix
bump SRCREV to latest to pick build fix for 5.10 kernel.
this update picks
commit dd0c82fb5763 ("Merge pull request #1 in DBG/gdbc6x from for-5.10 to master")

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
2021-05-04 23:19:24 -05:00
Praneeth Bajjuri
56d1503c99 ti-sci-fw: Update image gen to latest
update image get to latest

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-04 23:14:24 -05:00
Praneeth Bajjuri
d1a3d72cc9 conf: dra7xx-evm: Remove non-existent dtb* from 5.10
Remove the non-existent dtb* , as they are not currently present on
ti-linux-5.10.y.

-    dra7-evm-lcd-osd101t2045.dtb
-    dra7-evm-lcd-osd101t2587.dtb
-    dra71-evm-nand.dtb
-    dra71-evm-lcd-auo-g101evn01.0.dtb
-    dra72-evm-lcd-osd101t2045.dtb
-    dra72-evm-lcd-osd101t2587.dtb
-    dra72-evm-revc-lcd-osd101t2045.dtb
-    dra72-evm-revc-lcd-osd101t2587.dtb
-    dra76-evm-tfp410.dtb

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-04 23:12:29 -05:00
Praneeth Bajjuri
ff8b89ffd7 conf: am57xx-evm: Remove non-existent dtb* from 5.10
Remove the non-existent dtb* , as they are not currently present on
ti-linux-5.10.y.

-    am57xx-evm-cam-ov10635.dtb
-    am57xx-evm-reva3-cam-ov10635.dtb
-    am571x-idk-lcd-osd101t2045.dtb
-    am571x-idk-lcd-osd101t2587.dtb
-    am572x-idk-lcd-osd101t2045.dtb
-    am572x-idk-lcd-osd101t2587.dtb
-    am574x-idk-lcd-osd101t2587.dtb

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-04 23:12:29 -05:00
Praneeth Bajjuri
ad9cf7625a conf: am437xx-evm: Remove non-existent dtb* from 5.10
Remove the non-existent dtb* , as they are not currently present on
ti-linux-5.10.y.

-    am437x-gp-evm-hdmi.dtb
-    am43x-epos-evm-hdmi.dtb

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-04 23:12:29 -05:00
Praneeth Bajjuri
7930ee0b4b conf: am335x-evm: Remove non-existent dtb* from 5.10
Remove the non-existent dtb* , as they are not currently present on
ti-linux-5.10.y.

-    am335x-icev2-prueth.dtb

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-04 23:12:29 -05:00
Praneeth Bajjuri
d8b15f8c2a conf: k2g-evm: Remove keystone-k2g-evm-lcd.dtb from 5.10
Remove the non-existent dtb, as they are not currently present on
ti-linux-5.10.y.

-    keystone-k2g-evm-lcd.dtb

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-04 23:12:29 -05:00
Praneeth Bajjuri
7d989f27a4 conf: am65xx-evm: Remove non-existent dtb* from 5.10
Remove the non-existent dtb* , as they are not currently present on
ti-linux-5.10.y.

-    ti/k3-am654-base-board-sr1.dtb
-    ti/k3-am654-gp.dtbo
-    ti/k3-am654-idk.dtbo
-    ti/k3-am654-idk-sr1.dtbo
-    ti/k3-am654-evm-hdmi.dtbo
-    ti/k3-am654-evm-oldi-lcd1evm.dtbo
-    ti/k3-am654-evm-tc358876.dtbo
-    ti/k3-am654-pcie-usb2.dtbo
-    ti/k3-am654-pcie-usb3.dtbo
-    ti/k3-am654-base-board-jailhouse.dtbo
-    ti/k3-am654-evm-prupwm.dtbo

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-04 23:12:29 -05:00
Praneeth Bajjuri
e24300097b conf: j7200-evm: Remove jailhouse overlay from 5.10 kernel
Remove jailhouse overlay as it is not currently available in
ti-linux-5.10.y branch.

Removing for now, and shall be added back once they are
available in 5.10 kernel.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-04 23:12:29 -05:00
Praneeth Bajjuri
bd15990e2e conf: j7-evm: Remove unavailable dtb/o from 5.10 kernel
The following dtb/o are not currently available in
ti-linux-5.10.y branch.

Removing for now, and shall be added back once they are
available in 5.10 kernel.

-    ti/k3-j721e-proc-board-tps65917.dtb
-    ti/k3-j721e-common-proc-board-infotainment.dtbo
-    ti/k3-j721e-pcie-backplane.dtbo
-    ti/k3-j721e-common-proc-board-jailhouse.dtbo

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-04 23:12:29 -05:00
Praneeth Bajjuri
321f65b869 linux-ti-staging: Update 5.10 kernel to 5.10.21
Update linux 5.10 to 5.10.21 stable.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-04 23:12:29 -05:00
Praneeth Bajjuri
3f2fefefbb Revert "linux-ti-staging-5.10: With the kernel being AUTOREV'd remove the minor version"
This reverts commit a0ee3effd6.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-04 23:12:29 -05:00
Praneeth Bajjuri
acd6b6f8a5 ti-uboot-staging: Update to the latest ti-u-boot-2021.01
Update to the latest commit of ti-u-boot-2021.01

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-04 23:12:29 -05:00
Praneeth Bajjuri
01d03d5507 Revert "linux-ti-staging, u-boot-ti-staging: lower default preference"
This reverts commit a0e26c1caf.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-05-04 23:12:29 -05:00
Gowtham Tammana
b9f3d92a56 ti-sgx-ddk-um: Update srcrev to pick latest
The eglplatform.h header is updated to account for deprecation of
MESA_EGL_NO_X11_HEADERS macro. Update srcrev to pick this change.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
2021-05-04 23:12:29 -05:00
Gowtham Tammana
812f360c9c ti-sgx-ddk-km: update srcrev to pick 5.10
Update the srcrev to pick the k5.10 development branch sources.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
2021-05-04 23:12:29 -05:00
Zan Dobersek
69892a7046 ti-sgx-ddk-km: properly handle arm-poky-linux-gnueabi compiler prefix
The additional patch for ti-sgx-ddk-km remaps the arm-oe-linux-gnueabi prefix
to the arm-linux-gnueabihf preferred target. Same should be done for the
arm-poky-linux-gnueabi prefix.

Signed-off-by: Zan Dobersek <zan@falconsigh.net>
Reviewed-by: Gowtham Tammana <g-tammana@ti.com>
2021-05-04 23:12:29 -05:00
Gowtham Tammana
b834fd8c0b ti-img-rogue-umlibs: update branch to pick 5.10
Update the branch name to pick 5.10 development branch. The srcrev
remains the same at this point.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
2021-05-04 23:12:29 -05:00
Gowtham Tammana
42e7da7618 ti-img-rogue-driver: update srcrev to pick 5.10 branch
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
2021-05-04 23:12:29 -05:00
Denys Dmytriyenko
d57824e2a8 README: update maintainers
Noticed maintainers list was outdated.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-09 10:52:55 -05:00
Denys Dmytriyenko
46a0db489a common-csl-ip-rtos: drop unnecessary dependency on ti-sysbios
It appears common-csl-ip-rtos does not require ti-sysbios dependency to build,
but ti-pdk.bbclass adds it by default. While most of PDK-based components do
require ti-sysbios to be built from sources, it is safe to remove it from CSL,
reducing the dependency tree for special cases like PRU FW based on CSL, but
not needing ti-sysbios.

This only affects firmwares built from sources against PDK and CSL, not when
RTOS firmwares are delivered in binary form for newer K3 platforms.

Build-tested on am335x, am57xx, k2g and am65xx.

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
2021-04-09 10:52:50 -05:00
Denys Dmytriyenko
25d5b86f9e cuia: suppress installed-vs-shipped QA error
Fixes:
ERROR: cuia-1.0.0.13-r0 do_package: QA Issue: cuia: Files/directories were installed but not shipped in any package:
  /usr/lib/gnu.targets.arm.rtsv5T.av5T
  /usr/lib/syscalls.am3g
  /usr/lib/gnu.targets.codesourcery.rtsv5T.a470MV
  /usr/lib/syscalls.am4g
  /usr/lib/gnu.targets.codesourcery.rtsv6.av6
  /usr/lib/gnu.targets.arm.rtsv7A.av7A
  /usr/lib/syscalls.am4fg
  /usr/lib/gnu.targets.arm.rtsv7M.am4fg
  /usr/lib/gnu.targets.arm.rtsv7M.am4g
  /usr/lib/boot.am3g
  /usr/lib/gnu.targets.arm.rtsv7M.am3g
  /usr/lib/gnu.targets.arm.rtsv6.av6
  /usr/lib/boot.am4fg
  /usr/lib/boot.am4g
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
cuia: 14 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2021-04-05 23:07:53 -05:00
Denys Dmytriyenko
cb96a83517 multiprocmgr-test: suppress ldflags and staticdev QA errors
Resolves:
QA Issue: File /usr/share/ti/examples/mpm/test/filetestdemo/host/bin/demo_filetest in package multiprocmgr-test doesn't have GNU_HASH (didn't pass LDFLAGS?)
QA Issue: non -staticdev package contains static .a library: multiprocmgr-test path '/usr/share/ti/examples/mpm/test/filetestdemo/bufmgr/lib/bufmgr.a' [staticdev]

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2021-04-05 23:07:50 -05:00
Denys Dmytriyenko
8caa7f04b9 edma3-lld: suppress ldflags QA error
Resolves:
QA Issue: File /usr/lib/libedma3rm.so.1.0.0 in package edma3-lld doesn't have GNU_HASH (didn't pass LDFLAGS?)
QA Issue: File /usr/lib/libedma3.so.1.0.0 in package edma3-lld doesn't have GNU_HASH (didn't pass LDFLAGS?) [ldflags]
QA Issue: File /usr/bin/edma3_drv_c66ak2e_a15_sample_a15host_release.xa15fg in package edma3-lld-test doesn't have GNU_HASH (didn't pass LDFLAGS?)
QA Issue: File /usr/bin/edma3_drv_6638k2k_a15_sample_a15host_release.xa15fg in package edma3-lld-test doesn't have GNU_HASH (didn't pass LDFLAGS?)
QA Issue: File /usr/bin/edma3_drv_6636k2h_a15_sample_a15host_release.xa15fg in package edma3-lld-test doesn't have GNU_HASH (didn't pass LDFLAGS?)
QA Issue: File /usr/bin/edma3_drv_6630k2l_a15_sample_a15host_release.xa15fg in package edma3-lld-test doesn't have GNU_HASH (didn't pass LDFLAGS?) [ldflags]

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2021-04-05 23:07:49 -05:00
Denys Dmytriyenko
148e56b823 vis: suppress "ldflags" QA error
It is a pre-built binary, hence no control over passing correct LDFLAGS.
This used to be a warning and recently became an error. Fixes:
ERROR: vis-01.50.07.15-r1 do_package_qa: QA Issue: File /usr/bin/RadioApp in package vis doesn't have GNU_HASH (didn't pass LDFLAGS?) [ldflags]

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2021-04-05 23:07:47 -05:00
Denys Dmytriyenko
2f6daf931b {qmss, cppi, srio, pa, sa}-lld-test: suppress gcc10 multiple definition of fw_qmss*
Workaround for these:
.../ti/drv/cppi/test/k2h/armv7/linux/fw_main.c:50: multiple definition of `coreNum';
./obj/k2h/cppi/test/cppi_test.o:.../ti/drv/cppi/test/src/cppi_test.c:102: first defined here
.../ti/drv/cppi/test/k2h/armv7/linux/fw_main.c:50: multiple definition of `errorCount';
./obj/k2h/cppi/test/cppi_test.o:.../ti/drv/cppi/test/src/cppi_test.c:102: first defined here
.../ti/drv/cppi/test/k2h/armv7/linux/fw_test.h:85: multiple definition of `fw_passCfgVaddr';
./obj/k2h/cppi/test/cppi_test.o:.../ti/drv/cppi/test/k2h/armv7/linux/fw_test.h:85: first defined here
.../ti/drv/cppi/test/k2h/armv7/linux/fw_test.h:84: multiple definition of `fw_srioCfgVaddr';
./obj/k2h/cppi/test/cppi_test.o:.../ti/drv/cppi/test/k2h/armv7/linux/fw_test.h:84: first defined here
.../ti/drv/cppi/test/k2h/armv7/linux/fw_test.h:83: multiple definition of `fw_qmssDataVaddr';
./obj/k2h/cppi/test/cppi_test.o:.../ti/drv/cppi/test/k2h/armv7/linux/fw_test.h:83: first defined here
.../ti/drv/cppi/test/k2h/armv7/linux/fw_test.h:82: multiple definition of `fw_qmssCfgVaddr';
./obj/k2h/cppi/test/cppi_test.o:.../ti/drv/cppi/test/k2h/armv7/linux/fw_test.h:82: first defined here

Needs to be fixed properly later:
https://gcc.gnu.org/gcc-10/porting_to.html

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2021-04-05 23:07:46 -05:00
Denys Dmytriyenko
9b78dbdc1d mpm-transport: suppress gcc10 multiple definiton of fw_qmss*
Workaround for these:
qmss/mpm_transport_qmss_interface.so:(.bss+0x0): multiple definition of `fw_qmssCfgVaddr'; mpm_transport.so:(.bss+0x0): first defined here
qmss/mpm_transport_qmss_interface.so:(.bss+0x4): multiple definition of `fw_qmssDataVaddr'; mpm_transport.so:(.bss+0x4): first defined here
qmss/mpm_transport_qmss_interface.so:(.bss+0x8): multiple definition of `fw_srioCfgVaddr'; mpm_transport.so:(.bss+0x8): first defined here
qmss/mpm_transport_qmss_interface.so:(.bss+0xc): multiple definition of `fw_srioSerdesCfgVaddr'; mpm_transport.so:(.bss+0xc): first defined here
qmss/mpm_transport_qmss.so:(.bss+0x0): multiple definition of `fw_qmssCfgVaddr'; mpm_transport.so:(.bss+0x0): first defined here
qmss/mpm_transport_qmss.so:(.bss+0x4): multiple definition of `fw_qmssDataVaddr'; mpm_transport.so:(.bss+0x4): first defined here
qmss/mpm_transport_qmss.so:(.bss+0x8): multiple definition of `fw_srioCfgVaddr'; mpm_transport.so:(.bss+0x8): first defined here
qmss/mpm_transport_qmss.so:(.bss+0xc): multiple definition of `fw_srioSerdesCfgVaddr'; mpm_transport.so:(.bss+0xc): first defined here
qmss/mpm_transport_qmss_osal.so:(.bss+0x0): multiple definition of `fw_qmssCfgVaddr'; mpm_transport.so:(.bss+0x0): first defined here
qmss/mpm_transport_qmss_osal.so:(.bss+0x4): multiple definition of `fw_qmssDataVaddr'; mpm_transport.so:(.bss+0x4): first defined here
qmss/mpm_transport_qmss_osal.so:(.bss+0x8): multiple definition of `fw_srioCfgVaddr'; mpm_transport.so:(.bss+0x8): first defined here
qmss/mpm_transport_qmss_osal.so:(.bss+0xc): multiple definition of `fw_srioSerdesCfgVaddr'; mpm_transport.so:(.bss+0xc): first defined here

Needs to be fixed properly later:
https://gcc.gnu.org/gcc-10/porting_to.html

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2021-04-05 23:07:45 -05:00
Denys Dmytriyenko
e7d857b6c3 gdbc6x: suppress gcc10 multiple definitions of *_varobj_ops
Workaround for the following gcc10 errors:
.../gdbc6x/gdb/varobj.h:221: multiple definition of `ada_varobj_ops'; mi-cmd-var.o:.../gdbc6x/gdb/./varobj.h:221: first defined here
.../gdbc6x/gdb/varobj.h:220: multiple definition of `java_varobj_ops'; mi-cmd-var.o:.../gdbc6x/gdb/./varobj.h:220: first defined here
.../gdbc6x/gdb/varobj.h:219: multiple definition of `cplus_varobj_ops'; mi-cmd-var.o:.../gdbc6x/gdb/./varobj.h:219: first defined here
.../gdbc6x/gdb/varobj.h:218: multiple definition of `c_varobj_ops'; mi-cmd-var.o:.../gdbc6x/gdb/./varobj.h:218: first defined here

Needs to be resolved properly in the code later:
https://gcc.gnu.org/gcc-10/porting_to.html

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2021-04-05 23:07:44 -05:00
Denys Dmytriyenko
beeabe77cb ti-ipc: suppress gcc10 multiple definitions of _GateHWSpinlock_cfgParams
Workaround for this gcc10 error:
.../linux/src/api/gates/GateHWSpinlock.c:96: multiple definition of `_GateHWSpinlock_cfgParams';
.libs/Ipc.o:.../linux/src/api/Ipc.c:97: first defined here

Needs to be resolved properly in the code:
https://gcc.gnu.org/gcc-10/porting_to.html

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Cc: Suman Anna <s-anna@ti.com>
2021-04-05 23:07:43 -05:00
Denys Dmytriyenko
35ae9808be ti-img-rogue-driver: support OE toolchain alongside Poky one
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Cc: Gowtham Tammana <g-tammana@ti.com>
Reviewed-by: Gowtham Tammana <g-tammana@ti.com>
2021-04-05 23:07:41 -05:00
Denys Dmytriyenko
af3d951506 ti-ipc-examples: fix deprecation of sys_errlist[] in glibc
It was giving this warning for years, finally gone:
| warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Cc: Suman Anna <s-anna@ti.com>
2021-04-05 23:06:20 -05:00
Denys Dmytriyenko
d838f3bffe Revert "optee-os: upgrade to upstream 3.11.0"
This reverts commit cb9297c939.

This commit was meant for dunfell and was merged to master by mistake, as
meta-arm/master already has optee 3.11
2021-04-05 23:05:58 -05:00
Praneeth Bajjuri
53af42afa0 ti-rtos: Update metadata and versions for RTOS firmware
updated rtos firmwares
j721e, j7200: 07.03.00.29

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-05 22:53:33 -05:00
Shiju Sivasankaran
67107181e3 ti-rtos: update metadata and version of am64x rtos firmware
update am64x rtos firmware to keep pinmux and control MMRs
remain unlocked now since linux needs this to be unlock.
this fix the USB and performance degradation issues.

am64xx: 07.03.00.19

Signed-off-by: Shiju Sivasankaran <shiju@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-05 22:53:21 -05:00
Shiju Sivasankaran
4c9737f7b5 ti-rtos: update metadata and version of am64x rtos firmware
updated am64x rtos release mode firmware
am64xx: 07.03.00.18

Signed-off-by: Shiju Sivasankaran <shiju@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-05 22:53:00 -05:00
Praneeth Bajjuri
01e53fc677 ti-rtos: Update metadata and versions for RTOS firmware
updated rtos firmwares
j721e, j7200: 07.03.00.26

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-04-01 21:39:06 -05:00
Nishanth Menon
68ebe27232 conf/machine: k3: Lets build bmap files by default
Lets generate bmap files for bmaptool to use as well as default to use
with wic files.

NOTE: bmaptool can speed up flashing SD cards by 2x-3x by skipping
empty blocks of the image.

https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#flashing-images-using-bmaptool

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
2021-04-01 21:39:06 -05:00
Nishanth Menon
d1a8db9a52 conf/machine: am64xx: Switch to multi-certificate boot images
Switch to using all of multi-certificate boot images. This allows us
to create bootable images - in this case, we are missing tiboot3.bin

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
2021-04-01 21:39:06 -05:00
Nishanth Menon
bdbd5ecf0f conf/machine: am64xx: Consolidate image configuration to SoC include
IMAGE type and dependencies can easily be centralized to SoC include
file. This is necessary to make sure that we don't do the duplication
and having multiple places to fix up.

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
2021-04-01 21:39:06 -05:00
Nishanth Menon
12d901c67b conf/machine: j7200-evm: Switch to multi-certificate boot images
Switch to using all of multi-certificate boot images. This allows us
to create bootable images - in this case, we are missing tiboot3.bin

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
2021-04-01 21:39:06 -05:00
Nishanth Menon
d4bd0e8f54 conf/machine: am64xx/j7200: Drop trusted-firmware deployment for tar wic
wic and tar dependency on trusted firmware is wrong. It is u-boot build
that depends on trusted firmware deployment and is correctly handled by
u-boot recipe. No point in duplicating that dependency, so just clean it
all up.

Reported-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
2021-04-01 21:39:06 -05:00
Nishanth Menon
73e07a8063 conf/machine: j7: Document boot images as legacy mode
We use the default IMAGE_BOOT_FILES configuration which matches up with
legacy boot configuration. Document the same to allow folks to
understand by just looking at the SoC include file.

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
2021-04-01 21:39:06 -05:00
Nishanth Menon
3265bd39fe conf/machine: am65xx: Document boot images as legacy mode
We use the default IMAGE_BOOT_FILES configuration which matches up with
legacy boot configuration. Document the same to allow folks to
understand by just looking at the SoC include file.

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
2021-04-01 21:39:06 -05:00
Nishanth Menon
f528512899 conf/machine: k3: Add multi-certificate boot image support
Lets keep things consistent by providing two possibilities for platforms
to pick from - legacy boot and multi-certificate boot.

In legacy boot, the base bootloader and system firmware are
maintained as separate binaries (tiboot3.bin and sysfw.itb).

In multi-certificate boot that newer K3 devices support, ROM is smarter
and can handle multiple x509 certificate based images: so we can strip
out the sysfw.itb and integrate it as part of tiboot3.bin itself. This
improves authentication and overall system boot times since we are now
able to boot both the system controller and the boot processor in
parallel.

We do have a scheme currently to identify the images necessary for boot
etc, but things are handled on a platform conf file basis. We can
improve that by introducing the pattern at the top level include and use
the relevant pattern in platforms as needed.

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
2021-04-01 21:39:06 -05:00
Denys Dmytriyenko
685c58350b conf/machine: am64*, j7200: cleanup k3r5 configs
Remove duplicate machine-specific redefines of UBOOT_BINARY, UBOOT_IMAGE and
UBOOT_SYMLINK variables, as they are already defined with same values in the
common k3r5.inc file.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Reviewed-by: Nishanth Menon <nm@ti.com>
2021-04-01 21:39:06 -05:00
Praneeth Bajjuri
e03e9156b5 linux-ti-staging: Update 5.4 kernel to 07.03.00.004
Update 5.4 kernel to 07.03.00.004

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-29 18:01:53 -05:00
Shiju Sivasankaran
50eedd49c2 ti-rtos: update metadata and version of am64x rtos firmware
updated rtos firmware
am64xx: 07.03.00.13

rtos fw of am64x build and upload from mcu-plus-sdk repo.

Signed-off-by: Shiju Sivasankaran <shiju@ti.com>
[praneeth@ti.com: updated commit message]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-28 23:54:09 -05:00
Denys Dmytriyenko
cd268a6407 ti-rtos-firmware: depend on openssl-native for signing
Fixes:
.../scripts/secure-binary-image.sh: line 69: openssl: command not found
.../scripts/secure-binary-image.sh: line 78: openssl: command not found

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-28 23:54:09 -05:00
Praneeth Bajjuri
400d4fbfe7 linux-ti-staging: Update 5.4 kernel to 5.4.106
Update linux 5.4 to 5.4.106 stable.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-28 23:54:09 -05:00
Praneeth Bajjuri
18cf563edd ti-uboot-staging: Update to the latest commit
ti-uboot-staging: Update to the latest commit

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-28 23:54:09 -05:00
Praneeth Bajjuri
05dace2ab5 conf/machine: fix OPTEEMACHINE name for J721e
OPTEEMACHINE name as defined in the optee_os project [1] for
j721e is k3-j721e.

This patch fixes the name to correct target.

[1]: 87613cf952

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Acked-by: Denys Dmytriyenko <denys@konsulko.com>
2021-03-27 12:30:55 -05:00
Gowtham Tammana
2cd56f70fb ti-img-rogue-umlibs: Update to pick rpath fixes
Update srcrev to pick the rpath warning fixes.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-27 12:30:55 -05:00
Dan Murphy
7f752ce2b0 linux-ti-mainline: Set the branch for the ti-upstream-tools repo
ti-upstream-tools[1] repository carries the overlays and defconfig
fragments that we don't wish to overload upstream kernel community with.
The reason for that being these are constantly on churn as our test
coverage increases etc. Currently we reuse the "BRANCH" variable to also
matchup with kernel and ti-upstream-tools repositories as well.

This can tend to be a little painful if we decide to start testing
various kernel configurations - RT etc.. So, lets just split out the
TOOLS_BRANCH separated from the branch we use for kernel. Even though
the branch remains the exact same at this point.

[1] https://git.ti.com/cgit/ti-linux-kernel/ti-upstream-tools/

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
2021-03-27 12:30:55 -05:00
Dan Murphy
2b5330d2d8 linux-ti-mainline: Add gmp-native as a kernel dependency
Add GNU Multiple Precision Arithmetic Library as a dependency for
mainline linux builds. These are necesary for kernel to handle gcc
plugins for builtins.h

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
2021-03-27 12:30:55 -05:00
Lucas Weaver
21053da1a2 ti-sci-fw: Update J7200/AM64 deploy to install ti-sci-fw
The J7200/AM64 ti-sci-fw needs to be installed in the deploy
directory so that it can be packaged in Processor SDK bundle

This is required because the ti-sci-fw is needed in the
installer prebuilt-images in order to build the combined boot
image for J7200/AM64

Signed-off-by: Lucas Weaver <l-weaver@ti.com>
2021-03-27 12:30:55 -05:00
Praneeth Bajjuri
568a5763df linux-ti-staging: Update 5.4 kernel to the latest commit SHA
Update 5.4 kernel to the latest commit SHA

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-19 18:21:59 -05:00
Praneeth Bajjuri
a834530a83 ti-uboot-staging: Update to the latest commit
ti-uboot-staging: Update to the latest commit

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-19 18:21:59 -05:00
Denys Dmytriyenko
cfe3f78573 layer.conf: add hardknott to compatible release branches
While at it, remove old releases before dunfell.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2021-03-19 17:53:47 -05:00
Gowtham Tammana
f602c80eb8 ti-img-rogue-umlibs: Update artifacts to 1.13.5776728
Update GLES binary artifacts to latest version 1.13.5776728.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-17 19:35:07 -05:00
Gowtham Tammana
7f01b91b1a ti-img-rogue-driver: Update driver to 1.13.5776728
Update the Rogue kernel driver sources to version 1.13.5776728.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-17 19:35:07 -05:00
Shiju Sivasankaran
64b0fffaf6 ti-rtos: update to uisng fw from mcu-plus-sdk for AM64x
update ti-rtos-metadata and ti-rtos-firmware recipes of meta-ti to
pick AM64x rtos firmware from mcu-plus-sdk instead of PDK.

Other devices such as AM65x, J7 continue to use fw from PDK.

Built and tested both IPC echo test applications - "rpmsg_client_sample”
& “rpmsg_char_simple”. Both tests passed for all remote R5F cores
on AM64x EVM

Signed-off-by: Shiju Sivasankaran <shiju@ti.com>
[praneeth@ti.com: rebase to dunfell/next]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-17 19:35:07 -05:00
Praneeth Bajjuri
04dc702c3c ti-rtos: Update metadata and versions for RTOS firmware
updated rtos firmwares
j721e, j7200: 07.03.00.21
am65xx: 07.03.00.22

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-17 19:35:07 -05:00
Nikhil Devshatwar
8a3fb178f3 recipes-bsp: wl18xx-fw: update SRCREV to latest
Update the wl18xx firmware recipe to latest version 8.9.0.0.86

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Reviewed-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-17 19:35:07 -05:00
Vivien Didelot
c58409325f ti33x: allow different virtual/bootloader
Boards like the beaglebone currently hardcode "u-boot" as a dependency
for the image and the wic format, and this prevents one from choosing
a different bootloader via:

    PREFERRED_PROVIDER_virtual/bootloader = "non-u-boot-bootloader"

Depending on "virtual/bootloader" instead of "u-boot" fixes this.

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Suggested-by: Denys Dmytriyenko <denis@denix.org>
Reviewed-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-17 19:35:07 -05:00
Praneeth Bajjuri
b2aadcc261 linux-ti-staging: Update 5.4 kernel to the latest commit SHA
Update 5.4 kernel to the latest commit SHA

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-05 18:42:55 -06:00
Praneeth Bajjuri
e39796ede5 ti-uboot-staging: Update to the latest commit
ti-uboot-staging: Update to the latest commit

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-05 18:42:55 -06:00
Praneeth Bajjuri
74a7a10890 ti-rtos: Update path for firmwares on j7200
Between j7200 firmware tags 07.03.00.10 to 07.03.00.16
the downloadable weburl link changed
from *processor-sdk-rtos-jacinto7 to *processor-sdk-rtos-j7200.

This patch is to fix the recipe to pick the firmware from the
expected location on the new tag.

Fixes j7200 build error reported due to
77cdfa9f65 ("ti-rtos: Update metadata and versions for RTOS firmware")

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Reviewed-by: Denys Dmytriyenko <denis@denix.org>
2021-03-05 18:42:55 -06:00
Nishanth Menon
92b57a43ee linux-ti-mainline: Bump kernel version to v5.11
And lets work with the latest kernel

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-05 18:42:55 -06:00
Nishanth Menon
5efa48bcb2 linux-ti-mainline: Bump up ti-upstream-tools SRCREV
Bump up our recipe version for ti-upstream-tools for updates in config
files needed for latest kernel

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-03-05 18:42:55 -06:00
Praneeth Bajjuri
2f9015e771 ti-rtos: Update metadata and versions for RTOS firmware
updated rtos firmwares
am64xx: 07.03.01.06
j721e, j7200, am65xx: 07.03.00.16

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
2021-03-05 18:42:55 -06:00
Praneeth Bajjuri
9ad8bc7fa3 ti-sci-fw: Update image gen and sysfw to v2021.01
Update the image gen and linux-firmware commit SHAs so that
am65x, j7200 and j721e also picks v2021.01 sysfw and the applicable
DM update with following version
* 07.03.00.12 for J721E
* 07.03.00.10 for J7200

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-02-23 21:44:38 -06:00
Praneeth Bajjuri
79ac6c4d71 ti-rtos: Update metadata and versions for RTOS firmware
updated rtos firmwares
am64xx: 07.03.01.02
am65xx: 07.03.00.10
j721e: 07.03.00.12
j7200: 07.03.00.10

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-02-23 21:44:38 -06:00
Praneeth Bajjuri
f5fa5efa43 linux-ti-staging: Update 5.4 kernel to the latest commit SHA
Update 5.4 kernel to the latest commit SHA

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-02-23 21:44:38 -06:00
Praneeth Bajjuri
be9d890405 ti-uboot-staging: Update to the latest commit
ti-uboot-staging: Update to the latest commit

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-02-23 21:44:38 -06:00
Praneeth Bajjuri
003b058066 ti-sci-fw: Update image gen to latest
update image get to latest

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-02-23 21:44:38 -06:00
Praneeth Bajjuri
fb4726a88c linux-ti-staging: Update 5.4 kernel to 07.03.00.000
Update 5.4 kernel to 07.03.00.000

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-02-11 16:03:16 -06:00
Praneeth Bajjuri
107837aa9b ti-uboot-staging: Update to the latest commit
ti-uboot-staging: Update to the latest commit

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-02-11 15:17:03 -06:00
Lokesh Vutla
e1476fc2dc am64xx-sk Add combined boot build support
Add combined boot flow support for the AM64XX SK device.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-02-10 22:23:27 -06:00
Lokesh Vutla
c0a0281e21 machine: am64xx-sk.conf: Add machine definition for AM64xx SK
AM642 StarterKit (SK) board is a low cost, small form factor board
designed for TI’s AM642 SoC. Add machine definition for SK board.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-02-07 23:24:19 -06:00
Praneeth Bajjuri
bcb764f17a linux-ti-staging: Update 5.4 kernel to the latest commit SHA
Update 5.4 kernel to the latest commit SHA

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-02-07 23:24:19 -06:00
Lokesh Vutla
0dc2972b14 ti-uboot-staging: Update to the latest commit
Update SRCREV to latest commit that includes AM64xx SK platform

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-02-07 23:24:19 -06:00
Dan Murphy
e3aa0be538 linux-ti-staging_5.4: Update to 5.4.93 kernel revision
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-02-07 23:24:18 -06:00
Dan Murphy
75c524f103 linux-ti-staging_5.4: Update to 5.4.91 kernel revision
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-28 08:28:02 -06:00
Denys Dmytriyenko
a0e26c1caf linux-ti-staging, u-boot-ti-staging: lower default preference
Latest versions of Linux kernel (5.10) and U-boot (2021.01) are not yet ready
for prime time in meta-ti and some features are still being migrated and causing
issues. The recipes are meant for development and not yet for production.

Normally selection of the version is done with PREFERRED_VERSION by the Distro
(e.g. Arago), but if not specified by a Distro (Poky, distroless, etc.), the
default is to use the latest version. Hence need to change the default to not
automatically pick the latest version that is not ready yet.

This can be removed/reverted once those versions are ready to be picked by
default.

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-28 08:27:58 -06:00
Dan Murphy
f3b8b48615 u-boot-ti-staging: Override the LIC_FILE_CHKSUM for 2021
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-28 08:27:54 -06:00
Dan Murphy
efa402ee13 linux-ti-staging-5.10: With the kernel being AUTOREV'd remove the minor version
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-28 08:27:50 -06:00
Dan Murphy
f979103ff5 ti-sci-fw: Update image gen and sysfw to v2020.12a
Update the image gen and linux-firmware commit SHAs so that
am65x, j7200 and j721e also picks v2020.12a sysfw and the applicable
DM update on j7200 and j721e based on 07.02.00.10 tag

Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-21 07:57:42 -06:00
Dan Murphy
4767a6ef50 ti-rtos: Update metadata and versions for RTOS firmware
am64xx update to 07.02.01.06
am65, j7 and j7200 updated to 07.02.00.10

Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-21 07:57:38 -06:00
Praneeth Bajjuri
7d3855a28b ti-uboot-staging: Update to the latest commit
Update SRCREV to latest commit

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-21 07:57:34 -06:00
Dan Murphy
9c78356099 linux-ti-staging: Update 5.4 kernel to the latest SHA
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-21 07:57:30 -06:00
Praneeth Bajjuri
31c3752ee7 ti-uboot-staging: Update to the latest commit
Update SRCREV to latest commit

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-21 07:57:27 -06:00
Dan Murphy
5894a9b688 ti-sci-fw: Remove incorrect directive for 7200-hs
The 7200-hs-evm does not exist as a machine and if it did then this
directive should have been j7200-hs.  So just remove it as it is
unneeded.

From: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-21 07:57:22 -06:00
Dan Murphy
20a25da3f1 u-boot-ti-staging: Add 2021.01 recipe
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-21 07:57:18 -06:00
Dan Murphy
7018bebcfc linux-ti-staging: Add 5.10 recipe
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-21 07:57:14 -06:00
Praneeth Bajjuri
c5b75f59fa ti-sci-fw: Update image gen and sysfw to v2020.12
Update the image gen and linux-firmware commit SHAs so that
am65x, j7200 and j721e also picks v2020.12 sysfw and the applicable
DM update on j7200 and j721e based on 07.02.00.05 tag

Dan Murphy - Removed am64xx PV over ride

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-15 07:30:43 -06:00
Dan Murphy
1761ec4126 ti-rtos: Update metadata and versions for RTOS firmware to 07.02.0x.05
From: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-15 07:30:38 -06:00
Dan Murphy
23a2e5b71a linux-ti-staging: Update 5.4 kernel to the latest 5.4.87
From: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-15 07:30:33 -06:00
Praneeth Bajjuri
d2bbb1c19e ti-uboot-staging: Update to the latest commit
Update SRCREV to latest commit

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-15 07:30:27 -06:00
Dan Murphy
9d308ce771 u-boot-ti: am64xx: Remove dm support for uboot
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-08 16:07:34 -06:00
Dan Murphy
9a2674fe67 linux-ti-staging: Update 5.4 kernel to the latest commit SHA
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-08 16:07:29 -06:00
Denys Dmytriyenko
cb9297c939 optee-os: upgrade to upstream 3.11.0
As meta-arm has this version in master, but not in dunfell, temporarily overlay
corresponding patches locally - could be removed for the next release. Need to
alter FILESEXTRAPATHS for bbappend to locate local patches.

Since meta-arm/dunfell has 3.8-specific patches in SRC_URI, let's redefine it
completely to match 3.11-specific patch list in meta-arm/master.

Last, but not least, guard all upstream recipe varibales with "ti-soc" override
to only affect platforms in meta-ti, but not any other BSPs.

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-08 16:07:24 -06:00
Dan Murphy
2e46158ae3 am64xx: Add combined boot build support
Add combined boot flow support for the AM64XX device.

From: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-08 16:07:17 -06:00
Praneeth Bajjuri
84ecb70094 ti-sci-fw: am64x: Update image gen and sysfw to v2020.12
Update the image gen and sysfw commit SHAs so that am64x picks
v2020.12 version.

Reviewed-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-08 16:07:12 -06:00
Praneeth Bajjuri
b286df39b3 ti-uboot-staging: Update to the latest commit
Update SRCREV to latest commit

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-08 16:06:59 -06:00
Lokesh Vutla
ab969ea27b pruprp-fw: Update prp firmware to 2.17.25
Update prueth prp firmware to 2.17.25

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-08 16:06:54 -06:00
Lokesh Vutla
dcb400d473 pruhsr-fw: Update hsr firmware to 2.17.25
Update prueth hsr firmware to 2.17.25

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-08 16:06:48 -06:00
Lokesh Vutla
d14856baa6 prusw-fw: Update switch firmwares to 3.2.7 version
Update prueth switch firmwares to 3.2.7 version

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-08 16:06:44 -06:00
Lokesh Vutla
1cc3eeef82 prueth-fw: Update prueth dual emac firmware to 5.5.13
Update the prueth dual emac firmware to 5.5.13 version

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-08 16:06:41 -06:00
Lokesh Vutla
a0f909988b k3conf: Update to latest commit
Update k3conf to latest sha, bumping up version to 0.2

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-08 16:06:27 -06:00
Dan Murphy
cede7f8529 linux-ti-staging: Update 5.4 kernel to 5.4.84
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-05 06:54:37 -06:00
Dan Murphy
97fc128795 prueth-fw-am65x-sr2: Updating firmware to 02.02.08.02
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-05 06:54:32 -06:00
Dan Murphy
46ae018fdb ti-sci-fw: Update image gen and sysfw commit SHA
Update the image gen and sysfw commit SHAs.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-05 06:54:27 -06:00
Dan Murphy
5d0baba2ec k3conf: Update SRCREV to latest
Update the k3conf to the latest SHA to pick up AM64.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-05 06:54:22 -06:00
Dan Murphy
6c3b862137 am64xx-evm-k3r5: Update SYSFW_SOC to am64x from am65x
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-05 06:54:17 -06:00
Dan Murphy
1220e103e3 ti-uboot-staging: Update to the latest commit
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-05 06:54:12 -06:00
Praneeth Bajjuri
d0d5581b27 trusted-firmware-a: Update SRCREV for AM64X support
Update SRCREV to pick latest that includes AM64X support

commit 65dd16b4e ("ti: k3: Introduce lite device board support")
adds support of AM64X platform in ti-atf branch.

This patch updates the SRCREV and also updates the BOARD to "lite" to
build for the mentioned platform.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Suggested-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Reviewed-by: Denys Dmytriyenko <denis@denix.org>
2021-01-05 06:54:04 -06:00
Dan Murphy
bd2659cc1d ti-rtos: Update metadata and versions for RTOS firmware
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-05 06:53:54 -06:00
Dan Murphy
09b55abbad machine: am64xx-evm.conf: Remove commented code and update PDK values
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-05 06:51:46 -06:00
Dan Murphy
9339f3fb01 u-boot-ti: Remove unneeded variable for am64xx
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-05 06:51:40 -06:00
Dan Murphy
d94c43be4d linux-ti-staging: Update kernel to latest commit sha
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2021-01-05 06:51:35 -06:00
Dan Murphy
46d0622963 ti-rtos: Update metadata with AM64 firmware
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-12-12 10:13:52 -06:00
Dan Murphy
4afb3d4c56 u-boot-ti: Update u-boot to pick up AM64 architecture
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-12-12 10:12:53 -06:00
Dan Murphy
613a312a26 linux-ti-staging: Update kernel to pick up AM64 platform
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-12-12 10:12:47 -06:00
Dan Murphy
e780bb1bfb machine: am64xx-evm.conf: Add machine definition for AM64xx platform
The AM64 is a follow on device of the AM65xx K3 multicore SoC architecture.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-12-12 10:12:41 -06:00
Suman Anna
6d4c1fd1cf ipc: ti-rpmsg-char: Update library to 0.3.0
Update the ti-rpmsg-char library to 0.3.0 version that enables
the support for the various R5F remote processors on AM64x SoCs.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-12-12 10:12:34 -06:00
Nishanth Menon
1021415ce0 trusted-firmware-a: Update to v2.4 merge
Update to v2.4 tag merge from upstream to keep TF-A in sync.

For major changes in trusted-firmware-a, See:
https://trustedfirmware-a.readthedocs.io/en/latest/change-log.html#version-2-4

TI specific fixups include:
 - stub for shutdown (CPUs enter wfi)
 - uart console is now configurable.

While at it, update to include PV_k3 as 2.4. We use PV_k3 instead of
PV since this allows meta-ti to not affect other platforms esp in a
multi-BSP configuration.

We also add LIC_FILES_CHKSUM_k3 to make sure that we don't let any
re-licensing in the project pass through unnoticed as that has to
be carefully examined for making sure we have all the right legal
compliance - There has been no change compared to previous versions,
but we introduce this as a protection in case there is a change in the
future.

Reviewed-by: Denys Dmytriyenko <denis@denix.org>
Suggested-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-12-12 10:12:07 -06:00
Dan Murphy
10b41e33ee linux-ti-staging: Update kernel to 5.4.78
From: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-12-09 14:14:54 -06:00
Praneeth Bajjuri
73506585a8 u-boot-ti-staging_2020.01: Update SRCREV to latest
commit a6904f563f ("Remove redundant YYLOC global declaration")
is in ti-u-boot-2020.01 branch now.

Updating SRCREV of ti-u-boot-2020.01 to pick the patch from there.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-12-07 13:52:42 -06:00
Khem Raj
83f29e8b99 u-boot-ti-staging_2020.01: Fix build on hosts with gcc10 on them
Backport a patch from upstream to fix build on distros with gcc10+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-20 12:56:43 -06:00
Suman Anna
f155a69648 k3conf: Update SRCREV to latest
Use latest SRCREV on master branch to pick up all the
changes compliant with TIFS 2020.08b firmware.

The license CHKSUM also need to be updated due to a minor
change from http to https in the Copyright line.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-13 09:28:09 -06:00
Dan Murphy
fb245c10c5 ti-sci-fw: Update SHA to pick up 07.01.00.38 ti-dm firmware with 2020.08b sysfw
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-13 09:28:01 -06:00
Dan Murphy
5f8343a708 linux-ti-staging: Update RT kernel hash to pick up a few fixes
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-13 09:27:52 -06:00
Dan Murphy
fd6f856abb u-boot-ti-staging: Update to latest commit SHA
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-07 08:01:49 -06:00
Dan Murphy
1e37a75bb6 ti-sci-fw: Update to 2020.08b system firmware
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-07 08:01:42 -06:00
Dan Murphy
2a48ed2b6c ti-rtos: update metadata and firmware to 07.01.00.33
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-07 08:01:34 -06:00
Gowtham Tammana
3b57d4eea9 ti-img-rogue-umlibs: update srcrev to pick rpath fixes
Update the srcrev to pick the latest artifacts that fix some of the
redundant rpath warnings seen with Yocto.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-06 07:07:50 -06:00
Nikhil Devshatwar
94374ba73b recipes-devtools: k3conf: Update SRCREV to latest
Use latest SRCREV on master branch.
This adds support for resource management commands

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-06 07:07:41 -06:00
Suman Anna
9866bb8e50 ipc: ti-rpmsg-char: Update library to 0.2.0
Update the ti-rpmsg-char library to 0.2.0 version that includes
an improvement to signal handling logic.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-06 07:07:30 -06:00
Dan Murphy
ddc999c436 linux-ti-staging: Update kernel to 5.4.74
From: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-03 15:46:00 -06:00
Dan Murphy
1ed29bc977 trusted-firmware-a: Update to newer SHA
From: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-03 15:45:52 -06:00
Gowtham Tammana
d25b8ebe55 ti-img-rogue-driver: pull general toolchain support
The patch for supporting the general toolchain is pulled into the repo.
Removing it here from the recipe.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-02 16:13:13 -06:00
Suman Anna
dfe86b7660 ipc: ti-rpmsg-char: Update SRCREV
Update the ti-rpmsg-char SRCREV to pull in a bug fix.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-02 16:13:08 -06:00
Khem Raj
b7c298e616 ti-rpmsg-char: Mark these recipes to be TI SOC specific
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Denys Dmytriyenko <denys@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-02 16:13:03 -06:00
Khem Raj
bf26b50b07 ti-rpmsg-char-examples: Fix cross compile
This fixes problems during cross compile where it starts to peek into
build host's include and library paths and causes errors with clang and
QA warnings with gcc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-11-02 16:12:58 -06:00
Dan Murphy
7454e0e0c7 ti-rtos: update metadata and firmware to 07.01.00.25
From: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-25 08:18:46 -05:00
Dan Murphy
2be053aa70 u-boot-ti-staging: Update to tag 07.01.00.004
From: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-25 08:18:36 -05:00
Denys Dmytriyenko
8d9da5e9ca conf/machine: extend SR2.0 support from AM65 GP to AM65 HS platform
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-23 11:16:05 -05:00
Dan Murphy
62b72301ac u-boot-ti-staging: Update to latest HEAD for bug fix
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-23 07:12:03 -05:00
Suman Anna
614033e283 ipc: ti-rpmsg-char: Add initial recipes
Add the initial recipes for building the ti-rpmsg-char package.
The library and examples are built using two separate recipes
in ti-rpmsg-char_git.bb and ti-rpmsg-char-examples_git.bb.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-23 07:12:01 -05:00
Dan Murphy
94670d94fc linux-ti-staging: Update kernel to latest commit SHA
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-23 07:12:01 -05:00
Dan Murphy
d551d497b8 boot-monitor: update to latest commit SHA
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-23 07:12:01 -05:00
Dan Murphy
27983a5cdd u-boot-ti-staging: Update to latest HEAD for j7 build
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@ti.com>
2020-10-23 07:12:01 -05:00
Dan Murphy
4df0f89bb2 u-boot-ti: Add new firmware to u-boot command line for j7
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@ti.com>
2020-10-23 07:12:01 -05:00
Dan Murphy
1be469ab7f ti-rtos: update metadata and firmware to 07.01.00.24
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@ti.com>
2020-10-23 07:12:01 -05:00
Dan Murphy
f945670d06 ti-sci-fw: Update to 2020.08-rc3 system firmware
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-23 07:12:01 -05:00
Denys Dmytriyenko
a0e0214cb8 conf/machine: also build optee-os for legacy HS platforms
Add build dependency on optee-os for legacy HS platforms in non-Arago setups.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-22 07:26:14 -05:00
Denys Dmytriyenko
d7ab6fb6e1 optee-os: adjust for out-of-tree builds in meta-arm/master
As meta-arm/master now builds optee out of tree, hence use ${B} instead of
out/arm-plat-${OPTEEOUTPUTMACHINE}

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-22 07:26:11 -05:00
Denys Dmytriyenko
8b2c97b585 trusted-firmware-a: adjust ${BUILD_DIR} for meta-arm/master
As meta-arm/master now sets ${BUILD_DIR} to also include ${B} and release/debug.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-22 07:25:55 -05:00
Khem Raj
5d08555939 layer.conf: Add gatesgarth to LAYERSERIES_COMPAT
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-20 13:55:58 -05:00
Dan Murphy
518b57c8a9 prusw-fw: Update the firmware to 3.1.6 version
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-20 12:42:17 -05:00
Khem Raj
283a8b2640 ti-rtos-firmware: Remove trailing slash from S
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-14 20:45:36 -05:00
Khem Raj
276634991e ti-pdk-fetch.bbclass: Do not emit trailing slash during S forming
latest OE-core does not promote using trailing slash to make pseudo's
life easier

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-14 20:45:30 -05:00
Denys Dmytriyenko
64f08a74a5 ti-sci-fw: now Cortex-R5 SPL can also be provided by u-boot-ti-mainline
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-14 20:45:21 -05:00
Dan Murphy
50ddd14921 linux-ti-staging: Update kernel to 5.4.70
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@ti.com>
2020-10-14 20:45:12 -05:00
Denys Dmytriyenko
87fbb5dfe0 u-boot-ti-mainline: add mainline 2020.10
Update md5 README checksum for u-boot. No actual licensing changes.

Change is with u-boot commit
35bd70c5107f0 ("Convert CONFIG_SPLASH_SCREEN et al to Kconfig")

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-14 20:45:05 -05:00
Denys Dmytriyenko
b99786c3ca linux-ti-mainline: add mainline 5.9 using ti-upstream-tools
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-14 20:44:58 -05:00
Denys Dmytriyenko
9cac1a2361 linux-ti-staging: extract common rdepends, pass defconfig_builder.sh via variable
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-14 20:44:26 -05:00
Denys Dmytriyenko
912983dd56 conf/machine: pass OPTEEFLAVOR via OPTEEMACHINE as <mach>-<flavor>
Recipe in meta-arm doesn't use OPTEEFLAVOR, but optee-os Makefile can extract
it from OPTEEMACHINE.
Keep OPTEEFLAVOR for legacy platforms - used for HS signing in the output name.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-12 06:44:32 -05:00
Denys Dmytriyenko
95ffd87910 u-boot-ti: adjust location of optee binary to align with meta-arm
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-11 10:20:22 -05:00
Denys Dmytriyenko
fe82d5c838 optee-os: add TI signing calls via TI_SECURE_DEV_PKG
It was originally residing in meta-arago due to earlier dependency on meta-optee
layer from meta-linaro. Now optee is in meta-arm and this code can move to meta-ti.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-11 10:20:05 -05:00
Dan Murphy
da0aa1409e linux-ti-staging: Update kernel to 5.4.69
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-09 06:57:06 -05:00
Dan Murphy
81f71c53d1 u-boot-ti-staging: Update to tag 07.01.00.003
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-07 12:28:15 -05:00
Dan Murphy
f157bda088 linux-ti-staging: Update to the tag 07.01.00.003
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-07 12:28:08 -05:00
Praveen Rao
721d586685 ti-sci-fw: update imggen SRCREV to the latest
Signed-off-by: Praveen Rao <prao@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-07 12:28:02 -05:00
Dan Murphy
c5d2c27066 prueth-fw-am65x-sr2: Updating firmware to 02.02.07.02
Reviewed-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-06 06:47:50 -05:00
Roger Quadros
f786bed761 prusw-fw: Update the firmware to 3.1.4 version
Update the firmware to version 3.1.4

Signed-off-by: Roger Quadros <rogerq@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-05 09:57:09 -05:00
Roger Quadros
f3a8655268 prueth-fw: Update the firmware to 5.3.9 version
Update the firmware to version 5.3.9

Signed-off-by: Roger Quadros <rogerq@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-10-05 09:57:01 -05:00
Denys Dmytriyenko
2e95912f57 README: document dependency on meta-arm
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-24 21:30:15 +00:00
Denys Dmytriyenko
b97cf155ef README: add Dan Murphy to maintainers list
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-24 21:30:15 +00:00
Dan Murphy
4929430050 linux-ti-staging: Update linux-staging to 5.4.66
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-24 21:30:15 +00:00
Denys Dmytriyenko
ff9e9505b4 ti-rtos: update metadata and firmware to 07.01.00.17
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-23 00:05:29 +00:00
Gowtham Tammana
eb9eba4edf ti-sgx-ddk-um: Update SRCRERV to pick latest artifacts
Update SRCREV to pick the latest artifacts. The GL headers are excluded
in the artifacts instead of it in the recipe.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-21 17:28:07 +00:00
Dan Murphy
794209d040 u-boot-ti-staging: Update to tag 07.01.00.0002
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-21 17:28:07 +00:00
Dan Murphy
754494cb02 linux-ti-staging: Update to the tag 07.01.000.02 and update linux-staging to 5.4.61
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-21 17:28:07 +00:00
Lokesh Vutla
71adc01f72 prueth-prp: Update the firmware to 2.16.24 version
Update the prueth prp firmware to 2.16.24 version.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-09 16:00:01 +00:00
Lokesh Vutla
dbb2d32983 prueth-hsr: Update the firmware to 2.16.24 version
Update the prueth hsr firmware to 2.16.24 version.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-09 16:00:01 +00:00
Lokesh Vutla
7f037d18d3 prueth-fw: Update the firmware to 5.2.8 version
Update the prueth firmware to 5.2.8 version.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-09 16:00:01 +00:00
Denys Dmytriyenko
0fe2507c0f ti-rtos-firmware/metadata: update to 07.01.00.10 version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-02 07:27:53 +00:00
Dan Murphy
489ce123e9 ti-sci-fw: upgrade 2020.07-rc2 -> 2020.07-rc3
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-01 18:34:02 +00:00
Dan Murphy
ecb69e4618 linux-ti-staging: Update to the tag 07.01.000.01 and rt kernel moves to 5.4.61
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-01 18:34:02 +00:00
Dan Murphy
42450fadb9 u-boot-ti-staging: Update to tag 07.01.00.0001
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-09-01 18:34:02 +00:00
Lokesh Vutla
5d82cb589f prusw-fw: Package the firmware images from ti-linux-firmware
Directly take the images from ti-linux-firmware instead of using pdk

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-27 17:57:15 +00:00
Lokesh Vutla
f8f5bdbdca prueth-fw: Package the firmware images from ti-linux-firmware
Directly take the images from ti-linux-firmware instead of using pdk
Aldo drop build for k2g as firmwares are not yet available.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-27 17:57:15 +00:00
Lokesh Vutla
717ae974f9 prueth-hsr/prp: Update hsr/prp firmwares to latest
Update the hsr/prp firmwares to latest that includes support for
timestamping rx packets. Unfortunately version number is not
incremented for this update.

Also rename the bb file to add PV in it.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-27 17:57:15 +00:00
Denys Dmytriyenko
f5c5a7b5e7 ti-sci-fw: pick up u-boot-spl.bin from sysroot and simplify dependency
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-26 02:47:39 +00:00
Denys Dmytriyenko
6f2d567c25 u-boot-ti: deploy u-boot-spl.bin for all K3 and add staging into sysroot
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-26 02:47:39 +00:00
Denys Dmytriyenko
ed52f73e7c rtos, pdk, csl: bump PE where versions went backwards due to reverts
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-26 01:02:48 +00:00
Denys Dmytriyenko
f2182605b6 rtos, gcc-arm-none-eabi: Rename gcc-arm-none-eabi -> gcc-arm-baremetal
Rename gcc-arm-none-eabi to gcc-arm-baremetal.
As meta-arm now provides baremetal gcc-arm-none-eabi version 9, and due to layer
priorities, let's rename gcc-arm-none-eabi to gcc-arm-baremetal to force picking
the right version for RTOS builds.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-26 01:02:48 +00:00
Denys Dmytriyenko
0373f876da Revert "ti-sysbios: upgrade 6.76.03.01 -> 6.82.01.19"
This reverts commit 0bdb11bd04.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-26 01:02:48 +00:00
Denys Dmytriyenko
061d7e316a Revert "ti-ndk: upgrade 3.61.01.01 -> 3.75.01.01"
This reverts commit f0aa865fe9.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-26 01:02:48 +00:00
Denys Dmytriyenko
d9b5b8a00f Revert "ti-ns: upgrade 2.60.01.06 -> 2.75.00.17"
This reverts commit 292aed84fb.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-26 01:02:48 +00:00
Denys Dmytriyenko
289f607872 Revert "ti-xdctools: upgrade 3.55.02.22 -> 3.61.00.16"
This reverts commit 4d2441931c.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-26 01:02:48 +00:00
Denys Dmytriyenko
ecd098385e Revert "ti-cgt7x: upgrade 1.2.0 -> 1.3.0"
This reverts commit ce230a6b15.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-26 01:02:48 +00:00
Denys Dmytriyenko
0ba45062e2 Revert "ti-cgt-arm: upgrade 18.12.5 -> 20.2.0"
This reverts commit 82a33143d1.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-26 01:02:48 +00:00
Denys Dmytriyenko
2969333051 Revert "gcc-arm, gcc-aarch64: upgrade baremetal gcc compilers to 9.2-2019.12"
This reverts commit 3a657f7d35.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-26 01:02:48 +00:00
Denys Dmytriyenko
5a168f3925 Revert "edma3-lld: update to the latest"
This reverts commit f2419cdd2d.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-26 01:02:48 +00:00
Denys Dmytriyenko
b1ea42b1a9 Revert "HACK: ipumm: Temporary work-around for linker error with XDC tools upgrade"
This reverts commit 33b0e937b7.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-26 01:02:48 +00:00
Denys Dmytriyenko
92533831f1 Revert "ti-pdk-fetch: update to REL.CORESDK.07.00.00.24 tag"
This reverts commit 1d66c14e43.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-26 01:02:48 +00:00
Denys Dmytriyenko
43ad60b7fb Revert "ti-pdk-fetch: update to 07.00.00.34"
This reverts commit 380d55bd0a.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-26 01:02:48 +00:00
Denys Dmytriyenko
05fff922db Revert "common-csl-ip: update to REL.CORESDK.07.00.00.24"
This reverts commit 0085345562.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-26 01:02:48 +00:00
Denys Dmytriyenko
36cc1f4d77 Revert "common-csl-ip: update to 07.00.00.34"
This reverts commit f2b2b2095f.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-26 01:02:48 +00:00
Denys Dmytriyenko
4a63fd0f13 ti-rtos-metadata: expand compatibility to ti-soc, but deploy only k3 for now
This is needed for future support and to make CI prep step machine-agnostic.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-20 22:36:34 +00:00
Denys Dmytriyenko
f6279e77b9 ti-rtos-firmware: add recipe for RTOS FW binary integration
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-20 22:36:34 +00:00
Denys Dmytriyenko
fd814b745f ti-rtos-metadata: add recipe to fetch and deploy metadata.inc for RTOS FW binary integration
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-20 22:36:34 +00:00
Denys Dmytriyenko
9955a58617 ti-display-sharing-fw: remove deprecated firmware
Display sharing is not supported in K5.4+ and corresponding FW is now obsolete.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-20 22:36:34 +00:00
Denys Dmytriyenko
4826150116 pru-icss: revert part of the last change that moved rpmsg_lib.lib to base_libdir
As part of replacing hard-coded /lib with ${base_libdir}, rpmsg_lib.lib was
also mistakenly moved from ${libdir} to ${base_libdir}, which is incorrect
and breaks other recipes, when they try to link against this library from
${libdir}.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-19 16:00:32 +00:00
Nikhil Devshatwar
ac56977c5f conf: machine: j7200-evm: Add Jailhouse overlay
j7200-evm supports virtualization with Jailhouse hypervisor.
To use Jailhouse, kernel needs to boot with an additional
DTB overlay. Include this in the list of DTBs for the machine.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-19 16:00:32 +00:00
Dan Murphy
1a33accc7a linux-ti-staging: Update to the latest 5.4.58 stable release
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-19 16:00:32 +00:00
Nikhil Devshatwar
2f55aa16bc recipes-kernel: jailhouse: Add support for machine j7200-evm
Initialize the cell names and console for the j7200-evm machine

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-19 16:00:32 +00:00
Denys Dmytriyenko
310123a730 conf/machine: introduce new j7200 platform
The J7200 SoC is a part of the K3 Multicore SoC architecture platform.
It is targeted for automotive gateway, vehicle compute systems,
Vehicle-to-Vehicle (V2V) and Vehicle-to-Everything (V2X) applications.
The SoC aims to meet the complex processing needs of modern embedded
products.

Some highlights of this SoC are:
* Dual Cortex-A72s in a single cluster, two clusters of lockstep
  capable dual Cortex-R5F MCUs and a Centralized Device Management and
  Security Controller (DMSC).
* Configurable L3 Cache and IO-coherent architecture with high data
  throughput capable distributed DMA architecture under NAVSS.
* Integrated Ethernet switch supporting up to a total of 4 external ports
  in addition to legacy Ethernet switch of up to 2 ports.
* Upto 1 PCIe-GEN3 controller, 1 USB3.0 Dual-role device subsystems,
  20 MCANs, 3 McASP, eMMC and SD, OSPI/HyperBus memory controller, I3C and
  I2C, eCAP/eQEP, eHRPWM among other peripherals.
* One hardware accelerator block containing AES/DES/SHA/MD5 called SA2UL
  management.

See J7200 Technical Reference Manual (SPRUIU1, June 2020)
for further details: https://www.ti.com/lit/pdf/spruiu1

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-18 04:04:01 +00:00
Denys Dmytriyenko
858cb510e6 u-boot-ti: add support for the new j7200 platform
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-18 04:04:01 +00:00
Denys Dmytriyenko
c46e0ff715 ti-sci-fw: add support for the new j7200 platform
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-18 04:04:01 +00:00
Denys Dmytriyenko
56a8e415ef u-boot-ti-staging: update to the latest
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-18 04:04:01 +00:00
Denys Dmytriyenko
0f7480063a linux-ti-staging: update to the latest
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-18 04:04:01 +00:00
Denys Dmytriyenko
3aafa60a25 ti-sci-fw: upgrade 2020.06 -> 2020.07-rc2
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-18 04:04:01 +00:00
Alessio Igor Bogani
7c2db136a3 Replace hard-coded lib with base_libdir variable
Signed-off-by: Alessio Igor Bogani <alessio.bogani@elettra.eu>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-18 04:04:01 +00:00
Nikhil Devshatwar
9e051035c0 recipes-kernel: jailhouse: Update SRCREV to latest
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-17 17:02:03 +00:00
Khem Raj
263b1fec38 wl18xx-calibrator: Fix build with -fno-common
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-14 22:37:03 +00:00
Denys Dmytriyenko
99935ce71b conf/machine: clean up MACHINE_FEATURES for k3/j7/am65 families
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-07 00:33:40 +00:00
Dan Murphy
7764eed6a6 linux-ti-staging: update to 5.4.54
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-06 20:53:01 +00:00
Denys Dmytriyenko
6bd3f3a6c1 ti-sci-fw: set PV inside .inc so it's easier to update 3 files
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-06 16:13:39 +00:00
Denys Dmytriyenko
2a7318fbca ti-sci-fw: rename k2g specific version with PV in the name
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-06 16:13:39 +00:00
Denys Dmytriyenko
8058d5e883 u-boot-ti-staging: update to the latest
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-06 16:13:39 +00:00
Denys Dmytriyenko
b4915e67c3 linux-ti-staging: update to the latest
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-08-06 16:13:39 +00:00
Denys Dmytriyenko
05d2d24d91 u-boot-ti-staging: update to the latest
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-07-31 16:39:29 +00:00
Denys Dmytriyenko
d588c8332b linux-ti-staging: update to 5.4.52
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-07-31 16:39:29 +00:00
Denys Dmytriyenko
33d1ebcf2b ti-sci-fw: update 2020.04a -> 2020.06
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-07-27 21:14:12 +00:00
Prasad Jondhale
4cf25d18a9 cpsw9g-eth-fw: Update SRCREV to latest
Signed-off-by: Prasad Jondhale <prasad.jondhale@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-07-13 19:59:29 +00:00
Murali Karicheri
551cc10ac3 linux-ti-staging: Package PRU HSR, PRP firmware for AM3/AM4/AM57xx
AM3/4/5 PREUTH driver now supports HSR/PRP offload driver. So include
these firmwares for the required SoCs.

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-07-08 21:03:53 +00:00
Murali Karicheri
8e15b5c316 prueth-hsr/prp: add hsr/prp firmware recipe for version 2.15.23
This patch adds recipe for hsr/prp firmware on am3/4/5 SoCs. The binary
files are located on ti-linux-firmware.git. This is a forward port of
the recipe from processor sdk 6.3

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-07-08 21:03:53 +00:00
Denys Dmytriyenko
aaa1845662 common-csl-ip: update to 07.00.00.34
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-04 04:43:05 +00:00
Denys Dmytriyenko
1df8328000 ti-pdk-fetch: update to 07.00.00.34
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-04 04:43:05 +00:00
Dan Murphy
7762538e44 linux-ti-staging: update to 07.00.00.005 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-04 04:43:05 +00:00
Dan Murphy
1e6c8e3978 u-boot-ti-staging: update to 07.00.00.005 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-04 04:43:05 +00:00
Ramprasad N
c74975f9ea HACK: ipumm: Temporary work-around for linker error with XDC tools upgrade
IPUMM build is showing linker error for a function
ti_sdo_ce_utils_syscbuf_SysCBuf_Module_startup__E with latest xdc tool.

A dummy version of this function is added in ipumm as a temporary solution.

Signed-off-by: Ramprasad N <x0038811@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-02 05:40:31 +00:00
Denys Dmytriyenko
176fbde71d edma3-lld: update to the latest
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-02 05:40:31 +00:00
Denys Dmytriyenko
1269361919 gcc-arm, gcc-aarch64: upgrade baremetal gcc compilers to 9.2-2019.12
Overlay recipes from meta-arm/master to provide baremetal gcc 9.2-2019.12

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-02 05:40:31 +00:00
Denys Dmytriyenko
c6d7d2b31a ti-cgt-arm: upgrade 18.12.5 -> 20.2.0
License file got changed from txt to html

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-02 05:40:31 +00:00
Denys Dmytriyenko
c9198ac0c6 ti-pdk-fetch: update to REL.CORESDK.07.00.00.24 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-02 05:40:31 +00:00
Denys Dmytriyenko
14d0ad080f common-csl-ip: update to REL.CORESDK.07.00.00.24
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-02 05:40:31 +00:00
Denys Dmytriyenko
cd7b8f2d1d ti-cgt7x: upgrade 1.2.0 -> 1.3.0
License change due to year update.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-02 05:40:31 +00:00
Denys Dmytriyenko
cb73e68d3f ti-xdctools: upgrade 3.55.02.22 -> 3.61.00.16
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-02 05:40:31 +00:00
Denys Dmytriyenko
2ff286c3b8 ti-xdctools: drop old unused patches
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-02 05:40:31 +00:00
Denys Dmytriyenko
6dbea85ab8 ti-ns: upgrade 2.60.01.06 -> 2.75.00.17
License change due to year update.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-02 05:40:31 +00:00
Denys Dmytriyenko
2e5ad11b64 ti-ndk: upgrade 3.61.01.01 -> 3.75.01.01
License change due to year update.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-02 05:40:31 +00:00
Denys Dmytriyenko
fa0e73c234 ti-sysbios: upgrade 6.76.03.01 -> 6.82.01.19
License change due to year update.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-06-02 05:40:31 +00:00
Denys Dmytriyenko
5a8b141eda ti-sci-fw: update to 2020.04a and 07.00.00.004 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-30 01:55:31 +00:00
Dan Murphy
81480dbea5 linux-ti-staging: update to 5.4.40 and 07.00.00.004 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-30 01:55:31 +00:00
Dan Murphy
c546ec253f u-boot-ti-staging: update to 07.00.00.004 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-30 01:55:31 +00:00
Denys Dmytriyenko
dc01d4c115 conf/machine: unify common AM65x GP and HS settings
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-28 16:31:45 +00:00
Gowtham Tammana
61f2f1d075 ti-img-rogue-umlibs: Update srcrev to pick latest
Updating the srcrev to pick the latest changes which adds an unittest.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-28 16:31:45 +00:00
Denys Dmytriyenko
4537356c21 trusted-firmware-a: override named SRC_URI and SRCREV
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-21 21:09:21 +00:00
Dan Murphy
cac5884c88 u-boot-ti-staging: update to 07.00.00.003 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-21 21:09:21 +00:00
Dan Murphy
49a3166836 linux-ti-staging: update to 5.4.40 and 07.00.00.003 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-21 21:09:21 +00:00
Denys Dmytriyenko
5ae0df7312 trusted-firmware-a: upstreamed and unified to meta-arm, drop locally
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-20 04:24:20 +00:00
Prasad Jondhale
68cf591fd4 recipes-bsp: cpsw9g-eth-fw: Update SRCREV to latest
Signed-off-by: Prasad Jondhale <prasad.jondhale@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-18 22:45:58 +00:00
Nikhil Devshatwar
bc5bac0f6d recipes-kernel: jailhouse: Update SRCREV to latest
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-18 22:45:58 +00:00
Denys Dmytriyenko
8fb8109f04 ti-sci-fw: introduce recipe to package sources for MAINMACHINE
ti-sci-fw builds multiple config variants via multiconfig and the number
is expected to grow. Provide a recipe to package a single set of sources
for MAINMACHINE.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-16 15:47:47 +00:00
Roger Quadros
d8a79f2437 am65xx-evm: Add missing k3-am654-idk-sr1.dtbo
For SR1.0 we use a different overlay for IDK card.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-16 15:47:47 +00:00
Denys Dmytriyenko
bd9cde8057 atf, sciclient: add missing j7-hs-evm support
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-14 03:42:37 +00:00
Dan Murphy
8d7b78c248 linux-ti-staging: update to 5.4.39 and 07.00.00.002 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-13 05:03:21 +00:00
Jacob Stiffler
0ca70018d3 ti-xdctools: add more PRIVATE_LIBS
* libjli.so and libawt_xawt.so are now detected within the
  ti-xdctools packages.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-13 05:03:21 +00:00
Denys Dmytriyenko
69d71ed4c2 ti-img-encode-decode: not compatible with K5.4 - remove
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-13 05:03:21 +00:00
737 changed files with 9153 additions and 15268 deletions

6
.gitignore vendored Normal file
View File

@@ -0,0 +1,6 @@
*.pyc
*.pyo
*.swp
*.orig
*.rej
*~

27
README
View File

@@ -1,27 +1,4 @@
The official OpenEmbedded/Yocto BSP layer for Texas Instruments platforms.
Collection of layers for the OE-core universe
It is hosted on http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/ with the
source repository at git://git.yoctoproject.org/meta-ti
Please see the respective READMEs in the layer subdirectories
This layer depends on:
URI: git://git.openembedded.org/openembedded-core
layers: meta
branch: master
The base BSP part of meta-ti should work with different OpenEmbedded/Yocto
distributions and layer stacks, such as:
distro-less (only with OE-Core), with Yocto/Poky, with Angstrom or Arago.
Please follow the recommended setup procedures of your OE distribution.
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@ti.com>

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"
]
}
}

View File

@@ -1,46 +0,0 @@
TI_PDK_GIT_URI ?= "git://git.ti.com/processor-sdk/pdk.git"
TI_PDK_GIT_BRANCH ?= "master"
TI_PDK_GIT_PROTOCOL ?= "git"
TI_PDK_SRCREV ?= "a1ace885998e9adbcbbd0abf8b9ded6ba9ec54ff"
TI_PDK_VERSION ?= "2020.5.6"
PV = "${TI_PDK_VERSION}"
TI_PDK_COMP ?= ""
TI_PDK_COMP_PATH = "${@'${TI_PDK_COMP}'.replace('.','/')}"
TI_PDK_SOURCE_PN = "ti-pdk-source"
TI_PDK_SOURCE_WORKDIR = "${TMPDIR}/work-shared/ti-pdk-${PV}"
TI_PDK_SOURCE = "${TI_PDK_SOURCE_WORKDIR}/git"
S = "${WORKDIR}/git/${TI_PDK_COMP_PATH}"
# Hard-link only required sources from PDK
python do_unpack_append() {
if len(d.getVar('TI_PDK_COMP') or '') > 0:
import shutil
# Get src/dst paths
src = os.path.join(d.getVar('TI_PDK_SOURCE'),'packages',d.getVar('TI_PDK_COMP_PATH'))
s = d.getVar('S')
# Set up the directory structure, except for the root of the sources
# hard-linked.
bb.utils.mkdirhier(s)
os.rmdir(s)
# Recursively hard-link the sources
shutil.copytree(src, s, copy_function=os.link)
# Recursively hard-link the git directory
shutil.copytree(os.path.join(d.getVar('TI_PDK_SOURCE'),'.git'), os.path.join(s,'.git'), copy_function=os.link)
}
# Make sure that ti-pdk-source is unpacked before we set up the hardlinks.
python __anonymous () {
pn = d.getVar('PN')
pdk_src_pn = d.getVar('TI_PDK_SOURCE_PN')
if pn != pdk_src_pn:
d.appendVarFlag('do_unpack', 'depends', ' ${TI_PDK_SOURCE_PN}:do_unpack')
}

View File

@@ -1,144 +0,0 @@
require recipes-ti/includes/ti-paths.inc
require recipes-ti/includes/ti-staging.inc
inherit perlnative
DEPENDS = "ti-xdctools-native ti-cg-xml-native ti-sysbios common-csl-ip-rtos libxml-simple-perl-native gcc-arm-none-eabi-native ti-cgt6x-native ti-cgt-pru-native ti-pdk-build-rtos doxygen-native"
DEPENDS_append_omap-a15 = " ti-cgt-arm-native"
DEPENDS_remove_ti33x = "ti-cgt6x-native"
DEPENDS_remove_ti43x = "ti-cgt6x-native"
DEPENDS_append_omapl1 = " ti-cgt-arm-native"
DEPENDS_remove_am65xx = "gcc-arm-none-eabi-native ti-cgt6x-native"
DEPENDS_append_am65xx = " ti-cgt-arm-native gcc-linaro-baremetal-aarch64-native"
DEPENDS_remove_j7 = "gcc-arm-none-eabi-native"
DEPENDS_append_j7 = " ti-cgt-arm-native gcc-linaro-baremetal-aarch64-native ti-cgt7x-native"
S = "${WORKDIR}/git"
B = "${WORKDIR}/build"
# HTML hyperlink text
PDK_COMP_LINK_TEXT ?= ""
DOC_FILE = "API_Documentation_${PN}.html"
create_doc_link () {
PDK_COMP_DIR=`get_build_dir_bash`
echo "<a href=\"${PDK_COMP_DIR}/docs/doxygen/html/index.html\">${PDK_COMP_LINK_TEXT}</a>" >> ${D}${PDK_INSTALL_DIR_RECIPE}/packages/.extras/doc/${DOC_FILE}
}
get_build_dir_bash() {
if [ -f ${S}/package.xdc ]
then
grep '^package' ${S}/package.xdc | sed -e 's|\[.*$||' | awk '{ print $2 }' | sed -e 's|\.|/|g'
else
echo ${S}
return 1
fi
}
export CROSS_TOOL_PRFX="arm-none-eabi-"
export TOOLCHAIN_PATH_A8 = "${GCC_ARM_NONE_TOOLCHAIN}"
export TOOLCHAIN_PATH_A9 = "${GCC_ARM_NONE_TOOLCHAIN}"
export TOOLCHAIN_PATH_A15 = "${GCC_ARM_NONE_TOOLCHAIN}"
export TOOLCHAIN_PATH_M4 = "${M4_TOOLCHAIN_INSTALL_DIR}"
export TOOLCHAIN_PATH_Arm9 = "${M4_TOOLCHAIN_INSTALL_DIR}"
export C6X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
export C7X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c7x"
export TOOLCHAIN_PATH_EVE = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-arp32"
export CL_PRU_INSTALL_PATH = "${TI_CGT_PRU_INSTALL_DIR}"
export TOOLCHAIN_PATH_GCC_ARCH64 = "${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN}"
export TOOLCHAIN_PATH_R5 = "${M4_TOOLCHAIN_INSTALL_DIR}"
export ROOTDIR = "${B}"
export BIOS_INSTALL_PATH = "${SYSBIOS_INSTALL_DIR}"
export XDC_INSTALL_PATH = "${XDC_INSTALL_DIR}"
export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
export XDCPATH = "${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages;${PDK_INSTALL_DIR}/packages"
export SECTTI="perl ${CG_XML_INSTALL_DIR}/ofd/sectti.pl"
TI_PDK_XDCMAKE ?= "1"
# By default, only build the cores with available toolchains
TI_PDK_LIMIT_CORES ?= "a15_0 ipu1_0 ipu1_1 ipu2_0 ipu2_1 mpu1_0 mcu1_0 mcu1_1 mcu2_0 mcu2_1 mcu3_0 mcu3_1 c66x c66xdsp_1 c66xdsp_2 c7x_1 arm9_0 c674x a9host a8host pru_0 pru_1"
TI_PDK_LIMIT_SOCS ?= ""
TI_PDK_LIMIT_BOARDS ?= ""
TI_PDK_MAKE_TARGET ?= "release"
TI_PDK_EXTRA_MAKE ?= ""
TI_PDK_DOXYGEN_SUPPORT ?= "1"
TI_PDK_XDC_ARGS ?= "${TI_PDK_LIMIT_SOCS}"
PARALLEL_XDC = "${@oe.utils.parallel_make_argument(d, '--jobs=%d')}"
PARALLEL_MAKE = ""
def get_doxygen_support(d):
if d.getVar('TI_PDK_DOXYGEN_SUPPORT') == '1':
return ''
return 'DOXYGEN_SUPPORT=no'
EXTRA_OEMAKE = " \
LIMIT_SOCS="${TI_PDK_LIMIT_SOCS}" \
LIMIT_BOARDS="${TI_PDK_LIMIT_BOARDS}" \
LIMIT_CORES="${TI_PDK_LIMIT_CORES}" \
${TI_PDK_EXTRA_MAKE} \
${@get_doxygen_support(d)} \
"
do_configure() {
BUILD_DIR=${B}/`get_build_dir_bash`
mkdir -p ${BUILD_DIR}
cp -r ${S}/* ${BUILD_DIR}
if [ "${TI_PDK_XDCMAKE}" == "1" ]
then
cd ${BUILD_DIR}
sed -i "s/\ \"\.\\\\\\\\\"\ +//" src/Module.xs
find -name "*.xs" -exec sed -i "s/ofd6x\.exe/ofd6x/" {} \;
find -name "*.xs" -exec sed -i "s/sectti\.exe/sectti/" {} \;
find -name "*.xs" -exec sed -i "/\.chm/d" {} \;
find -name "*.xs" -exec sed -i "s/pasm\_dos/pasm\_linux/" {} \;
cd ${B}
${XDC_INSTALL_DIR}/xdc clean ${PARALLEL_XDC} -PR .
else
if [ "${CLEANBROKEN}" != "1" ]
then
cd ${BUILD_DIR}
oe_runmake clean
cd "${B}"
fi
fi
}
do_compile() {
if [ "${TI_PDK_XDCMAKE}" == "1" ]
then
${XDC_INSTALL_DIR}/xdc all ${PARALLEL_XDC} XDCARGS="${TI_PDK_XDC_ARGS}" ROOTDIR="${ROOTDIR}" -PR .
${XDC_INSTALL_DIR}/xdc release XDCARGS="${TI_PDK_XDC_ARGS}" -PR .
else
BUILD_DIR=${B}/`get_build_dir_bash`
cd ${BUILD_DIR}
oe_runmake ${TI_PDK_MAKE_TARGET}
fi
}
do_install () {
install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages
find -name "*.tar" -exec tar xf {} --no-same-owner -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages \;
if [ "${PDK_COMP_LINK_TEXT}" != "" ]
then
install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/.extras/doc
create_doc_link
fi
}
FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"

View File

@@ -1,34 +0,0 @@
# 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-ti"
BBFILE_PATTERN_meta-ti := "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-ti = "6"
LAYERSERIES_COMPAT_meta-ti = "sumo thud warrior zeus dunfell"
LICENSE_PATH += "${LAYERDIR}/licenses"
LAYERDEPENDS_meta-ti = " \
core \
meta-arm \
"
SIGGEN_EXCLUDERECIPES_ABISAFE += " \
ti-sgx-ddk-km \
ti-sgx-ddk-um \
cmem-mod \
hplib-mod \
gdbserverproxy-module-drv \
debugss-module-drv \
uio-module-drv \
mpm-transport \
cppi-lld \
qmss-lld \
multiprocmgr \
"
HOSTTOOLS_NONFATAL += "truncate xxd comm"

View File

@@ -1,35 +0,0 @@
#@TYPE: Machine
#@NAME: AM3517 EVM
#@DESCRIPTION: Machine configuration for the TI Sitara AM3517 EVM
require conf/machine/include/omap3.inc
MACHINE_GUI_CLASS = "smallscreen"
MACHINE_FEATURES += "touchscreen ethernet"
IMAGE_FSTYPES += "ubi tar.xz"
EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
SERIAL_CONSOLES = "115200;ttyS2"
USE_VT = "2"
KERNEL_DEVICETREE = "am3517-evm.dtb"
UBOOT_MACHINE = "am3517_evm_config"
XLOAD_MACHINE = "am3517evm_config"
# NOTE: there are NAND and OneNAND versions of this board...
# do ubiattach /dev/ubi_ctrl -m 4
# From dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: logical eraseblock size: 129024 bytes
# from ubiattach stdout:
# UBI device number 0, total 1996 LEBs
MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 512
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"

View File

@@ -1,31 +0,0 @@
#@TYPE: Machine
#@NAME: AM37x EVM
#@DESCRIPTION: Machine configuration for the TI AM37x EVM
require conf/machine/include/omap3.inc
MACHINE_GUI_CLASS = "smallscreen"
MACHINE_FEATURES += "touchscreen ethernet"
IMAGE_FSTYPES += "ubi tar.xz"
EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
KERNEL_DEVICETREE = "omap3-evm-37xx.dtb"
SERIAL_CONSOLES = "115200;ttyS0"
# NOTE: there are NAND and OneNAND versions of this board...
# do ubiattach /dev/ubi_ctrl -m 4
# From dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: logical eraseblock size: 129024 bytes
# from ubiattach stdout:
# UBI device number 0, total 1996 LEBs
MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 512
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"

View File

@@ -1,11 +0,0 @@
#@TYPE: Machine
#@NAME: AM65xx SR2.0 EVM (R5F)
#@DESCRIPTION: Machine configuration for the TI AM65xx SR2.0 EVM (R5F core)
# Booting SR2 requires different SYSFW, the rest is handled at runtime
require conf/machine/am65xx-evm-k3r5.conf
SOC_FAMILY_append = ":k3r5-sr2"
SYSFW_SOC = "am65x_sr2"
SYSFW_SYMLINK = "sysfw.itb"

View File

@@ -1,36 +0,0 @@
#@TYPE: Machine
#@NAME: AM65xx EVM
#@DESCRIPTION: Machine configuration for the TI AM65xx EVM
require conf/machine/include/am65xx.inc
BBMULTICONFIG += "k3r5-sr2"
MACHINE_FEATURES += "touchscreen"
SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS1"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
KERNEL_DEVICETREE = " \
ti/k3-am654-base-board.dtb \
ti/k3-am654-base-board-sr1.dtb \
ti/k3-am654-gp.dtbo \
ti/k3-am654-idk.dtbo \
ti/k3-am654-evm-hdmi.dtbo \
ti/k3-am654-evm-oldi-lcd1evm.dtbo \
ti/k3-am654-evm-tc358876.dtbo \
ti/k3-am654-pcie-usb2.dtbo \
ti/k3-am654-pcie-usb3.dtbo \
ti/k3-am654-base-board-jailhouse.dtbo \
ti/k3-am654-evm-prupwm.dtbo \
"
UBOOT_MACHINE = "am65x_evm_a53_defconfig"
OPTEEMACHINE = "k3"
OPTEEFLAVOR = "am65x"
OPTEEOUTPUTMACHINE = "k3"
IMAGE_BOOT_FILES += "sysfw-am65x-evm.itb"
do_image_wic[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy"
do_image_tar[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy"

View File

@@ -1,44 +0,0 @@
#@TYPE: Machine
#@NAME: AM65xx HS EVM
#@DESCRIPTION: Machine configuration for the TI AM65xx HS EVM
require conf/machine/include/am65xx.inc
MACHINE_FEATURES += "touchscreen"
SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS1"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
KERNEL_DEVICETREE = " \
ti/k3-am654-base-board.dtb ti/k3-am654-gp.dtbo \
ti/k3-am654-evm-hdmi.dtbo ti/k3-am654-idk.dtbo \
ti/k3-am654-evm-oldi-lcd1evm.dtbo ti/k3-am654-evm-tc358876.dtbo \
ti/k3-am654-pcie-usb2.dtbo ti/k3-am654-pcie-usb3.dtbo \
ti/k3-am654-base-board-jailhouse.dtbo \
ti/k3-am654-evm-prupwm.dtbo \
"
UBOOT_MACHINE = "am65x_hs_evm_a53_defconfig"
OPTEEMACHINE = "k3"
OPTEEFLAVOR = "am65x"
OPTEEOUTPUTMACHINE = "k3"
UBOOT_ENTRYPOINT = "0x80080000"
UBOOT_LOADADDRESS = "0x80080000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
UBOOT_DTB_LOADADDRESS = "0x83000000"
UBOOT_DTBO_LOADADDRESS = "0x83080000"
UBOOT_DTBO_OFFSET = "0x00010000"
SPL_BINARY = "tispl.bin_HS"
SPL_BINARYNAME = "tispl.bin"
UBOOT_BINARY = "u-boot.img_HS"
IMAGE_BOOT_FILES = "${UBOOT_BINARY}"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"
OPTEEMACHINE = "k3"
OPTEEFLAVOR = "am65x"
OPTEEOUTPUTMACHINE = "k3"

View File

@@ -1,13 +0,0 @@
#@TYPE: Machine
#@NAME: BeagleBoard X15
#@DESCRIPTION: Machine configuration for the BeagleBoard X15
require conf/machine/include/dra7xx.inc
KERNEL_DEVICETREE = "am57xx-beagle-x15.dtb am57xx-beagle-x15-revb1.dtb am57xx-beagle-x15-revc.dtb"
MACHINE_GUI_CLASS = "bigscreen"
SERIAL_CONSOLES = "115200;ttyS2"
UBOOT_MACHINE = "am57xx_evm_config"

View File

@@ -1,38 +0,0 @@
#@TYPE: Machine
#@NAME: Beagleboard machine
#@DESCRIPTION: Machine configuration for the http://beagleboard.org/ board
require conf/machine/include/omap3.inc
# Only has DVI connector for external screen
MACHINE_GUI_CLASS = "bigscreen"
IMAGE_FSTYPES += "tar.xz ubi"
EXTRA_IMAGECMD_jffs2 = "-lnp"
KERNEL_DEVICETREE = "omap3-beagle.dtb omap3-beagle-xm.dtb omap3-beagle-xm-ab.dtb"
SERIAL_CONSOLES = "115200;ttyS2"
UBOOT_MACHINE = "omap3_beagle_config"
# do ubiattach /dev/ubi_ctrl -m 4
# From dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: logical eraseblock size: 129024 bytes
# from ubiattach stdout:
# UBI device number 0, total 1996 LEBs
#
# Beagleboard C5 has 3998 LEBS (490MiB)
MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 512
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
# For a modularized kernel we want to drag in networking, sound, rtc etc."
MACHINE_EXTRA_RRECOMMENDS = "kernel-module-smsc95xx kernel-module-snd-soc-twl4030 kernel-module-rtc-twl \
kernel-module-snd-soc-omap kernel-module-snd-soc-omap-mcbsp kernel-module-snd-soc-omap3beagle"

View File

@@ -1,19 +0,0 @@
#@TYPE: Machine
#@NAME: BeagleBone machine
#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board
require conf/machine/include/ti33x.inc
KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblue.dtb \
am335x-boneblack.dtb am335x-boneblack-wireless.dtb \
am335x-bonegreen.dtb am335x-bonegreen-wireless.dtb"
# Only has DVI connector for external screen
MACHINE_GUI_CLASS = "bigscreen"
SERIAL_CONSOLES = "115200;ttyS0"
IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage"
# Refine the list of device targets for ti-pdk class recipes
TI_PDK_LIMIT_BOARDS = "bbbAM335x"

View File

@@ -1,9 +0,0 @@
#@TYPE: Machine
#@NAME: Keystone 1 c665x machine
#@DESCRIPTION: Machine configuration for the TI Keystone 1 c665x EVM
require conf/machine/include/c66x.inc
# Set the list of device targets for ti-pdk class recipes
TI_PDK_LIMIT_SOCS = "c6657"
TI_PDK_LIMIT_BOARDS = "evmC6657"

View File

@@ -1,9 +0,0 @@
#@TYPE: Machine
#@NAME: Keystone 1 c667x machine
#@DESCRIPTION: Machine configuration for the TI Keystone 1 c667x EVM
require conf/machine/include/c66x.inc
# Set the list of device targets for ti-pdk class recipes
TI_PDK_LIMIT_SOCS = "c6678"
TI_PDK_LIMIT_BOARDS = "evmC6678"

View File

@@ -1,7 +0,0 @@
require conf/machine/include/k3.inc
SOC_FAMILY_append = ":am65xx"
# Set the list of device targets for ti-pdk class recipes
TI_PDK_LIMIT_SOCS = "am65xx"
TI_PDK_LIMIT_BOARDS = "am65xx_evm am65xx_idk"
TI_PDK_LIMIT_CORES = "mcu1_0 mpu1_0"

View File

@@ -1,9 +0,0 @@
require conf/machine/include/keystone.inc
SOC_FAMILY_append = ":c66x"
# HACK: The c66x family is composed of devices with only DSP cores, and no ARM
# cores. The Linux kernel is not supported on these machines.
PREFERRED_PROVIDER_virtual/kernel ?= "linux-dummy"
EXTRA_IMAGEDEPENDS = ""
IMAGE_FSTYPES = "tar.xz"

View File

@@ -1,22 +0,0 @@
require conf/machine/include/tune-arm926ejs.inc
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r54"
KERNEL_IMAGETYPE = "zImage"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
UBOOT_MACHINE = "davinci_dvevm_config"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
EXTRA_IMAGEDEPENDS += "u-boot"
SERIAL_CONSOLES ?= "115200;ttyS0"
EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x20000 -n"
MACHINE_FEATURES = "kernel26 serial ethernet usbhost usbgadget mmc alsa"

View File

@@ -1,11 +0,0 @@
require conf/machine/include/k3.inc
SOC_FAMILY_append = ":j7"
OPTEEMACHINE = "k3"
OPTEEFLAVOR = "j7"
OPTEEOUTPUTMACHINE = "k3"
# Set the list of device targets for ti-pdk class recipes
TI_PDK_LIMIT_SOCS = "j721e j7200"
TI_PDK_LIMIT_BOARDS = "j721e_evm j7200_evm"
TI_PDK_LIMIT_CORES = "mpu1_0 mcu1_0 mcu1_1 mcu2_0 mcu2_1 mcu3_0 mcu3_1 c66xdsp_1 c66xdsp_2 c7x_1"

View File

@@ -1,6 +0,0 @@
require conf/machine/include/keystone.inc
SOC_FAMILY_append = ":k2e"
# Set the list of device targets for ti-pdk class recipes
TI_PDK_LIMIT_SOCS = "k2e"
TI_PDK_LIMIT_BOARDS = "evmK2E"

View File

@@ -1,6 +0,0 @@
require conf/machine/include/keystone.inc
SOC_FAMILY_append = ":k2g"
# Set the list of device targets for ti-pdk class recipes
TI_PDK_LIMIT_SOCS = "k2g"
TI_PDK_LIMIT_BOARDS = "evmK2G iceK2G"

View File

@@ -1,6 +0,0 @@
require conf/machine/include/keystone.inc
SOC_FAMILY_append = ":k2hk"
# Set the list of device targets for ti-pdk class recipes
TI_PDK_LIMIT_SOCS = "k2h k2k"
TI_PDK_LIMIT_BOARDS = "evmK2H evmK2K"

View File

@@ -1,6 +0,0 @@
require conf/machine/include/keystone.inc
SOC_FAMILY_append = ":k2l"
# Set the list of device targets for ti-pdk class recipes
TI_PDK_LIMIT_SOCS = "k2l"
TI_PDK_LIMIT_BOARDS = "evmK2L"

View File

@@ -1,45 +0,0 @@
# TI K3 Aarch64 profile for Cortex-A53/A72 cores
require conf/machine/include/ti-soc.inc
SOC_FAMILY_append = ":k3"
require conf/machine/include/arm/arch-arm64.inc
BBMULTICONFIG += "k3r5"
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r0"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
KERNEL_IMAGETYPE = "Image"
KERNEL_IMAGETYPES = "Image vmlinux.gz"
UBOOT_ARCH = "arm"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
SPL_BINARY = "tispl.bin"
UBOOT_SUFFIX = "img"
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
MACHINE_GUI_CLASS = "smallscreen"
# Use the expected value of the ubifs filesystem's volume name in the kernel
# and u-boot.
UBI_VOLNAME = "rootfs"
# List common SoC features, may need to add touchscreen for specific machines
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet pci gpu"
# Not ready yet - dsp mmip
IMAGE_FSTYPES += "tar.xz wic.xz"
IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} tiboot3.bin sysfw.itb"
WKS_FILE ?= "sdimage-2part.wks"
do_image_wic[depends] += "virtual/bootloader:do_deploy"
do_image_wic[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy mc::k3r5:ti-sci-fw:do_deploy"
do_image_tar[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy mc::k3r5:ti-sci-fw:do_deploy"

View File

@@ -1,23 +0,0 @@
# TI K3 Armv7 profile for Cortex-R5F cores
require conf/machine/include/ti-soc.inc
SOC_FAMILY_append = ":k3r5"
# The closest of existing tunes for Cortex-R5F
DEFAULTTUNE = "armv7athf"
require conf/machine/include/tune-cortexa8.inc
# R5 runs early bootloader and loads SYSFW
# https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/board/ti/am65x/README
# https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/board/ti/j721e/README
PREFERRED_PROVIDER_virtual/kernel = "linux-dummy"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
SPL_BINARY = ""
UBOOT_SUFFIX = "bin"
UBOOT_BINARY = "tiboot3.${UBOOT_SUFFIX}"
UBOOT_IMAGE = "tiboot3-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
UBOOT_SYMLINK = "tiboot3-${MAINMACHINE}.${UBOOT_SUFFIX}"
PACKAGECONFIG_pn-u-boot-ti-staging = ""

View File

@@ -1,30 +0,0 @@
require conf/machine/include/ti-soc.inc
SOC_FAMILY_append = ":keystone"
DEFAULTTUNE ?= "armv7athf-neon"
require conf/machine/include/tune-cortexa15.inc
PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r10"
KERNEL_IMAGETYPE = "zImage"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
SPL_BINARY = "MLO"
UBOOT_SUFFIX = "bin"
# Use the expected value of the ubifs filesystem's volume name in the kernel
# and u-boot.
UBI_VOLNAME = "rootfs"
EXTRA_IMAGEDEPENDS += "u-boot"
EXTRA_IMAGEDEPENDS += "boot-monitor"
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat pci dsp"
MACHINE_FEATURES_BACKFILL_CONSIDERED = "rtc"

View File

@@ -1,44 +0,0 @@
require conf/machine/include/ti-soc.inc
SOC_FAMILY_append = ":omap-a15"
DEFAULTTUNE ?= "armv7athf-neon"
require conf/machine/include/tune-cortexa15.inc
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r7"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
KERNEL_IMAGETYPE = "zImage"
KERNEL_IMAGETYPES = "zImage uImage"
KERNEL_CLASSES += "kernel-uimage"
UBOOT_ARCH = "arm"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
SPL_BINARY = "MLO"
UBOOT_SUFFIX = "img"
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
XSERVER = "xserver-xorg \
xf86-input-evdev \
xf86-video-fbdev"
MACHINE_GUI_CLASS = "smallscreen"
# Use the expected value of the ubifs filesystem's volume name in the kernel
# and u-boot.
UBI_VOLNAME = "rootfs"
# List common SoC features, may need to add touchscreen for specific machines
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu mmip dsp gc320"
IMAGE_FSTYPES += "tar.xz wic.xz"
WKS_FILE ?= "sdimage-2part.wks"
IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX}"
do_image_wic[depends] += "u-boot:do_deploy"

View File

@@ -1,42 +0,0 @@
require conf/machine/include/ti-soc.inc
SOC_FAMILY_append = ":omap3"
DEFAULTTUNE ?= "armv7athf-neon"
require conf/machine/include/tune-cortexa8.inc
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
# For built-in LCD, add xf86-input-tslib
XSERVER = "xserver-xorg \
xf86-input-evdev \
xf86-input-mouse \
xf86-video-fbdev \
xf86-input-keyboard"
# Default to external video, change to smallscreen for built-in LCD
MACHINE_GUI_CLASS = "bigscreen"
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r127"
KERNEL_IMAGETYPE = "zImage"
# Default providers, may need to override for specific machines
PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
KERNEL_DEVICETREE = "omap3-beagle.dtb omap3-beagle-xm.dtb omap3-beagle-xm-ab.dtb omap3-evm.dtb omap3-evm-37xx.dtb am3517-evm.dtb"
UBOOT_ARCH = "arm"
UBOOT_MACHINE = "omap3_evm_config"
XLOAD_MACHINE = "omap3evm_config"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
# If SPL is not used, may need to add x-load
EXTRA_IMAGEDEPENDS += "u-boot"
# List common SoC features, may need to add touchscreen/ethernet for specific machines
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa gpu"

View File

@@ -1,26 +0,0 @@
require conf/machine/include/ti-soc.inc
SOC_FAMILY_append = ":omap4"
DEFAULTTUNE ?= "armv7athf-neon"
require conf/machine/include/tune-cortexa9.inc
PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
XSERVER = "xserver-xorg \
xf86-input-evdev \
xf86-video-fbdev"
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r4"
KERNEL_IMAGETYPE = "zImage"
UBOOT_MACHINE = "omap4_panda_config"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
EXTRA_IMAGEDEPENDS += "u-boot"

View File

@@ -1,2 +0,0 @@
require conf/machine/include/ti-soc.inc
SOC_FAMILY_append = ":omapl1"

View File

@@ -1,5 +0,0 @@
require conf/machine/include/omapl1.inc
SOC_FAMILY_append = ":omapl137"
# Set the list of device targets for ti-pdk class recipes
TI_PDK_LIMIT_SOCS = "omapl137"

View File

@@ -1,5 +0,0 @@
require conf/machine/include/omapl1.inc
SOC_FAMILY_append = ":omapl138"
# Set the list of device targets for ti-pdk class recipes
TI_PDK_LIMIT_SOCS = "omapl138"

View File

@@ -1,66 +0,0 @@
require conf/machine/include/ti-soc.inc
SOC_FAMILY_append = ":ti33x"
DEFAULTTUNE ?= "armv7athf-neon"
require conf/machine/include/tune-cortexa8.inc
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
# For built-in LCD, add xf86-input-tslib
XSERVER = "xserver-xorg \
xf86-input-evdev \
xf86-input-mouse \
xf86-video-fbdev \
xf86-input-keyboard"
# Default to external video, change to smallscreen for built-in LCD
MACHINE_GUI_CLASS = "bigscreen"
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r22"
# Default providers, may need to override for specific machines
PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
KERNEL_IMAGETYPE = "zImage"
KERNEL_DEVICETREE = " \
am335x-evm.dtb am335x-evmsk.dtb \
am335x-icev2.dtb \
am335x-icev2-prueth.dtb \
am335x-pocketbeagle.dtb am335x-bone.dtb am335x-boneblue.dtb \
am335x-bonegreen.dtb am335x-bonegreen-wireless.dtb \
am335x-boneblack.dtb am335x-boneblack-wireless.dtb \
am335x-sancloud-bbe.dtb \
"
KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am335x-icev2-pru-excl-uio.dtb', '', d)}"
UBOOT_ARCH = "arm"
UBOOT_MACHINE = "am335x_evm_config"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
SPL_BINARY = "MLO"
UBOOT_SUFFIX = "img"
# Use the expected value of the ubifs filesystem's volume name in the kernel
# and u-boot.
UBI_VOLNAME = "rootfs"
EXTRA_IMAGEDEPENDS += "u-boot"
# List common SoC features, may need to add touchscreen for specific machines
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu"
# Set the list of device targets for ti-pdk class recipes
TI_PDK_LIMIT_SOCS = "am335x"
TI_PDK_LIMIT_BOARDS = "evmAM335x icev2AM335x iceAMIC110 bbbAM335x skAM335x"
IMAGE_FSTYPES += "tar.xz wic.xz"
WKS_FILE ?= "sdimage-2part.wks"
IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX}"
do_image_wic[depends] += "u-boot:do_deploy"

View File

@@ -1,62 +0,0 @@
require conf/machine/include/ti-soc.inc
SOC_FAMILY_append = ":ti43x"
DEFAULTTUNE ?= "armv7athf-neon"
require conf/machine/include/tune-cortexa9.inc
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
# For built-in LCD, add xf86-input-tslib
XSERVER = "xserver-xorg \
xf86-input-evdev \
xf86-input-mouse \
xf86-video-fbdev \
xf86-input-keyboard"
# Default to external video, change to smallscreen for built-in LCD
MACHINE_GUI_CLASS = "bigscreen"
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r3"
# Default providers, may need to override for specific machines
PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
KERNEL_IMAGETYPE = "zImage"
KERNEL_DEVICETREE = " \
am437x-gp-evm.dtb am437x-gp-evm-hdmi.dtb \
am437x-sk-evm.dtb am437x-idk-evm.dtb \
am43x-epos-evm.dtb am43x-epos-evm-hdmi.dtb \
"
KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am437x-idk-pru-excl-uio.dtb', '', d)}"
UBOOT_ARCH = "arm"
UBOOT_MACHINE = "am43xx_evm_config"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
SPL_BINARY = "MLO"
UBOOT_SUFFIX = "img"
# Use the expected value of the ubifs filesystem's volume name in the kernel
# and u-boot.
UBI_VOLNAME = "rootfs"
EXTRA_IMAGEDEPENDS += "u-boot"
# List common SoC features, may need to add touchscreen for specific machines
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu"
# Set the list of device targets for ti-pdk class recipes
TI_PDK_LIMIT_SOCS = "am437x"
TI_PDK_LIMIT_BOARDS = "evmAM437x idkAM437x skAM437x"
IMAGE_FSTYPES += "tar.xz wic.xz"
WKS_FILE ?= "sdimage-2part.wks"
IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX}"
do_image_wic[depends] += "u-boot:do_deploy"

View File

@@ -1,18 +0,0 @@
#@TYPE: Machine
#@NAME: J7 EVM
#@DESCRIPTION: Machine configuration for the TI J7 EVM
require conf/machine/include/j7.inc
SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS3"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
KERNEL_DEVICETREE = " \
ti/k3-j721e-common-proc-board.dtb \
ti/k3-j721e-proc-board-tps65917.dtb \
ti/k3-j721e-common-proc-board-infotainment.dtbo \
ti/k3-j721e-pcie-backplane.dtbo \
ti/k3-j721e-common-proc-board-jailhouse.dtbo \
"
UBOOT_MACHINE = "j721e_evm_a72_config"

View File

@@ -1,13 +0,0 @@
#@TYPE: Machine
#@NAME: J7 HS EVM (R5F)
#@DESCRIPTION: Machine configuration for the TI J7 HS EVM (R5F core)
require conf/machine/include/k3r5.inc
SYSFW_SOC = "j721e"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs"
UBOOT_MACHINE = "j721e_hs_evm_r5_defconfig"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"

View File

@@ -1,22 +0,0 @@
#@TYPE: Machine
#@NAME: J7 HS EVM
#@DESCRIPTION: Machine configuration for the TI J7 HS EVM
require conf/machine/j7-evm.conf
UBOOT_MACHINE = "j721e_hs_evm_a72_defconfig"
UBOOT_ENTRYPOINT = "0x80080000"
UBOOT_LOADADDRESS = "0x80080000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
UBOOT_DTB_LOADADDRESS = "0x83000000"
UBOOT_DTBO_LOADADDRESS = "0x83080000"
UBOOT_DTBO_OFFSET = "0x00010000"
SPL_BINARY = "tispl.bin_HS"
SPL_BINARYNAME = "tispl.bin"
UBOOT_BINARY = "u-boot.img_HS"
IMAGE_BOOT_FILES = "${UBOOT_BINARY}"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"

View File

@@ -1,32 +0,0 @@
#@TYPE: Machine
#@NAME: Keystone 2 K2E machine
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2E EVM
require conf/machine/include/k2e.inc
KERNEL_DEVICETREE = "keystone-k2e-evm.dtb"
UBOOT_MACHINE = "k2e_evm_config"
BOOT_MONITOR_MAKE_TARGET = "k2e"
IMAGE_FSTYPES += "ubifs ubi tar.xz"
SERIAL_CONSOLES = "115200;ttyS0"
SYSVINIT_ENABLED_GETTYS = ""
# do ubiattach /dev/ubi_ctrl -m 4
# From dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 3856 LEBs
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3856"
# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 2048
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 2048 -O 2048"

View File

@@ -1,15 +0,0 @@
#@TYPE: Machine
#@NAME: Keystone 2 K2E HS EVM
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2E HS EVM
require conf/machine/k2e-evm.conf
UBOOT_MACHINE = "k2e_hs_evm_config"
SPL_BINARY = ""
UBOOT_ENTRYPOINT = "0x82000000"
UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/k2e"

View File

@@ -1,35 +0,0 @@
#@TYPE: Machine
#@NAME: Keystone 2 K2G machine
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2G EVM
require conf/machine/include/k2g.inc
MACHINE_FEATURES += "alsa"
KERNEL_DEVICETREE = "keystone-k2g-evm.dtb keystone-k2g-evm-lcd.dtb keystone-k2g-ice.dtb \
${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'keystone-k2g-ice-pru-excl-uio.dtb', '', d)}"
UBOOT_MACHINE = "k2g_evm_config"
BOOT_MONITOR_MAKE_TARGET = "k2g"
IMAGE_FSTYPES += "ubifs ubi tar.xz"
SERIAL_CONSOLES = "115200;ttyS0"
SYSVINIT_ENABLED_GETTYS = ""
# do ubiattach /dev/ubi_ctrl -m 4
# From dmesg:
# UBI: smallest flash I/O unit: 4096
# UBI: logical eraseblock size: 253952 bytes
# from ubiattach stdout:
# UBI device number 0, total 1926 LEBs
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 1926"
# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:
# UBI: smallest flash I/O unit: 4096
# UBI: physical eraseblock size: 256 KiB
# UBI: sub-page size: 4096
UBINIZE_ARGS = "-m 4096 -p 256KiB -s 4096 -O 4096"

View File

@@ -1,15 +0,0 @@
#@TYPE: Machine
#@NAME: Keystone 2 K2G HS EVM
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2G HS EVM
require conf/machine/k2g-evm.conf
UBOOT_MACHINE = "k2g_hs_evm_config"
SPL_BINARY = ""
UBOOT_ENTRYPOINT = "0x82000000"
UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/k2g"

View File

@@ -1,32 +0,0 @@
#@TYPE: Machine
#@NAME: Keystone 2 K2HK machine
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2HK EVM
require conf/machine/include/k2hk.inc
KERNEL_DEVICETREE = "keystone-k2hk-evm.dtb"
UBOOT_MACHINE = "k2hk_evm_config"
BOOT_MONITOR_MAKE_TARGET = "k2hk"
IMAGE_FSTYPES += "ubifs ubi tar.xz"
SERIAL_CONSOLES = "115200;ttyS0"
SYSVINIT_ENABLED_GETTYS = ""
# do ubiattach /dev/ubi_ctrl -m 4
# From dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 3856 LEBs
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3856"
# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 2048
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 2048 -O 2048"

View File

@@ -1,15 +0,0 @@
#@TYPE: Machine
#@NAME: Keystone 2 K2HK HS EVM
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2HK HS EVM
require conf/machine/k2hk-evm.conf
UBOOT_MACHINE = "k2hk_hs_evm_config"
SPL_BINARY = ""
UBOOT_ENTRYPOINT = "0x82000000"
UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/k2hk"

View File

@@ -1,32 +0,0 @@
#@TYPE: Machine
#@NAME: Keystone 2 K2L machine
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2L EVM
require conf/machine/include/k2l.inc
KERNEL_DEVICETREE = "keystone-k2l-evm.dtb"
UBOOT_MACHINE = "k2l_evm_config"
BOOT_MONITOR_MAKE_TARGET = "k2l"
IMAGE_FSTYPES += "ubifs ubi tar.xz"
SERIAL_CONSOLES = "115200;ttyS0"
SYSVINIT_ENABLED_GETTYS = ""
# do ubiattach /dev/ubi_ctrl -m 4
# From dmesg:
# UBI: smallest flash I/O unit: 4096
# UBI: logical eraseblock size: 253952 bytes
# from ubiattach stdout:
# UBI device number 0, total 1926 LEBs
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 1926"
# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:
# UBI: smallest flash I/O unit: 4096
# UBI: physical eraseblock size: 256 KiB
# UBI: sub-page size: 4096
UBINIZE_ARGS = "-m 4096 -p 256KiB -s 4096 -O 4096"

View File

@@ -1,15 +0,0 @@
#@TYPE: Machine
#@NAME: Keystone 2 K2L HS EVM
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2L HS EVM
require conf/machine/k2l-evm.conf
UBOOT_MACHINE = "k2l_hs_evm_config"
SPL_BINARY = ""
UBOOT_ENTRYPOINT = "0x82000000"
UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/k2l"

View File

@@ -1,22 +0,0 @@
#@TYPE: Machine
#@NAME: LEGO Mindstorms EV3
#@DESCRIPTION: Machine configuration for the LEGO Mindstorms EV3
require conf/machine/include/davinci.inc
require conf/machine/include/omapl138.inc
UBOOT_MACHINE = "legoev3_config"
UBOOT_SUFFIX = "bin"
UBOOT_ENTRYPOINT = "0xC0008000"
UBOOT_LOADADDRESS = "0xC0008000"
SPL_BINARY = ""
KERNEL_DEVICETREE = "da850-lego-ev3.dtb"
KERNEL_IMAGETYPES = "uImage"
KERNEL_DEVICETREE_BUNDLE = "1"
SERIAL_CONSOLES = "115200;ttyS1"
IMAGE_FSTYPES += " wic"
WKS_FILE ?= "sdimage-bootpart.wks"
WIC_CREATE_EXTRA_ARGS += " --no-fstab-update"
IMAGE_BOOT_FILES = "${KERNEL_IMAGETYPES}"

View File

@@ -1,32 +0,0 @@
#@TYPE: Machine
#@NAME: OMAP3 EVM
#@DESCRIPTION: Machine configuration for the TI OMAP3 EVM
require conf/machine/include/omap3.inc
MACHINE_GUI_CLASS = "smallscreen"
MACHINE_FEATURES += "touchscreen ethernet"
IMAGE_FSTYPES += "jffs2 tar.xz"
EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
SERIAL_CONSOLES = "115200;ttyS0"
USE_VT = "0"
EXTRA_IMAGEDEPENDS += "x-load"
# NOTE: there are NAND and OneNAND versions of this board...
# do ubiattach /dev/ubi_ctrl -m 4
# From dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: logical eraseblock size: 129024 bytes
# from ubiattach stdout:
# UBI device number 0, total 1996 LEBs
MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 512
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"

View File

@@ -1,34 +0,0 @@
#@TYPE: Machine
#@NAME: OMAP5 EVM
#@DESCRIPTION: Machine configuration for the TI OMAP5 uEVM
require conf/machine/include/omap-a15.inc
IMAGE_FSTYPES += "ubi tar.xz"
KERNEL_DEVICETREE = "omap5-uevm.dtb"
SERIAL_CONSOLES = "115200;ttyS2"
# UBI information. Note that this is board and kernel specific. Changes
# in your kernel port may require changes in these variables. For more
# details about this board please see
# http://processors.wiki.ti.com/index.php/UBIFS_Support
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# From dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 1988 LEBs
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4300"
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# from dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 512
# UBI: VID header offset: 2048 (aligned 2048)
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
UBOOT_MACHINE = "omap5_uevm_config"

View File

@@ -1,15 +0,0 @@
#@TYPE: Machine
#@NAME: OMAP-L137 EVM
#@DESCRIPTION: Machine configuration for the TI OMAP-L137 EVM board
require conf/machine/include/davinci.inc
require conf/machine/include/omapl137.inc
# HACK: The omapl137 family does not have linux kernel support.
PREFERRED_PROVIDER_virtual/kernel ?= "linux-dummy"
EXTRA_IMAGEDEPENDS = ""
IMAGE_FSTYPES = "tar.xz"
# Set the list of device targets for ti-pdk class recipes
TI_PDK_LIMIT_BOARDS = "evmOMAPL137"

View File

@@ -1,16 +0,0 @@
#@TYPE: Machine
#@NAME: Pandaboard
#@DESCRIPTION: Machine configuration for the OMAP4430 Panda
require conf/machine/include/omap4.inc
MACHINE_GUI_CLASS = "bigscreen"
IMAGE_FSTYPES += "tar.xz"
KERNEL_DEVICETREE = "omap4-panda.dtb omap4-panda-a4.dtb omap4-panda-es.dtb"
SERIAL_CONSOLES = "115200;ttyS2"
MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
MACHINE_FEATURES = "kernel26 wifi bluetooth alsa apm ext2 screen usbgadget usbhost vfat gpu"

View File

@@ -1,3 +0,0 @@
require k3r5.conf
MACHINE_append = "-sr2"

View File

@@ -1,5 +0,0 @@
MAINMACHINE := "${MACHINE}"
DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MAINMACHINE}"
MACHINE_append = "-k3r5"

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

@@ -0,0 +1,29 @@
#@TYPE: Machine
#@NAME: BeagleBoard X15
#@DESCRIPTION: Machine configuration for the BeagleBoard X15
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-6_1 = ""
KERNEL_DEVICETREE_PREFIX = " \
${DT_VENDOR_PREFIX}am57xx-beagle-x15 \
${DT_VENDOR_PREFIX}am57xx-idk-lcd \
"
KERNEL_DEVICETREE = " \
${DT_VENDOR_PREFIX}am57xx-beagle-x15.dtb \
${DT_VENDOR_PREFIX}am57xx-beagle-x15-revb1.dtb \
${DT_VENDOR_PREFIX}am57xx-beagle-x15-revc.dtb \
${DT_VENDOR_PREFIX}am57xx-idk-lcd-osd101t2045.dtbo \
${DT_VENDOR_PREFIX}am57xx-idk-lcd-osd101t2587.dtbo \
"
MACHINE_GUI_CLASS = "bigscreen"
SERIAL_CONSOLES = "115200;ttyS2"
UBOOT_MACHINE = "am57xx_evm_config"

View File

@@ -0,0 +1,24 @@
#@TYPE: Machine
#@NAME: BeagleBone AI-64 (R5F)
#@DESCRIPTION: Machine configuration for the BeagleBone AI-64 (R5F core)
require conf/machine/include/k3r5.inc
require conf/machine/include/beagle-bsp.inc
SYSFW_SOC = "j721e"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "gp"
SPL_BINARY = "spl/u-boot-spl.${UBOOT_SUFFIX}"
SPL_SYMLINK = "u-boot-r5spl.${UBOOT_SUFFIX}"
UBOOT_BINARY = "tiboot3.${UBOOT_SUFFIX}"
UBOOT_IMAGE = "tiboot3-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
UBOOT_SYMLINK = "tiboot3-${MAINMACHINE}.${UBOOT_SUFFIX}"
UBOOT_MACHINE = "j721e_beagleboneai64_r5_defconfig"
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

@@ -0,0 +1,54 @@
#@TYPE: Machine
#@NAME: BeagleBone AI-64 (A72)
#@DESCRIPTION: Machine configuration for the BeagleBone AI-64 board (A72 core)
require conf/machine/include/j721e.inc
require conf/machine/include/beagle-bsp.inc
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_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_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 \
"
KERNEL_DEVICETREE = " \
ti/k3-j721e-beagleboneai64.dtb \
ti/k3-j721e-common-proc-board.dtb \
ti/k3-j721e-evm-gesi-exp-board.dtbo \
ti/k3-j721e-evm-quad-port-eth-exp.dtbo \
ti/k3-j721e-sk.dtb \
"
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 \
ti/k3-j721e-evm-fusion.dtbo \
ti/k3-j721e-evm-pcie0-ep.dtbo \
ti/k3-j721e-evm-virt-mac-client.dtbo \
ti/k3-j721e-sk-csi2-ov5640.dtbo \
ti/k3-j721e-sk-csi2-rpi-imx219.dtbo \
ti/k3-j721e-sk-fusion.dtbo \
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

@@ -0,0 +1,34 @@
#@TYPE: Machine
#@NAME: BeagleBone machine
#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board
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-6_1 = ""
KERNEL_DEVICETREE_PREFIX = " \
${DT_VENDOR_PREFIX}am335x-bone \
${DT_VENDOR_PREFIX}am335x-pocketbeagle \
${DT_VENDOR_PREFIX}am335x-sancloud-bbe \
"
KERNEL_DEVICETREE = " \
${DT_VENDOR_PREFIX}am335x-bone.dtb \
${DT_VENDOR_PREFIX}am335x-boneblack.dtb \
${DT_VENDOR_PREFIX}am335x-boneblack-wireless.dtb \
${DT_VENDOR_PREFIX}am335x-boneblue.dtb \
${DT_VENDOR_PREFIX}am335x-bonegreen.dtb \
${DT_VENDOR_PREFIX}am335x-bonegreen-wireless.dtb \
${DT_VENDOR_PREFIX}am335x-pocketbeagle.dtb \
${DT_VENDOR_PREFIX}am335x-sancloud-bbe.dtb \
${DT_VENDOR_PREFIX}am335x-sancloud-bbe-extended-wifi.dtb \
${DT_VENDOR_PREFIX}am335x-sancloud-bbe-lite.dtb \
"
MACHINE_GUI_CLASS = "bigscreen"
MACHINE_FEATURES += "screen"
SERIAL_CONSOLES = "115200;ttyS0"

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

@@ -0,0 +1,22 @@
require recipes-bsp/u-boot/u-boot-ti.inc
SUMMARY = "BeagleBoard.org U-Boot"
COMPATIBLE_MACHINE = "beagle.*"
PV = "2023.04"
UBOOT_GIT_URI = "git://github.com/beagleboard/u-boot.git"
UBOOT_GIT_PROTOCOL = "https"
BRANCH = "v2023.04-ti-09.01.00.008"
SRCREV = "b0d717b732ee28e446baf94522b3491e590f7fbb"
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 @@
use-kernel-config=bb.org_defconfig

View File

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

View File

@@ -0,0 +1,68 @@
# 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"
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 = " \
AM335X-PRU-UIO-00A0.dtbo \
BB-ADC-00A0.dtbo \
BB-BBBW-WL1835-00A0.dtbo \
BB-BBGG-WL1835-00A0.dtbo \
BB-BBGW-WL1835-00A0.dtbo \
BB-BONE-4D5R-01-00A1.dtbo \
BB-BONE-eMMC1-01-00A0.dtbo \
BB-BONE-LCD4-01-00A1.dtbo \
BB-BONE-NH7C-01-A0.dtbo \
BB-CAPE-DISP-CT4-00A0.dtbo \
BB-HDMI-TDA998x-00A0.dtbo \
BB-I2C1-MCP7940X-00A0.dtbo \
BB-I2C1-RTC-DS3231.dtbo \
BB-I2C1-RTC-PCF8563.dtbo \
BB-I2C2-BME680.dtbo \
BB-I2C2-MPU6050.dtbo \
BB-LCD-ADAFRUIT-24-SPI1-00A0.dtbo \
BB-NHDMI-TDA998x-00A0.dtbo \
BBORG_COMMS-00A2.dtbo \
BBORG_FAN-A000.dtbo \
BBORG_RELAY-00A2.dtbo \
BB-SPIDEV0-00A0.dtbo \
BB-SPIDEV1-00A0.dtbo \
BB-UART1-00A0.dtbo \
BB-UART2-00A0.dtbo \
BB-UART4-00A0.dtbo \
BB-W1-P9.12-00A0.dtbo \
BONE-ADC.dtbo \
M-BB-BBG-00A0.dtbo \
M-BB-BBGG-00A0.dtbo \
PB-MIKROBUS-0.dtbo \
PB-MIKROBUS-1.dtbo \
"
S = "${WORKDIR}/git"
# 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.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"

17
meta-ti-bsp/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.

33
meta-ti-bsp/README Normal file
View File

@@ -0,0 +1,33 @@
The official OpenEmbedded/Yocto BSP layer for Texas Instruments 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: scarthgap
URI: git://git.yoctoproject.org/meta-arm
layers: meta-arm
branch: scarthgap
The base BSP part of meta-ti should work with different OpenEmbedded/Yocto
distributions and layer stacks, such as:
distro-less (only with OE-Core), with Yocto/Poky, with Angstrom or Arago.
Please follow the recommended setup procedures of your OE distribution.
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:
Ryan Eatmon <reatmon@ti.com>
Denys Dmytriyenko <denys@konsulko.com>

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

@@ -0,0 +1,767 @@
inherit ti-secdev kernel-uboot uboot-sign-legacyhs
FITIMAGE_HASH_ALGO ?= "sha1"
FITIMAGE_PACK_TEE ?= "0"
FITIMAGE_DTB_BY_NAME ?= "0"
FITIMAGE_TEE_BY_NAME ?= "0"
FITIMAGE_CONF_BY_NAME ?= "0"
python __anonymous () {
kerneltypes = d.getVar('KERNEL_IMAGETYPES') or ""
if 'fitImage' in kerneltypes.split():
depends = d.getVar("DEPENDS")
depends = "%s u-boot-mkimage-native dtc-native" % depends
d.setVar("DEPENDS", depends)
uarch = d.getVar("UBOOT_ARCH")
if uarch == "arm64":
replacementtype = "Image"
elif uarch == "mips":
replacementtype = "vmlinuz.bin"
elif uarch == "x86":
replacementtype = "bzImage"
elif uarch == "microblaze":
replacementtype = "linux.bin"
else:
replacementtype = "zImage"
# Override KERNEL_IMAGETYPE_FOR_MAKE variable, which is internal
# to kernel.bbclass . We have to override it, since we pack zImage
# (at least for now) into the fitImage .
typeformake = d.getVar("KERNEL_IMAGETYPE_FOR_MAKE") or ""
if 'fitImage' in typeformake.split():
d.setVar('KERNEL_IMAGETYPE_FOR_MAKE', typeformake.replace('fitImage', replacementtype))
image = d.getVar('INITRAMFS_IMAGE')
if image:
d.appendVarFlag('do_assemble_fitimage_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete')
# Verified boot will sign the fitImage and append the public key to
# U-boot dtb. We ensure the U-Boot dtb is deployed before assembling
# the fitImage:
if d.getVar('UBOOT_SIGN_ENABLE'):
uboot_pn = d.getVar('PREFERRED_PROVIDER_u-boot') or 'u-boot'
d.appendVarFlag('do_assemble_fitimage', 'depends', ' %s:do_deploy' % uboot_pn)
if d.getVar('FITIMAGE_PACK_TEE') == "1":
d.appendVarFlag('do_assemble_fitimage', 'depends', ' optee-os:do_deploy')
}
# Options for the device tree compiler passed to mkimage '-D' feature:
UBOOT_MKIMAGE_DTCOPTS ??= ""
fitimage_ti_secure() {
if test -f "${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh"; then
export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh $1 $2
else
cp $1 $2
fi
}
#
# Emit the fitImage ITS header
#
# $1 ... .its filename
fitimage_emit_fit_header() {
cat << EOF >> ${1}
/dts-v1/;
/ {
description = "U-Boot fitImage for ${DISTRO_NAME}/${PV}/${MACHINE}";
#address-cells = <1>;
EOF
}
#
# Emit the fitImage section bits
#
# $1 ... .its filename
# $2 ... Section bit type: imagestart - image section start
# confstart - configuration section start
# sectend - section end
# fitend - fitimage end
#
fitimage_emit_section_maint() {
case $2 in
imagestart)
cat << EOF >> ${1}
images {
EOF
;;
confstart)
cat << EOF >> ${1}
configurations {
EOF
;;
sectend)
cat << EOF >> ${1}
};
EOF
;;
fitend)
cat << EOF >> ${1}
};
EOF
;;
esac
}
#
# Emit the fitImage ITS kernel section
#
# $1 ... .its filename
# $2 ... Image counter
# $3 ... Path to kernel image
# $4 ... Compression type
fitimage_emit_section_kernel() {
kernel_csum=${FITIMAGE_HASH_ALGO}
ENTRYPOINT="${UBOOT_ENTRYPOINT}"
if test -n "${UBOOT_ENTRYSYMBOL}"; then
ENTRYPOINT=`${HOST_PREFIX}nm ${S}/vmlinux | \
awk '$4=="${UBOOT_ENTRYSYMBOL}" {print $2}'`
fi
cat << EOF >> ${1}
kernel-${2} {
description = "Linux kernel";
data = /incbin/("${3}");
type = "kernel";
arch = "${UBOOT_ARCH}";
os = "linux";
compression = "${4}";
load = <${UBOOT_LOADADDRESS}>;
entry = <${ENTRYPOINT}>;
EOF
if test -n "${FITIMAGE_HASH_ALGO}"; then
cat << EOF >> ${1}
hash-1 {
algo = "${kernel_csum}";
};
EOF
fi
cat << EOF >> ${1}
};
EOF
}
#
# Emit the fitImage ITS DTB section
#
# $1 ... .its filename
# $2 ... Image counter/name
# $3 ... Path to DTB image
# $4 ... Load address
fitimage_emit_section_dtb() {
dtb_csum=${FITIMAGE_HASH_ALGO}
dtb_loadline="${4}"
cat << EOF >> ${1}
${2} {
description = "Flattened Device Tree blob";
data = /incbin/("${3}");
type = "flat_dt";
arch = "${UBOOT_ARCH}";
compression = "none";
${dtb_loadline}
EOF
if test -n "${FITIMAGE_HASH_ALGO}"; then
cat << EOF >> ${1}
hash-1 {
algo = "${dtb_csum}";
};
EOF
fi
cat << EOF >> ${1}
};
EOF
}
#
# Emit the fitImage ITS TEE section
#
# $1 ... .its filename
# $2 ... Image counter/name
# $3 ... Path to TEE image
fitimage_emit_section_tee() {
tee_csum=${FITIMAGE_HASH_ALGO}
cat << EOF >> ${1}
${2} {
description = "OPTEE OS Image";
data = /incbin/("${3}");
type = "tee";
arch = "${UBOOT_ARCH}";
compression = "none";
EOF
if test -n "${FITIMAGE_HASH_ALGO}"; then
cat << EOF >> ${1}
hash-1 {
algo = "${tee_csum}";
};
EOF
fi
cat << EOF >> ${1}
};
EOF
}
#
# Emit the fitImage ITS setup section
#
# $1 ... .its filename
# $2 ... Image counter
# $3 ... Path to setup image
fitimage_emit_section_setup() {
setup_csum=${FITIMAGE_HASH_ALGO}
cat << EOF >> ${1}
setup-${2} {
description = "Linux setup.bin";
data = /incbin/("${3}");
type = "x86_setup";
arch = "${UBOOT_ARCH}";
os = "linux";
compression = "none";
load = <0x00090000>;
entry = <0x00090000>;
EOF
if test -n "${FITIMAGE_HASH_ALGO}"; then
cat << EOF >> ${1}
hash-1 {
algo = "${setup_csum}";
};
EOF
fi
cat << EOF >> ${1}
};
EOF
}
#
# Emit the fitImage ITS ramdisk section
#
# $1 ... .its filename
# $2 ... Image counter
# $3 ... Path to ramdisk image
fitimage_emit_section_ramdisk() {
ramdisk_csum=${FITIMAGE_HASH_ALGO}
ramdisk_ctype="none"
case $3 in
*.gz|*.gz.sec)
ramdisk_ctype="gzip"
;;
*.bz2|*.bz2.sec)
ramdisk_ctype="bzip2"
;;
*.lzma|*.lzma.sec)
ramdisk_ctype="lzma"
;;
*.lzo|*.lzo.sec)
ramdisk_ctype="lzo"
;;
*.lz4|*.lz4.sec)
ramdisk_ctype="lz4"
;;
esac
cat << EOF >> ${1}
ramdisk-${2} {
description = "ramdisk image";
data = /incbin/("${3}");
type = "ramdisk";
arch = "${UBOOT_ARCH}";
os = "linux";
compression = "${ramdisk_ctype}";
EOF
if test -n "${UBOOT_RD_LOADADDRESS}"; then
cat << EOF >> ${1}
load = <${UBOOT_RD_LOADADDRESS}>;
EOF
fi
if test -n "${UBOOT_RD_ENTRYPOINT}"; then
cat << EOF >> ${1}
entry = <${UBOOT_RD_ENTRYPOINT}>;
EOF
fi
if test -n "${FITIMAGE_HASH_ALGO}"; then
cat << EOF >> ${1}
hash-1 {
algo = "${ramdisk_csum}";
};
EOF
fi
cat << EOF >> ${1}
};
EOF
}
#
# Emit the fitImage ITS configuration section
#
# $1 ... .its filename
# $2 ... Linux kernel ID
# $3 ... DTB image ID/name
# $4 ... ramdisk ID
# $5 ... config ID
# $6 ... tee ID/name
# $7 ... default DTB ID
fitimage_emit_section_config() {
conf_csum=${FITIMAGE_HASH_ALGO}
if [ -n "${UBOOT_SIGN_ENABLE}" ] ; then
conf_sign_keyname="${UBOOT_SIGN_KEYNAME}"
fi
sep=""
conf_desc=""
kernel_line=""
fdt_line=""
ramdisk_line=""
setup_line=""
default_line=""
if [ -n "${2}" ]; then
conf_desc="Linux kernel"
sep=", "
kernel_line="kernel = \"kernel-${2}\";"
fi
if [ -n "${3}" ]; then
conf_desc="${conf_desc}${sep}FDT blob"
sep=", "
fi
if [ -n "${4}" ]; then
conf_desc="${conf_desc}${sep}ramdisk"
sep=", "
ramdisk_line="ramdisk = \"ramdisk-${4}\";"
fi
if [ -n "${5}" ]; then
conf_desc="${conf_desc}${sep}setup"
sep=", "
setup_line="setup = \"setup-${5}\";"
fi
if [ -n "${6}" -a "x${FITIMAGE_PACK_TEE}" = "x1" ]; then
if [ "x${FITIMAGE_TEE_BY_NAME}" = "x1" ]; then
loadables_line="loadables = \"${6}.optee\";"
loadables_pager_line="loadables = \"${6}-pager.optee\";"
else
loadables_line="loadables = \"tee-${6}\";"
nextnum=`expr ${6} + 1`
loadables_pager_line="loadables = \"tee-${nextnum}\";"
fi
final_conf_desc="${conf_desc}${sep}OPTEE OS Image"
else
loadables_line=""
loadables_pager_line=""
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}")
dtb_ext=${DTB##*.}
if [ "x${FITIMAGE_CONF_BY_NAME}" = "x1" ] ; then
conf_name="${DTB}"
else
conf_name="conf-${dtbcount}"
fi
if [ "x${FITIMAGE_DTB_BY_NAME}" = "x1" ] ; then
fdt_line="fdt = \"${DTB}\";"
else
fdt_line="fdt = \"fdt-${dtbcount}\";"
fi
# Generate a single configuration section
cat << EOF >> ${1}
${conf_name} {
description = "${final_conf_desc}";
${fdt_line}
EOF
if [ "${dtb_ext}" != "dtbo" ]; then
cat << EOF >> ${1}
${kernel_line}
${ramdisk_line}
${setup_line}
${loadables_line}
EOF
fi
if test -n "${FITIMAGE_HASH_ALGO}"; then
cat << EOF >> ${1}
hash-1 {
algo = "${conf_csum}";
};
EOF
fi
if [ ! -z "${conf_sign_keyname}" ] ; then
sign_line="sign-images = \"kernel\""
if [ -n "${3}" ]; then
sign_line="${sign_line}, \"fdt\""
fi
if [ -n "${4}" ]; then
sign_line="${sign_line}, \"ramdisk\""
fi
if [ -n "${5}" ]; then
sign_line="${sign_line}, \"setup\""
fi
sign_line="${sign_line};"
cat << EOF >> ${1}
signature-1 {
algo = "${conf_csum},rsa2048";
key-name-hint = "${conf_sign_keyname}";
${sign_line}
};
EOF
fi
cat << EOF >> ${1}
};
EOF
# End single config section
# Generate a single "pager" configuration section
if [ "${OPTEEPAGER}" = "y" ]; then
if [ "x${FITIMAGE_CONF_BY_NAME}" = "x1" ] ; then
conf_name="${DTB}-pager"
else
conf_name="conf-${dtbcount}"
fi
cat << EOF >> ${1}
${conf_name} {
description = "${final_conf_desc}";
${fdt_line}
EOF
if [ "${dtb_ext}" != "dtbo" ]; then
cat << EOF >> ${1}
${kernel_line}
${ramdisk_line}
${setup_line}
${loadables_pager_line}
EOF
fi
if test -n "${FITIMAGE_HASH_ALGO}"; then
cat << EOF >> ${1}
hash-1 {
algo = "${conf_csum}";
};
EOF
fi
if [ ! -z "${conf_sign_keyname}" ] ; then
sign_line="sign-images = \"kernel\""
if [ -n "${3}" ]; then
sign_line="${sign_line}, \"fdt\""
fi
if [ -n "${4}" ]; then
sign_line="${sign_line}, \"ramdisk\""
fi
if [ -n "${5}" ]; then
sign_line="${sign_line}, \"setup\""
fi
sign_line="${sign_line};"
cat << EOF >> ${1}
signature-1 {
algo = "${conf_csum},rsa2048";
key-name-hint = "${conf_sign_keyname}";
${sign_line}
};
EOF
fi
cat << EOF >> ${1}
};
EOF
fi
# End single config section
dtbcount=`expr ${dtbcount} + 1`
done
}
#
# Assemble fitImage
#
# $1 ... .its filename
# $2 ... fitImage name
# $3 ... include ramdisk
fitimage_assemble() {
kernelcount=1
dtbcount=""
ramdiskcount=${3}
setupcount=""
teecount=1
default_dtb_count=1
rm -f ${1} arch/${ARCH}/boot/${2}
fitimage_emit_fit_header ${1}
#
# Step 1: Prepare a kernel image section.
#
fitimage_emit_section_maint ${1} imagestart
uboot_prep_kimage
fitimage_ti_secure linux.bin linux.bin.sec
fitimage_emit_section_kernel ${1} "${kernelcount}" linux.bin.sec "${linux_comp}"
#
# Step 2: Prepare a DTB image section
#
if test -n "${KERNEL_DEVICETREE}"; then
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'`
fi
DTB_PATH="arch/${ARCH}/boot/dts/${DTB}"
if [ ! -e "${DTB_PATH}" ]; then
DTB_PATH="arch/${ARCH}/boot/${DTB}"
fi
DTB=$(basename "${DTB}")
dtb_ext=${DTB##*.}
if [ "${dtb_ext}" = "dtbo" ]; then
if [ -n "${UBOOT_DTBO_LOADADDRESS}" ]; then
dtb_loadline="load = <${dtboaddress}>;"
num1=`printf "%d\n" ${dtboaddress}`
num2=`printf "%d\n" ${UBOOT_DTBO_OFFSET}`
num3=`expr $num1 + $num2`
dtboaddress=`printf "0x%x\n" $num3`
fi
elif [ -n "${UBOOT_DTB_LOADADDRESS}" ]; then
dtb_loadline="load = <${UBOOT_DTB_LOADADDRESS}>;"
fi
fitimage_ti_secure ${DTB_PATH} ${DTB_PATH}.sec
if [ "x${FITIMAGE_DTB_BY_NAME}" = "x1" ] ; then
fitimage_emit_section_dtb ${1} ${DTB} ${DTB_PATH}.sec "${dtb_loadline}"
else
fitimage_emit_section_dtb ${1} "fdt-${dtbcount}" ${DTB_PATH}.sec "${dtb_loadline}"
fi
if [ "x${dtbcount}" = "x1" ]; then
dtbref=${DTB}
fi
dtbcount=`expr ${dtbcount} + 1`
done
fi
#
# Step 2a: Prepare OP/TEE image section
#
if [ "x${FITIMAGE_PACK_TEE}" = "x1" ] ; then
mkdir -p ${B}/usr
rm -f ${B}/usr/${OPTEEFLAVOR}.optee
if [ -e "${DEPLOY_DIR_IMAGE}/${OPTEEFLAVOR}.optee" ]; then
cp ${DEPLOY_DIR_IMAGE}/${OPTEEFLAVOR}.optee ${B}/usr/.
fi
TEE_PATH="usr/${OPTEEFLAVOR}.optee"
fitimage_ti_secure ${TEE_PATH} ${TEE_PATH}.sec
if [ "x${FITIMAGE_TEE_BY_NAME}" = "x1" ] ; then
fitimage_emit_section_tee ${1} ${OPTEEFLAVOR}.optee ${TEE_PATH}.sec
else
fitimage_emit_section_tee ${1} "tee-${teecount}" ${TEE_PATH}.sec
fi
if [ "${OPTEEPAGER}" = "y" ]; then
teecount=`expr ${teecount} + 1`
rm -f ${B}/usr/${OPTEEFLAVOR}-pager.optee
if [ -e "${DEPLOY_DIR_IMAGE}/${OPTEEFLAVOR}-pager.optee" ]; then
cp ${DEPLOY_DIR_IMAGE}/${OPTEEFLAVOR}-pager.optee ${B}/usr/.
fi
TEE_PATH="usr/${OPTEEFLAVOR}-pager.optee"
fitimage_ti_secure ${TEE_PATH} ${TEE_PATH}.sec
if [ "x${FITIMAGE_TEE_BY_NAME}" = "x1" ] ; then
fitimage_emit_section_tee ${1} ${OPTEEFLAVOR}-pager.optee ${TEE_PATH}.sec
else
fitimage_emit_section_tee ${1} "tee-${teecount}" ${TEE_PATH}.sec
fi
fi
fi
#
# Step 3: Prepare a setup section. (For x86)
#
if test -e arch/${ARCH}/boot/setup.bin ; then
setupcount=1
fitimage_emit_section_setup ${1} "${setupcount}" arch/${ARCH}/boot/setup.bin
fi
#
# Step 4: Prepare a ramdisk section.
#
if [ "x${ramdiskcount}" = "x1" ] ; then
# Find and use the first initramfs image archive type we find
for img in cpio.lz4 cpio.lzo cpio.lzma cpio.xz cpio.gz cpio; do
initramfs_path="${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.${img}"
initramfs_local="usr/${INITRAMFS_IMAGE}-${MACHINE}.${img}"
echo "Using $initramfs_path"
if [ -e "${initramfs_path}" ]; then
fitimage_ti_secure ${initramfs_path} ${initramfs_local}.sec
fitimage_emit_section_ramdisk ${1} "${ramdiskcount}" ${initramfs_local}.sec
break
fi
done
fi
fitimage_emit_section_maint ${1} sectend
# Force the first Kernel and DTB in the default config
kernelcount=1
if test -n "${dtbcount}"; then
dtbcount=1
fi
teecount=1
#
# Step 5: Prepare a configurations section
#
fitimage_emit_section_maint ${1} confstart
if [ "x${FITIMAGE_DTB_BY_NAME}" != "x1" ] ; then
dtbref="fdt-${dtbcount}"
fi
if [ "x${FITIMAGE_TEE_BY_NAME}" = "x1" ] ; then
teeref="${OPTEEFLAVOR}"
else
teeref="${teecount}"
fi
fitimage_emit_section_config ${1} "${kernelcount}" "${dtbref}" "${ramdiskcount}" "${setupcount}" "${teeref}" "${default_dtb_count}"
fitimage_emit_section_maint ${1} sectend
fitimage_emit_section_maint ${1} fitend
#
# Step 6: Assemble the image
#
uboot-mkimage \
${@'-D "${UBOOT_MKIMAGE_DTCOPTS}"' if len('${UBOOT_MKIMAGE_DTCOPTS}') else ''} \
-f ${1} \
arch/${ARCH}/boot/${2}
#
# Step 7: Sign the image and add public key to U-Boot dtb
#
if [ "x${UBOOT_SIGN_ENABLE}" = "x1" ] ; then
uboot-mkimage \
${@'-D "${UBOOT_MKIMAGE_DTCOPTS}"' if len('${UBOOT_MKIMAGE_DTCOPTS}') else ''} \
-F -k "${UBOOT_SIGN_KEYDIR}" \
-K "${DEPLOY_DIR_IMAGE}/${UBOOT_DTB_BINARY}" \
-r arch/${ARCH}/boot/${2}
fi
}
do_assemble_fitimage() {
if echo ${KERNEL_IMAGETYPES} | grep -wq "fitImage"; then
cd ${B}
fitimage_assemble fit-image.its fitImage
fi
}
addtask assemble_fitimage before do_install after do_compile
do_assemble_fitimage_initramfs() {
if echo ${KERNEL_IMAGETYPES} | grep -wq "fitImage" && \
test -n "${INITRAMFS_IMAGE}" ; then
cd ${B}
fitimage_assemble fit-image-${INITRAMFS_IMAGE}.its fitImage-${INITRAMFS_IMAGE} 1
fi
}
addtask assemble_fitimage_initramfs before do_deploy after do_install
FITIMAGE_ITS_SUFFIX ?= "its"
FITIMAGE_ITB_SUFFIX ?= "itb"
FITIMAGE_ITS_IMAGE ?= "fitImage-its-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}.${FITIMAGE_ITS_SUFFIX}"
FITIMAGE_ITS_IMAGE[vardepsexclude] = "DATETIME"
FITIMAGE_ITS_BINARY ?= "fitImage-its.${FITIMAGE_ITS_SUFFIX}"
FITIMAGE_ITS_SYMLINK ?= "fitImage-its-${MACHINE}.${FITIMAGE_ITS_SUFFIX}"
FITIMAGE_ITB_IMAGE ?= "fitImage-linux.bin-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}.${FITIMAGE_ITB_SUFFIX}"
FITIMAGE_ITB_IMAGE[vardepsexclude] = "DATETIME"
FITIMAGE_ITB_BINARY ?= "fitImage-linux.bin.${FITIMAGE_ITB_SUFFIX}"
FITIMAGE_ITB_SYMLINK ?= "fitImage-linux.bin-${MACHINE}.${FITIMAGE_ITB_SUFFIX}"
FITIMAGE_INITRAMFS_ITS_IMAGE ?= "fitImage-its-${INITRAMFS_IMAGE}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}.${FITIMAGE_ITS_SUFFIX}"
FITIMAGE_INITRAMFS_ITS_IMAGE[vardepsexclude] = "DATETIME"
FITIMAGE_INITRAMFS_ITS_BINARY ?= "fitImage-its-${INITRAMFS_IMAGE}.${FITIMAGE_ITS_SUFFIX}"
FITIMAGE_INITRAMFS_ITS_SYMLINK ?= "fitImage-its-${INITRAMFS_IMAGE}-${MACHINE}.${FITIMAGE_ITS_SUFFIX}"
FITIMAGE_INITRAMFS_ITB_IMAGE ?= "fitImage-${INITRAMFS_IMAGE}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}.${FITIMAGE_ITB_SUFFIX}"
FITIMAGE_INITRAMFS_ITB_IMAGE[vardepsexclude] = "DATETIME"
FITIMAGE_INITRAMFS_ITB_BINARY ?= "fitImage-${INITRAMFS_IMAGE}.${FITIMAGE_ITB_SUFFIX}"
FITIMAGE_INITRAMFS_ITB_SYMLINK ?= "fitImage-${INITRAMFS_IMAGE}-${MACHINE}.${FITIMAGE_ITB_SUFFIX}"
kernel_do_deploy:append() {
# Update deploy directory
if echo ${KERNEL_IMAGETYPES} | grep -wq "fitImage"; then
cd ${B}
echo "Copying fit-image.its source file..."
install -m 0644 fit-image.its ${DEPLOYDIR}/${FITIMAGE_ITS_IMAGE}
install -m 0644 arch/${ARCH}/boot/fitImage ${DEPLOYDIR}/${FITIMAGE_ITB_IMAGE}
if [ -n "${INITRAMFS_IMAGE}" ]; then
echo "Copying fit-image-${INITRAMFS_IMAGE}.its source file..."
install -m 0644 fit-image-${INITRAMFS_IMAGE}.its ${DEPLOYDIR}/${FITIMAGE_INITRAMFS_ITS_IMAGE}
install -m 0644 arch/${ARCH}/boot/fitImage-${INITRAMFS_IMAGE} ${DEPLOYDIR}/${FITIMAGE_INITRAMFS_ITB_IMAGE}
fi
cd ${DEPLOYDIR}
ln -sf ${FITIMAGE_ITS_IMAGE} ${FITIMAGE_ITS_SYMLINK}
ln -sf ${FITIMAGE_ITS_IMAGE} ${FITIMAGE_ITS_BINARY}
ln -sf ${FITIMAGE_ITB_IMAGE} ${FITIMAGE_ITB_SYMLINK}
ln -sf ${FITIMAGE_ITB_IMAGE} ${FITIMAGE_ITB_BINARY}
if [ -n "${INITRAMFS_IMAGE}" ]; then
ln -sf ${FITIMAGE_INITRAMFS_ITS_IMAGE} ${FITIMAGE_INITRAMFS_ITS_SYMLINK}
ln -sf ${FITIMAGE_INITRAMFS_ITS_IMAGE} ${FITIMAGE_INITRAMFS_ITS_BINARY}
ln -sf ${FITIMAGE_INITRAMFS_ITB_IMAGE} ${FITIMAGE_INITRAMFS_ITB_SYMLINK}
ln -sf ${FITIMAGE_INITRAMFS_ITB_IMAGE} ${FITIMAGE_INITRAMFS_ITB_BINARY}
fi
fi
}

View File

@@ -0,0 +1,21 @@
# Helper class to prepare correct environment for signing with TI Security Development Tools
# K3 SECDEV scripts use OpenSSL
DEPENDS:append:k3 = " openssl-native"
DEPENDS:append:k3r5 = " openssl-native"
# Use package version of TI SECDEV for K3 if one is not provided through the environment
DEPENDS:append:k3 = "${@ '' if d.getVar('TI_SECURE_DEV_PKG_K3') else ' ti-k3-secdev-native' }"
DEPENDS:append:k3r5 = "${@ '' if d.getVar('TI_SECURE_DEV_PKG_K3') else ' ti-k3-secdev-native' }"
TI_K3_SECDEV_INSTALL_DIR = "${STAGING_DIR_NATIVE}${datadir}/ti/ti-k3-secdev"
TI_SECURE_DEV_PKG:k3 = "${@ d.getVar('TI_SECURE_DEV_PKG_K3') or d.getVar('TI_K3_SECDEV_INSTALL_DIR') }"
TI_SECURE_DEV_PKG:k3r5 = "${@ d.getVar('TI_SECURE_DEV_PKG_K3') or d.getVar('TI_K3_SECDEV_INSTALL_DIR') }"
# For non-K3 we require the SECDEV tools be provided through the environment with the following vars
TI_SECURE_DEV_PKG:ti33x = "${TI_SECURE_DEV_PKG_CAT}/am3x"
TI_SECURE_DEV_PKG:ti43x = "${TI_SECURE_DEV_PKG_CAT}/am4x"
TI_SECURE_DEV_PKG:am57xx = "${TI_SECURE_DEV_PKG_AUTO}/am5x"
TI_SECURE_DEV_PKG:dra7xx = "${TI_SECURE_DEV_PKG_AUTO}/dra7"
# The SECDEV scripts may need their own location provided through the environment
export TI_SECURE_DEV_PKG

View File

@@ -0,0 +1,131 @@
# This file is part of U-Boot verified boot support and is intended to be
# inherited from u-boot recipe and from kernel-fitimage.bbclass.
#
# The signature procedure requires the user to generate an RSA key and
# certificate in a directory and to define the following variable:
#
# UBOOT_SIGN_KEYDIR = "/keys/directory"
# UBOOT_SIGN_KEYNAME = "dev" # keys name in keydir (eg. "dev.crt", "dev.key")
# UBOOT_MKIMAGE_DTCOPTS = "-I dts -O dtb -p 2000"
# UBOOT_SIGN_ENABLE = "1"
#
# As verified boot depends on fitImage generation, following is also required:
#
# KERNEL_CLASSES ?= " kernel-fitimage "
# KERNEL_IMAGETYPE ?= "fitImage"
#
# The signature support is limited to the use of CONFIG_OF_SEPARATE in U-Boot.
#
# The tasks sequence is set as below, using DEPLOY_IMAGE_DIR as common place to
# treat the device tree blob:
#
# * u-boot:do_install:append
# Install UBOOT_DTB_BINARY to datadir, so that kernel can use it for
# signing, and kernel will deploy UBOOT_DTB_BINARY after signs it.
#
# * virtual/kernel:do_assemble_fitimage
# Sign the image
#
# * u-boot:do_deploy[postfuncs]
# Deploy files like UBOOT_DTB_IMAGE, UBOOT_DTB_SYMLINK and others.
#
# For more details on signature process, please refer to U-Boot documentation.
# Signature activation.
UBOOT_SIGN_ENABLE ?= "0"
# Default value for deployment filenames.
UBOOT_DTB_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.dtb"
UBOOT_DTB_BINARY ?= "u-boot.dtb"
UBOOT_DTB_SYMLINK ?= "u-boot-${MACHINE}.dtb"
UBOOT_NODTB_IMAGE ?= "u-boot-nodtb-${MACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
UBOOT_NODTB_BINARY ?= "u-boot-nodtb.${UBOOT_SUFFIX}"
UBOOT_NODTB_SYMLINK ?= "u-boot-nodtb-${MACHINE}.${UBOOT_SUFFIX}"
# Functions in this bbclass is for u-boot only
UBOOT_PN = "${@d.getVar('PREFERRED_PROVIDER_u-boot') or 'u-boot'}"
concat_dtb_helper() {
if [ -e "${UBOOT_DTB_BINARY}" ]; then
ln -sf ${UBOOT_DTB_IMAGE} ${DEPLOYDIR}/${UBOOT_DTB_BINARY}
ln -sf ${UBOOT_DTB_IMAGE} ${DEPLOYDIR}/${UBOOT_DTB_SYMLINK}
fi
if [ -f "${UBOOT_NODTB_BINARY}" ]; then
install ${UBOOT_NODTB_BINARY} ${DEPLOYDIR}/${UBOOT_NODTB_IMAGE}
ln -sf ${UBOOT_NODTB_IMAGE} ${DEPLOYDIR}/${UBOOT_NODTB_SYMLINK}
ln -sf ${UBOOT_NODTB_IMAGE} ${DEPLOYDIR}/${UBOOT_NODTB_BINARY}
fi
# Concatenate U-Boot w/o DTB & DTB with public key
# (cf. kernel-fitimage.bbclass for more details)
deployed_uboot_dtb_binary='${DEPLOY_DIR_IMAGE}/${UBOOT_DTB_IMAGE}'
if [ "x${UBOOT_SUFFIX}" = "ximg" -o "x${UBOOT_SUFFIX}" = "xrom" ] && \
[ -e "$deployed_uboot_dtb_binary" ]; then
oe_runmake EXT_DTB=$deployed_uboot_dtb_binary
install ${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
elif [ -e "${DEPLOYDIR}/${UBOOT_NODTB_IMAGE}" -a -e "$deployed_uboot_dtb_binary" ]; then
cd ${DEPLOYDIR}
cat ${UBOOT_NODTB_IMAGE} $deployed_uboot_dtb_binary | tee ${B}/${CONFIG_B_PATH}/${UBOOT_BINARY} > ${UBOOT_IMAGE}
else
bbwarn "Failure while adding public key to u-boot binary. Verified boot won't be available."
fi
}
concat_dtb() {
if [ "${UBOOT_SIGN_ENABLE}" = "1" -a "${PN}" = "${UBOOT_PN}" -a -n "${UBOOT_DTB_BINARY}" ]; then
mkdir -p ${DEPLOYDIR}
if [ -n "${UBOOT_CONFIG}" ]; then
for config in ${UBOOT_MACHINE}; do
CONFIG_B_PATH="${config}"
cd ${B}/${config}
concat_dtb_helper
done
else
CONFIG_B_PATH=""
cd ${B}
concat_dtb_helper
fi
fi
}
# Install UBOOT_DTB_BINARY to datadir, so that kernel can use it for
# signing, and kernel will deploy UBOOT_DTB_BINARY after signs it.
install_helper() {
if [ -f "${UBOOT_DTB_BINARY}" ]; then
install -d ${D}${datadir}
# UBOOT_DTB_BINARY is a symlink to UBOOT_DTB_IMAGE, so we
# need both of them.
install ${UBOOT_DTB_BINARY} ${D}${datadir}/${UBOOT_DTB_IMAGE}
ln -sf ${UBOOT_DTB_IMAGE} ${D}${datadir}/${UBOOT_DTB_BINARY}
else
bbwarn "${UBOOT_DTB_BINARY} not found"
fi
}
do_install:append() {
if [ "${UBOOT_SIGN_ENABLE}" = "1" -a "${PN}" = "${UBOOT_PN}" -a -n "${UBOOT_DTB_BINARY}" ]; then
if [ -n "${UBOOT_CONFIG}" ]; then
for config in ${UBOOT_MACHINE}; do
cd ${B}/${config}
install_helper
done
else
cd ${B}
install_helper
fi
fi
}
python () {
if d.getVar('UBOOT_SIGN_ENABLE') == '1' and d.getVar('PN') == d.getVar('UBOOT_PN') and d.getVar('UBOOT_DTB_BINARY'):
kernel_pn = d.getVar('PREFERRED_PROVIDER_virtual/kernel')
# Make "bitbake u-boot -cdeploy" deploys the signed u-boot.dtb
d.appendVarFlag('do_deploy', 'depends', ' %s:do_deploy' % kernel_pn)
# kernerl's do_deploy is a litle special, so we can't use
# do_deploy:append, otherwise it would override
# kernel_do_deploy.
d.appendVarFlag('do_deploy', 'prefuncs', ' concat_dtb')
}

View File

@@ -0,0 +1,30 @@
# We have a conf and classes directory, append to BBPATH
BBPATH .= ":${LAYERDIR}"
METATIBASE := '${@os.path.normpath("${LAYERDIR}/")}'
# We have a recipes directory, add to BBFILES
BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
BBFILE_COLLECTIONS += "meta-ti-bsp"
BBFILE_PATTERN_meta-ti-bsp := "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-ti-bsp = "6"
LAYERSERIES_COMPAT_meta-ti-bsp = "scarthgap"
LICENSE_PATH += "${LAYERDIR}/licenses"
LAYERDEPENDS_meta-ti-bsp = " \
core \
meta-arm \
"
SIGGEN_EXCLUDERECIPES_ABISAFE += " \
mesa-pvr \
"
HOSTTOOLS_NONFATAL += "truncate xxd comm"
TI_COMMON_DEPLOY ?= "${TOPDIR}/deploy-ti"
DEPLOY_DIR_IMAGE:ti-soc = "${TI_COMMON_DEPLOY}/images/${MACHINE}"
SDK_DEPLOY:ti-soc = "${TI_COMMON_DEPLOY}/sdk"
PSEUDO_IGNORE_PATHS:append:ti-soc = ",${TI_COMMON_DEPLOY}"

View File

@@ -4,14 +4,12 @@
require conf/machine/include/ti33x.inc
MACHINE_GUI_CLASS = "smallscreen"
MACHINE_FEATURES += "touchscreen"
MACHINE_FEATURES += "screen touchscreen"
IMAGE_FSTYPES += "ubifs ubi"
# Normally AM335 boards use ttyS0, but ICE uses ttyS3, so try both
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS3"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
# UBI information. Note that this is board and kernel specific. Changes
# in your kernel port may require changes in these variables. For more
@@ -24,7 +22,7 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 1988 LEBs
MKUBIFS_ARGS ?= "-F -m 2048 -e 126976 -c 9900"
MKUBIFS_ARGS ?= "-F -m 2048 -e 126976 -c 16000"
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# from dmesg:

View File

@@ -15,4 +15,12 @@ UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/am3x"
# FIT image for legacy secure devices
KERNEL_CLASSES += " kernel-fitimage-legacyhs"
KERNEL_IMAGETYPES += " fitImage"
# FIT image settings
FITIMAGE_HASH_ALGO = ""
FITIMAGE_DTB_BY_NAME = "1"
FITIMAGE_TEE_BY_NAME = "1"
FITIMAGE_CONF_BY_NAME = "1"

View File

@@ -4,7 +4,6 @@
require conf/machine/include/ti43x.inc
MACHINE_GUI_CLASS = "smallscreen"
MACHINE_FEATURES += "touchscreen"
IMAGE_FSTYPES += "ubifs ubi"
@@ -22,7 +21,7 @@ SERIAL_CONSOLES = "115200;ttyS0"
# UBI: logical eraseblock size: 253952 bytes
# from ubiattach stdout:
# UBI device number 0, total 994 LEBs
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 4800"
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 8000"
# do ubiattach /dev/ubi_ctrl -m 11 -O 4096
# from dmesg:

View File

@@ -11,8 +11,18 @@ UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/am4x"
OPTEEMACHINE = "ti"
OPTEEMACHINE = "ti-am43xx"
OPTEEFLAVOR = "am43xx"
OPTEEOUTPUTMACHINE = "ti"
EXTRA_IMAGEDEPENDS += "optee-os"
# FIT image for legacy secure devices
KERNEL_CLASSES += " kernel-fitimage-legacyhs"
KERNEL_IMAGETYPES += " fitImage"
# FIT image settings
FITIMAGE_HASH_ALGO = ""
FITIMAGE_PACK_TEE = "1"
FITIMAGE_DTB_BY_NAME = "1"
FITIMAGE_TEE_BY_NAME = "1"
FITIMAGE_CONF_BY_NAME = "1"

View File

@@ -2,32 +2,46 @@
#@NAME: AM57xx EVM
#@DESCRIPTION: Machine configuration for the TI AM57xx EVM
require conf/machine/include/dra7xx.inc
require conf/machine/include/am57xx.inc
MACHINE_FEATURES += "touchscreen"
SERIAL_CONSOLES = "115200;ttyS2"
KERNEL_DEVICETREE = " \
am57xx-beagle-x15.dtb \
am57xx-beagle-x15-revb1.dtb \
am57xx-beagle-x15-revc.dtb \
am5729-beagleboneai.dtb \
am57xx-evm.dtb \
am57xx-evm-cam-ov10635.dtb \
am57xx-evm-reva3.dtb \
am57xx-evm-reva3-cam-ov10635.dtb \
am571x-idk.dtb \
am571x-idk-lcd-osd101t2045.dtb \
am571x-idk-lcd-osd101t2587.dtb \
am572x-idk.dtb \
am572x-idk-lcd-osd101t2045.dtb \
am572x-idk-lcd-osd101t2587.dtb \
am574x-idk.dtb \
am574x-idk-lcd-osd101t2587.dtb \
KERNEL_DEVICETREE_PREFIX = " \
am57 \
ov10635 \
ti/am57 \
ti/lcd \
ti/ov10635 \
ti/omap/am57 \
"
KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am574x-idk-pru-excl-uio.dtb am572x-idk-pru-excl-uio.dtb am571x-idk-pru-excl-uio.dtb', '', d)}"
KERNEL_DEVICETREE_DTBMERGE = " \
am57xx-evm.dtb \
am57xx-evm-reva3.dtb \
ti/omap/am57xx-evm.dtb \
ti/omap/am57xx-evm-reva3.dtb \
"
KERNEL_DEVICETREE = " \
ti/omap/am571x-idk-touchscreen.dtbo \
ti/omap/am571x-idk.dtb \
ti/omap/am5729-beagleboneai.dtb \
ti/omap/am572x-idk-touchscreen.dtbo \
ti/omap/am572x-idk.dtb \
ti/omap/am574x-idk.dtb \
ti/omap/am57xx-beagle-x15-revb1.dtb \
ti/omap/am57xx-beagle-x15-revc.dtb \
ti/omap/am57xx-beagle-x15.dtb \
ti/omap/am57xx-cl-som-am57x.dtb \
ti/omap/am57xx-evm-reva3.dtb \
ti/omap/am57xx-evm.dtb \
ti/omap/am57xx-evm.dtbo \
ti/omap/am57xx-idk-lcd-osd101t2045.dtbo \
ti/omap/am57xx-idk-lcd-osd101t2587.dtbo \
ti/omap/am57xx-sbc-am57x.dtb \
"
UBOOT_MACHINE = "am57xx_evm_config"
@@ -51,7 +65,3 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 8192"
# UBI: sub-page size: 512
# UBI: VID header offset: 2048 (aligned 2048)
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
# Set the list of device targets for ti-pdk class recipes
TI_PDK_LIMIT_SOCS = "am571x am572x am574x"
TI_PDK_LIMIT_BOARDS = "evmAM571x evmAM572x idkAM571x idkAM572x idkAM574x"

View File

@@ -11,9 +11,19 @@ UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_AUTO}/am5x"
OPTEEMACHINE = "ti"
OPTEEMACHINE = "ti-am57xx"
OPTEEFLAVOR = "am57xx"
OPTEEOUTPUTMACHINE = "ti"
OPTEEPAGER = "y"
EXTRA_IMAGEDEPENDS += "optee-os"
# FIT image for legacy secure devices
KERNEL_CLASSES += " kernel-fitimage-legacyhs"
KERNEL_IMAGETYPES += " fitImage"
# FIT image settings
FITIMAGE_HASH_ALGO = ""
FITIMAGE_PACK_TEE = "1"
FITIMAGE_DTB_BY_NAME = "1"
FITIMAGE_TEE_BY_NAME = "1"
FITIMAGE_CONF_BY_NAME = "1"

View File

@@ -0,0 +1,13 @@
#@TYPE: Machine
#@NAME: AM62A HS-FS EVM (R5F)
#@DESCRIPTION: Machine configuration for the TI AM62A EVM (R5F core)
require conf/machine/include/k3r5.inc
SYSFW_SOC = "am62ax"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs-fs"
UBOOT_MACHINE = "am62ax_evm_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS:ti-falcon = "am62x_r5_falcon.config"

View File

@@ -0,0 +1,25 @@
#@TYPE: Machine
#@NAME: AM62AXX EVM
#@DESCRIPTION: Machine configuration for the TI AM62AXX EVM
require conf/machine/include/am62axx.inc
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am62a7 \
ti/k3-am62x-sk \
ti/k3-fpdlink \
ti/k3-v3link \
"
KERNEL_DEVICETREE = " \
ti/k3-am62a7-phyboard-lyra-rdk.dtb \
ti/k3-am62a7-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 \
"
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,15 @@
#@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 \
"
KERNEL_DEVICETREE = ""
FIT_CONF_DEFAULT_DTB = "ti/k3-am62d2-evm.dtb"
UBOOT_MACHINE = "am62dx_evm_a53_defconfig"

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

@@ -0,0 +1,14 @@
#@TYPE: Machine
#@NAME: AM62PX EVM (R5F)
#@DESCRIPTION: Machine configuration for the TI AM62Px EVM (R5F core)
require conf/machine/include/k3r5.inc
require conf/machine/include/ti-extras.inc
SYSFW_SOC = "am62px"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs-fs"
UBOOT_MACHINE = "am62px_evm_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS:ti-falcon = "am62x_r5_falcon.config"

View File

@@ -0,0 +1,35 @@
#@TYPE: Machine
#@NAME: AM62PX EVM
#@DESCRIPTION: Machine configuration for the TI AM62PX EVM
require conf/machine/include/am62pxx.inc
require conf/machine/include/ti-extras.inc
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am62p5 \
ti/k3-am62x-sk-csi2 \
ti/k3-am62x-sk-hdmi \
ti/k3-am62x-sk-lpm \
ti/k3-v3link \
"
KERNEL_DEVICETREE = " \
ti/k3-am62p5-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 \
"
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
# along with the base defconfig mentioned in UBOOT_MACHINE. Refer u-boot-mergeconfig.inc
# under meta-ti-bsp/recipes-bsp/u-boot/ for more details.
# For AM62P tisdk-display-cluster image, splash screen is handled by SBL.
# Hence, disable the A53 based splash screen using the am62x_evm_prune_splashscreen.config fragment present in ti-u-boot tree
UBOOT_CONFIG_FRAGMENTS = "${@oe.utils.conditional('DISPLAY_CLUSTER_ENABLE', '1', 'am62x_evm_prune_splashscreen.config', '', d)}"
UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "${@oe.utils.conditional('DISPLAY_CLUSTER_ENABLE', '1', 'am62px_evm_prune_splashscreen.config', '', d)}"

View File

@@ -0,0 +1,14 @@
#@TYPE: Machine
#@NAME: AM62XX EVM (R5F)
#@DESCRIPTION: Machine configuration for the TI AM62xx EVM (R5F core)
require conf/machine/include/k3r5.inc
require conf/machine/include/ti-extras.inc
SYSFW_SOC = "am62x"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs-fs"
UBOOT_MACHINE = "am62x_evm_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS:ti-falcon = "am62x_r5_falcon.config"

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