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

Compare commits

...

208 Commits

Author SHA1 Message Date
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
180 changed files with 2086 additions and 1257 deletions

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

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

31
meta-beagle/README Normal file
View File

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

20
meta-beagle/SECURITY Normal file
View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -2,43 +2,15 @@
#@NAME: BeaglePlay (A53)
#@DESCRIPTION: Machine configuration for the BeaglePlay board (A53 core)
require conf/machine/include/k3.inc
SOC_FAMILY:append = ":am62xx"
require conf/machine/beagleplay-ti.conf
MACHINE_FEATURES += "screen gpu"
require conf/machine/include/beagle-bsp.inc
SERIAL_CONSOLES = "115200;ttyS2"
UBOOT_MACHINE:bsp-bb_org-6_1 = "am62x_evm_a53_defconfig"
require conf/machine/include/mesa-pvr.inc
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "am625_beagleplay_a53.config"
TFA_BOARD = "lite"
TFA_K3_SYSTEM_SUSPEND = "1"
OPTEEMACHINE = "k3-am62x"
UBOOT_MACHINE = "am62x_evm_a53_defconfig"
UBOOT_MACHINE:bsp-ti-6_6 = "am62x_beagleplay_a53_defconfig"
UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "am625_beagleplay_a53.config"
UBOOT_CONFIG_FRAGMENTS:bsp-bb_org = "am625_beagleplay_a53.config"
UBOOT_CONFIG_FRAGMENTS:bsp-mainline = "beagleplay_a53.config"
SPL_BINARY:bsp-ti-6_6 = "tispl.bin_unsigned"
SPL_BINARYNAME:bsp-ti-6_6 = "tispl.bin"
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am625 \
ti/k3-am62x-sk \
"
KERNEL_DEVICETREE = " \
ti/k3-am625-beagleplay.dtb \
ti/k3-am625-sk.dtb \
ti/k3-am62x-sk-hdmi-audio.dtbo \
"
KERNEL_DEVICETREE:append:bsp-bb_org = " \
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 \
@@ -75,4 +47,29 @@ ti/k3-am62x-sk-lpm-wkup-sources.dtbo \
ti/k3-am62x-sk-mcan.dtbo \
"
MACHINE_GUI_CLASS = "bigscreen"
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,16 @@
#@TYPE: Machine
#@NAME: BeagleY AI (R5F)
#@DESCRIPTION: Machine configuration for the BeagleY AI (R5F core)
require conf/machine/include/k3r5.inc
TI_PREFERRED_BSP ?= "bb_org-6_1"
require conf/machine/include/beagle-bsp.inc
SYSFW_SOC = "j722s"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs-fs"
UBOOT_MACHINE = "j722s_evm_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "am67a_beagley_ai_r5.config"

View File

@@ -0,0 +1,25 @@
#@TYPE: Machine
#@NAME: BeagleY AI (A53)
#@DESCRIPTION: Machine configuration for the BeagleY AI board (A53 core)
require conf/machine/include/j722s.inc
TI_PREFERRED_BSP ?= "bb_org-6_1"
require conf/machine/include/beagle-bsp.inc
UBOOT_MACHINE = "j722s_evm_a53_config"
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 \
"
MACHINE_GUI_CLASS = "bigscreen"

View File

@@ -0,0 +1,49 @@
# 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_6, but can override with any of the existing options
TI_PREFERRED_BSP ?= "bb_org-6_6"
# ==========
# 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"
# ==========
# 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"

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,3 +1,6 @@
# Look in the generic major.minor directory for files
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.1:"
SECTION = "kernel"
SUMMARY = "BeagleBoard.org Linux kernel"
LICENSE = "GPL-2.0-only"
@@ -52,17 +55,14 @@ PB-MIKROBUS-1.dtbo \
S = "${WORKDIR}/git"
# 6.1.80 version for 32-bit
SRCREV:armv7a = "4ca9ea30768d58c8d4d56d03dd1eaf8c8feb7ef9"
PV:armv7a = "6.1.80+git"
BRANCH:armv7a = "v6.1.80-ti-r34"
# 6.1.83 version for 32-bit
SRCREV:armv7a = "be9b910b08dfd674e47a2643f35080b005ac3792"
PV:armv7a = "6.1.83+git"
BRANCH:armv7a = "v6.1.83-ti-r35"
# 6.1.80 version for 64-bit
SRCREV:aarch64 = "977c75e082620f15c06c72bcced30f787c14b390"
PV:aarch64 = "6.1.80+git"
BRANCH:aarch64 = "v6.1.80-ti-arm64-r49"
# 6.1.83 version for 64-bit
SRCREV:aarch64 = "135558243d5a98ed39812b797d2ba6295ef3b86a"
PV:aarch64 = "6.1.83+git"
BRANCH:aarch64 = "v6.1.83-ti-arm64-r64"
SRC_URI = " \
git://github.com/beagleboard/linux.git;protocol=https;branch=${BRANCH} \
file://defconfig \
"
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.32 version for 32-bit
SRCREV:armv7a = "525684d28fadc2bdae5424f28b219377bd5d4639"
PV:armv7a = "6.6.32+git"
BRANCH:armv7a = "v6.6.32-ti-arm32-r7"
# 6.6.58 version for 64-bit
SRCREV:aarch64 = "9beffa9162f6a0f5de7e25bbb66026a579376428"
PV:aarch64 = "6.6.58+git"
BRANCH:aarch64 = "v6.6.58-ti-arm64-r16"
KERNEL_GIT_URI = "git://github.com/beagleboard/linux.git"
SRC_URI += "file://no-fortify.cfg"
KERNEL_CONFIG_FRAGMENTS += "${WORKDIR}/no-fortify.cfg"

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

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

View File

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

View File

@@ -18,10 +18,6 @@ LAYERDEPENDS_meta-ti-bsp = " \
meta-arm \
"
BBFILES_DYNAMIC += " \
clang-layer:${LAYERDIR}/dynamic-layers/clang-layer/recipes*/*/*.bbappend \
"
SIGGEN_EXCLUDERECIPES_ABISAFE += " \
mesa-pvr \
"

View File

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

View File

@@ -25,13 +25,22 @@ KERNEL_DEVICETREE_DTBMERGE = " \
"
KERNEL_DEVICETREE = " \
ti/omap/am57xx-beagle-x15.dtb \
ti/omap/am57xx-beagle-x15-revb1.dtb \
ti/omap/am57xx-beagle-x15-revc.dtb \
ti/omap/am5729-beagleboneai.dtb \
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"

View File

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

View File

@@ -10,17 +10,26 @@ KERNEL_DEVICETREE_PREFIX = " \
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 am62px_evm_prune_splashscreen.config fragment present in ti-u-boot tree
UBOOT_CONFIG_FRAGMENTS = "${@oe.utils.conditional('DISPLAY_CLUSTER_ENABLE', '1', 'am62px_evm_prune_splashscreen.config', '', d)}"
# 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

@@ -11,7 +11,26 @@ KERNEL_DEVICETREE_PREFIX = " \
"
KERNEL_DEVICETREE = " \
ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
ti/k3-am625-beagleplay.dtb \
ti/k3-am625-phyboard-lyra-1-4-ghz-opp.dtbo \
ti/k3-am625-phyboard-lyra-rdk.dtb \
ti/k3-am625-sk.dtb \
ti/k3-am625-verdin-nonwifi-dahlia.dtb \
ti/k3-am625-verdin-nonwifi-dev.dtb \
ti/k3-am625-verdin-nonwifi-mallow.dtb \
ti/k3-am625-verdin-nonwifi-yavia.dtb \
ti/k3-am625-verdin-wifi-dahlia.dtb \
ti/k3-am625-verdin-wifi-dev.dtb \
ti/k3-am625-verdin-wifi-mallow.dtb \
ti/k3-am625-verdin-wifi-yavia.dtb \
ti/k3-am62x-sk-csi2-imx219.dtbo \
ti/k3-am62x-sk-csi2-ov5640.dtbo \
ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \
ti/k3-am62x-sk-hdmi-audio.dtbo \
"
FIT_CONF_DEFAULT_DTB = "ti/k3-am625-sk.dtb"
UBOOT_MACHINE = "am62x_evm_a53_defconfig"

View File

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

View File

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

View File

@@ -11,10 +11,13 @@ KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am68-sk \
ti/k3-fpdlink \
ti/k3-v3link \
ti/k3-j721e-sk-csi2-dual-imx219 \
ti/k3-j721e-sk-fpdlink-fusion \
"
KERNEL_DEVICETREE = " \
ti/k3-am68-sk-base-board.dtb \
ti/k3-j721e-sk-csi2-dual-imx219.dtbo \
"
UBOOT_MACHINE = "am68_sk_a72_defconfig"

View File

@@ -11,10 +11,14 @@ KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am69-sk \
ti/k3-fpdlink \
ti/k3-v3link \
ti/k3-am68-sk-v3link-fusion \
ti/k3-j721e-sk-csi2-dual-imx219 \
ti/k3-j721e-sk-fpdlink-fusion \
"
KERNEL_DEVICETREE = " \
ti/k3-am69-sk.dtb \
ti/k3-j721e-sk-csi2-dual-imx219.dtbo \
"
UBOOT_MACHINE = "am69_sk_a72_defconfig"

View File

@@ -8,9 +8,7 @@ SYSFW_SOC = "am62x"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "gp"
UBOOT_MACHINE = "am62x_evm_r5_defconfig"
UBOOT_MACHINE:bsp-ti-6_6 = "am62x_beagleplay_r5_defconfig"
UBOOT_MACHINE = "am62x_beagleplay_r5_defconfig"
UBOOT_MACHINE:bsp-ti-6_1 = "am62x_evm_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS:bsp-bb_org = "am625_beagleplay_r5.config"
UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "am625_beagleplay_r5.config"
UBOOT_CONFIG_FRAGMENTS:bsp-mainline = "beagleplay_r5.config"

View File

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

View File

@@ -1,4 +1,6 @@
require conf/machine/include/k3.inc
require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":am62axx"
MACHINE_FEATURES += "screen touchscreen"
@@ -8,9 +10,6 @@ TFA_K3_SYSTEM_SUSPEND = "1"
# Default tiboot3.bin on AM62A is for HS-FS
IMAGE_BOOT_FILES += "tiboot3-am62ax-hs-fs-evm.bin"
# Since default tiboot3.bin on AM62A is for HS-FS, add a version for GP
IMAGE_BOOT_FILES += "tiboot3-am62ax-gp-evm.bin"
# Since default tiboot3.bin on AM62A is for HS-FS, add a version for HS-SE
IMAGE_BOOT_FILES += "tiboot3-am62ax-hs-evm.bin"

View File

@@ -0,0 +1,12 @@
require conf/machine/include/k3.inc
SOC_FAMILY:append = ":am62lxx"
MACHINE_FEATURES += "screen"
# Default tiboot3.bin on AM62L is for HS-FS
IMAGE_BOOT_FILES += "tiboot3-am62lx-hs-fs-evm.bin"
TFA_BOARD = "am62l"
TFA_K3_SYSTEM_SUSPEND = "1"
OPTEEMACHINE = "k3-am62lx"

View File

@@ -1,4 +1,6 @@
require conf/machine/include/k3.inc
require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":am62pxx"
MACHINE_FEATURES += "screen gpu"

View File

@@ -1,4 +1,6 @@
require conf/machine/include/k3.inc
require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":am62xx"
MACHINE_FEATURES += "screen gpu"

View File

@@ -1,11 +1,23 @@
require conf/machine/include/k3.inc
require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":am64xx"
KERNEL_DEVICETREE_PREFIX = "ti/k3-am642"
KERNEL_DEVICETREE = " \
ti/k3-am642-evm-icssg1-dualemac-mii.dtbo \
ti/k3-am642-evm-icssg1-dualemac.dtbo \
ti/k3-am642-evm-nand.dtbo \
ti/k3-am642-evm.dtb \
ti/k3-am642-hummingboard-t-pcie.dtbo \
ti/k3-am642-hummingboard-t-usb3.dtbo \
ti/k3-am642-hummingboard-t.dtb \
ti/k3-am642-phyboard-electra-gpio-fan.dtbo \
ti/k3-am642-phyboard-electra-pcie-usb2.dtbo \
ti/k3-am642-phyboard-electra-rdk.dtb \
ti/k3-am642-sk.dtb \
ti/k3-am642-tqma64xxl-mbax4xxl.dtb \
"
# Default tiboot3.bin on AM64x is for SR2.0 HS-FS
@@ -22,3 +34,5 @@ TFA_BOARD = "lite"
OPTEEMACHINE = "k3-am64x"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw pruhsr-fw prusw-fw"
TI_WKS_BOOTLOADER_APPEND="console=ttyS2,115200n8"

View File

@@ -1,4 +1,6 @@
require conf/machine/include/k3.inc
require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":am65xx"
MACHINE_FEATURES += "screen touchscreen gpu"
@@ -9,7 +11,18 @@ PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_SGX_DRIVER_PROVIDER}"
KERNEL_DEVICETREE_PREFIX = "ti/k3-am654"
KERNEL_DEVICETREE = " \
ti/k3-am654-base-board-rocktech-rk101-panel.dtbo \
ti/k3-am654-base-board.dtb \
ti/k3-am654-icssg2.dtbo \
ti/k3-am654-idk.dtbo \
ti/k3-am654-pcie-usb2.dtbo \
ti/k3-am654-pcie-usb3.dtbo \
ti/k3-am6548-iot2050-advanced-m2-bkey-ekey-pcie.dtbo \
ti/k3-am6548-iot2050-advanced-m2-bkey-usb3.dtbo \
ti/k3-am6548-iot2050-advanced-m2.dtb \
ti/k3-am6548-iot2050-advanced-pg2.dtb \
ti/k3-am6548-iot2050-advanced-sm.dtb \
ti/k3-am6548-iot2050-advanced.dtb \
"
IMAGE_BOOT_FILES += "sysfw.itb"

View File

@@ -1,4 +1,6 @@
require conf/machine/include/k3.inc
require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":j721s2"
MACHINE_FEATURES += "screen gpu"

View File

@@ -1,4 +1,6 @@
require conf/machine/include/k3.inc
require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":j784s4"
MACHINE_FEATURES += "screen gpu"

View File

@@ -1,4 +1,6 @@
require conf/machine/include/k3.inc
require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":j7200"
# Default tiboot3.bin on J7200 is for GP

View File

@@ -1,4 +1,6 @@
require conf/machine/include/k3.inc
require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":j721e"
MACHINE_FEATURES += "screen gpu"
@@ -34,4 +36,8 @@ TFA_BOARD = "generic"
OPTEEMACHINE = "k3-j721e"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw vxd-dec-fw ti-eth-fw"
TI_VXE_VXD_DRIVER = "ti-vxe-vxd-driver"
TI_VXE_VXD_DRIVER:bsp-ti-6_6 = ""
TI_VXE_VXD_DRIVER:bsp-ti-6_1 = ""
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw vxd-dec-fw ti-eth-fw ${TI_VXE_VXD_DRIVER}"

View File

@@ -1,4 +1,6 @@
require conf/machine/include/k3.inc
require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":j721s2"
MACHINE_FEATURES += "screen gpu"

View File

@@ -1,4 +1,6 @@
require conf/machine/include/k3.inc
require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":j722s"
MACHINE_FEATURES += "screen gpu"
@@ -11,6 +13,7 @@ IMAGE_BOOT_FILES += "tiboot3-j722s-hs-fs-evm.bin"
# Since default tiboot3.bin on J722S is for HS-FS, add a version for HS-SE
IMAGE_SR1_HS_SE_FILES = "tiboot3-j722s-hs-evm.bin"
IMAGE_SR1_HS_SE_FILES:bsp-mainline = ""
IMAGE_SR1_HS_SE_FILES:bsp-next = ""
IMAGE_BOOT_FILES += "${IMAGE_SR1_HS_SE_FILES}"

View File

@@ -0,0 +1,21 @@
require conf/machine/include/k3.inc
require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":j742s2"
MACHINE_FEATURES += "screen gpu"
require conf/machine/include/mesa-pvr.inc
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
# Default tiboot3.bin on J742S2 is for HS-FS
IMAGE_BOOT_FILES += "tiboot3-j742s2-hs-fs-evm.bin"
# Since default tiboot3.bin on J742S2 is for HS-FS, add a version for SR1.0 HS-SE
IMAGE_BOOT_FILES += "tiboot3-j742s2-hs-evm.bin"
TFA_BOARD = "j784s4"
OPTEEMACHINE = "k3-j784s4"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw"

View File

@@ -1,4 +1,6 @@
require conf/machine/include/k3.inc
require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":j784s4"
MACHINE_FEATURES += "screen gpu"

View File

@@ -3,9 +3,8 @@
require conf/machine/include/ti-soc.inc
SOC_FAMILY:append = ":k3"
require conf/machine/include/arm/arch-arm64.inc
BBMULTICONFIG += "k3r5"
DEFAULTTUNE ?= "aarch64"
require conf/machine/include/arm/armv8a/tune-cortexa72-cortexa53.inc
require conf/machine/include/ti-bsp.inc
@@ -26,10 +25,6 @@ SPL_BINARY = "tispl.bin"
SPL_BINARYNAME = "tispl.bin"
UBOOT_SUFFIX = "img"
UBOOT_SIGN_ENABLE = "1"
UBOOT_MKIMAGE_DTCOPTS = "-I dts -O dtb"
UBOOT_SIGN_KEYNAME ?= "custMpk"
UBOOT_SIGN_KEYDIR ?= "${TI_SECURE_DEV_PKG}/keys"
FIT_HASH_ALG ?= "sha512"
FIT_SIGN_ALG ?= "rsa4096"
@@ -56,7 +51,8 @@ MACHINE_FEATURES += "efi"
WKS_FILE ?= "${@bb.utils.contains("MACHINE_FEATURES", "efi", "sdimage-2part-efi.wks.in", "sdimage-2part.wks", d)}"
TI_WKS_BOOTLOADER_APPEND ?= ""
do_image_wic[depends] += "virtual/bootloader:do_deploy"
do_image[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy"
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS2"

View File

@@ -0,0 +1,3 @@
BBMULTICONFIG += "k3r5"
do_image[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy"

View File

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

View File

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

View File

@@ -19,17 +19,43 @@ KERNEL_DEVICETREE_PREFIX = " \
"
KERNEL_DEVICETREE = " \
ti/omap/am335x-baltos-ir2110.dtb \
ti/omap/am335x-baltos-ir3220.dtb \
ti/omap/am335x-baltos-ir5221.dtb \
ti/omap/am335x-base0033.dtb \
ti/omap/am335x-bone.dtb \
ti/omap/am335x-boneblack-wireless.dtb \
ti/omap/am335x-boneblack.dtb \
ti/omap/am335x-boneblue.dtb \
ti/omap/am335x-bonegreen-wireless.dtb \
ti/omap/am335x-bonegreen.dtb \
ti/omap/am335x-chiliboard.dtb \
ti/omap/am335x-cm-t335.dtb \
ti/omap/am335x-evm.dtb \
ti/omap/am335x-evmsk.dtb \
ti/omap/am335x-guardian.dtb \
ti/omap/am335x-icev2.dtb \
ti/omap/am335x-lxm.dtb \
ti/omap/am335x-moxa-uc-2101.dtb \
ti/omap/am335x-moxa-uc-8100-me-t.dtb \
ti/omap/am335x-myirtech-myd.dtb \
ti/omap/am335x-nano.dtb \
ti/omap/am335x-netcan-plus-1xx.dtb \
ti/omap/am335x-netcom-plus-2xx.dtb \
ti/omap/am335x-netcom-plus-8xx.dtb \
ti/omap/am335x-osd3358-sm-red.dtb \
ti/omap/am335x-pdu001.dtb \
ti/omap/am335x-pepper.dtb \
ti/omap/am335x-phycore-rdk.dtb \
ti/omap/am335x-pocketbeagle.dtb \
ti/omap/am335x-bone.dtb \
ti/omap/am335x-boneblue.dtb \
ti/omap/am335x-bonegreen.dtb \
ti/omap/am335x-bonegreen-wireless.dtb \
ti/omap/am335x-boneblack.dtb \
ti/omap/am335x-boneblack-wireless.dtb \
ti/omap/am335x-regor-rdk.dtb \
ti/omap/am335x-sancloud-bbe-extended-wifi.dtb \
ti/omap/am335x-sancloud-bbe-lite.dtb \
ti/omap/am335x-sancloud-bbe.dtb \
ti/omap/am335x-sbc-t335.dtb \
ti/omap/am335x-shc.dtb \
ti/omap/am335x-sl50.dtb \
ti/omap/am335x-wega-rdk.dtb \
"
UBOOT_ARCH = "arm"

View File

@@ -21,9 +21,11 @@ KERNEL_DEVICETREE_PREFIX = " \
"
KERNEL_DEVICETREE = " \
ti/omap/am437x-cm-t43.dtb \
ti/omap/am437x-gp-evm.dtb \
ti/omap/am437x-sk-evm.dtb \
ti/omap/am437x-idk-evm.dtb \
ti/omap/am437x-sbc-t43.dtb \
ti/omap/am437x-sk-evm.dtb \
ti/omap/am43x-epos-evm.dtb \
"

View File

@@ -8,6 +8,7 @@ KERNEL_DEVICETREE_PREFIX = "ti/k3-j7200"
KERNEL_DEVICETREE = " \
ti/k3-j7200-common-proc-board.dtb \
ti/k3-j7200-evm-quad-port-eth-exp.dtbo \
"
UBOOT_MACHINE = "j7200_evm_a72_config"

View File

@@ -11,7 +11,13 @@ KERNEL_DEVICETREE_PREFIX = " \
"
KERNEL_DEVICETREE = " \
ti/k3-j721e-beagleboneai64.dtb \
ti/k3-j721e-common-proc-board-infotainment.dtbo \
ti/k3-j721e-common-proc-board.dtb \
ti/k3-j721e-evm-gesi-exp-board.dtbo \
ti/k3-j721e-evm-pcie0-ep.dtbo \
ti/k3-j721e-evm-quad-port-eth-exp.dtbo \
ti/k3-j721e-sk-csi2-dual-imx219.dtbo \
ti/k3-j721e-sk.dtb \
"

View File

@@ -10,6 +10,7 @@ KERNEL_DEVICETREE_PREFIX = " \
"
KERNEL_DEVICETREE = " \
ti/k3-j721e-sk-csi2-dual-imx219.dtbo \
ti/k3-j721e-sk.dtb \
"

View File

@@ -16,7 +16,10 @@ KERNEL_DEVICETREE_PREFIX = " \
"
KERNEL_DEVICETREE = " \
ti/k3-am68-sk-base-board.dtb \
ti/k3-j721s2-common-proc-board.dtb \
ti/k3-j721s2-evm-gesi-exp-board.dtbo \
ti/k3-j721s2-evm-pcie1-ep.dtbo \
"
UBOOT_MACHINE = "j721s2_evm_a72_defconfig"

View File

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

View File

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

View File

@@ -0,0 +1,22 @@
#@TYPE: Machine
#@NAME: J742S2 EVM
#@DESCRIPTION: Machine configuration for the TI J742S2 EVM
require conf/machine/include/j742s2.inc
TFA_K3_USART = "0x8"
OPTEE_K3_USART = "0x8"
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-j742s2 \
ti/k3-j784s4 \
ti/k3-fpdlink \
ti/k3-j7200-evm-mcspi-loopback \
ti/k3-j721s2-evm-csi2-ov5640 \
ti/k3-j721s2-evm-fusion \
ti/k3-v3link \
"
KERNEL_DEVICETREE = ""
UBOOT_MACHINE = "j742s2_evm_a72_defconfig"

View File

@@ -11,11 +11,18 @@ KERNEL_DEVICETREE_PREFIX = " \
ti/k3-j784s4 \
ti/k3-fpdlink \
ti/k3-j7200-evm-mcspi-loopback \
ti/k3-j721s2-evm-csi2-ov5640 \
ti/k3-j721s2-evm-fusion \
ti/k3-j721s2-evm-ub954 \
ti/k3-am69-sk \
ti/k3-v3link \
"
KERNEL_DEVICETREE = " \
ti/k3-am69-sk.dtb \
ti/k3-j784s4-evm-pcie0-pcie1-ep.dtbo \
ti/k3-j784s4-evm-quad-port-eth-exp1.dtbo \
ti/k3-j784s4-evm-usxgmii-exp1-exp2.dtbo \
ti/k3-j784s4-evm.dtb \
"

View File

@@ -21,6 +21,6 @@ KERNEL_DEVICETREE_PREFIX = " \
"
KERNEL_DEVICETREE = " \
da850-evm.dtb \
da850-lcdk.dtb \
ti/davinci/da850-evm.dtb \
ti/davinci/da850-lcdk.dtb \
"

View File

@@ -1,14 +0,0 @@
# This is a copy of meta-clang/recipes-graphics/mesa/mesa_%.bbappend required
# for llvmpipe when using pvr-mesa since we aren't caught by that glob.
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
LDFLAGS:append:toolchain-clang = " -latomic -lm"
DEPENDS:append:toolchain-clang = " libatomic-ops"
EXTRA_OEMASON:append:toolchain-clang:x86 = " -Dasm=false"
EXTRA_OEMASON:append:toolchain-clang:x86-64 = " -Dasm=false"
export YOCTO_ALTERNATE_EXE_PATH = "${STAGING_LIBDIR}/llvm-config"
PACKAGECONFIG[gallium-llvm] = "-Dllvm=true -Dshared-llvm=true -Ddraw-use-llvm=true,-Dllvm=false,clang clang-native elfutils"

View File

@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENCE.cadence;md5=009f46816f6956cfb75ede13d3e1cee0"
PV = "${CADENCE_MHDP_FW_VERSION}"
PR = "${INC_PR}.0"
COMPATIBLE_MACHINE = "j721e|j721s2|j784s4"
COMPATIBLE_MACHINE = "j721e|j721s2|j784s4|j742s2"
TARGET = "mhdp8546.bin"

View File

@@ -1,16 +0,0 @@
HOMEPAGE = "http://processors.wiki.ti.com/index.php/Category:CMEM"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://include/ti/cmem.h;beginline=1;endline=30;md5=26be509e4bb413905bda8309e338e2b1"
BRANCH = "master"
# This corresponds to version 4.20.00.01
SRCREV = "86269258a48e0a9008dd9d5ebfae9da7ce843393"
PV = "4.20.00.01+git"
SRC_URI = "git://git.ti.com/git/ipc/ludev.git;protocol=https;branch=${BRANCH}"
S = "${WORKDIR}/git"
COMPATIBLE_HOST ?= "null"
COMPATIBLE_HOST:ti-soc = "(.*)"

View File

@@ -1,11 +0,0 @@
DESCRIPTION = "The cmem component supports contiguous memory allocation from userspace"
include cmem.inc
PR = "r0"
PACKAGES =+ "${PN}-test"
FILES:${PN}-test = "${bindir}/*"
inherit autotools

View File

@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://LICENCE.cnm;md5=93b67e6bac7f8fec22b96b8ad0a1a9d0"
PV = "${CNM_WAVE521_FW_VERSION}"
PR = "${INC_PR}.1"
COMPATIBLE_MACHINE = "j721s2|j784s4|j722s|am62axx|am62pxx"
COMPATIBLE_MACHINE = "j721s2|j784s4|j722s|j742s2|am62axx|am62pxx"
TARGET_WAVE521C = "wave521c_k3_codec_fw.bin"

View File

@@ -8,9 +8,9 @@ inherit module features_check
REQUIRED_MACHINE_FEATURES = "gc320"
# Need to branch out with ${PV} var
BRANCH = "ti-${PV}-k5.10"
BRANCH = "ti-${PV}-k6.12"
SRCREV = "e2a10f31e255a65ec30a6e10b890e77d7e9cb107"
SRCREV = "83afddf9dbf6a8458267b4dae21ee35bfb11f3d1"
SRC_URI = "git://git.ti.com/git/graphics/ti-gc320-driver.git;protocol=https;branch=${BRANCH}"

View File

@@ -19,7 +19,7 @@ SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-driver.git;protocol=https;
S = "${WORKDIR}/git"
SRCREV = "174eb331a61e89184342fa57a935226f4e952bc9"
SRCREV = "c838bc06a163abad46dcc193c8fb9a4fb9e2e356"
TARGET_PRODUCT:j721e = "j721e_linux"
TARGET_PRODUCT:j721s2 = "j721s2_linux"

View File

@@ -9,21 +9,22 @@ PROVIDES = "virtual/gpudriver"
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "j721e|j721s2|j784s4|am62xx|am62pxx|j722s"
COMPATIBLE_MACHINE = "j721e|j721s2|j784s4|j742s2|am62xx|am62pxx|j722s"
DEPENDS = "virtual/kernel"
BRANCH = "linuxws/scarthgap/k6.6/${PV}"
BRANCH = "linuxws/scarthgap/k6.12/${PV}"
SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-driver.git;protocol=https;branch=${BRANCH}"
S = "${WORKDIR}/git"
SRCREV = "81e189096ef2f2479ccfb50d8b2fb24097188de3"
SRCREV = "8eaff654a8871118c08cfafe53795f57e3b6b396"
TARGET_PRODUCT:j721e = "j721e_linux"
TARGET_PRODUCT:j721s2 = "j721s2_linux"
TARGET_PRODUCT:j784s4 = "j784s4_linux"
TARGET_PRODUCT:j742s2 = "j784s4_linux"
TARGET_PRODUCT:am62xx = "am62_linux"
TARGET_PRODUCT:am62pxx = "am62p_linux"
TARGET_PRODUCT:j722s = "j722s_linux"

View File

@@ -19,7 +19,7 @@ SRC_URI = "git://git.ti.com/git/graphics/omap5-sgx-ddk-linux.git;protocol=https;
S = "${WORKDIR}/git"
SRCREV = "2cb2c9609b7740cb2c348e669a96f26e1cc858da"
SRCREV = "9ae0fa4998b1c624408945e062bf8fb0ea7efb9d"
TARGET_PRODUCT:omap-a15 = "ti572x_linux"
TARGET_PRODUCT:ti33x = "ti335x_linux"
@@ -31,6 +31,14 @@ PVR_WS = "lws-generic"
EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" BUILD=${PVR_BUILD} \
WINDOW_SYSTEM=${PVR_WS} PVR_BUILD_DIR=${TARGET_PRODUCT}'
# There are useful flags here that are interpreted by the final kbuild pass
# These variables are not necessary when compiling outside of Yocto
export KERNEL_CC
export KERNEL_LD
export KERNEL_AR
export KERNEL_OBJCOPY
export KERNEL_STRIP
do_install() {
make -C ${STAGING_KERNEL_DIR} M=${B}/eurasiacon/binary_${TARGET_PRODUCT}_${PVR_WS}_${PVR_BUILD}/target_armhf/kbuild INSTALL_MOD_PATH=${D}${root_prefix} PREFIX=${STAGING_DIR_HOST} modules_install
}

View File

@@ -26,10 +26,12 @@ PLAT_SFX:j7200 = "j7200"
PLAT_SFX:j721s2 = "j721s2"
PLAT_SFX:j784s4 = "j784s4"
PLAT_SFX:j722s = "j722s"
PLAT_SFX:j742s2 = "j742s2"
PLAT_SFX:am65xx = "am65xx"
PLAT_SFX:am64xx = "am64xx"
PLAT_SFX:am62xx = "am62xx"
PLAT_SFX:am62axx = "am62axx"
PLAT_SFX:am62lxx = "am62lxx"
PLAT_SFX:am62pxx = "am62pxx"
DM_FW_DIR = "ti-dm/${PLAT_SFX}"
@@ -37,6 +39,7 @@ DM_FW_DIR = "ti-dm/${PLAT_SFX}"
INSTALL_DM_FW_DIR = "${nonarch_base_libdir}/firmware/${DM_FW_DIR}"
DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f"
DM_FIRMWARE:am62axx = "dm_edgeai_mcu1_0_release_strip.out"
DM_FW_LIST = ""
DM_FW_LIST:j721e = "${DM_FIRMWARE}"
@@ -44,10 +47,12 @@ DM_FW_LIST:j7200 = "${DM_FIRMWARE}"
DM_FW_LIST:j721s2 = "${DM_FIRMWARE}"
DM_FW_LIST:j784s4 = "${DM_FIRMWARE}"
DM_FW_LIST:j722s = "${DM_FIRMWARE}"
DM_FW_LIST:j742s2 = "${DM_FIRMWARE}"
DM_FW_LIST:am65xx = ""
DM_FW_LIST:am64xx = ""
DM_FW_LIST:am62xx = "${DM_FIRMWARE}"
DM_FW_LIST:am62axx = "${DM_FIRMWARE}"
DM_FW_LIST:am62lxx = ""
DM_FW_LIST:am62pxx = "${DM_FIRMWARE}"
do_install() {
@@ -86,6 +91,7 @@ ALTERNATIVE:${PN}:j7200 = "j7200-mcu-r5f0_0-fw"
ALTERNATIVE:${PN}:j721s2 = "j721s2-mcu-r5f0_0-fw"
ALTERNATIVE:${PN}:j784s4 = "j784s4-mcu-r5f0_0-fw"
ALTERNATIVE:${PN}:j722s = "j722s-wkup-r5f0_0-fw"
ALTERNATIVE:${PN}:j742s2 = "j742s2-mcu-r5f0_0-fw"
# Set up link names for the firmwares
ALTERNATIVE_LINK_NAME[am62-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/am62-main-r5f0_0-fw"
@@ -96,6 +102,7 @@ ALTERNATIVE_LINK_NAME[j7200-mcu-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j
ALTERNATIVE_LINK_NAME[j721s2-mcu-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j721s2-mcu-r5f0_0-fw"
ALTERNATIVE_LINK_NAME[j784s4-mcu-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j784s4-mcu-r5f0_0-fw"
ALTERNATIVE_LINK_NAME[j722s-wkup-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j722s-wkup-r5f0_0-fw"
ALTERNATIVE_LINK_NAME[j742s2-mcu-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j742s2-mcu-r5f0_0-fw"
# Create the firmware alternatives
ALTERNATIVE_TARGET[am62-main-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
@@ -106,6 +113,7 @@ ALTERNATIVE_TARGET[j7200-mcu-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
ALTERNATIVE_TARGET[j721s2-mcu-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
ALTERNATIVE_TARGET[j784s4-mcu-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
ALTERNATIVE_TARGET[j722s-wkup-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
ALTERNATIVE_TARGET[j742s2-mcu-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
ALTERNATIVE_PRIORITY = "10"

View File

@@ -25,6 +25,7 @@ PLAT_SFX:j7200 = "j7200"
PLAT_SFX:j721s2 = "j721s2"
PLAT_SFX:j784s4 = "j784s4"
PLAT_SFX:j722s = "j722s"
PLAT_SFX:j742s2 = "j742s2"
PLAT_SFX:am65xx = "am65xx"
PLAT_SFX:am64xx = "am64xx"
PLAT_SFX:am62xx = "am62xx"
@@ -43,6 +44,7 @@ ETH_FW_LIST:j7200 = "${ETH_FW}"
ETH_FW_LIST:j721s2 = ""
ETH_FW_LIST:j784s4 = "${ETH_FW}"
ETH_FW_LIST:j722s = ""
ETH_FW_LIST:j742s2 = ""
ETH_FW_LIST:am65xx = ""
ETH_FW_LIST:am64xx = ""
ETH_FW_LIST:am62xx = ""

View File

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

View File

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

View File

@@ -9,20 +9,25 @@ INC_PR = "r4"
# Firmware versions
CORESDK_RTOS_VERSION = "08.02.00.04"
PRUETH_FW_AM65X_VERSION = "08.00.00.20"
PRUETH_FW_AM65X_SR2_VERSION = "02.02.14.00"
PRUETH_FW_AM65X_SR2_VERSION = "02.02.15.04"
GOODIX_FW_VERSION = "1.0.0.0"
CADENCE_MHDP_FW_VERSION = "2.1.0"
IMG_DEC_FW_VERSION = "1.0"
CNM_WAVE521_FW_VERSION = "1.0.4"
TI_DM_FW_VERSION = "10.00.01"
TI_SYSFW_VERSION = "10.00.02"
CNM_WAVE521_FW_VERSION = "1.0.7"
TI_DM_FW_VERSION = "11.00.09"
TI_SYSFW_VERSION = "11.00.07"
TI_HSM_DEMO_FW_VERSION = "11.00.09"
TI_LINUX_FW_SRCREV ?= "bce9bafb6efeb8ac539bd9858d474a55fe88cd46"
TI_LINUX_FW_SRCREV ?= "1e5d64d9385d6472d29e11ac7021765004ddff27"
SRCREV = "${TI_LINUX_FW_SRCREV}"
BRANCH ?= "ti-linux-firmware"
SRC_URI = "git://git.ti.com/git/processor-firmware/ti-linux-firmware.git;protocol=https;branch=${BRANCH}"
TI_LINUX_FW_GIT_URI ?= "git://git.ti.com/git/processor-firmware/ti-linux-firmware.git"
TI_LINUX_FW_GIT_PROTOCOL ?= "https"
TI_LINUX_FW_GIT_BRANCH ?= "branch=${BRANCH}"
SRC_URI = "${TI_LINUX_FW_GIT_URI};protocol=${TI_LINUX_FW_GIT_PROTOCOL};${TI_LINUX_FW_GIT_BRANCH}"
S = "${WORKDIR}/git"

View File

@@ -17,6 +17,7 @@ PLAT_SFX:j7200 = "j7200"
PLAT_SFX:j721s2 = "j721s2"
PLAT_SFX:j784s4 = "j784s4"
PLAT_SFX:j722s = "j722s"
PLAT_SFX:j742s2 = "j742s2"
PLAT_SFX:am65xx = "am65xx"
PLAT_SFX:am64xx = "am64xx"
PLAT_SFX:am62xx = "am62xx"
@@ -36,20 +37,21 @@ IPC_FW_DIR = "ti-ipc/${PLAT_SFX}"
INSTALL_IPC_FW_DIR = "${nonarch_base_libdir}/firmware/${IPC_FW_DIR}"
MCU_1_0_FW = "ipc_echo_test_mcu1_0_release_strip.xer5f"
MCU_1_1_FW = "ipc_echo_test_mcu1_1_release_strip.xer5f"
MCU_2_0_FW = "ipc_echo_test_mcu2_0_release_strip.xer5f"
MCU_2_1_FW = "ipc_echo_test_mcu2_1_release_strip.xer5f"
MCU_3_0_FW = "ipc_echo_test_mcu3_0_release_strip.xer5f"
MCU_3_1_FW = "ipc_echo_test_mcu3_1_release_strip.xer5f"
MCU_4_0_FW = "ipc_echo_test_mcu4_0_release_strip.xer5f"
MCU_4_1_FW = "ipc_echo_test_mcu4_1_release_strip.xer5f"
C66_1_FW = "ipc_echo_test_c66xdsp_1_release_strip.xe66"
C66_2_FW = "ipc_echo_test_c66xdsp_2_release_strip.xe66"
C7X_1_FW = "ipc_echo_test_c7x_1_release_strip.xe71"
C7X_2_FW = "ipc_echo_test_c7x_2_release_strip.xe71"
C7X_3_FW = "ipc_echo_test_c7x_3_release_strip.xe71"
C7X_4_FW = "ipc_echo_test_c7x_4_release_strip.xe71"
MCU_1_0_FW = "ipc_echo_test_mcu1_0_release_strip.xer5f"
MCU_1_1_FW = "ipc_echo_test_mcu1_1_release_strip.xer5f"
MCU_2_0_FW = "ipc_echo_test_mcu2_0_release_strip.xer5f"
MCU_2_1_FW = "ipc_echo_test_mcu2_1_release_strip.xer5f"
MCU_3_0_FW = "ipc_echo_test_mcu3_0_release_strip.xer5f"
MCU_3_1_FW = "ipc_echo_test_mcu3_1_release_strip.xer5f"
MCU_4_0_FW = "ipc_echo_test_mcu4_0_release_strip.xer5f"
MCU_4_1_FW = "ipc_echo_test_mcu4_1_release_strip.xer5f"
C66_1_FW = "ipc_echo_test_c66xdsp_1_release_strip.xe66"
C66_2_FW = "ipc_echo_test_c66xdsp_2_release_strip.xe66"
C7X_1_FW = "ipc_echo_test_c7x_1_release_strip.xe71"
C7X_1_FW:am62axx = "dsp_edgeai_c7x_1_release_strip.out"
C7X_2_FW = "ipc_echo_test_c7x_2_release_strip.xe71"
C7X_3_FW = "ipc_echo_test_c7x_3_release_strip.xe71"
C7X_4_FW = "ipc_echo_test_c7x_4_release_strip.xe71"
IPC_FW_LIST = ""
IPC_FW_LIST:am65xx = "${MCU_1_0_FW} ${MCU_1_1_FW}"
@@ -62,6 +64,7 @@ IPC_FW_LIST:j7200 = " ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW}"
IPC_FW_LIST:j721s2 = " ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW} ${MCU_3_0_FW} ${MCU_3_1_FW} ${C7X_1_FW} ${C7X_2_FW}"
IPC_FW_LIST:j784s4 = " ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW} ${MCU_3_0_FW} ${MCU_3_1_FW} ${MCU_4_0_FW} ${MCU_4_1_FW} ${C7X_1_FW} ${C7X_2_FW} ${C7X_3_FW} ${C7X_4_FW}"
IPC_FW_LIST:j722s = " ${MCU_2_0_FW} ${MCU_3_0_FW} ${C7X_1_FW} ${C7X_2_FW}"
IPC_FW_LIST:j742s2 = " ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW} ${MCU_3_0_FW} ${MCU_3_1_FW} ${MCU_4_0_FW} ${MCU_4_1_FW} ${C7X_1_FW} ${C7X_2_FW} ${C7X_3_FW}"
# Update the am64xx ipc binaries to be consistent with other platforms
do_install:prepend:am64xx() {
@@ -186,6 +189,19 @@ ALTERNATIVE:${PN}:j722s = "\
j722s-c71_1-fw j722s-c71_1-fw-sec \
"
ALTERNATIVE:${PN}:j742s2 = "\
j742s2-mcu-r5f0_1-fw j742s2-mcu-r5f0_1-fw-sec \
j742s2-main-r5f0_0-fw j742s2-main-r5f0_0-fw-sec \
j742s2-main-r5f0_1-fw j742s2-main-r5f0_1-fw-sec \
j742s2-main-r5f1_0-fw j742s2-main-r5f1_0-fw-sec \
j742s2-main-r5f1_1-fw j742s2-main-r5f1_1-fw-sec \
j742s2-main-r5f2_0-fw j742s2-main-r5f2_0-fw-sec \
j742s2-main-r5f2_1-fw j742s2-main-r5f2_1-fw-sec \
j742s2-c71_0-fw j742s2-c71_0-fw-sec \
j742s2-c71_1-fw j742s2-c71_1-fw-sec \
j742s2-c71_2-fw j742s2-c71_2-fw-sec \
"
# Set up link names for the firmwares
ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/am65x-mcu-r5f0_0-fw"
@@ -286,6 +302,27 @@ ALTERNATIVE_LINK_NAME[j722s-c71_0-fw-sec] = "${nonarch_base_libdir}/firmware/j72
ALTERNATIVE_LINK_NAME[j722s-c71_1-fw] = "${nonarch_base_libdir}/firmware/j722s-c71_1-fw"
ALTERNATIVE_LINK_NAME[j722s-c71_1-fw-sec] = "${nonarch_base_libdir}/firmware/j722s-c71_1-fw-sec"
ALTERNATIVE_LINK_NAME[j742s2-mcu-r5f0_1-fw] = "${nonarch_base_libdir}/firmware/j742s2-mcu-r5f0_1-fw"
ALTERNATIVE_LINK_NAME[j742s2-mcu-r5f0_1-fw-sec] = "${nonarch_base_libdir}/firmware/j742s2-mcu-r5f0_1-fw-sec"
ALTERNATIVE_LINK_NAME[j742s2-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j742s2-main-r5f0_0-fw"
ALTERNATIVE_LINK_NAME[j742s2-main-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/j742s2-main-r5f0_0-fw-sec"
ALTERNATIVE_LINK_NAME[j742s2-main-r5f0_1-fw] = "${nonarch_base_libdir}/firmware/j742s2-main-r5f0_1-fw"
ALTERNATIVE_LINK_NAME[j742s2-main-r5f0_1-fw-sec] = "${nonarch_base_libdir}/firmware/j742s2-main-r5f0_1-fw-sec"
ALTERNATIVE_LINK_NAME[j742s2-main-r5f1_0-fw] = "${nonarch_base_libdir}/firmware/j742s2-main-r5f1_0-fw"
ALTERNATIVE_LINK_NAME[j742s2-main-r5f1_0-fw-sec] = "${nonarch_base_libdir}/firmware/j742s2-main-r5f1_0-fw-sec"
ALTERNATIVE_LINK_NAME[j742s2-main-r5f1_1-fw] = "${nonarch_base_libdir}/firmware/j742s2-main-r5f1_1-fw"
ALTERNATIVE_LINK_NAME[j742s2-main-r5f1_1-fw-sec] = "${nonarch_base_libdir}/firmware/j742s2-main-r5f1_1-fw-sec"
ALTERNATIVE_LINK_NAME[j742s2-main-r5f2_0-fw] = "${nonarch_base_libdir}/firmware/j742s2-main-r5f2_0-fw"
ALTERNATIVE_LINK_NAME[j742s2-main-r5f2_0-fw-sec] = "${nonarch_base_libdir}/firmware/j742s2-main-r5f2_0-fw-sec"
ALTERNATIVE_LINK_NAME[j742s2-main-r5f2_1-fw] = "${nonarch_base_libdir}/firmware/j742s2-main-r5f2_1-fw"
ALTERNATIVE_LINK_NAME[j742s2-main-r5f2_1-fw-sec] = "${nonarch_base_libdir}/firmware/j742s2-main-r5f2_1-fw-sec"
ALTERNATIVE_LINK_NAME[j742s2-c71_0-fw] = "${nonarch_base_libdir}/firmware/j742s2-c71_0-fw"
ALTERNATIVE_LINK_NAME[j742s2-c71_0-fw-sec] = "${nonarch_base_libdir}/firmware/j742s2-c71_0-fw-sec"
ALTERNATIVE_LINK_NAME[j742s2-c71_1-fw] = "${nonarch_base_libdir}/firmware/j742s2-c71_1-fw"
ALTERNATIVE_LINK_NAME[j742s2-c71_1-fw-sec] = "${nonarch_base_libdir}/firmware/j742s2-c71_1-fw-sec"
ALTERNATIVE_LINK_NAME[j742s2-c71_2-fw] = "${nonarch_base_libdir}/firmware/j742s2-c71_2-fw"
ALTERNATIVE_LINK_NAME[j742s2-c71_2-fw-sec] = "${nonarch_base_libdir}/firmware/j742s2-c71_2-fw-sec"
# Create the firmware alternatives
ALTERNATIVE_TARGET[am65x-mcu-r5f0_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_1_0_FW}"
@@ -386,4 +423,25 @@ ALTERNATIVE_TARGET[j722s-c71_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C7X_1_FW}.sign
ALTERNATIVE_TARGET[j722s-c71_1-fw] = "${INSTALL_IPC_FW_DIR}/${C7X_2_FW}"
ALTERNATIVE_TARGET[j722s-c71_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C7X_2_FW}.signed"
ALTERNATIVE_TARGET[j742s2-mcu-r5f0_1-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_1_1_FW}"
ALTERNATIVE_TARGET[j742s2-mcu-r5f0_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_1_1_FW}.signed"
ALTERNATIVE_TARGET[j742s2-main-r5f0_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}"
ALTERNATIVE_TARGET[j742s2-main-r5f0_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}.signed"
ALTERNATIVE_TARGET[j742s2-main-r5f0_1-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_2_1_FW}"
ALTERNATIVE_TARGET[j742s2-main-r5f0_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_2_1_FW}.signed"
ALTERNATIVE_TARGET[j742s2-main-r5f1_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_3_0_FW}"
ALTERNATIVE_TARGET[j742s2-main-r5f1_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_3_0_FW}.signed"
ALTERNATIVE_TARGET[j742s2-main-r5f1_1-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_3_1_FW}"
ALTERNATIVE_TARGET[j742s2-main-r5f1_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_3_1_FW}.signed"
ALTERNATIVE_TARGET[j742s2-main-r5f2_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_4_0_FW}"
ALTERNATIVE_TARGET[j742s2-main-r5f2_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_4_0_FW}.signed"
ALTERNATIVE_TARGET[j742s2-main-r5f2_1-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_4_1_FW}"
ALTERNATIVE_TARGET[j742s2-main-r5f2_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_4_1_FW}.signed"
ALTERNATIVE_TARGET[j742s2-c71_0-fw] = "${INSTALL_IPC_FW_DIR}/${C7X_1_FW}"
ALTERNATIVE_TARGET[j742s2-c71_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C7X_1_FW}.signed"
ALTERNATIVE_TARGET[j742s2-c71_1-fw] = "${INSTALL_IPC_FW_DIR}/${C7X_2_FW}"
ALTERNATIVE_TARGET[j742s2-c71_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C7X_2_FW}.signed"
ALTERNATIVE_TARGET[j742s2-c71_2-fw] = "${INSTALL_IPC_FW_DIR}/${C7X_3_FW}"
ALTERNATIVE_TARGET[j742s2-c71_2-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C7X_3_FW}.signed"
ALTERNATIVE_PRIORITY = "10"

View File

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

View File

@@ -1,10 +1,21 @@
PV:k3 = "2.10+git"
SRCREV_tfa:k3 = "00f1ec6b8740ccd403e641131e294aabacf2a48b"
SRC_URI:k3 = "git://git.trustedfirmware.org/TF-A/trusted-firmware-a.git;protocol=https;name=tfa;branch=master"
COMPATIBLE_MACHINE:k3 = "k3"
TFA_BUILD_TARGET:k3 = "all"
TFA_INSTALL_TARGET:k3 = "bl31"
TFA_SPD:k3 = "opteed"
# NOTE: This .inc file with customizations only gets included for K3 platforms
EXTRA_OEMAKE:append:k3 = "${@ ' K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}"
EXTRA_OEMAKE:append:k3 = "${@ ' K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}"
PV = "2.12+git"
SRCREV_tfa = "b45324936bbba464b0623c83cd5aa53e1cd4cbdb"
SRC_URI_TRUSTED_FIRMWARE_A = "git://github.com/TexasInstruments/arm-trusted-firmware.git;protocol=https"
SRCBRANCH = "ti-master"
SRC_URI = "${SRC_URI_TRUSTED_FIRMWARE_A};name=tfa;branch=${SRCBRANCH}"
LIC_FILES_CHKSUM = "file://docs/license.rst;md5=1118e32884721c0be33267bd7ae11130"
COMPATIBLE_MACHINE = "k3"
TFA_BUILD_TARGET = "all"
TFA_INSTALL_TARGET = "bl31"
TFA_SPD = "opteed"
# For am62lxx, install bl1 & bl31 using TFA_INSTALL_TARGET
TFA_INSTALL_TARGET:am62lxx = "bl31 bl1"
TFA_SPD:am62lxx = ""
EXTRA_OEMAKE += "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}"
EXTRA_OEMAKE += "${@ 'K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}"

View File

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

View File

@@ -1,16 +1,9 @@
require u-boot-ti.inc
PR = "r0"
SUMMARY = "Mainline U-Boot for TI devices"
PV = "2024.01"
PV = "2025.04"
# For the un-initiated:
# The actual URL you'd use with a git clone for example would be:
# https://source.denx.de/u-boot/u-boot.git/
# However, in the context of OE, we have to explicitly split things up:
# a) we want it to use git fetcher - hence git:// prefix in GIT_URI (if we
# used https here, we'd endup attempting wget instead of git)
# b) and we want git fetcher to use https protocol, hence GIT_PROTOCOL as https
UBOOT_GIT_URI = "git://source.denx.de/u-boot/u-boot.git"
UBOOT_GIT_PROTOCOL = "https"
SRCREV = "866ca972d6c3cabeaf6dbac431e8e08bb30b3c8e"
SRCREV = "34820924edbc4ec7803eb89d9852f4b870fa760a"

View File

@@ -0,0 +1,5 @@
require u-boot-ti-mainline_git.bb
SUMMARY = "U-Boot master-next for TI devices"
BRANCH = "master-next"

View File

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

View File

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

View File

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

View File

@@ -21,11 +21,15 @@ LIC_FILES_CHKSUM = "file://Licenses/README;md5=2ca5f2c35c8cc335f0a19756634782f1"
BRANCH ?= "master"
UBOOT_GIT_URI ?= "git://git.ti.com/git/ti-u-boot/ti-u-boot.git"
UBOOT_GIT_PROTOCOL = "https"
SRC_URI = "${UBOOT_GIT_URI};protocol=${UBOOT_GIT_PROTOCOL};branch=${BRANCH}"
UBOOT_GIT_PROTOCOL ?= "https"
UBOOT_GIT_BRANCH ?= "branch=${BRANCH}"
SRC_URI = "${UBOOT_GIT_URI};protocol=${UBOOT_GIT_PROTOCOL};${UBOOT_GIT_BRANCH}"
PV:append = "+git"
# u-boot builds a tool mkeficapsule and it needs this
DEPENDS += "gnutls-native"
# u-boot needs devtree compiler to parse dts files
DEPENDS += "dtc-native bc-native flex-native bison-native python3-setuptools-native"
@@ -36,7 +40,12 @@ DEPENDS += "python3-pyelftools-native python3-pyyaml-native python3-jsonschema-n
DEPENDS:append:k3 = " ti-sci-fw"
DEPENDS:append:k3r5 = " ti-sci-fw"
# HSM Demo Firmware is only applicable for J721S2 & J784S4 devices
DEPENDS:append:j721s2 = " ti-hsm-demo-fw"
DEPENDS:append:j784s4 = " ti-hsm-demo-fw"
DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f"
DM_FIRMWARE:am62axx = "dm_edgeai_mcu1_0_release_strip.out"
PLAT_SFX = ""
PLAT_SFX:j721e = "j721e"
@@ -44,15 +53,18 @@ PLAT_SFX:j7200 = "j7200"
PLAT_SFX:j721s2 = "j721s2"
PLAT_SFX:j784s4 = "j784s4"
PLAT_SFX:j722s = "j722s"
PLAT_SFX:j742s2 = "j742s2"
PLAT_SFX:am65xx = "am65xx"
PLAT_SFX:am64xx = "am64xx"
PLAT_SFX:am62xx = "am62xx"
PLAT_SFX:am62axx = "am62axx"
PLAT_SFX:am62lxx = "am62lxx"
PLAT_SFX:am62pxx = "am62pxx"
PACKAGECONFIG[ap-trusted-rom] = "BL1=${STAGING_DIR_HOST}/firmware/bl1.bin,,trusted-firmware-a"
PACKAGECONFIG[atf] = "BL31=${STAGING_DIR_HOST}/firmware/bl31.bin,,trusted-firmware-a"
PACKAGECONFIG[optee] = "TEE=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/bl32.bin,,optee-os"
PACKAGECONFIG[dm] = "DM=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/ti-dm/${PLAT_SFX}/${DM_FIRMWARE},,ti-dm-fw"
PACKAGECONFIG[dm] = "TI_DM=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/ti-dm/${PLAT_SFX}/${DM_FIRMWARE},,ti-dm-fw"
PACKAGECONFIG:append:aarch64 = " atf optee"
PACKAGECONFIG:append:j721e = " dm"
@@ -60,8 +72,10 @@ PACKAGECONFIG:append:j7200 = " dm"
PACKAGECONFIG:append:j721s2 = " dm"
PACKAGECONFIG:append:j784s4 = " dm"
PACKAGECONFIG:append:j722s = " dm"
PACKAGECONFIG:append:j742s2 = " dm"
PACKAGECONFIG:append:am62xx = " dm"
PACKAGECONFIG:append:am62axx = " dm"
PACKAGECONFIG:append:am62lxx = " ap-trusted-rom"
PACKAGECONFIG:append:am62pxx = " dm"
COMPATIBLE_MACHINE = "(ti-soc)"
@@ -113,104 +127,125 @@ UBOOT_HS_2ND_BINARY = "u-boot-spl_HS_2ND"
UBOOT_HS_2ND_IMAGE = "u-boot-spl_HS_2ND-${MACHINE}-${PV}-${PR}"
UBOOT_HS_2ND_SYMLINK = "u-boot-spl_HS_2ND-${MACHINE}"
do_compile:append:k3r5 () {
if [ -n "${UBOOT_CONFIG}" ];
then
for config in ${UBOOT_MACHINE}; do
i=$(expr $i + 1);
for type in ${UBOOT_CONFIG}; do
j=$(expr $j + 1);
if [ $j -eq $i ];
then
if ! [ -L ${B}/${config}/${UBOOT_BINARY} ] && ! [ -f ${B}/${config}/${UBOOT_BINARY} ]; then
ln -s ${B}/${config}/spl/u-boot-spl.${UBOOT_SUFFIX} ${B}/${config}/${UBOOT_BINARY}
fi
fi
done
unset j
done
unset i
else
if ! [ -f ${B}/${UBOOT_BINARY} ]; then
ln -s spl/u-boot-spl.${UBOOT_SUFFIX} ${B}/${UBOOT_BINARY}
fi
fi
uboot_compile:append () {
if ! [ -f ${B}/${UBOOT_BINARY} ]; then
ln -s spl/u-boot-spl.${UBOOT_SUFFIX} ${B}/${UBOOT_BINARY}
fi
}
do_install:append () {
if [ -n "${UBOOT_CONFIG}" ]
then
for config in ${UBOOT_MACHINE}; do
i=$(expr $i + 1);
for type in ${UBOOT_CONFIG}; do
j=$(expr $j + 1);
if [ $j -eq $i ]
then
if [ "x${SPL_UART_BINARY}" != "x" ]; then
install ${B}/${config}/spl/${SPL_UART_BINARY} ${D}/boot/${SPL_UART_IMAGE}-${type}
ln -sf ${SPL_UART_IMAGE}-${type} ${D}/boot/${SPL_UART_BINARY}-${type}
ln -sf ${SPL_UART_IMAGE}-${type} ${D}/boot/${SPL_UART_BINARY}
fi
if [ -f ${B}/${config}/${SPL_HS_MLO_BINARY} ]; then
install ${B}/${config}/${SPL_HS_MLO_BINARY} ${D}/boot/${SPL_HS_MLO_IMAGE}-${type}
ln -sf ${SPL_HS_MLO_IMAGE}-${type} ${D}/boot/${SPL_HS_MLO_BINARY}-${type}
ln -sf ${SPL_HS_MLO_IMAGE}-${type} ${D}/boot/${SPL_HS_MLO_BINARY}
fi
if [ -f ${B}/${config}/${UBOOT_HS_XLD_BINARY} ]; then
install ${B}/${config}/${UBOOT_HS_XLD_BINARY} ${D}/boot/${UBOOT_HS_XLD_IMAGE}-${type}
ln -sf ${UBOOT_HS_XLD_IMAGE}-${type} ${D}/boot/${UBOOT_HS_XLD_BINARY}-${type}
ln -sf ${UBOOT_HS_XLD_IMAGE}-${type} ${D}/boot/${UBOOT_HS_XLD_BINARY}
fi
if [ -f ${B}/${config}/${UBOOT_HS_MLO_BINARY} ]; then
install ${B}/${config}/${UBOOT_HS_MLO_BINARY} ${D}/boot/${UBOOT_HS_MLO_IMAGE}-${type}
ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${D}/boot/${UBOOT_HS_MLO_BINARY}-${type}
ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${D}/boot/${UBOOT_HS_MLO_BINARY}
fi
if [ -f ${B}/${config}/${UBOOT_HS_ISSW_BINARY} ]; then
install ${B}/${config}/${UBOOT_HS_ISSW_BINARY} ${D}/boot/${UBOOT_HS_ISSW_IMAGE}-${type}
ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${D}/boot/${UBOOT_HS_ISSW_BINARY}-${type}
ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${D}/boot/${UBOOT_HS_ISSW_BINARY}
fi
if [ -f ${B}/${config}/${UBOOT_HS_2ND_BINARY} ]; then
install ${B}/${config}/${UBOOT_HS_2ND_BINARY} ${D}/boot/${UBOOT_HS_2ND_IMAGE}-${type}
ln -sf ${UBOOT_HS_2ND_IMAGE}-${type} ${D}/boot/${UBOOT_HS_2ND_BINARY}-${type}
ln -sf ${UBOOT_HS_2ND_IMAGE}-${type} ${D}/boot/${UBOOT_HS_2ND_BINARY}
fi
fi
done
unset j
done
unset i
else
if [ "x${SPL_UART_BINARY}" != "x" ]; then
install ${B}/spl/${SPL_UART_BINARY} ${D}/boot/${SPL_UART_IMAGE}
ln -sf ${SPL_UART_IMAGE} ${D}/boot/${SPL_UART_BINARY}
fi
if [ -f ${B}/${SPL_HS_MLO_BINARY} ]; then
install ${B}/${SPL_HS_MLO_BINARY} ${D}/boot/${SPL_HS_MLO_IMAGE}
ln -sf ${SPL_HS_MLO_IMAGE} ${D}/boot/${SPL_HS_MLO_BINARY}
fi
if [ -f ${B}/${UBOOT_HS_XLD_BINARY} ]; then
install ${B}/${UBOOT_HS_XLD_BINARY} ${D}/boot/${UBOOT_HS_XLD_IMAGE}
ln -sf ${UBOOT_HS_XLD_IMAGE} ${D}/boot/${UBOOT_HS_XLD_BINARY}
fi
if [ -f ${B}/${UBOOT_HS_MLO_BINARY} ]; then
install ${B}/${UBOOT_HS_MLO_BINARY} ${D}/boot/${UBOOT_HS_MLO_IMAGE}
ln -sf ${UBOOT_HS_MLO_IMAGE} ${D}/boot/${UBOOT_HS_MLO_BINARY}
fi
if [ -f ${B}/${UBOOT_HS_ISSW_BINARY} ]; then
install ${B}/${UBOOT_HS_ISSW_BINARY} ${D}/boot/${UBOOT_HS_ISSW_IMAGE}
ln -sf ${UBOOT_HS_ISSW_IMAGE} ${D}/boot/${UBOOT_HS_ISSW_BINARY}
fi
if [ -f ${B}/${UBOOT_HS_2ND_BINARY} ]; then
install ${B}/${UBOOT_HS_2ND_BINARY} ${D}/boot/${UBOOT_HS_2ND_IMAGE}
ln -sf ${UBOOT_HS_2ND_IMAGE} ${D}/boot/${UBOOT_HS_2ND_BINARY}
fi
fi
uboot_compile_config_copy_binary:k3r5 () {
config=$1
type=$2
binary=$3
if ! [ -L ${B}/${config}/${UBOOT_BINARYNAME}-${type}.${UBOOT_SUFFIX} ] && ! [ -f ${B}/${config}/${UBOOT_BINARYNAME}-${type}.${UBOOT_SUFFIX} ]; then
ln -s ${B}/${config}/spl/u-boot-spl.${UBOOT_SUFFIX} ${B}/${config}/${UBOOT_BINARYNAME}-${type}.${UBOOT_SUFFIX}
fi
if ! [ -L ${B}/${config}/${binary} ] && ! [ -f ${B}/${config}/${binary} ]; then
ln -s ${B}/${config}/spl/u-boot-spl.${UBOOT_SUFFIX} ${B}/${config}/${binary}
fi
}
uboot_install_config:append () {
if [ "x${SPL_UART_BINARY}" != "x" ]; then
install ${B}/${config}/spl/${SPL_UART_BINARY} ${D}/boot/${SPL_UART_IMAGE}-${type}
ln -sf ${SPL_UART_IMAGE}-${type} ${D}/boot/${SPL_UART_BINARY}-${type}
ln -sf ${SPL_UART_IMAGE}-${type} ${D}/boot/${SPL_UART_BINARY}
fi
if [ -f ${B}/${config}/${SPL_HS_MLO_BINARY} ]; then
install ${B}/${config}/${SPL_HS_MLO_BINARY} ${D}/boot/${SPL_HS_MLO_IMAGE}-${type}
ln -sf ${SPL_HS_MLO_IMAGE}-${type} ${D}/boot/${SPL_HS_MLO_BINARY}-${type}
ln -sf ${SPL_HS_MLO_IMAGE}-${type} ${D}/boot/${SPL_HS_MLO_BINARY}
fi
if [ -f ${B}/${config}/${UBOOT_HS_XLD_BINARY} ]; then
install ${B}/${config}/${UBOOT_HS_XLD_BINARY} ${D}/boot/${UBOOT_HS_XLD_IMAGE}-${type}
ln -sf ${UBOOT_HS_XLD_IMAGE}-${type} ${D}/boot/${UBOOT_HS_XLD_BINARY}-${type}
ln -sf ${UBOOT_HS_XLD_IMAGE}-${type} ${D}/boot/${UBOOT_HS_XLD_BINARY}
fi
if [ -f ${B}/${config}/${UBOOT_HS_MLO_BINARY} ]; then
install ${B}/${config}/${UBOOT_HS_MLO_BINARY} ${D}/boot/${UBOOT_HS_MLO_IMAGE}-${type}
ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${D}/boot/${UBOOT_HS_MLO_BINARY}-${type}
ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${D}/boot/${UBOOT_HS_MLO_BINARY}
fi
if [ -f ${B}/${config}/${UBOOT_HS_ISSW_BINARY} ]; then
install ${B}/${config}/${UBOOT_HS_ISSW_BINARY} ${D}/boot/${UBOOT_HS_ISSW_IMAGE}-${type}
ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${D}/boot/${UBOOT_HS_ISSW_BINARY}-${type}
ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${D}/boot/${UBOOT_HS_ISSW_BINARY}
fi
if [ -f ${B}/${config}/${UBOOT_HS_2ND_BINARY} ]; then
install ${B}/${config}/${UBOOT_HS_2ND_BINARY} ${D}/boot/${UBOOT_HS_2ND_IMAGE}-${type}
ln -sf ${UBOOT_HS_2ND_IMAGE}-${type} ${D}/boot/${UBOOT_HS_2ND_BINARY}-${type}
ln -sf ${UBOOT_HS_2ND_IMAGE}-${type} ${D}/boot/${UBOOT_HS_2ND_BINARY}
fi
}
uboot_install:append () {
if [ "x${SPL_UART_BINARY}" != "x" ]; then
install ${B}/spl/${SPL_UART_BINARY} ${D}/boot/${SPL_UART_IMAGE}
ln -sf ${SPL_UART_IMAGE} ${D}/boot/${SPL_UART_BINARY}
fi
if [ -f ${B}/${SPL_HS_MLO_BINARY} ]; then
install ${B}/${SPL_HS_MLO_BINARY} ${D}/boot/${SPL_HS_MLO_IMAGE}
ln -sf ${SPL_HS_MLO_IMAGE} ${D}/boot/${SPL_HS_MLO_BINARY}
fi
if [ -f ${B}/${UBOOT_HS_XLD_BINARY} ]; then
install ${B}/${UBOOT_HS_XLD_BINARY} ${D}/boot/${UBOOT_HS_XLD_IMAGE}
ln -sf ${UBOOT_HS_XLD_IMAGE} ${D}/boot/${UBOOT_HS_XLD_BINARY}
fi
if [ -f ${B}/${UBOOT_HS_MLO_BINARY} ]; then
install ${B}/${UBOOT_HS_MLO_BINARY} ${D}/boot/${UBOOT_HS_MLO_IMAGE}
ln -sf ${UBOOT_HS_MLO_IMAGE} ${D}/boot/${UBOOT_HS_MLO_BINARY}
fi
if [ -f ${B}/${UBOOT_HS_ISSW_BINARY} ]; then
install ${B}/${UBOOT_HS_ISSW_BINARY} ${D}/boot/${UBOOT_HS_ISSW_IMAGE}
ln -sf ${UBOOT_HS_ISSW_IMAGE} ${D}/boot/${UBOOT_HS_ISSW_BINARY}
fi
if [ -f ${B}/${UBOOT_HS_2ND_BINARY} ]; then
install ${B}/${UBOOT_HS_2ND_BINARY} ${D}/boot/${UBOOT_HS_2ND_IMAGE}
ln -sf ${UBOOT_HS_2ND_IMAGE} ${D}/boot/${UBOOT_HS_2ND_BINARY}
fi
}
do_deploy:append:k3r5 () {
for f in ${B}/tiboot3-*.bin; do
rm -f ${DEPLOYDIR}/u-boot-initial-env*
rm -f ${DEPLOYDIR}/${PN}-initial-env*
rm -f ${DEPLOYDIR}/u-boot-initial-env-${MACHINE}*
rm -f ${DEPLOYDIR}/${PN}-initial-env-${MACHINE}*
rm -f ${DEPLOYDIR}/u-boot-initial-env-${MACHINE}-${PV}-${PR}*
rm -f ${DEPLOYDIR}/${PN}-initial-env-${MACHINE}-${PV}-${PR}*
}
uboot_deploy_config:append:k3r5 () {
for f in ${B}/${config}/tiboot3-*.bin; do
if [ -f "$f" ]; then
f_base=$(basename $f)
install -m 644 $f ${DEPLOYDIR}/${f_base}-${type}
ln -sf ${f_base}-${type} ${DEPLOYDIR}/${f_base}
fi
done
for f in ${B}/${config}/sysfw*.itb; do
if [ -f "$f" ]; then
f_base=$(basename $f)
install -m 644 $f ${DEPLOYDIR}/${f_base}-${type}
ln -sf ${f_base}-${type} ${DEPLOYDIR}/${f_base}
fi
done
}
uboot_deploy_config:append:am62lxx () {
for f in ${B}/${config}/tiboot3-*.bin; do
if [ -f "$f" ]; then
f_base=$(basename $f)
install -m 644 $f ${DEPLOYDIR}/${f_base}-${type}
ln -sf ${f_base}-${type} ${DEPLOYDIR}/${f_base}
fi
done
}
uboot_deploy:append:k3r5 () {
for f in ${B}/tiboot3-*.bin; do
if [ -f "$f" ]; then
install -m 644 $f ${DEPLOYDIR}/
fi
@@ -221,122 +256,106 @@ do_deploy:append:k3r5 () {
install -m 644 $f ${DEPLOYDIR}/
fi
done
rm ${DEPLOYDIR}/u-boot-initial-env || true
rm ${DEPLOYDIR}/${PN}-initial-env || true
rm ${DEPLOYDIR}/u-boot-initial-env-${MACHINE} || true
rm ${DEPLOYDIR}/${PN}-initial-env-${MACHINE} || true
rm ${DEPLOYDIR}/u-boot-initial-env-${MACHINE}-${PV}-${PR} || true
rm ${DEPLOYDIR}/${PN}-initial-env-${MACHINE}-${PV}-${PR} || true
}
do_deploy:append () {
if [ -n "${UBOOT_CONFIG}" ]
then
for config in ${UBOOT_MACHINE}; do
i=$(expr $i + 1);
for type in ${UBOOT_CONFIG}; do
j=$(expr $j + 1);
if [ $j -eq $i ]
then
cd ${DEPLOYDIR}
if [ "x${SPL_UART_BINARY}" != "x" ]; then
install ${B}/${config}/spl/${SPL_UART_BINARY} ${SPL_UART_IMAGE}-${type}
rm -f ${SPL_UART_BINARY} ${SPL_UART_SYMLINK}
ln -sf ${SPL_UART_IMAGE}-${type} ${SPL_UART_BINARY}-${type}
ln -sf ${SPL_UART_IMAGE}-${type} ${SPL_UART_BINARY}
ln -sf ${SPL_UART_IMAGE}-${type} ${SPL_UART_SYMLINK}-${type}
ln -sf ${SPL_UART_IMAGE}-${type} ${SPL_UART_SYMLINK}
fi
if [ -f ${B}/${config}/${SPL_HS_MLO_BINARY} ]; then
install ${B}/${config}/${SPL_HS_MLO_BINARY} ${SPL_HS_MLO_IMAGE}-${type}
rm -f ${SPL_HS_MLO_BINARY} ${SPL_HS_MLO_SYMLINK}
ln -sf ${SPL_HS_MLO_IMAGE}-${type} ${SPL_HS_MLO_SYMLINK}-${type}
ln -sf ${SPL_HS_MLO_IMAGE}-${type} ${SPL_HS_MLO_SYMLINK}
ln -sf ${SPL_HS_MLO_IMAGE}-${type} ${SPL_HS_MLO_BINARY}-${type}
ln -sf ${SPL_HS_MLO_IMAGE}-${type} ${SPL_HS_MLO_BINARY}
fi
if [ -f ${B}/${config}/${UBOOT_HS_XLD_BINARY} ]; then
install ${B}/${config}/${UBOOT_HS_XLD_BINARY} ${UBOOT_HS_XLD_IMAGE}-${type}
rm -f ${UBOOT_HS_XLD_BINARY} ${UBOOT_HS_XLD_SYMLINK}
ln -sf ${UBOOT_HS_XLD_IMAGE}-${type} ${UBOOT_HS_XLD_SYMLINK}-${type}
ln -sf ${UBOOT_HS_XLD_IMAGE}-${type} ${UBOOT_HS_XLD_SYMLINK}
ln -sf ${UBOOT_HS_XLD_IMAGE}-${type} ${UBOOT_HS_XLD_BINARY}-${type}
ln -sf ${UBOOT_HS_XLD_IMAGE}-${type} ${UBOOT_HS_XLD_BINARY}
fi
if [ -f ${B}/${config}/${UBOOT_HS_MLO_BINARY} ]; then
install ${B}/${config}/${UBOOT_HS_MLO_BINARY} ${UBOOT_HS_MLO_IMAGE}-${type}
rm -f ${UBOOT_HS_MLO_BINARY} ${UBOOT_HS_MLO_SYMLINK}
ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${UBOOT_HS_MLO_SYMLINK}-${type}
ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${UBOOT_HS_MLO_SYMLINK}
ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${UBOOT_HS_MLO_BINARY}-${type}
ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${UBOOT_HS_MLO_BINARY}
fi
if [ -f ${B}/${config}/${UBOOT_HS_ISSW_BINARY} ]; then
install ${B}/${config}/${UBOOT_HS_ISSW_BINARY} ${UBOOT_HS_ISSW_IMAGE}-${type}
rm -f ${UBOOT_HS_ISSW_BINARY} ${UBOOT_HS_ISSW_SYMLINK}
ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${UBOOT_HS_ISSW_SYMLINK}-${type}
ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${UBOOT_HS_ISSW_SYMLINK}
ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${UBOOT_HS_ISSW_BINARY}-${type}
ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${UBOOT_HS_ISSW_BINARY}
fi
if [ -f ${B}/${config}/${UBOOT_HS_2ND_BINARY} ]; then
install ${B}/${config}/${UBOOT_HS_2ND_BINARY} ${UBOOT_HS_2ND_IMAGE}-${type}
rm -f ${UBOOT_HS_2ND_BINARY} ${UBOOT_HS_2ND_SYMLINK}
ln -sf ${UBOOT_HS_2ND_IMAGE}-${type} ${UBOOT_HS_2ND_SYMLINK}-${type}
ln -sf ${UBOOT_HS_2ND_IMAGE}-${type} ${UBOOT_HS_2ND_SYMLINK}
ln -sf ${UBOOT_HS_2ND_IMAGE}-${type} ${UBOOT_HS_2ND_BINARY}-${type}
ln -sf ${UBOOT_HS_2ND_IMAGE}-${type} ${UBOOT_HS_2ND_BINARY}
fi
fi
done
unset j
done
unset i
else
cd ${DEPLOYDIR}
if [ "x${SPL_UART_BINARY}" != "x" ]; then
install ${B}/spl/${SPL_UART_BINARY} ${SPL_UART_IMAGE}
rm -f ${SPL_UART_BINARY} ${SPL_UART_SYMLINK}
ln -sf ${SPL_UART_IMAGE} ${SPL_UART_BINARY}
ln -sf ${SPL_UART_IMAGE} ${SPL_UART_SYMLINK}
uboot_deploy:append:am62lxx () {
for f in ${B}/tiboot3*.bin; do
if [ -f "$f" ]; then
install -m 644 $f ${DEPLOYDIR}/
fi
if [ -f ${B}/${SPL_HS_MLO_BINARY} ]; then
install ${B}/${SPL_HS_MLO_BINARY} ${SPL_HS_MLO_IMAGE}
rm -f ${SPL_HS_MLO_BINARY} ${SPL_HS_MLO_SYMLINK}
ln -sf ${SPL_HS_MLO_IMAGE} ${SPL_HS_MLO_SYMLINK}
ln -sf ${SPL_HS_MLO_IMAGE} ${SPL_HS_MLO_BINARY}
fi
if [ -f ${B}/${UBOOT_HS_XLD_BINARY} ]; then
install ${B}/${UBOOT_HS_XLD_BINARY} ${UBOOT_HS_XLD_IMAGE}
rm -f ${UBOOT_HS_XLD_BINARY} ${UBOOT_HS_XLD_SYMLINK}
ln -sf ${UBOOT_HS_XLD_IMAGE} ${UBOOT_HS_XLD_SYMLINK}
ln -sf ${UBOOT_HS_XLD_IMAGE} ${UBOOT_HS_XLD_BINARY}
fi
if [ -f ${B}/${UBOOT_HS_MLO_BINARY} ]; then
install ${B}/${UBOOT_HS_MLO_BINARY} ${UBOOT_HS_MLO_IMAGE}
rm -f ${UBOOT_HS_MLO_BINARY} ${UBOOT_HS_MLO_SYMLINK}
ln -sf ${UBOOT_HS_MLO_IMAGE} ${UBOOT_HS_MLO_SYMLINK}
ln -sf ${UBOOT_HS_MLO_IMAGE} ${UBOOT_HS_MLO_BINARY}
fi
if [ -f ${B}/${UBOOT_HS_ISSW_BINARY} ]; then
install ${B}/${UBOOT_HS_ISSW_BINARY} ${UBOOT_HS_ISSW_IMAGE}
rm -f ${UBOOT_HS_ISSW_BINARY} ${UBOOT_HS_ISSW_SYMLINK}
ln -sf ${UBOOT_HS_ISSW_IMAGE} ${UBOOT_HS_ISSW_SYMLINK}
ln -sf ${UBOOT_HS_ISSW_IMAGE} ${UBOOT_HS_ISSW_BINARY}
fi
if [ -f ${B}/${UBOOT_HS_2ND_BINARY} ]; then
install ${B}/${UBOOT_HS_2ND_BINARY} ${UBOOT_HS_2ND_IMAGE}
rm -f ${UBOOT_HS_2ND_BINARY} ${UBOOT_HS_2ND_SYMLINK}
ln -sf ${UBOOT_HS_2ND_IMAGE} ${UBOOT_HS_2ND_SYMLINK}
ln -sf ${UBOOT_HS_2ND_IMAGE} ${UBOOT_HS_2ND_BINARY}
fi
fi
done
}
do_install:append:am62xx() {
install -d ${D}/boot
install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${D}/boot
uboot_deploy_config:append () {
cd ${DEPLOYDIR}
if [ "x${SPL_UART_BINARY}" != "x" ]; then
install ${B}/${config}/spl/${SPL_UART_BINARY} ${SPL_UART_IMAGE}-${type}
rm -f ${SPL_UART_BINARY} ${SPL_UART_SYMLINK}
ln -sf ${SPL_UART_IMAGE}-${type} ${SPL_UART_BINARY}-${type}
ln -sf ${SPL_UART_IMAGE}-${type} ${SPL_UART_BINARY}
ln -sf ${SPL_UART_IMAGE}-${type} ${SPL_UART_SYMLINK}-${type}
ln -sf ${SPL_UART_IMAGE}-${type} ${SPL_UART_SYMLINK}
fi
if [ -f ${B}/${config}/${SPL_HS_MLO_BINARY} ]; then
install ${B}/${config}/${SPL_HS_MLO_BINARY} ${SPL_HS_MLO_IMAGE}-${type}
rm -f ${SPL_HS_MLO_BINARY} ${SPL_HS_MLO_SYMLINK}
ln -sf ${SPL_HS_MLO_IMAGE}-${type} ${SPL_HS_MLO_SYMLINK}-${type}
ln -sf ${SPL_HS_MLO_IMAGE}-${type} ${SPL_HS_MLO_SYMLINK}
ln -sf ${SPL_HS_MLO_IMAGE}-${type} ${SPL_HS_MLO_BINARY}-${type}
ln -sf ${SPL_HS_MLO_IMAGE}-${type} ${SPL_HS_MLO_BINARY}
fi
if [ -f ${B}/${config}/${UBOOT_HS_XLD_BINARY} ]; then
install ${B}/${config}/${UBOOT_HS_XLD_BINARY} ${UBOOT_HS_XLD_IMAGE}-${type}
rm -f ${UBOOT_HS_XLD_BINARY} ${UBOOT_HS_XLD_SYMLINK}
ln -sf ${UBOOT_HS_XLD_IMAGE}-${type} ${UBOOT_HS_XLD_SYMLINK}-${type}
ln -sf ${UBOOT_HS_XLD_IMAGE}-${type} ${UBOOT_HS_XLD_SYMLINK}
ln -sf ${UBOOT_HS_XLD_IMAGE}-${type} ${UBOOT_HS_XLD_BINARY}-${type}
ln -sf ${UBOOT_HS_XLD_IMAGE}-${type} ${UBOOT_HS_XLD_BINARY}
fi
if [ -f ${B}/${config}/${UBOOT_HS_MLO_BINARY} ]; then
install ${B}/${config}/${UBOOT_HS_MLO_BINARY} ${UBOOT_HS_MLO_IMAGE}-${type}
rm -f ${UBOOT_HS_MLO_BINARY} ${UBOOT_HS_MLO_SYMLINK}
ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${UBOOT_HS_MLO_SYMLINK}-${type}
ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${UBOOT_HS_MLO_SYMLINK}
ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${UBOOT_HS_MLO_BINARY}-${type}
ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${UBOOT_HS_MLO_BINARY}
fi
if [ -f ${B}/${config}/${UBOOT_HS_ISSW_BINARY} ]; then
install ${B}/${config}/${UBOOT_HS_ISSW_BINARY} ${UBOOT_HS_ISSW_IMAGE}-${type}
rm -f ${UBOOT_HS_ISSW_BINARY} ${UBOOT_HS_ISSW_SYMLINK}
ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${UBOOT_HS_ISSW_SYMLINK}-${type}
ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${UBOOT_HS_ISSW_SYMLINK}
ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${UBOOT_HS_ISSW_BINARY}-${type}
ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${UBOOT_HS_ISSW_BINARY}
fi
if [ -f ${B}/${config}/${UBOOT_HS_2ND_BINARY} ]; then
install ${B}/${config}/${UBOOT_HS_2ND_BINARY} ${UBOOT_HS_2ND_IMAGE}-${type}
rm -f ${UBOOT_HS_2ND_BINARY} ${UBOOT_HS_2ND_SYMLINK}
ln -sf ${UBOOT_HS_2ND_IMAGE}-${type} ${UBOOT_HS_2ND_SYMLINK}-${type}
ln -sf ${UBOOT_HS_2ND_IMAGE}-${type} ${UBOOT_HS_2ND_SYMLINK}
ln -sf ${UBOOT_HS_2ND_IMAGE}-${type} ${UBOOT_HS_2ND_BINARY}-${type}
ln -sf ${UBOOT_HS_2ND_IMAGE}-${type} ${UBOOT_HS_2ND_BINARY}
fi
}
uboot_deploy:append () {
cd ${DEPLOYDIR}
if [ "x${SPL_UART_BINARY}" != "x" ]; then
install ${B}/spl/${SPL_UART_BINARY} ${SPL_UART_IMAGE}
rm -f ${SPL_UART_BINARY} ${SPL_UART_SYMLINK}
ln -sf ${SPL_UART_IMAGE} ${SPL_UART_BINARY}
ln -sf ${SPL_UART_IMAGE} ${SPL_UART_SYMLINK}
fi
if [ -f ${B}/${SPL_HS_MLO_BINARY} ]; then
install ${B}/${SPL_HS_MLO_BINARY} ${SPL_HS_MLO_IMAGE}
rm -f ${SPL_HS_MLO_BINARY} ${SPL_HS_MLO_SYMLINK}
ln -sf ${SPL_HS_MLO_IMAGE} ${SPL_HS_MLO_SYMLINK}
ln -sf ${SPL_HS_MLO_IMAGE} ${SPL_HS_MLO_BINARY}
fi
if [ -f ${B}/${UBOOT_HS_XLD_BINARY} ]; then
install ${B}/${UBOOT_HS_XLD_BINARY} ${UBOOT_HS_XLD_IMAGE}
rm -f ${UBOOT_HS_XLD_BINARY} ${UBOOT_HS_XLD_SYMLINK}
ln -sf ${UBOOT_HS_XLD_IMAGE} ${UBOOT_HS_XLD_SYMLINK}
ln -sf ${UBOOT_HS_XLD_IMAGE} ${UBOOT_HS_XLD_BINARY}
fi
if [ -f ${B}/${UBOOT_HS_MLO_BINARY} ]; then
install ${B}/${UBOOT_HS_MLO_BINARY} ${UBOOT_HS_MLO_IMAGE}
rm -f ${UBOOT_HS_MLO_BINARY} ${UBOOT_HS_MLO_SYMLINK}
ln -sf ${UBOOT_HS_MLO_IMAGE} ${UBOOT_HS_MLO_SYMLINK}
ln -sf ${UBOOT_HS_MLO_IMAGE} ${UBOOT_HS_MLO_BINARY}
fi
if [ -f ${B}/${UBOOT_HS_ISSW_BINARY} ]; then
install ${B}/${UBOOT_HS_ISSW_BINARY} ${UBOOT_HS_ISSW_IMAGE}
rm -f ${UBOOT_HS_ISSW_BINARY} ${UBOOT_HS_ISSW_SYMLINK}
ln -sf ${UBOOT_HS_ISSW_IMAGE} ${UBOOT_HS_ISSW_SYMLINK}
ln -sf ${UBOOT_HS_ISSW_IMAGE} ${UBOOT_HS_ISSW_BINARY}
fi
if [ -f ${B}/${UBOOT_HS_2ND_BINARY} ]; then
install ${B}/${UBOOT_HS_2ND_BINARY} ${UBOOT_HS_2ND_IMAGE}
rm -f ${UBOOT_HS_2ND_BINARY} ${UBOOT_HS_2ND_SYMLINK}
ln -sf ${UBOOT_HS_2ND_IMAGE} ${UBOOT_HS_2ND_SYMLINK}
ln -sf ${UBOOT_HS_2ND_IMAGE} ${UBOOT_HS_2ND_BINARY}
fi
}
do_deploy:append:am62xx() {
@@ -344,11 +363,6 @@ do_deploy:append:am62xx() {
install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${DEPLOYDIR}
}
do_install:append:am62pxx() {
install -d ${D}/boot
install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${D}/boot
}
do_deploy:append:am62pxx() {
install -d ${DEPLOYDIR}
install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${DEPLOYDIR}

View File

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

View File

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

View File

@@ -14,7 +14,7 @@ CLEANBROKEN = "1"
BRANCH = "ti-${PV}"
SRC_URI = "git://git.ti.com/git/graphics/ti-gc320-libs.git;protocol=https;branch=${BRANCH}"
SRCREV = "c0afab259de59909cfe74c01f3f7fbaa147f94b5"
SRCREV = "85c175e8425c33dda6e272aeb45afe0f69a79096"
RRECOMMENDS:${PN} = "ti-gc320-driver"
@@ -43,4 +43,8 @@ do_install() {
chown -R root:root ${D}
}
INSANE_SKIP:${PN} += "ldflags"
PACKAGES = "${PN} ${PN}-dev"
FILES:${PN} += "${libdir}/libGAL.so"
FILES:${PN}-dev = "/usr/include"
INSANE_SKIP:${PN} += "ldflags already-stripped dev-so"

View File

@@ -0,0 +1,64 @@
From bb2db56ffec6e527d88751f75117ae690227cd6c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kai=20Wasserb=C3=A4ch?= <kai@dev.carbon-project.org>
Date: Sat, 11 Feb 2023 18:38:01 +0100
Subject: [PATCH] fix: gallivm: fix LLVM #include of Host.h, moved to
TargetParser
Upstream moved Host.h from Support to TargetParser in LLVM 17.
This shouldn't lead to a FTBFS, since there is a forwarding include left
behind. Sadly the added deprecation warning #pragma is invalid and thus
causes a build failure right away. But since we would have to follow the
move anyway in the future, just do it right away.
Reference: https://github.com/llvm/llvm-project/commit/d768bf994f508d7eaf9541a568be3d71096febf5
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Closes: #8275
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21263>
Upstream-Status: Backport [https://gitlab.freedesktop.org/mesa/mesa/-/commit/bb2db56ffec6e527d88751f75117ae690227cd6c]
---
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | 7 ++++++-
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 4 +++-
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
index 54bc5d5ada36c..f78f04f042be8 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
@@ -35,9 +35,14 @@
#include <llvm-c/Disassembler.h>
#include <llvm/Support/raw_ostream.h>
#include <llvm/Support/Format.h>
-#include <llvm/Support/Host.h>
#include <llvm/IR/Module.h>
+#if LLVM_VERSION_MAJOR >= 17
+#include <llvm/TargetParser/Host.h>
+#else
+#include <llvm/Support/Host.h>
+#endif
+
#include "util/u_math.h"
#include "util/u_debug.h"
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
index 334c13530394b..5e7a30a6cc2e3 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
@@ -60,7 +60,11 @@
#include <llvm/Analysis/TargetLibraryInfo.h>
#include <llvm/ExecutionEngine/SectionMemoryManager.h>
#include <llvm/Support/CommandLine.h>
+#if LLVM_VERSION_MAJOR >= 17
+#include <llvm/TargetParser/Host.h>
+#else
#include <llvm/Support/Host.h>
+#endif
#include <llvm/Support/PrettyStackTrace.h>
#include <llvm/ExecutionEngine/ObjectCache.h>
#include <llvm/Support/TargetSelect.h>
--
GitLab

View File

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

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