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

Compare commits

...

100 Commits

Author SHA1 Message Date
LCPD Automation Script
4b943f75bf CI/CD Auto-Merger: cicd.scarthgap.202507231325
Updated the value(s) for:
  ti-linux-fw: TI_DM_FW_VERSION,TI_LINUX_FW_SRCREV
  atf: SRCREV_tfa:am62lxx
  u-boot-ti-staging_2025.01: SRCREV
  k3conf: SRCREV
  linux-ti-staging-rt_6.12: SRCREV_ARM32
  linux-ti-staging_6.12: SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=604d03d4f20727f5f9173d7db1e427cfbdd17022..f59a711599249ecac75fea38b7a15ef9137d650d
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=c199d231a1477137f1b04e794e309af1eeb4c3dd..3bcfad6cee95403f7f62dd9d871cc3ea948c0761
  k3conf: https://git.ti.com/cgit/k3conf/k3conf/log/?qt=range&q=b537524cde12bf24a799f6b087b1bc6263bad87d..6034420195cf763c9470fb2113810695e5e37a23
  linux-ti-staging-rt_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=36c7ff7f60e71677601505976d915286923be488..b5ee9420d81f46861c4f0a172154e477feda1980
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=e6ed2862fe19bd0c8901ecfaa15a3805209d40bd..72f48d59b8f087fa0dd1f1e8c2c0b5bc0baa537c

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-07-23 13:25:46 -05:00
Denys Dmytriyenko
124615e20d ti-kernel-devicetree-prefix: use shared kernel sources for prefix match
Handle devicetree prefix matching inside the shared kernel sources
tree, instead of ${S}. From the kernel recipe perspective, ${S} is
just a symlink to the shared kernel sources. But since the new FIT
image wrapper is a separate recipe now, it has its own different
${S}. To enable FIT image wrapper to support devicetree prefix
matching, it also needs to access the same shared kernel sources.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-23 08:48:29 -05:00
Denys Dmytriyenko
8cd5589bba beagle-bsp: unset KERNEL_DEVICETREE_PREFIX
Beagle machines define both static KERNEL_DEVICETREE list and dynamic
KERNEL_DEVICETREE_PREFIX matching. But BB.org kernel recipes only use
the static list, while TI kernel recipes use dynamic prefix matching
by default.

Since devicetree lists now need to be used outside of the kernel
build, specifically for the new FIT processing wrapper, explicitly
unset KERNEL_DEVICETREE_PREFIX to disable dynamic devicetree prefix
matching, when BB.org BSPs are selected.

This way both kernel build and FIT image wrapper will have the same
list of DTBs to handle, based on the BSP selection.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-23 08:48:29 -05:00
LCPD Automation Script
6bb039c8de CI/CD Auto-Merger: cicd.scarthgap.202507171300
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV,TI_SYSFW_VERSION
  atf: SRCREV_tfa:am62lxx
  u-boot-ti-staging_2025.01: SRCREV
  k3conf: SRCREV
  linux-ti-staging-rt_6.12: SRCREV_ARM32
  linux-ti-staging_6.12: SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=373c2f5646e3947b3b4a340da729288ee3f07833..604d03d4f20727f5f9173d7db1e427cfbdd17022
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=827c35b4d141865e25d234e3d298614e6c47150c..c199d231a1477137f1b04e794e309af1eeb4c3dd
  k3conf: https://git.ti.com/cgit/k3conf/k3conf/log/?qt=range&q=e6abc1b87f1d5bc4c2ab5f1ebfbf5a70e437dcb4..b537524cde12bf24a799f6b087b1bc6263bad87d
  linux-ti-staging-rt_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=f0e4f5ca0905956c70779b31663f594c08c6a3bc..36c7ff7f60e71677601505976d915286923be488
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=78e6abff322081d53c5a685d927476086c9b2846..e6ed2862fe19bd0c8901ecfaa15a3805209d40bd

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-07-17 13:00:35 -05:00
Ryan Eatmon
cfa60cbbd1 linux-ti-staging-rt_6.12: Need finer control for BRANCH
The CICD flow needs to control the value for BRANCH in order to have the
recipe updated with the next SRCREV, but point to the CICD/next branch
for initial build/test.

With this split in linux-ti-staging-rt we cannot just have an override
for BRANCH in the local.conf because it trumps the new BRANCH_ARM32
system.

This patch creates an additional "default" variable BRANCH_ARM64 (or not
arm32), which can be controlled separately by the CICD flow.  Then BRANCH
simply is picking between the two and so can be controlled by overrides
in the recipe.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-14 14:49:22 -05:00
Ryan Eatmon
c4051000e9 linux-ti-staging-rt_6.12: Add PV tracking for ARM32
Since the kernel branches could theoretically drift apart, we need to
track the PV of the kernel on the RT branch for the ARM32 platforms as
well.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-12 11:31:30 -05:00
LCPD Automation Script
d329fc37da u-boot-ti-mainline: Update to version: v2025.07
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-07-11 13:33:44 -05:00
Denys Dmytriyenko
c5605be72f ti-librpmsg-dma: mark it as compatible with K3 platforms
As ti-librpmsg-dma depends on ti-rpmsg-char, which is only compatible
with K3 platforms, ti-librpmsg-dma should also have the same limitations.

This resolves yocto-check-layer failure:

ERROR: Nothing PROVIDES 'ti-rpmsg-char' (but .../ti-librpmsg-dma_1.0.bb DEPENDS on or otherwise requires it)
ti-rpmsg-char was skipped: incompatible with machine qemux86-64 (not in COMPATIBLE_MACHINE)

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-11 12:37:02 -05:00
Beleswar Padhi
fcd6f18187 linux-ti-staging-rt_6.12: Add ARM32 RT branch
While all ARM64 devices use the same branch for RT and non-RT builds,
the ARM32 devices have a separate branch for RT Kernel which is
"ti-rt-linux-6.12.y-arm32". Update the BRANCH and SRCREV for ARM32
devices for RT builds.

Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-11 12:36:42 -05:00
Anshul Dalal
272390d0f6 meta-ti-bsp: u-boot: change tispl_falcon to tifalcon
The payload containing ATF, OP-TEE and DM in falcon mode was renamed
from 'tispl_falcon.bin' to 'tifalcon.bin' when adapting upstream patches
to ti-u-boot[1].

Therefore this patch fixes the same in meta-ti.

[1]:
https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/configs/k3_r5_falcon.config?h=ti-u-boot-2025.01-next#n36

Signed-off-by: Anshul Dalal <anshuld@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-10 11:26:56 -05:00
Anshul Dalal
a51c2b5abd conf: machine: update config fragment for ti-falcon
The U-Boot config fragment used to enable falcon mode was renamed from
'am62x_r5_falcon.config' to the more generic 'k3_r5_falcon.config' when
adapting upstream patches to ti-u-boot[1].

Therefore this patch fixes the same in meta-ti.

[1]: 90d2e960b4c at ti-u-boot-2025.01-next

Signed-off-by: Anshul Dalal <anshuld@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-10 11:26:56 -05:00
Ryan Eatmon
9601219021 u-boot-ti: Move UBOOT_VERSION into dynamic layer
The gitpkgv class we are using to set UBOOT_VERSION is located in
meta-openembedded.  We do not want to depend on meta-openembedded to
keep meta-ti-bsp as light as possible, and the naming of UBOOT_VERSION
is not a requirement, just a nice to have.  Dynamic layers allow us to
use the class if it is available in the build, but not require it.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-10 09:59:33 -05:00
Ryan Eatmon
c4b03c2c97 u-boot-ti: Move filenames to use PKGV instead of PV
We would like to know the git commit for the build by looking at the
filenames of u-boot files.  Include the value for PKGV in the names of
the files instead of PV.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-10 09:59:33 -05:00
Andrew Davis
5448d2a565 meta-ti-bsp: linux: Remove extra dtc flags for DT Overlays
This hides issues like missing flags that will cause issues for folks who
build or re-build the kernel outside the Yocto environment. It is better
to find these issues and fix them at the source in the Linux makefile,
not mask issues here.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-10 09:59:33 -05:00
Andrew Davis
d90b896d8d meta-ti-bsp: u-boot: Fix some odd indenting
This file uses both spaces and tabs in different functions which
needs fixed at some point. For now at least make sure they are
consistent within the same function.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-10 09:59:33 -05:00
Andrew Davis
376517f664 meta-ti-bsp: ti-rtos-fw: Remove unused ti-sci-fw file extra path
Looks to be left over from long ago, now completely unneeded.
Remove it and fix some comments while here.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-10 09:59:33 -05:00
Andrew Davis
35c9838de0 meta-beagle: beagle-bsp.inc: Fix versions in comments
Minor comment changes, fix versions listed for some items.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-10 09:59:33 -05:00
Andrew Davis
8e0238b3a8 meta-beagle: Remove selectable DT_VENDOR_PREFIX
This was used when the DT_VENDOR_PREFIX was different between supported
BSP versions. All supported now use the new prefix so drop this var.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-10 09:59:33 -05:00
Andrew Davis
b5649a38b8 meta-ti: Remove bsp-ti-6_1 and bsp-bb_org-6_1 support
Remove support for the v6.1 TI and Beagle BSPs. This was originally
split into meta-ti-bsp and meta-beagle changes, but there are some
hidden interdependencies that made that more painful than needed.
Remove v6.1 support from both BSP layers here.

This includes packages specific to those BSPs:
 - TI and BB.org v6.1 Linux kernel
 - TI and BB.org 2023.04 U-Boot
 - Rogue GPU driver 23.3 and Mesa 22.3.5

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-10 09:59:33 -05:00
LCPD Automation Script
5edda0fa24 CI/CD Auto-Merger: cicd.scarthgap.202507051251
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=33bec0e2ea9a25362c0c8243b2f1ed392dbc5b02..373c2f5646e3947b3b4a340da729288ee3f07833
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=d2a72467939e169210bcd8e57de4b3e6ce2ef149..827c35b4d141865e25d234e3d298614e6c47150c
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=e3e551586dfad357550da433969d6d9f458e06ce..78e6abff322081d53c5a685d927476086c9b2846

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-07-05 12:51:49 -05:00
Ryan Eatmon
5e6649a849 trusted-firmware-a: Bump to latest SHA on upstream
We were waiting on a patch [1] to make it to master.  Now that it has, move
to point the SRCREV to the latest commit.

[1] b1bca91e93

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-02 10:41:58 -05:00
LCPD Automation Script
59354be6c2 CI/CD Auto-Merger: cicd.scarthgap.202507011953
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV
  u-boot-ti-staging_2025.01: SRCREV
  k3conf: SRCREV
  linux-ti-staging_6.12: PV,SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=1190654141a9604e21307555882d77eaaf8c5fac..33bec0e2ea9a25362c0c8243b2f1ed392dbc5b02
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=5350f13b66393212475a15c4e107add1d38267d3..d2a72467939e169210bcd8e57de4b3e6ce2ef149
  k3conf: https://git.ti.com/cgit/k3conf/k3conf/log/?qt=range&q=ea9938bf9cafd9c0cb05ef060a713ab4ac72270f..e6abc1b87f1d5bc4c2ab5f1ebfbf5a70e437dcb4
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=9167ea3511ca6ac1536b3114d92791b3de7422a3..e3e551586dfad357550da433969d6d9f458e06ce

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-07-01 19:53:14 -05:00
Ryan Eatmon
f3f1b805a7 trusted-firmware-a: Move back to tfa upstream except for am62lxx
This moves all of the platforms back to the main TFA repository, but
still points to the TI fork for the am62lxx platform while we continue
to work on upstreaming the needed patches.

With the the split into two repositories on two branches we need to also
split the LIC_FILES_CHECKSUM into two since the license.rst file is
slightly different between the two branches.  The upstream master
version is newer than the current am62l version.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-01 13:48:35 -05:00
Manorit Chawdhry
c3d9acf613 Revert "conf: machine: k3: disable all fit signing for uboot"
FIT signing was disabled in the past as it was interfering with multi
DTB usecase in binman, and it was thought that the binman signing being
done is equivalent to UBOOT_SIGN_ENABLE.

Though looking at the sources, UBOOT_SIGN_ENABLE is actually used to
sign the kernel FIT Image instead and the name UBOOT actually specifies
that it's used in tandom with U-boot. During the signing process, mkimage
from U-boot is used to pack the kernel FIT Image and along with that,
one DTB from U-boot is also passed to the mkimage command. The DTB that
gets passed gets the key embedded in it that is used to verify the
kernel FIT image at runtime.

Now this signed DTB is packed in U-boot by triggering a rebuild with
EXT_DTB argument in the U-boot build process. However, this failed as
there was a U-boot bug which was not looking at the packed sources
properly with the multi DTB usecase.

Now that a U-boot fix is available [0], revert that commit which
disabled the FIT signing.

This reverts commit 9656b79cb5.

[0]: https://lore.kernel.org/all/20250626-b4-upstream-fix-icssg-fit-v1-1-95eff1c853a4@ti.com/

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-01 13:38:12 -05:00
Manorit Chawdhry
3e5f828f91 meta-ti-bsp: recipes-security: optee: Update OP-TEE components to 4.6.0
Updates optee_os, optee_test, optee_client, optee_examples to 4.6.0

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-06-27 10:11:15 -05:00
Anshul Dalal
8832e32cc7 conf: machine: move UBOOT_*ADDRESS to top level ti-soc
Since all k3 and legacy platforms share common load addresses for kernel
and initrd in the fitImage, move them to top level ti-soc.inc.

No functional change is intended from this patch.

Signed-off-by: Anshul Dalal <anshuld@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-06-27 10:05:48 -05:00
Anshul Dalal
8b920cab40 conf: machine: k3: update fitImage load address
In yocto, the UBOOT_ENTRYPOINT and UBOOT_*LOADADDRESS variables specify
the entry point and load addresses for the kernel image and the DTB when
creating the fitImage[1].

Currently the load address for the kernel is set to 0x81000000 and
0x83000000 for the DTB for all k3 platforms.

However the region 0x80080000 to 0x81880000 is reserved for OPTEE on
am62xxsip-evm, leading to boot failure[2] when using the fitImage.

This patch fixes the issue by changing the addresses to 0x82000000 for
kernel and 0x88000000 for the DTB. This also allows us to load kernel
images > 32MiB in size when not using initrd while also making the
falcon and standard boot addresses consistent.

[1]:
https://docs.yoctoproject.org/ref-manual/variables.html#term-UBOOT_ENTRYPOINT
[2]:
https://raw.githubusercontent.com/ArchUsr64/ti_boot_logs/HEAD/am62xxsip-evm/failures/fitImage_load_addr_issue.log

Signed-off-by: Anshul Dalal <anshuld@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-06-27 10:04:34 -05:00
LCPD Automation Script
2e1d6a979d CI/CD Auto-Merger: cicd.scarthgap.202506261626
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV,TI_SYSFW_VERSION
  atf: SRCREV_tfa
  u-boot-ti-staging_2025.01: SRCREV
  linux-ti-staging_6.12: PV,SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=e594deb508a322d5681888d48fbb153953b06ca9..1190654141a9604e21307555882d77eaaf8c5fac
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=c99a1f082ba4970678c9cb5100d13a986e77817c..5350f13b66393212475a15c4e107add1d38267d3
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=34d0b070130a8cd2cddd9260389ad974e8cb8468..9167ea3511ca6ac1536b3114d92791b3de7422a3

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-06-18 09:03:44 -05:00
Vishnu Singh
a893fa576c meta-ti-bsp : ipc: Add RPMsg DMA library
This commit introduces the RPMsg DMA library:

RPMsg DMA library (meta-ti-bsp/recipes-ti/ipc):
   - Provides librpmsg_dma.so shared library.
   - Includes APIs for:
     - RPMsg interface initialization
     - RPMsg-based send/receive communication
     - DMA heap buffer management
     - DSP firmware dynamic load/unload

Signed-off-by: Vishnu Singh <v-singh1@ti.com>
Reviewed-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-06-13 08:14:30 -05:00
LCPD Automation Script
9a009a67ad CI/CD Auto-Merger: cicd.scarthgap.202506121146
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV,TI_SYSFW_VERSION
  u-boot-ti-staging_2025.01: SRCREV
  linux-ti-staging_6.12: PV,SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=1ea29f4b3ec17bdc1a3431a014ea5224962dc779..a37c82f0e25e0e3c99fdf03f1d57f7b08314a2bc
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=c9c21ce31fc557c2f43c4991fcc0a11b1fd90a12..da601a5231bf1b053a35c94c5d57a5658ce2e4e7
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=20778f6c125dc24e62767dc4837d793a0f18c319..251ed68a96e3f85a5db174c9c39dc334c0f0ba5f

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

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

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

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

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

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-06-05 11:36:31 -05:00
LCPD Automation Script
3de174b8c5 CI/CD Auto-Merger: cicd.scarthgap.202505291514
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV
  atf: SRCREV_tfa
  u-boot-ti-staging_2025.01: SRCREV
  linux-ti-staging_6.12: SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=d5a6aed56d76f7a8a7729f0d0b4655b7e623e1c7..1ea29f4b3ec17bdc1a3431a014ea5224962dc779
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=3d024809613c2a8f1d69258554ab8954d26537f5..1d6ba4a32cdd8c987533d5789b5bc7b84c41fabe
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=d95b7f80f66d104525e6beb002d82a9505b28131..b0afb35642d79e776a4cf940945367cef87ba127

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-28 10:18:07 -05:00
Ryan Eatmon
c64dc2163e CLEANUP: Add missing SUMMARY
Every recipe should have a SUMMARY and that can only be 72 characters at
most.  Some of these recipes had DESCRIPTIONS and not SUMMARY, some were
missing the SUMMARY, and some had slightly too long values for the SUMMARY.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-28 10:18:07 -05:00
LCPD Automation Script
fe69a32329 CI/CD Auto-Merger: cicd.scarthgap.202505230901
Updated the value(s) for:
  cnm-wave-fw: LIC_FILES_CHKSUM
  ti-linux-fw: CNM_WAVE521_FW_VERSION,TI_LINUX_FW_SRCREV
  u-boot-ti-staging_2025.01: SRCREV
  k3conf: SRCREV
  linux-ti-staging_6.12: PV,SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=bffa52a1b8d3318ec86814047025e7c5edf7b7b0..d5a6aed56d76f7a8a7729f0d0b4655b7e623e1c7
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=98b6b3f5a259be864e8db92f4925c3c19c3482a4..3d024809613c2a8f1d69258554ab8954d26537f5
  k3conf: https://git.ti.com/cgit/k3conf/k3conf/log/?qt=range&q=e4a814ff42ef357ee453b6f2f809ecdfa624aa8c..ea9938bf9cafd9c0cb05ef060a713ab4ac72270f
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=013211ccdf5ec33e19652be631b820bc5f6b86a4..d95b7f80f66d104525e6beb002d82a9505b28131

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-05-23 09:02:04 -05:00
LCPD Automation Script
3aa0051a1f CI/CD Auto-Merger: cicd.scarthgap.202505151402
Updated the value(s) for:
  atf: SRCREV_tfa
  u-boot-ti-staging_2025.01: SRCREV
  linux-ti-staging_6.12: PV,SRCREV

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-14 17:28:47 -05:00
Max Krummenacher
5846d1b124 meta-ti-extras recipes: fix whitespace warnings
Since OE bitbake commit 24772dd2ae6c ("parse/ConfHandler: Add warning for
deprecated whitespace usage"), the current build generates the following
warning (as example):

| WARNING: ...meta-ti/meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb:
|   meta-ti/meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb:2
|   has a lack of whitespace around the assignment:
|   'HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC"'

Fix all the warnings.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-14 17:28:47 -05:00
Max Krummenacher
7b1b8a958a meta-ti-bsp recipes: fix whitespace warnings
Since OE bitbake commit 24772dd2ae6c ("parse/ConfHandler: Add warning for
deprecated whitespace usage"), the current build generates the following
warning (as example):

| WARNING: ...meta-ti/meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb:
|   meta-ti/meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb:2
|   has a lack of whitespace around the assignment:
|   'HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC"'

Fix all the warnings.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-14 17:28:47 -05:00
Anshul Dalal
2d24e761cb bsp: tfa: add build flags for ti-falcon
In falcon mode, ATF jumps straight to the linux kernel which requires a
2MiB aligned load address. Hence this patch changes the ATF jump address
(PRELOADED_BL33_BASE) to a 2MiB aligned value 0x82000000 and the DTB
address (K3_HW_CONFIG_BASE) to 0x88000000.

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

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

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

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

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

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

Signed-off-by: Anshul Dalal <anshuld@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-14 17:28:47 -05:00
LCPD Automation Script
8c258e731e CI/CD Auto-Merger: cicd.scarthgap.202505111800
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV
  atf: SRCREV_tfa
  u-boot-ti-staging_2025.01: SRCREV
  linux-ti-staging_6.12: SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=1e5d64d9385d6472d29e11ac7021765004ddff27..bffa52a1b8d3318ec86814047025e7c5edf7b7b0
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=4724106aaa824af920d81051818cc508cd50e6ec..a94845e64850d906b095423ab924390307c31da8
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=598740560225b2d404329bf466fb10475934de23..f9cad1448e0dc8631d4974627a838d349bd06eba

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-05-11 18:00:10 -05:00
LCPD Automation Script
13fb4cc4de CI/CD Auto-Merger: cicd.scarthgap.202505011354
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV
  atf: SRCREV_tfa
  u-boot-ti-staging_2025.01: SRCREV
  linux-ti-staging_6.12: PV,SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=10257543a029cc608c9df1c36c83e36ac3dd5b46..1e5d64d9385d6472d29e11ac7021765004ddff27
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=723dde103755167c07354d50fed1098d10709a98..4724106aaa824af920d81051818cc508cd50e6ec
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=95010a7c186b86f738615231016aa017ac527612..598740560225b2d404329bf466fb10475934de23

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Acked-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-04-29 09:34:04 -05:00
Andrew Davis
29ef5d507b meta-ti-bsp: ti-rtos-bin: Move this with the other firmware recipes
All other firmware recipes are in recipes-bsp. There is nothing much
special about this set of firmware so move it to match.

This firmware is the pre-compiled "echo test" example for various
remote cores. The directory name is not very clear on that, so fix
that up too.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-04-29 09:34:04 -05:00
LCPD Automation Script
d62c047d4b CI/CD Auto-Merger: cicd.scarthgap.202504241319
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV
  atf: SRCREV_tfa
  u-boot-ti-staging_2025.01: SRCREV
  k3conf: SRCREV
  linux-ti-staging_6.12: SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=c3ad8113c766bee7b8ddfae222e9b8017b565ea3..10257543a029cc608c9df1c36c83e36ac3dd5b46
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=70667128cb5b2c2a7621965ba948b5a56a2e756f..723dde103755167c07354d50fed1098d10709a98
  k3conf: https://git.ti.com/cgit/k3conf/k3conf/log/?qt=range&q=30a1d5b2d08c0da39d4e62b3ebee591a9882fa21..e4a814ff42ef357ee453b6f2f809ecdfa624aa8c
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=cdcaeac783e31f18edb6cb44b526228f44023b45..95010a7c186b86f738615231016aa017ac527612

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

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

[0]: 3985a7caea

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

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

* Fixes 277f04df4c & 1fed958bfe

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

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

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

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

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

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

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

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

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

Signed-off-by: Judith Mendez <jm@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-04-10 08:55:07 -05:00
LCPD Automation Script
a98a2e1029 CI/CD Auto-Merger: cicd.scarthgap.202504090823
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV
  u-boot-ti-staging_2025.01: SRCREV
  linux-ti-staging_6.12: SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=27003b6bff61a55dd1fff2cc777e5e07b092b1f7..c3ad8113c766bee7b8ddfae222e9b8017b565ea3
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=cd91d73601810374d16a1f17505ab2e72e31f75d..70667128cb5b2c2a7621965ba948b5a56a2e756f
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=c85877d40f8e70e1e201eca2ae1648781f238a37..cdcaeac783e31f18edb6cb44b526228f44023b45

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

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

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

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

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

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

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

Therefore this patch adds default dtbs for am62 evms.

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

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-24 13:46:04 -05:00
LCPD Automation Script
3282775a55 CI/CD Auto-Merger: cicd.scarthgap.202503201916
Updated the value(s) for:
  ti-linux-fw: TI_DM_FW_VERSION,TI_LINUX_FW_SRCREV
  atf: SRCREV_tfa
  u-boot-ti-staging_2025.01: SRCREV
  linux-ti-staging_6.12: SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=1faf5974a93eb35ac31ed27e5693739edb08824c..27003b6bff61a55dd1fff2cc777e5e07b092b1f7
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=c8badfb165815c648052309418987f302e48aeef..e7eeb7586fab6cd9e91d49d5b5ad68287d9bc8b6
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=8c8cc002ab65149491f9b75cadfaeb2342150800..1ac80adecb8ebffa654be744e5e5f7343b0abf78

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

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

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

Signed-off-by: Antonios Christidis <a-christidis@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-20 14:32:23 -05:00
Praneeth Bajjuri
4e571e5580 ipc: ti-rpmsg-char: Update library to 0.6.9
update from 0.6.7 to 0.6.9.
This update brings the following fixes from ti-rpmsg-char repo.

09b064c src: fix misc warnings
5a9ec97 src: fix warnings for resource leak & string null
b4ef987 Fix Werror=stringop-truncation
dabdc21 lib: Fix klockwork warnings

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-20 14:31:49 -05:00
Randolph Sapp
aa8c435c03 ti-sgx-ddk-km: rework preferred_target selection
Bump SRCREV to include a patch that changes the way
compiler_preferred_target is selected for a given toolchain. This now
checks specified SYS_CFLAGS to see if hardfloat is set explicitly and
will override the default target selection if necessary.

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

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

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

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

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

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

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-17 13:41:01 -05:00
Andrew Davis
bbf029abd5 meta-ti-bsp: zephyr-fw: Update Zephyr to latest with AM64xx support
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-17 13:40:20 -05:00
156 changed files with 782 additions and 1437 deletions

31
check_yocto_rules.json Normal file
View File

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

View File

@@ -5,21 +5,17 @@
require conf/machine/include/am57xx.inc
require conf/machine/include/beagle-bsp.inc
DT_VENDOR_PREFIX = "ti/omap/"
DT_VENDOR_PREFIX:bsp-ti-6_1 = ""
DT_VENDOR_PREFIX:bsp-bb_org-6_1 = ""
KERNEL_DEVICETREE_PREFIX = " \
${DT_VENDOR_PREFIX}am57xx-beagle-x15 \
${DT_VENDOR_PREFIX}am57xx-idk-lcd \
ti/omap/am57xx-beagle-x15 \
ti/omap/am57xx-idk-lcd \
"
KERNEL_DEVICETREE = " \
${DT_VENDOR_PREFIX}am57xx-beagle-x15.dtb \
${DT_VENDOR_PREFIX}am57xx-beagle-x15-revb1.dtb \
${DT_VENDOR_PREFIX}am57xx-beagle-x15-revc.dtb \
${DT_VENDOR_PREFIX}am57xx-idk-lcd-osd101t2045.dtbo \
${DT_VENDOR_PREFIX}am57xx-idk-lcd-osd101t2587.dtbo \
ti/omap/am57xx-beagle-x15.dtb \
ti/omap/am57xx-beagle-x15-revb1.dtb \
ti/omap/am57xx-beagle-x15-revc.dtb \
ti/omap/am57xx-idk-lcd-osd101t2045.dtbo \
ti/omap/am57xx-idk-lcd-osd101t2587.dtbo \
"
MACHINE_GUI_CLASS = "bigscreen"

View File

@@ -16,9 +16,3 @@ UBOOT_IMAGE = "tiboot3-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
UBOOT_SYMLINK = "tiboot3-${MAINMACHINE}.${UBOOT_SUFFIX}"
UBOOT_MACHINE = "j721e_beagleboneai64_r5_defconfig"
UBOOT_MACHINE:bsp-ti-6_1 = "j721e_evm_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "j721e_beagleboneai64_r5.config"
UBOOT_MACHINE:bsp-bb_org-6_1 = "j721e_evm_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "j721e_beagleboneai64_r5.config"

View File

@@ -12,12 +12,6 @@ IMAGE_SR2_HS_SE_FILES = ""
UBOOT_MACHINE = "j721e_beagleboneai64_a72_defconfig"
UBOOT_MACHINE:bsp-ti-6_1 = "j721e_evm_a72_config"
UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "j721e_beagleboneai64_a72.config"
UBOOT_MACHINE:bsp-bb_org-6_1 = "j721e_evm_a72_config"
UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "j721e_beagleboneai64_a72.config"
SPL_BINARY = "tispl.bin_unsigned"
KERNEL_DEVICETREE_PREFIX = " \
@@ -32,23 +26,4 @@ ti/k3-j721e-evm-quad-port-eth-exp.dtbo \
ti/k3-j721e-sk.dtb \
"
KERNEL_DEVICETREE:append:bsp-bb_org-6_1 = " \
ti/k3-j721e-beagleboneai64-dsi-rpi-7inch-panel.dtbo \
ti/k3-j721e-common-proc-board-infotainment.dtbo \
ti/k3-j721e-evm-csi2-ov5640.dtbo \
ti/k3-j721e-evm-fusion.dtbo \
ti/k3-j721e-evm-pcie0-ep.dtbo \
ti/k3-j721e-evm-virt-mac-client.dtbo \
ti/k3-j721e-sk-csi2-ov5640.dtbo \
ti/k3-j721e-sk-csi2-rpi-imx219.dtbo \
ti/k3-j721e-sk-fusion.dtbo \
ti/k3-j721e-sk-rpi-hdr-ehrpwm.dtbo \
"
MACHINE_GUI_CLASS = "bigscreen"
# TI has moved a driver out of its kernel tree and into an out of tree module.
# We need to not include that for older kernels since the module is still in
# the kernel.
TI_VXE_VXD_DRIVER:bsp-bb_org-6_6 = ""
TI_VXE_VXD_DRIVER:bsp-bb_org-6_1 = ""

View File

@@ -5,27 +5,23 @@
require conf/machine/include/ti33x.inc
require conf/machine/include/beagle-bsp.inc
DT_VENDOR_PREFIX = "ti/omap/"
DT_VENDOR_PREFIX:bsp-ti-6_1 = ""
DT_VENDOR_PREFIX:bsp-bb_org-6_1 = ""
KERNEL_DEVICETREE_PREFIX = " \
${DT_VENDOR_PREFIX}am335x-bone \
${DT_VENDOR_PREFIX}am335x-pocketbeagle \
${DT_VENDOR_PREFIX}am335x-sancloud-bbe \
ti/omap/am335x-bone \
ti/omap/am335x-pocketbeagle \
ti/omap/am335x-sancloud-bbe \
"
KERNEL_DEVICETREE = " \
${DT_VENDOR_PREFIX}am335x-bone.dtb \
${DT_VENDOR_PREFIX}am335x-boneblack.dtb \
${DT_VENDOR_PREFIX}am335x-boneblack-wireless.dtb \
${DT_VENDOR_PREFIX}am335x-boneblue.dtb \
${DT_VENDOR_PREFIX}am335x-bonegreen.dtb \
${DT_VENDOR_PREFIX}am335x-bonegreen-wireless.dtb \
${DT_VENDOR_PREFIX}am335x-pocketbeagle.dtb \
${DT_VENDOR_PREFIX}am335x-sancloud-bbe.dtb \
${DT_VENDOR_PREFIX}am335x-sancloud-bbe-extended-wifi.dtb \
${DT_VENDOR_PREFIX}am335x-sancloud-bbe-lite.dtb \
ti/omap/am335x-bone.dtb \
ti/omap/am335x-boneblack.dtb \
ti/omap/am335x-boneblack-wireless.dtb \
ti/omap/am335x-boneblue.dtb \
ti/omap/am335x-bonegreen.dtb \
ti/omap/am335x-bonegreen-wireless.dtb \
ti/omap/am335x-pocketbeagle.dtb \
ti/omap/am335x-sancloud-bbe.dtb \
ti/omap/am335x-sancloud-bbe-extended-wifi.dtb \
ti/omap/am335x-sancloud-bbe-lite.dtb \
"
MACHINE_GUI_CLASS = "bigscreen"

View File

@@ -5,7 +5,3 @@
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

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

View File

@@ -3,8 +3,6 @@
#@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"
@@ -12,5 +10,4 @@ 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"
UBOOT_MACHINE:bsp-bb_org-6_12 = "am67a_beagley_ai_r5_defconfig"

View File

@@ -3,13 +3,10 @@
#@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"
UBOOT_MACHINE:bsp-bb_org-6_12 = "am67a_beagley_ai_a53_defconfig"
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-j722s \
@@ -17,7 +14,7 @@ KERNEL_DEVICETREE_PREFIX = " \
KERNEL_DEVICETREE = ""
KERNEL_DEVICETREE:append:bsp-bb_org-6_1 = " \
KERNEL_DEVICETREE:append:bsp-bb_org-6_12 = " \
ti/k3-j722s-evm.dtb \
ti/k3-am67a-beagley-ai.dtb \
"

View File

@@ -1,34 +1,35 @@
# 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"
# Default is bb_org-6_12, but can override with any of the existing options
TI_PREFERRED_BSP ?= "bb_org-6_12"
# ==========
# bb_org-6_1
# BeagleBoard.org kernel 6.1, u-boot 2023.04
# ===========
# bb_org-6_12
# BeagleBoard.org kernel 6.12, u-boot 2025.04
# based on TI staging trees with extra Beagle-specific features
# but may not be up-to-date with TI version
# ==========
BSP_KERNEL_PROVIDER:bsp-bb_org-6_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_KERNEL_PROVIDER:bsp-bb_org-6_12 = "linux-bb.org"
BSP_KERNEL_VERSION:bsp-bb_org-6_12 = "6.12.%"
BSP_BOOTLOADER_PROVIDER:bsp-bb_org-6_12 = "u-boot-bb.org"
BSP_BOOTLOADER_VERSION:bsp-bb_org-6_12 = "2025.%"
KERNEL_DEVICETREE_PREFIX:bsp-bb_org-6_12 = ""
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%"
BSP_SGX_DRIVER_PROVIDER:bsp-bb_org-6_12 = "ti-sgx-ddk-km"
BSP_SGX_DRIVER_VERSION:bsp-bb_org-6_12 = "1.17%"
BSP_SGX_UMLIBS_VERSION:bsp-bb_org-6_12 = "1.17%"
BSP_ROGUE_DRIVER_PROVIDER:bsp-bb_org-6_12 = "ti-img-rogue-driver"
BSP_ROGUE_DRIVER_VERSION:bsp-bb_org-6_12 = "24%"
BSP_ROGUE_UMLIBS_VERSION:bsp-bb_org-6_12 = "24%"
BSP_MESA_PVR_VERSION:bsp-bb_org-6_12 = "24%"
# GC320 support requires out-of-tree drivers not yet available in bb.org 6.1
MACHINE_FEATURES:remove:bsp-bb_org-6_1 = "gc320"
# GC320 support requires out-of-tree drivers not yet available in bb.org 6.12
MACHINE_FEATURES:remove:bsp-bb_org-6_12 = "gc320"
# ==========
# bb_org-6_6
# BeagleBoard.org kernel 6.6, Upstream u-boot 2024.07
# BeagleBoard.org kernel 6.6, u-boot 2024.10
# based on TI staging trees with extra Beagle-specific features
# but may not be up-to-date with TI version
# ==========
@@ -36,6 +37,7 @@ 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.%"
KERNEL_DEVICETREE_PREFIX:bsp-bb_org-6_6 = ""
BSP_SGX_DRIVER_PROVIDER:bsp-bb_org-6_6 = "ti-sgx-ddk-km"
BSP_SGX_DRIVER_VERSION:bsp-bb_org-6_6 = "1.17%"

View File

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

View File

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

View File

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

View File

@@ -1,22 +0,0 @@
require recipes-bsp/u-boot/u-boot-ti.inc
SUMMARY = "BeagleBoard.org U-Boot"
COMPATIBLE_MACHINE = "beagle.*"
PV = "2023.04"
UBOOT_GIT_URI = "git://github.com/beagleboard/u-boot.git"
UBOOT_GIT_PROTOCOL = "https"
BRANCH = "v2023.04-ti-09.01.00.008"
SRCREV = "b0d717b732ee28e446baf94522b3491e590f7fbb"
BRANCH:beagleplay = "v2023.04-ti-09.01.00.008-BeaglePlay"
BRANCH:beagleplay-k3r5 = "v2023.04-ti-09.01.00.008-BeaglePlay"
SRCREV:beagleplay = "43791d945f4e5c25bcc19b9c778e8f9d194dc16e"
SRCREV:beagleplay-k3r5 = "43791d945f4e5c25bcc19b9c778e8f9d194dc16e"
BRANCH:beagley-ai = "v2023.04-ti-09.02.00.009-BeagleY-AI-Production"
BRANCH:beagley-ai-k3r5 = "v2023.04-ti-09.02.00.009-BeagleY-AI-Production"
SRCREV:beagley-ai = "93735daa6fe024304934d5a5e93ab05a06abf1a8"
SRCREV:beagley-ai-k3r5 = "93735daa6fe024304934d5a5e93ab05a06abf1a8"

View File

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

View File

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

View File

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

View File

@@ -19,51 +19,51 @@ 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 \
ti/omap/AM335X-PRU-UIO-00A0.dtbo \
ti/omap/BB-ADC-00A0.dtbo \
ti/omap/BB-BBBW-WL1835-00A0.dtbo \
ti/omap/BB-BBGG-WL1835-00A0.dtbo \
ti/omap/BB-BBGW-WL1835-00A0.dtbo \
ti/omap/BB-BONE-4D5R-01-00A1.dtbo \
ti/omap/BB-BONE-eMMC1-01-00A0.dtbo \
ti/omap/BB-BONE-LCD4-01-00A1.dtbo \
ti/omap/BB-BONE-NH7C-01-A0.dtbo \
ti/omap/BB-CAPE-DISP-CT4-00A0.dtbo \
ti/omap/BB-HDMI-TDA998x-00A0.dtbo \
ti/omap/BB-I2C1-MCP7940X-00A0.dtbo \
ti/omap/BB-I2C1-RTC-DS3231.dtbo \
ti/omap/BB-I2C1-RTC-PCF8563.dtbo \
ti/omap/BB-I2C2-BME680.dtbo \
ti/omap/BB-I2C2-MPU6050.dtbo \
ti/omap/BB-LCD-ADAFRUIT-24-SPI1-00A0.dtbo \
ti/omap/BB-NHDMI-TDA998x-00A0.dtbo \
ti/omap/BBORG_COMMS-00A2.dtbo \
ti/omap/BBORG_FAN-A000.dtbo \
ti/omap/BBORG_RELAY-00A2.dtbo \
ti/omap/BB-SPIDEV0-00A0.dtbo \
ti/omap/BB-SPIDEV1-00A0.dtbo \
ti/omap/BB-UART1-00A0.dtbo \
ti/omap/BB-UART2-00A0.dtbo \
ti/omap/BB-UART4-00A0.dtbo \
ti/omap/BB-W1-P9.12-00A0.dtbo \
ti/omap/BONE-ADC.dtbo \
ti/omap/M-BB-BBG-00A0.dtbo \
ti/omap/M-BB-BBGG-00A0.dtbo \
ti/omap/PB-MIKROBUS-0.dtbo \
ti/omap/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 32-bit
SRCREV:armv7a = "0d043a88f69f48789e43526d7a807ab744708071"
PV:armv7a = "6.6.58+git"
BRANCH:armv7a = "v6.6.58-ti-arm32-r10"
# 6.6.58 version for 64-bit
SRCREV:aarch64 = "9beffa9162f6a0f5de7e25bbb66026a579376428"
SRCREV:aarch64 = "0987ef737c9812374607475972f0868b8fecbbf7"
PV:aarch64 = "6.6.58+git"
BRANCH:aarch64 = "v6.6.58-ti-arm64-r16"
BRANCH:aarch64 = "v6.6.58-ti-arm64-r23"
KERNEL_GIT_URI = "git://github.com/beagleboard/linux.git"

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,6 +18,14 @@ LAYERDEPENDS_meta-ti-bsp = " \
meta-arm \
"
LAYERRECOMMENDS_meta-ti-bsp = " \
openembedded-layer \
"
BBFILES_DYNAMIC += " \
openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-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

@@ -10,11 +10,6 @@ UBOOT_CONFIG ??= "uart mmc"
UBOOT_CONFIG[uart] = "am335x_hs_evm_uart_config"
UBOOT_CONFIG[mmc] = "am335x_hs_evm_config"
UBOOT_ENTRYPOINT = "0x82000000"
UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
# FIT image for legacy secure devices
KERNEL_CLASSES += " kernel-fitimage-legacyhs"
KERNEL_IMAGETYPES += " fitImage"

View File

@@ -6,11 +6,6 @@ require conf/machine/am437x-evm.conf
UBOOT_MACHINE = "am43xx_hs_evm_config"
UBOOT_ENTRYPOINT = "0x82000000"
UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
OPTEEMACHINE = "ti-am43xx"
OPTEEFLAVOR = "am43xx"

View File

@@ -6,11 +6,6 @@ require conf/machine/am57xx-evm.conf
UBOOT_MACHINE = "am57xx_hs_evm_config"
UBOOT_ENTRYPOINT = "0x82000000"
UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
OPTEEMACHINE = "ti-am57xx"
OPTEEFLAVOR = "am57xx"
OPTEEPAGER = "y"

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,18 @@
#@TYPE: Machine
#@NAME: AM62DXX EVM
#@DESCRIPTION: Machine configuration for the TI AM62DXX EVM
require conf/machine/include/am62dxx.inc
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am62d2 \
ti/k3-am62a7-sk-edgeai \
"
KERNEL_DEVICETREE = ""
FIT_CONF_DEFAULT_DTB = "ti/k3-am62d2-evm.dtb"
UBOOT_MACHINE = "am62dx_evm_a53_defconfig"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "ti-dac-fw"

View File

@@ -7,7 +7,7 @@ require conf/machine/include/ti-extras.inc
IMAGE_FSTYPES += "ubifs ubi"
MKUBIFS_ARGS ?= "-F -m 4096 -e 258048 -c 8000"
MKUBIFS_ARGS ?= "-F -m 4096 -e 258048 -c 8500"
UBINIZE_ARGS ?= "-m 4096 -p 256KiB -s 1024 -O 1024"

View File

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

View File

@@ -21,6 +21,8 @@ KERNEL_DEVICETREE = " \
ti/k3-am62x-sk-hdmi-audio.dtbo \
"
FIT_CONF_DEFAULT_DTB = "ti/k3-am62p5-sk.dtb"
UBOOT_MACHINE = "am62px_evm_a53_defconfig"
# UBOOT_CONFIG_FRAGMENTS holds the list of u-boot config fragments which has to be build
@@ -29,5 +31,3 @@ UBOOT_MACHINE = "am62px_evm_a53_defconfig"
# For AM62P tisdk-display-cluster image, splash screen is handled by SBL.
# Hence, disable the A53 based splash screen using the am62x_evm_prune_splashscreen.config fragment present in ti-u-boot tree
UBOOT_CONFIG_FRAGMENTS = "${@oe.utils.conditional('DISPLAY_CLUSTER_ENABLE', '1', 'am62x_evm_prune_splashscreen.config', '', d)}"
UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "${@oe.utils.conditional('DISPLAY_CLUSTER_ENABLE', '1', 'am62px_evm_prune_splashscreen.config', '', d)}"

View File

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

View File

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

View File

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

View File

@@ -9,6 +9,7 @@ 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 \
@@ -22,4 +23,6 @@ KERNEL_DEVICETREE = " \
ti/k3-am62x-sk-hdmi-audio.dtbo \
"
FIT_CONF_DEFAULT_DTB = "ti/k3-am62-lp-sk.dtb"
UBOOT_MACHINE = "am62x_lpsk_a53_defconfig"

View File

@@ -8,8 +8,5 @@ SYSFW_SOC = "am62x"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs-fs"
UBOOT_MACHINE = "am62xsip_evm_r5_defconfig"
UBOOT_MACHINE:bsp-ti-6_1 = "am62x_evm_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "am62xsip_sk_r5.config"
UBOOT_MACHINE = "am6254xxl_evm_r5_defconfig"
UBOOT_MACHINE:bsp-ti-6_6 = "am62xsip_evm_r5_defconfig"

View File

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

View File

@@ -9,6 +9,3 @@ SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "gp"
UBOOT_MACHINE = "am62x_beagleplay_r5_defconfig"
UBOOT_MACHINE:bsp-ti-6_1 = "am62x_evm_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "am625_beagleplay_r5.config"

View File

@@ -20,9 +20,6 @@ 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"

View File

@@ -6,11 +6,6 @@ require conf/machine/dra7xx-evm.conf
UBOOT_MACHINE = "dra7xx_hs_evm_config"
UBOOT_ENTRYPOINT = "0x82000000"
UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
OPTEEMACHINE = "ti-dra7xx"
OPTEEFLAVOR = "dra7xx"
OPTEEPAGER = "y"

View File

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

View File

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

View File

@@ -3,9 +3,6 @@ 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"

View File

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

View File

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

View File

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

View File

@@ -38,6 +38,5 @@ OPTEEMACHINE = "k3-j721e"
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}"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw vxd-dec-fw ti-eth-fw-j721e ${TI_VXE_VXD_DRIVER}"

View File

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

View File

@@ -13,18 +13,18 @@ KERNEL_IMAGETYPES = "Image fitImage"
KERNEL_CLASSES += "kernel-fitimage"
UBOOT_ARCH = "arm"
UBOOT_ENTRYPOINT = "0x81000000"
UBOOT_LOADADDRESS = "0x81000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
UBOOT_DTB_LOADADDRESS = "0x83000000"
UBOOT_DTBO_LOADADDRESS = "0x83080000"
UBOOT_DTB_LOADADDRESS = "0x88000000"
UBOOT_DTBO_LOADADDRESS = "0x88080000"
UBOOT_DTBO_OFFSET = "0x00010000"
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"
@@ -39,7 +39,7 @@ TFA_PLATFORM = "k3"
UBI_VOLNAME = "rootfs"
# List common SoC features, may need to add touchscreen for specific machines
MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 alsa pci"
MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 alsa pci optee-ftpm"
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
@@ -56,3 +56,8 @@ TI_WKS_BOOTLOADER_APPEND ?= ""
do_image_wic[depends] += "virtual/bootloader:do_deploy"
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS2"
FALCON_INCLUDE = ""
FALCON_INCLUDE:ti-falcon = "conf/machine/include/ti-falcon.inc"
require ${FALCON_INCLUDE}

View File

@@ -3,7 +3,7 @@
# preferences for kernel, bootloader and graphics components, as
# well as a dedicated machine override.
# Supported options are: mainline, next, ti-6_12, ti-6_6, ti-6_1
# Supported options are: mainline, next, ti-6_12, ti-6_6
TI_PREFERRED_BSP ??= "ti-6_12"
# Use bsp-* namespace for overrides
@@ -58,9 +58,6 @@ 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%"
# GC320 support requires out-of-tree drivers not yet available in 6.12
MACHINE_FEATURES:remove:bsp-ti-6_12 = "gc320"
# ==========
# ti-6_6
# TI staging kernel 6.6, u-boot 2024.04
@@ -81,26 +78,6 @@ 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_BOOTLOADER_PROVIDER:bsp-ti-6_1 = "u-boot-ti-staging"
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%"
BSP_SGX_UMLIBS_VERSION:bsp-ti-6_1 = "1.17%"
BSP_ROGUE_DRIVER_PROVIDER:bsp-ti-6_1 = "ti-img-rogue-driver"
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%"
# GC320 support requires out-of-tree drivers not yet available in 6.1
MACHINE_FEATURES:remove:bsp-ti-6_1 = "gc320"
# ==========
# sane fallback defaults
# if specific values are not defined or bsp is set incorrectly

View File

@@ -0,0 +1,4 @@
IMAGE_INSTALL:append = " u-boot-ti-staging-falcon"
KERNEL_CLASSES:remove = "kernel-fitimage"
KERNEL_CLASSES += "kernel-fitimage-legacyhs"
FIT_KERNEL_COMP_ALG = "none"

View File

@@ -3,6 +3,11 @@
SOC_FAMILY = "ti-soc"
require conf/machine/include/soc-family.inc
# kernel, initrd load addresses for the fitImage in all TI platforms
UBOOT_ENTRYPOINT = "0x82000000"
UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
# TI platforms all use devicetrees with overlays
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-devicetree"
KERNEL_DTB_OVERLAY_SUPPORT ?= "1"

View File

@@ -0,0 +1,5 @@
inherit gitpkgv
PKGV = "${PV}${GITPKGV}"
UBOOT_VERSION = "${PKGV}-${PKGR}"

View File

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

View File

@@ -5,7 +5,7 @@ require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
inherit update-alternatives
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENCE.cnm;md5=93b67e6bac7f8fec22b96b8ad0a1a9d0"
LIC_FILES_CHKSUM = "file://LICENCE.cnm;md5=df3992006621b797e36de43f36336e36"
PV = "${CNM_WAVE521_FW_VERSION}"
PR = "${INC_PR}.1"

View File

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

View File

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

View File

@@ -1,39 +0,0 @@
DESCRIPTION = "Kernel drivers for the PowerVR Rogue GPU found in the TI SoCs"
HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-driver"
LICENSE = "MIT | GPL-2.0-only"
LIC_FILES_CHKSUM = "file://README;beginline=14;endline=19;md5=0403c7dea01a2b8232261e805325fac2"
inherit module
PROVIDES = "virtual/gpudriver"
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "j721e|j721s2|j784s4|am62xx|am62pxx|j722s"
DEPENDS = "virtual/kernel"
BRANCH = "linuxws/kirkstone/k6.1/${PV}"
SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-driver.git;protocol=https;branch=${BRANCH}"
S = "${WORKDIR}/git"
SRCREV = "c838bc06a163abad46dcc193c8fb9a4fb9e2e356"
TARGET_PRODUCT:j721e = "j721e_linux"
TARGET_PRODUCT:j721s2 = "j721s2_linux"
TARGET_PRODUCT:j784s4 = "j784s4_linux"
TARGET_PRODUCT:am62xx = "am62_linux"
TARGET_PRODUCT:am62pxx = "am62p_linux"
TARGET_PRODUCT:j722s = "j722s_linux"
PVR_BUILD = "release"
PVR_WS = "lws-generic"
EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" BUILD=${PVR_BUILD} PVR_BUILD_DIR=${TARGET_PRODUCT} WINDOW_SYSTEM=${PVR_WS}'
do_install() {
make -C ${STAGING_KERNEL_DIR} M=${B}/binary_${TARGET_PRODUCT}_${PVR_WS}_${PVR_BUILD}/target_aarch64/kbuild INSTALL_MOD_PATH=${D}${root_prefix} PREFIX=${STAGING_DIR_HOST} modules_install
}
RRECOMMENDS:${PN} += "ti-img-rogue-umlibs"

View File

@@ -1,4 +1,4 @@
DESCRIPTION = "Kernel drivers for the PowerVR Rogue GPU found in the TI SoCs"
SUMMARY = "Kernel drivers for the PowerVR Rogue GPU found in the TI SoCs"
HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-driver"
LICENSE = "MIT | GPL-2.0-only"
LIC_FILES_CHKSUM = "file://README;beginline=14;endline=19;md5=0403c7dea01a2b8232261e805325fac2"
@@ -19,7 +19,7 @@ SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-driver.git;protocol=https;
S = "${WORKDIR}/git"
SRCREV = "023eb5afde7e069bff1e5e37620b84a66b447936"
SRCREV = "8eaff654a8871118c08cfafe53795f57e3b6b396"
TARGET_PRODUCT:j721e = "j721e_linux"
TARGET_PRODUCT:j721s2 = "j721s2_linux"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -14,7 +14,7 @@ BRANCH = "scarthgap/k${PV}"
SRC_URI = "git://git.ti.com/git/multimedia/img-vxe-vxd.git;protocol=https;branch=${BRANCH}"
SRCREV = "99d063aa0ef53633057042570411b84bd967624b"
SRCREV = "038d9263c67900ea4eff631820b088a3dc3a6ad5"
TARGET_PRODUCT:j721e = "j721e_linux"

View File

@@ -13,16 +13,22 @@ 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.7"
TI_DM_FW_VERSION = "11.00.06"
TI_SYSFW_VERSION = "11.00.07"
CNM_WAVE521_FW_VERSION = "1.0.8"
TI_DM_FW_VERSION = "11.01.09"
TI_SYSFW_VERSION = "11.01.05"
TI_HSM_DEMO_FW_VERSION = "11.00.09"
TAD5212_FW_VERSION = "1.0.0.0"
TI_LINUX_FW_SRCREV ?= "1faf5974a93eb35ac31ed27e5693739edb08824c"
TI_LINUX_FW_SRCREV ?= "f59a711599249ecac75fea38b7a15ef9137d650d"
SRCREV = "${TI_LINUX_FW_SRCREV}"
BRANCH ?= "ti-linux-firmware"
SRC_URI = "git://git.ti.com/git/processor-firmware/ti-linux-firmware.git;protocol=https;branch=${BRANCH}"
TI_LINUX_FW_GIT_URI ?= "git://git.ti.com/git/processor-firmware/ti-linux-firmware.git"
TI_LINUX_FW_GIT_PROTOCOL ?= "https"
TI_LINUX_FW_GIT_BRANCH ?= "branch=${BRANCH}"
SRC_URI = "${TI_LINUX_FW_GIT_URI};protocol=${TI_LINUX_FW_GIT_PROTOCOL};${TI_LINUX_FW_GIT_BRANCH}"
S = "${WORKDIR}/git"
@@ -38,6 +44,9 @@ INHIBIT_SYSROOT_STRIP = "1"
# This is used to prevent the build system from splitting out the firmware debug info into a separate file
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
# Firmware here are prebuilt with no external dependencies
INHIBIT_DEFAULT_DEPS = "1"
# Disable arch checking as firmware is likely to be a different arch from the Yocto build
INSANE_SKIP:${PN} += "arch"

View File

@@ -7,8 +7,6 @@ COMPATIBLE_MACHINE = "k3"
PACKAGE_ARCH = "${MACHINE_ARCH}"
INHIBIT_DEFAULT_DEPS = "1"
inherit update-alternatives
PLAT_SFX = ""
@@ -22,9 +20,9 @@ PLAT_SFX:am65xx = "am65xx"
PLAT_SFX:am64xx = "am64xx"
PLAT_SFX:am62xx = "am62xx"
PLAT_SFX:am62axx = "am62axx"
PLAT_SFX:am62dxx = "am62dxx"
PLAT_SFX:am62pxx = "am62pxx"
FILESEXTRAPATHS:prepend := "${METATIBASE}/recipes-bsp/ti-sci-fw/files/:"
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
PV = "${CORESDK_RTOS_VERSION}"
@@ -37,20 +35,21 @@ IPC_FW_DIR = "ti-ipc/${PLAT_SFX}"
INSTALL_IPC_FW_DIR = "${nonarch_base_libdir}/firmware/${IPC_FW_DIR}"
MCU_1_0_FW = "ipc_echo_test_mcu1_0_release_strip.xer5f"
MCU_1_1_FW = "ipc_echo_test_mcu1_1_release_strip.xer5f"
MCU_2_0_FW = "ipc_echo_test_mcu2_0_release_strip.xer5f"
MCU_2_1_FW = "ipc_echo_test_mcu2_1_release_strip.xer5f"
MCU_3_0_FW = "ipc_echo_test_mcu3_0_release_strip.xer5f"
MCU_3_1_FW = "ipc_echo_test_mcu3_1_release_strip.xer5f"
MCU_4_0_FW = "ipc_echo_test_mcu4_0_release_strip.xer5f"
MCU_4_1_FW = "ipc_echo_test_mcu4_1_release_strip.xer5f"
C66_1_FW = "ipc_echo_test_c66xdsp_1_release_strip.xe66"
C66_2_FW = "ipc_echo_test_c66xdsp_2_release_strip.xe66"
C7X_1_FW = "ipc_echo_test_c7x_1_release_strip.xe71"
C7X_2_FW = "ipc_echo_test_c7x_2_release_strip.xe71"
C7X_3_FW = "ipc_echo_test_c7x_3_release_strip.xe71"
C7X_4_FW = "ipc_echo_test_c7x_4_release_strip.xe71"
MCU_1_0_FW = "ipc_echo_test_mcu1_0_release_strip.xer5f"
MCU_1_1_FW = "ipc_echo_test_mcu1_1_release_strip.xer5f"
MCU_2_0_FW = "ipc_echo_test_mcu2_0_release_strip.xer5f"
MCU_2_1_FW = "ipc_echo_test_mcu2_1_release_strip.xer5f"
MCU_3_0_FW = "ipc_echo_test_mcu3_0_release_strip.xer5f"
MCU_3_1_FW = "ipc_echo_test_mcu3_1_release_strip.xer5f"
MCU_4_0_FW = "ipc_echo_test_mcu4_0_release_strip.xer5f"
MCU_4_1_FW = "ipc_echo_test_mcu4_1_release_strip.xer5f"
C66_1_FW = "ipc_echo_test_c66xdsp_1_release_strip.xe66"
C66_2_FW = "ipc_echo_test_c66xdsp_2_release_strip.xe66"
C7X_1_FW = "ipc_echo_test_c7x_1_release_strip.xe71"
C7X_1_FW:am62axx = "dsp_edgeai_c7x_1_release_strip.out"
C7X_2_FW = "ipc_echo_test_c7x_2_release_strip.xe71"
C7X_3_FW = "ipc_echo_test_c7x_3_release_strip.xe71"
C7X_4_FW = "ipc_echo_test_c7x_4_release_strip.xe71"
IPC_FW_LIST = ""
IPC_FW_LIST:am65xx = "${MCU_1_0_FW} ${MCU_1_1_FW}"
@@ -58,6 +57,7 @@ IPC_FW_LIST:am64xx = "${MCU_1_0_FW} ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW} $
IPC_FW_LIST:am62xx = " ${MCU_2_0_FW}"
IPC_FW_LIST:am62pxx = " ${MCU_2_0_FW}"
IPC_FW_LIST:am62axx = " ${MCU_2_0_FW} ${C7X_1_FW}"
IPC_FW_LIST:am62dxx = " ${MCU_2_0_FW} ${C7X_1_FW}"
IPC_FW_LIST:j721e = " ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW} ${MCU_3_0_FW} ${MCU_3_1_FW} ${C66_1_FW} ${C66_2_FW} ${C7X_1_FW}"
IPC_FW_LIST:j7200 = " ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW}"
IPC_FW_LIST:j721s2 = " ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW} ${MCU_3_0_FW} ${MCU_3_1_FW} ${C7X_1_FW} ${C7X_2_FW}"
@@ -97,14 +97,22 @@ do_install:prepend:am62axx() {
)
}
# Update the am62dxx ipc binaries to be consistent with other platforms
do_install:prepend:am62dxx() {
( cd ${S}/${IPC_FW_DIR}; \
ln -sf ipc_rpmsg_echo.mcu-r5f0_0.release.strip.out ${MCU_2_0_FW}; \
ln -sf ipc_rpmsg_echo.c75ss0-0.release.strip.out ${C7X_1_FW}; \
)
}
do_install() {
# IPC Firmware
# Sign Firmware
for FW_NAME in ${IPC_FW_LIST}
do
${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ${S}/${IPC_FW_DIR}/${FW_NAME} ${S}/${IPC_FW_DIR}/${FW_NAME}.signed
done
# IPC Firmware
# Install Firmware
install -d ${D}${INSTALL_IPC_FW_DIR}
for FW_NAME in ${IPC_FW_LIST}
do
@@ -140,6 +148,11 @@ ALTERNATIVE:${PN}:am62axx = "\
am62a-c71_0-fw am62a-c71_0-fw-sec \
"
ALTERNATIVE:${PN}:am62dxx = "\
am62d-mcu-r5f0_0-fw am62d-mcu-r5f0_0-fw-sec \
am62d-c71_0-fw am62d-c71_0-fw-sec \
"
ALTERNATIVE:${PN}:j721e = "\
j7-mcu-r5f0_1-fw j7-mcu-r5f0_1-fw-sec \
j7-main-r5f0_0-fw j7-main-r5f0_0-fw-sec \
@@ -230,6 +243,11 @@ ALTERNATIVE_LINK_NAME[am62a-mcu-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmwar
ALTERNATIVE_LINK_NAME[am62a-c71_0-fw] = "${nonarch_base_libdir}/firmware/am62a-c71_0-fw"
ALTERNATIVE_LINK_NAME[am62a-c71_0-fw-sec] = "${nonarch_base_libdir}/firmware/am62a-c71_0-fw-sec"
ALTERNATIVE_LINK_NAME[am62d-mcu-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/am62d-mcu-r5f0_0-fw"
ALTERNATIVE_LINK_NAME[am62d-mcu-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/am62d-mcu-r5f0_0-fw-sec"
ALTERNATIVE_LINK_NAME[am62d-c71_0-fw] = "${nonarch_base_libdir}/firmware/am62d-c71_0-fw"
ALTERNATIVE_LINK_NAME[am62d-c71_0-fw-sec] = "${nonarch_base_libdir}/firmware/am62d-c71_0-fw-sec"
ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_1-fw] = "${nonarch_base_libdir}/firmware/j7-mcu-r5f0_1-fw"
ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_1-fw-sec] = "${nonarch_base_libdir}/firmware/j7-mcu-r5f0_1-fw-sec"
ALTERNATIVE_LINK_NAME[j7-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j7-main-r5f0_0-fw"
@@ -351,6 +369,11 @@ ALTERNATIVE_TARGET[am62a-mcu-r5f0_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_F
ALTERNATIVE_TARGET[am62a-c71_0-fw] = "${INSTALL_IPC_FW_DIR}/${C7X_1_FW}"
ALTERNATIVE_TARGET[am62a-c71_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C7X_1_FW}.signed"
ALTERNATIVE_TARGET[am62d-mcu-r5f0_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}"
ALTERNATIVE_TARGET[am62d-mcu-r5f0_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}.signed"
ALTERNATIVE_TARGET[am62d-c71_0-fw] = "${INSTALL_IPC_FW_DIR}/${C7X_1_FW}"
ALTERNATIVE_TARGET[am62d-c71_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C7X_1_FW}.signed"
ALTERNATIVE_TARGET[j7-mcu-r5f0_1-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_1_1_FW}"
ALTERNATIVE_TARGET[j7-mcu-r5f0_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_1_1_FW}.signed"
ALTERNATIVE_TARGET[j7-main-r5f0_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}"

View File

@@ -1,12 +1,19 @@
# NOTE: This .inc file with customizations only gets included for K3 platforms
PV = "2.12+git"
SRCREV_tfa = "2ae655f0f77a540c2b935780cccb1f150350f84f"
SRC_URI_TRUSTED_FIRMWARE_A = "git://github.com/TexasInstruments/arm-trusted-firmware.git;protocol=https"
SRCBRANCH = "ti-master"
PV = "2.13+git"
LIC_FILES_CHKSUM = "file://docs/license.rst;md5=6ed7bace7b0bc63021c6eba7b524039e"
SRCREV_tfa = "e0c4d3903b382bf34f552af53e6d955fae5283ab"
SRC_URI_TRUSTED_FIRMWARE_A = "git://git.trustedfirmware.org/TF-A/trusted-firmware-a.git;protocol=https"
SRCBRANCH = "master"
LIC_FILES_CHKSUM:am62lxx = "file://docs/license.rst;md5=1118e32884721c0be33267bd7ae11130"
SRCREV_tfa:am62lxx = "2191a4a9be6ecb2d2497ee4a62c5b7405ecdf4d3"
SRC_URI_TRUSTED_FIRMWARE_A:am62lxx = "git://github.com/TexasInstruments/arm-trusted-firmware.git;protocol=https"
SRCBRANCH:am62lxx = "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"
@@ -18,4 +25,7 @@ TFA_INSTALL_TARGET:am62lxx = "bl31 bl1"
TFA_SPD:am62lxx = ""
EXTRA_OEMAKE += "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}"
EXTRA_OEMAKE += "${@ 'BL32_BASE=' + d.getVar('TFA_K3_BL32_BASE') if d.getVar('TFA_K3_BL32_BASE') else ''}"
EXTRA_OEMAKE += "${@ 'PRELOADED_BL33_BASE=' + d.getVar('TFA_K3_PRELOADED_BL33') if d.getVar('TFA_K3_PRELOADED_BL33') else ''}"
EXTRA_OEMAKE += "${@ 'K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}"
EXTRA_OEMAKE:append:ti-falcon = " PRELOADED_BL33_BASE=0x82000000 K3_HW_CONFIG_BASE=0x88000000"

View File

@@ -2,8 +2,8 @@ require u-boot-ti.inc
SUMMARY = "Mainline U-Boot for TI devices"
PV = "2025.01"
PV = "2025.07"
UBOOT_GIT_URI = "git://source.denx.de/u-boot/u-boot.git"
SRCREV = "6d41f0a39d6423c8e57e92ebbe9f8c0333a63f72"
SRCREV = "e37de002fac3895e8d0b60ae2015e17bb33e2b5b"

View File

@@ -1,9 +0,0 @@
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-2023.04"
SRCREV = "0893e693e08f9fc864a6191051dccc818accf933"

View File

@@ -6,4 +6,4 @@ PR = "r0"
BRANCH = "ti-u-boot-2025.01"
SRCREV = "c8badfb165815c648052309418987f302e48aeef"
SRCREV = "3bcfad6cee95403f7f62dd9d871cc3ea948c0761"

View File

@@ -14,6 +14,8 @@ require u-boot-mergeconfig.inc
FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot:"
FILES:${PN}-falcon = "boot/tifalcon.bin"
SUMMARY = "u-boot bootloader for TI devices"
LICENSE = "GPL-2.0-or-later"
@@ -40,7 +42,13 @@ DEPENDS += "python3-pyelftools-native python3-pyyaml-native python3-jsonschema-n
DEPENDS:append:k3 = " ti-sci-fw"
DEPENDS:append:k3r5 = " ti-sci-fw"
# HSM Demo Firmware is only applicable for J721S2 & J784S4 devices
DEPENDS:append:j721s2 = " ti-hsm-demo-fw"
DEPENDS:append:j784s4 = " ti-hsm-demo-fw"
DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f"
DM_FIRMWARE:am62axx = "dm_edgeai_mcu1_0_release_strip.out"
DM_FIRMWARE:am62pxx = "${@oe.utils.conditional('DISPLAY_CLUSTER_ENABLE', '1', 'dss_display_share.wkup-r5f0_0.release.strip.out', 'ipc_echo_testb_mcu1_0_release_strip.xer5f', d)}"
PLAT_SFX = ""
PLAT_SFX:j721e = "j721e"
@@ -53,13 +61,14 @@ PLAT_SFX:am65xx = "am65xx"
PLAT_SFX:am64xx = "am64xx"
PLAT_SFX:am62xx = "am62xx"
PLAT_SFX:am62axx = "am62axx"
PLAT_SFX:am62dxx = "am62axx"
PLAT_SFX:am62lxx = "am62lxx"
PLAT_SFX:am62pxx = "am62pxx"
PACKAGECONFIG[ap-trusted-rom] = "BL1=${STAGING_DIR_HOST}/firmware/bl1.bin,,trusted-firmware-a"
PACKAGECONFIG[atf] = "BL31=${STAGING_DIR_HOST}/firmware/bl31.bin,,trusted-firmware-a"
PACKAGECONFIG[optee] = "TEE=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/bl32.bin,,optee-os"
PACKAGECONFIG[dm] = "DM=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/ti-dm/${PLAT_SFX}/${DM_FIRMWARE},,ti-dm-fw"
PACKAGECONFIG[dm] = "TI_DM=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/ti-dm/${PLAT_SFX}/${DM_FIRMWARE},,ti-dm-fw"
PACKAGECONFIG:append:aarch64 = " atf optee"
PACKAGECONFIG:append:j721e = " dm"
@@ -70,12 +79,13 @@ PACKAGECONFIG:append:j722s = " dm"
PACKAGECONFIG:append:j742s2 = " dm"
PACKAGECONFIG:append:am62xx = " dm"
PACKAGECONFIG:append:am62axx = " dm"
PACKAGECONFIG:append:am62dxx = " dm"
PACKAGECONFIG:append:am62lxx = " ap-trusted-rom"
PACKAGECONFIG:append:am62pxx = " dm"
COMPATIBLE_MACHINE = "(ti-soc)"
BINMAN_INDIRS="${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware"
BINMAN_INDIRS = "${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware"
EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS} BINMAN_INDIRS=${BINMAN_INDIRS}"
@@ -95,31 +105,31 @@ SYSROOT_DIRS += "/boot"
SPL_UART_BINARY = "u-boot-spl.bin"
SPL_UART_BINARY:k3r5 = ""
SPL_UART_IMAGE ?= "${SPL_UART_BINARY}-${MACHINE}-${PV}-${PR}"
SPL_UART_IMAGE ?= "${SPL_UART_BINARY}-${MACHINE}-${UBOOT_VERSION}"
SPL_UART_SYMLINK ?= "${SPL_UART_BINARY}-${MACHINE}"
SPL_HS_MLO_BINARY = "u-boot-spl_HS_MLO"
SPL_HS_MLO_IMAGE = "u-boot-spl_HS_MLO-${MACHINE}-${PV}-${PR}"
SPL_HS_MLO_IMAGE = "u-boot-spl_HS_MLO-${MACHINE}-${UBOOT_VERSION}"
SPL_HS_MLO_SYMLINK = "u-boot-spl_HS_MLO-${MACHINE}"
# HS XLD
UBOOT_HS_XLD_BINARY = "u-boot-spl_HS_X-LOADER"
UBOOT_HS_XLD_IMAGE = "u-boot-spl_HS_X-LOADER-${MACHINE}-${PV}-${PR}"
UBOOT_HS_XLD_IMAGE = "u-boot-spl_HS_X-LOADER-${MACHINE}-${UBOOT_VERSION}"
UBOOT_HS_XLD_SYMLINK = "u-boot-spl_HS_X-LOADER-${MACHINE}"
# HS MLO
UBOOT_HS_MLO_BINARY = "u-boot_HS_MLO"
UBOOT_HS_MLO_IMAGE = "u-boot_HS_MLO-${MACHINE}-${PV}-${PR}"
UBOOT_HS_MLO_IMAGE = "u-boot_HS_MLO-${MACHINE}-${UBOOT_VERSION}"
UBOOT_HS_MLO_SYMLINK = "u-boot_HS_MLO-${MACHINE}"
# HS ISSW
UBOOT_HS_ISSW_BINARY = "u-boot-spl_HS_ISSW"
UBOOT_HS_ISSW_IMAGE = "u-boot-spl_HS_ISSW-${MACHINE}-${PV}-${PR}"
UBOOT_HS_ISSW_IMAGE = "u-boot-spl_HS_ISSW-${MACHINE}-${UBOOT_VERSION}"
UBOOT_HS_ISSW_SYMLINK = "u-boot-spl_HS_ISSW-${MACHINE}"
# HS 2ND
UBOOT_HS_2ND_BINARY = "u-boot-spl_HS_2ND"
UBOOT_HS_2ND_IMAGE = "u-boot-spl_HS_2ND-${MACHINE}-${PV}-${PR}"
UBOOT_HS_2ND_IMAGE = "u-boot-spl_HS_2ND-${MACHINE}-${UBOOT_VERSION}"
UBOOT_HS_2ND_SYMLINK = "u-boot-spl_HS_2ND-${MACHINE}"
uboot_compile:append () {
@@ -207,24 +217,24 @@ do_deploy:append:k3r5 () {
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}*
rm -f ${DEPLOYDIR}/u-boot-initial-env-${MACHINE}-${UBOOT_VERSION}*
rm -f ${DEPLOYDIR}/${PN}-initial-env-${MACHINE}-${UBOOT_VERSION}*
}
uboot_deploy_config:append:k3r5 () {
for f in ${B}/${config}/tiboot3-*.bin; do
for f in ${B}/${config}/tiboot3-*.bin; do
if [ -f "$f" ]; then
f_base=$(basename $f)
f_base=$(basename $f)
install -m 644 $f ${DEPLOYDIR}/${f_base}-${type}
ln -sf ${f_base}-${type} ${DEPLOYDIR}/${f_base}
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)
f_base=$(basename $f)
install -m 644 $f ${DEPLOYDIR}/${f_base}-${type}
ln -sf ${f_base}-${type} ${DEPLOYDIR}/${f_base}
ln -sf ${f_base}-${type} ${DEPLOYDIR}/${f_base}
fi
done
}
@@ -353,24 +363,26 @@ uboot_deploy:append () {
fi
}
do_install:append:am62xx() {
install -d ${D}/boot
install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${D}/boot
}
do_deploy:append:am62xx() {
install -d ${DEPLOYDIR}
install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${DEPLOYDIR}
}
do_install:append:am62pxx() {
install -d ${D}/boot
install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${D}/boot
}
do_deploy:append:am62pxx() {
install -d ${DEPLOYDIR}
install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${DEPLOYDIR}
}
do_install:append:ti-falcon() {
install -m 0644 ${B}/tifalcon.bin ${D}/boot
}
FALCON_PKG = ""
FALCON_PKG:ti-falcon = "${PN}-falcon "
PACKAGES:prepend:am62xx-evm = "${FALCON_PKG} "
PACKAGES:prepend:am62axx-evm = "${FALCON_PKG} "
PACKAGES:prepend:am62pxx-evm = "${FALCON_PKG} "
PACKAGES:prepend:am62xx-lp-evm = "${FALCON_PKG} "
TOOLCHAIN = "gcc"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,64 +0,0 @@
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

@@ -1,128 +0,0 @@
From 1a894699354f5f984f31e5d3418b651edf486df9 Mon Sep 17 00:00:00 2001
From: Ryan Eatmon <reatmon@ti.com>
Date: Fri, 22 Sep 2023 22:32:41 -0500
Subject: [PATCH] fix: gallivm: limit usage of LLVMContextSetOpaquePointers()
to LLVM 15
LLVMContextSetOpaquePointers() was a temporary workaround offered to
allow transitioning to opaque pointers. Mesa is ready for this now with
recent versions of LLVM (16+). Therefore we limit the workaround of
using LLVMContextSetOpaquePointers() to LLVM 15 now, that this C
interface was removed in LLVM 17.
Reference: https://github.com/llvm/llvm-project/commit/1270879376025457e266572c7cccc51eb5de9276
Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21124]
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
src/gallium/auxiliary/draw/draw_llvm.c | 2 +-
src/gallium/drivers/llvmpipe/lp_context.c | 2 +-
src/gallium/drivers/llvmpipe/lp_test_arit.c | 2 +-
src/gallium/drivers/llvmpipe/lp_test_blend.c | 2 +-
src/gallium/drivers/llvmpipe/lp_test_conv.c | 2 +-
src/gallium/drivers/llvmpipe/lp_test_format.c | 4 ++--
src/gallium/drivers/llvmpipe/lp_test_printf.c | 2 +-
7 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/gallium/auxiliary/draw/draw_llvm.c b/src/gallium/auxiliary/draw/draw_llvm.c
index 50c157bc3cc..8b3a1522725 100644
--- a/src/gallium/auxiliary/draw/draw_llvm.c
+++ b/src/gallium/auxiliary/draw/draw_llvm.c
@@ -784,7 +784,7 @@ draw_llvm_create(struct draw_context *draw, LLVMContextRef context)
if (!llvm->context) {
llvm->context = LLVMContextCreate();
-#if LLVM_VERSION_MAJOR >= 15
+#if LLVM_VERSION_MAJOR == 15
LLVMContextSetOpaquePointers(llvm->context, false);
#endif
diff --git a/src/gallium/drivers/llvmpipe/lp_context.c b/src/gallium/drivers/llvmpipe/lp_context.c
index 8309335aebc..0ef4317fc76 100644
--- a/src/gallium/drivers/llvmpipe/lp_context.c
+++ b/src/gallium/drivers/llvmpipe/lp_context.c
@@ -263,7 +263,7 @@ llvmpipe_create_context(struct pipe_screen *screen, void *priv,
if (!llvmpipe->context)
goto fail;
-#if LLVM_VERSION_MAJOR >= 15
+#if LLVM_VERSION_MAJOR == 15
LLVMContextSetOpaquePointers(llvmpipe->context, false);
#endif
diff --git a/src/gallium/drivers/llvmpipe/lp_test_arit.c b/src/gallium/drivers/llvmpipe/lp_test_arit.c
index 4118928d52e..565b1c47753 100644
--- a/src/gallium/drivers/llvmpipe/lp_test_arit.c
+++ b/src/gallium/drivers/llvmpipe/lp_test_arit.c
@@ -434,7 +434,7 @@ test_unary(unsigned verbose, FILE *fp, const struct unary_test_t *test, unsigned
}
context = LLVMContextCreate();
-#if LLVM_VERSION_MAJOR >= 15
+#if LLVM_VERSION_MAJOR == 15
LLVMContextSetOpaquePointers(context, false);
#endif
gallivm = gallivm_create("test_module", context, NULL);
diff --git a/src/gallium/drivers/llvmpipe/lp_test_blend.c b/src/gallium/drivers/llvmpipe/lp_test_blend.c
index 37c3f731eaf..3d2899a78d4 100644
--- a/src/gallium/drivers/llvmpipe/lp_test_blend.c
+++ b/src/gallium/drivers/llvmpipe/lp_test_blend.c
@@ -452,7 +452,7 @@ test_one(unsigned verbose,
dump_blend_type(stdout, blend, type);
context = LLVMContextCreate();
-#if LLVM_VERSION_MAJOR >= 15
+#if LLVM_VERSION_MAJOR == 15
LLVMContextSetOpaquePointers(context, false);
#endif
gallivm = gallivm_create("test_module", context, NULL);
diff --git a/src/gallium/drivers/llvmpipe/lp_test_conv.c b/src/gallium/drivers/llvmpipe/lp_test_conv.c
index c7ea9efc12d..83236f0c0ba 100644
--- a/src/gallium/drivers/llvmpipe/lp_test_conv.c
+++ b/src/gallium/drivers/llvmpipe/lp_test_conv.c
@@ -223,7 +223,7 @@ test_one(unsigned verbose,
}
context = LLVMContextCreate();
-#if LLVM_VERSION_MAJOR >= 15
+#if LLVM_VERSION_MAJOR == 15
LLVMContextSetOpaquePointers(context, false);
#endif
gallivm = gallivm_create("test_module", context, NULL);
diff --git a/src/gallium/drivers/llvmpipe/lp_test_format.c b/src/gallium/drivers/llvmpipe/lp_test_format.c
index 0a2a1e449e8..89f7d5dec1a 100644
--- a/src/gallium/drivers/llvmpipe/lp_test_format.c
+++ b/src/gallium/drivers/llvmpipe/lp_test_format.c
@@ -150,7 +150,7 @@ test_format_float(unsigned verbose, FILE *fp,
unsigned i, j, k, l;
context = LLVMContextCreate();
-#if LLVM_VERSION_MAJOR >= 15
+#if LLVM_VERSION_MAJOR == 15
LLVMContextSetOpaquePointers(context, false);
#endif
gallivm = gallivm_create("test_module_float", context, NULL);
@@ -254,7 +254,7 @@ test_format_unorm8(unsigned verbose, FILE *fp,
unsigned i, j, k, l;
context = LLVMContextCreate();
-#if LLVM_VERSION_MAJOR >= 15
+#if LLVM_VERSION_MAJOR == 15
LLVMContextSetOpaquePointers(context, false);
#endif
gallivm = gallivm_create("test_module_unorm8", context, NULL);
diff --git a/src/gallium/drivers/llvmpipe/lp_test_printf.c b/src/gallium/drivers/llvmpipe/lp_test_printf.c
index b3de9cb9e8b..850c0abfe22 100644
--- a/src/gallium/drivers/llvmpipe/lp_test_printf.c
+++ b/src/gallium/drivers/llvmpipe/lp_test_printf.c
@@ -96,7 +96,7 @@ test_printf(unsigned verbose, FILE *fp,
boolean success = TRUE;
context = LLVMContextCreate();
-#if LLVM_VERSION_MAJOR >= 15
+#if LLVM_VERSION_MAJOR == 15
LLVMContextSetOpaquePointers(context, false);
#endif
gallivm = gallivm_create("test_module", context, NULL);
--
2.17.1

View File

@@ -1,43 +0,0 @@
From 8a5de0b6cf1090d7f29f3974ec79c32776cf2745 Mon Sep 17 00:00:00 2001
From: Jami Kettunen <jami.kettunen@protonmail.com>
Date: Tue, 31 Aug 2021 00:15:58 +0300
Subject: [PATCH] freedreno/pm4: Use unsigned instead of uint to fix musl build
Upstream-Status: Backport
Fixes the following error I noticed when building against aarch64 with
musl libc:
In file included from ../src/freedreno/decode/crashdec.h:38,
from ../src/freedreno/decode/crashdec.c:40:
../src/freedreno/common/freedreno_pm4.h:104:15: error: unknown type name 'uint'
104 | static inline uint
| ^~~~
../src/freedreno/common/freedreno_pm4.h:105:25: error: unknown type name 'uint'; did you mean 'int'?
105 | pm4_calc_odd_parity_bit(uint val)
| ^~~~
| int
Signed-off-by: Jami Kettunen <jami.kettunen@protonmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19665>
---
src/freedreno/common/freedreno_pm4.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/freedreno/common/freedreno_pm4.h b/src/freedreno/common/freedreno_pm4.h
index 8f958953d693..091247e709a0 100644
--- a/src/freedreno/common/freedreno_pm4.h
+++ b/src/freedreno/common/freedreno_pm4.h
@@ -105,8 +105,8 @@ pm4_pkt7_hdr(uint8_t opcode, uint16_t cnt)
#define cp_type3_opcode(pkt) (((pkt) >> 8) & 0xFF)
#define type3_pkt_size(pkt) ((((pkt) >> 16) & 0x3FFF) + 1)
-static inline uint
-pm4_calc_odd_parity_bit(uint val)
+static inline unsigned
+pm4_calc_odd_parity_bit(unsigned val)
{
return (0x9669 >> (0xf & ((val) ^ ((val) >> 4) ^ ((val) >> 8) ^
((val) >> 12) ^ ((val) >> 16) ^ ((val) >> 20) ^
--
2.39.2

View File

@@ -1,58 +0,0 @@
From 2dfe0f899aeb415a5491b8c67e208673d2a2914f Mon Sep 17 00:00:00 2001
From: Ryan Eatmon <reatmon@ti.com>
Date: Fri, 22 Sep 2023 21:50:08 -0500
Subject: [PATCH] gallium: Fix build with llvm 17
These headers are not available for C files in llvm 17+
and they seem to be not needed to compile after all with llvm 17
so add conditions to exclude them for llvm >= 17
Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21262]
Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22980]
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
src/gallium/auxiliary/gallivm/lp_bld_init.c | 8 ++++----
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 4 ++++
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_init.c b/src/gallium/auxiliary/gallivm/lp_bld_init.c
index 584ea738668..fe8bb2b11af 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_init.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_init.c
@@ -42,14 +42,14 @@
#include <llvm/Config/llvm-config.h>
#include <llvm-c/Analysis.h>
-#include <llvm-c/Transforms/Scalar.h>
-#if LLVM_VERSION_MAJOR >= 7
-#include <llvm-c/Transforms/Utils.h>
-#endif
#include <llvm-c/BitWriter.h>
#if GALLIVM_USE_NEW_PASS == 1
#include <llvm-c/Transforms/PassBuilder.h>
#elif GALLIVM_HAVE_CORO == 1
+#include <llvm-c/Transforms/Scalar.h>
+#if LLVM_VERSION_MAJOR >= 7
+#include <llvm-c/Transforms/Utils.h>
+#endif
#if LLVM_VERSION_MAJOR <= 8 && (defined(PIPE_ARCH_AARCH64) || defined (PIPE_ARCH_ARM) || defined(PIPE_ARCH_S390) || defined(PIPE_ARCH_MIPS64))
#include <llvm-c/Transforms/IPO.h>
#endif
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
index 2279e5acb28..0caeaf94263 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
@@ -56,7 +56,11 @@
#include <llvm-c/ExecutionEngine.h>
#include <llvm/Target/TargetOptions.h>
#include <llvm/ExecutionEngine/ExecutionEngine.h>
+#if LLVM_VERSION_MAJOR >= 17
+#include <llvm/TargetParser/Triple.h>
+#else
#include <llvm/ADT/Triple.h>
+#endif
#include <llvm/Analysis/TargetLibraryInfo.h>
#include <llvm/ExecutionEngine/SectionMemoryManager.h>
#include <llvm/Support/CommandLine.h>
--
2.17.1

View File

@@ -1,52 +0,0 @@
From 6c5033bb01a3a1341d4db5007586a5f2e2727b0a Mon Sep 17 00:00:00 2001
From: Ryan Eatmon <reatmon@ti.com>
Date: Mon, 4 Nov 2024 13:37:29 -0600
Subject: [PATCH] gallium: Fix build with llvm 18 and 19
- CodeGenOpt::Level changed to CodeGenOoptLevel. [1]
- llvm::sys::getHostCPUFeatures() now returns the features instead of
modifying the passed in argument. [2]
Upstream-Status: Backport [1][https://gitlab.freedesktop.org/mesa/mesa/-/commit/f79617fe804ea6524651ff1bc3a91098d3199179]
Upstream-Status: Backport [2][https://gitlab.freedesktop.org/mesa/mesa/-/commit/fa9cd89a85b904615ebc11da609445b5b751e68d]
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
index 5e7a30a6cc2..dbc777e3096 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
@@ -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

View File

@@ -1,64 +0,0 @@
From 25946100e21cf2095bea334e8d7096798561d0b7 Mon Sep 17 00:00:00 2001
From: Vincent Davis Jr <vince@underview.tech>
Date: Wed, 28 Dec 2022 16:28:01 -0600
Subject: [PATCH] gbm/backend: fix gbm compile without dri
Upstream-Status: Backport
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20447
https://gitlab.freedesktop.org/mesa/mesa/-/commit/842ca284650f066e58706741a7d22d67b5088e60
At mesa version 22.2.3 patch wasn't introduced until after.
Commit introduces a fix that allows for gbm to be built with an empty
backend. There are situation especially in a Yocto/OE cross compilation
environment where you want to build with an empty backend. The particular
situation is as such:
The mesa-gl recipe is the preferred provider for virtual/libgbm, virtual/libgl,
virtual/mesa, etc... But the x11 DISTRO_FEATURE in't included this leads to build
errors such as:
| /../../../ld: src/gbm/libgbm.so.1.0.0.p/main_backend.c.o: in function `find_backend':
| backend.c:(.text.find_backend+0xa4): undefined reference to `gbm_dri_backend'
| /../../../ld: src/gbm/libgbm.so.1.0.0.p/main_backend.c.o:(.data.rel.ro.builtin_backends+0x4):
undefined reference to `gbm_dri_backend'
| collect2: error: ld returned 1 exit status
Issue should be replicable by setting -Ddri3=disabled and -Dgbm=enabled
Add fix to bypasses compilation issue by excluding gbm dri backend. If
HAVE_DRI || HAVE_DRIX not specified.
Acked-by: David Heidelberg <david.heidelberg@collabora.com>
Signed-off-by: Vincent Davis Jr <vince@underview.tech>
---
src/gbm/main/backend.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/gbm/main/backend.c b/src/gbm/main/backend.c
index 974d0a76a4e..feee0703495 100644
--- a/src/gbm/main/backend.c
+++ b/src/gbm/main/backend.c
@@ -42,7 +42,9 @@
#define ARRAY_SIZE(a) (sizeof(a)/sizeof((a)[0]))
#define VER_MIN(a, b) ((a) < (b) ? (a) : (b))
+#if defined(HAVE_DRI) || defined(HAVE_DRI2) || defined(HAVE_DRI3)
extern const struct gbm_backend gbm_dri_backend;
+#endif
struct gbm_backend_desc {
const char *name;
@@ -51,7 +53,9 @@ struct gbm_backend_desc {
};
static const struct gbm_backend_desc builtin_backends[] = {
+#if defined(HAVE_DRI) || defined(HAVE_DRI2) || defined(HAVE_DRI3)
{ "dri", &gbm_dri_backend },
+#endif
};
#define BACKEND_LIB_SUFFIX "_gbm"
--
2.34.1

View File

@@ -1,25 +0,0 @@
From 3ef37c63f03ad6f2af407de350486fdd25e9132a Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 13 Jan 2020 15:23:47 -0800
Subject: [PATCH] meson misdetects 64bit atomics on mips/clang
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
src/util/u_atomic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/util/u_atomic.c b/src/util/u_atomic.c
index 5a5eab4..e499516 100644
--- a/src/util/u_atomic.c
+++ b/src/util/u_atomic.c
@@ -21,7 +21,7 @@
* IN THE SOFTWARE.
*/
-#if defined(MISSING_64BIT_ATOMICS) && defined(HAVE_PTHREAD)
+#if !defined(__clang__) && defined(MISSING_64BIT_ATOMICS) && defined(HAVE_PTHREAD)
#include <stdint.h>
#include <pthread.h>

View File

@@ -1,43 +0,0 @@
From 3b4d6b89f644b43e507c08181fef06db4326f9da Mon Sep 17 00:00:00 2001
From: Alistair Francis <alistair@alistair23.me>
Date: Thu, 14 Nov 2019 13:04:49 -0800
Subject: [PATCH] meson.build: check for all linux host_os combinations
Make sure that we are also looking for our host_os combinations like
linux-musl etc. when assuming support for DRM/KMS.
Also delete a duplicate line.
Upstream-Status: Pending
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Alistair Francis <alistair@alistair23.me>
---
meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meson.build b/meson.build
index 172c64a..9b5294c 100644
--- a/meson.build
+++ b/meson.build
@@ -173,7 +173,7 @@ with_any_opengl = with_opengl or with_gles1 or with_gles2
# Only build shared_glapi if at least one OpenGL API is enabled
with_shared_glapi = with_shared_glapi and with_any_opengl
-system_has_kms_drm = ['openbsd', 'netbsd', 'freebsd', 'gnu/kfreebsd', 'dragonfly', 'linux', 'sunos', 'android'].contains(host_machine.system())
+system_has_kms_drm = ['openbsd', 'netbsd', 'freebsd', 'gnu/kfreebsd', 'dragonfly', 'linux', 'sunos', 'android'].contains(host_machine.system()) or host_machine.system().startswith('linux')
with_freedreno_kgsl = get_option('freedreno-kgsl')
if with_freedreno_kgsl
@@ -1076,7 +1076,7 @@ if cc.has_function('reallocarray')
endif
# TODO: this is very incomplete
-if ['linux', 'cygwin', 'gnu', 'freebsd', 'gnu/kfreebsd', 'haiku', 'android'].contains(host_machine.system())
+if ['linux', 'cygwin', 'gnu', 'freebsd', 'gnu/kfreebsd', 'haiku'].contains(host_machine.system()) or host_machine.system().startswith('linux')
pre_args += '-D_GNU_SOURCE'
elif host_machine.system() == 'sunos'
pre_args += '-D__EXTENSIONS__'

View File

@@ -1,47 +0,0 @@
From f17e836ef9b1bbc6056790596420b699e48128c2 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 2 Dec 2021 19:57:42 -0800
Subject: [PATCH] util/format: Check for NEON before using it
This fixes build on rpi0-w and any other machine which does not have
neon unit and is not used as FPU unit
Fixes errors e.g.
In file included from ../mesa-21.3.0/src/util/format/u_format_unpack_neon.c:35:
/mnt/b/yoe/master/build/tmp/work/arm1176jzfshf-vfp-yoe-linux-gnueabi/mesa/2_21.3.0-r0/recipe-sysroot-native/usr/lib/clang/13.0.1/include/arm_neon.h:32:2: error: "NEON support not enabled"
Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14032]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
src/util/format/u_format.c | 2 +-
src/util/format/u_format_unpack_neon.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/util/format/u_format.c b/src/util/format/u_format.c
index c071250..0880984 100644
--- a/src/util/format/u_format.c
+++ b/src/util/format/u_format.c
@@ -1184,7 +1184,7 @@ static void
util_format_unpack_table_init(void)
{
for (enum pipe_format format = PIPE_FORMAT_NONE; format < PIPE_FORMAT_COUNT; format++) {
-#if (defined(PIPE_ARCH_AARCH64) || defined(PIPE_ARCH_ARM)) && !defined(NO_FORMAT_ASM) && !defined(__SOFTFP__)
+#if (defined(PIPE_ARCH_AARCH64) || (defined(__ARM_NEON) && defined(PIPE_ARCH_ARM))) && !defined(NO_FORMAT_ASM)
const struct util_format_unpack_description *unpack = util_format_unpack_description_neon(format);
if (unpack) {
util_format_unpack_table[format] = unpack;
diff --git a/src/util/format/u_format_unpack_neon.c b/src/util/format/u_format_unpack_neon.c
index a4a5cb1..1e4f794 100644
--- a/src/util/format/u_format_unpack_neon.c
+++ b/src/util/format/u_format_unpack_neon.c
@@ -23,7 +23,7 @@
#include <u_format.h>
-#if (defined(PIPE_ARCH_AARCH64) || defined(PIPE_ARCH_ARM)) && !defined(NO_FORMAT_ASM) && !defined(__SOFTFP__)
+#if (defined(PIPE_ARCH_AARCH64) || (defined(__ARM_NEON) && defined(PIPE_ARCH_ARM))) && !defined(NO_FORMAT_ASM)
/* armhf builds default to vfp, not neon, and refuses to compile neon intrinsics
* unless you tell it "no really".

View File

@@ -1,62 +0,0 @@
# PowerVR Graphics require several patches that have not made their way
# upstream yet. This allows us to build the shims we need without completely
# clobbering mesa.
require recipes-graphics/mesa/mesa.inc
SUMMARY += " (with PowerVR support for TI platforms)"
LIC_FILES_CHKSUM = "file://docs/license.rst;md5=63779ec98d78d823a9dc533a0735ef10"
BRANCH = "powervr/kirkstone/${PV}"
SRC_URI = " \
git://gitlab.freedesktop.org/StaticRocket/mesa.git;protocol=https;branch=${BRANCH} \
file://0001-meson.build-check-for-all-linux-host_os-combinations.patch \
file://0001-meson-misdetects-64bit-atomics-on-mips-clang.patch \
file://0001-util-format-Check-for-NEON-before-using-it.patch \
file://0001-gbm-backend-fix-gbm-compile-without-dri.patch \
file://0001-freedreno-pm4-Use-unsigned-instead-of-uint-to-fix-mu.patch \
file://0001-gallium-Fix-build-with-llvm-17.patch \
file://0001-fix-gallivm-limit-usage-of-LLVMContextSetOpaquePoint.patch \
file://0001-fix-gallivm-fix-LLVM-include-of-Host-h-moved-to-TargetParser.patch \
file://0001-gallium-Fix-build-with-llvm-18-and-19.patch \
"
S = "${WORKDIR}/git"
PACKAGECONFIG:append = " \
${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver', 'pvr', '', d)} \
${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-sgx-ddk-km', 'sgx', '', d)} \
"
SRCREV = "c9f0919367589b38f5682183846de9d60eec082d"
PV = "22.3.5"
PVR_DISPLAY_CONTROLLER_ALIAS ??= "tidss"
PACKAGECONFIG[pvr] = "-Dgallium-pvr-alias=${PVR_DISPLAY_CONTROLLER_ALIAS},"
PACKAGECONFIG[sgx] = "-Dgallium-sgx-alias=${PVR_DISPLAY_CONTROLLER_ALIAS},"
PACKAGECONFIG:remove = "video-codecs"
PACKAGECONFIG[video-codecs] = ""
PACKAGECONFIG:remove = "elf-tls"
PACKAGECONFIG[elf-tls] = ""
PACKAGECONFIG:remove = "xvmc"
PACKAGECONFIG[xvmc] = ""
PACKAGE_ARCH = "${MACHINE_ARCH}"
GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'pvr', ',pvr', '', d)}"
GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'sgx', ',sgx', '', d)}"
VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'pvr', ',pvr', '', d)}"
do_install:append () {
# remove pvr custom pkgconfig
rm -rf ${D}${datadir}/pkgconfig
}
FILES:${PN}-dev += "${datadir}/mesa/wayland-drm.xml"
FILES:mesa-vulkan-drivers += "${libdir}/libpvr_mesa_wsi.so"
RRECOMMENDS:mesa-megadriver:append:class-target = " ${@d.getVar('PREFERRED_PROVIDER_virtual/gpudriver')}"

View File

@@ -4,7 +4,7 @@
require recipes-graphics/mesa/mesa.inc
SUMMARY += " (with PowerVR support for TI platforms)"
SUMMARY += " (with PowerVR for TI parts)"
LIC_FILES_CHKSUM = "file://docs/license.rst;md5=63779ec98d78d823a9dc533a0735ef10"

View File

@@ -1,147 +0,0 @@
DESCRIPTION = "Userspace libraries for PowerVR Rogue GPU on TI SoCs"
HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-umlibs"
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f"
inherit bin_package
INHIBIT_DEFAULT_DEPS = ""
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "j721e|j721s2|j784s4|am62xx|am62pxx|j722s"
PR = "r3"
BRANCH = "linuxws/kirkstone/k6.1/${PV}"
SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-umlibs.git;protocol=https;branch=${BRANCH}"
SRCREV = "0b9e64254269be2fa95c4f3e1dd925d6e4d58199"
S = "${WORKDIR}/git/targetfs/${TARGET_PRODUCT}/${PVR_WS}/${PVR_BUILD}"
TARGET_PRODUCT:j721e = "j721e_linux"
TARGET_PRODUCT:j721s2 = "j721s2_linux"
TARGET_PRODUCT:j784s4 = "j784s4_linux"
TARGET_PRODUCT:am62xx = "am62_linux"
TARGET_PRODUCT:am62pxx = "am62p_linux"
TARGET_PRODUCT:j722s = "j722s_linux"
PVR_BUILD = "release"
PVR_WS = "lws-generic"
RDEPENDS:${PN} = " \
libdrm \
ti-img-rogue-driver \
${PN}-firmware \
"
PACKAGECONFIG ?= " \
${@bb.utils.contains('DISTRO_FEATURES', 'vulkan wayland', 'vulkan', '', d)} \
${@bb.utils.filter('DISTRO_FEATURES', 'opengl opencl', d)} \
"
PACKAGECONFIG[opengl] = ",,,,${GLES_PACKAGES}"
PACKAGECONFIG[vulkan] = ",,,,${VULKAN_PACKAGES}"
PACKAGECONFIG[opencl] = ",,,,${OPENCL_PACKAGES}"
def get_file_list(package_list_var, d):
file_list = []
package_list = d.getVar(package_list_var)
prefix = f"{d.getVar('D')}/"
if package_list:
for package in package_list.split():
package_file_string = d.getVar(f"FILES:{package}")
if package_file_string:
for package_file in package_file_string.split():
file_list.append(f"{prefix}{package_file}")
return " ".join(file_list)
do_install:append() {
if ${@bb.utils.contains('PACKAGECONFIG', 'opengl', 'false', 'true', d)}; then
for file in ${@get_file_list('GLES_PACKAGES', d)}; do
rm -rf ${file}
done
fi
if ${@bb.utils.contains('PACKAGECONFIG', 'vulkan', 'false', 'true', d)}; then
for file in ${@get_file_list('VULKAN_PACKAGES', d)}; do
rm -rf ${file}
done
fi
if ${@bb.utils.contains('PACKAGECONFIG', 'opencl', 'false', 'true', d)}; then
for file in ${@get_file_list('OPENCL_PACKAGES', d)}; do
rm -rf ${file}
done
fi
if ${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', 'true', 'false', d)}; then
if [ -e ${D}/lib/firmware ]; then
mv ${D}/lib/firmware ${D}${nonarch_base_libdir}
fi
fi
# clean up any empty directories
find "${D}" -empty -type d -delete
}
GLES_PACKAGES = "libgles1-rogue libgles2-rogue libgles3-rogue"
VULKAN_PACKAGES = "libvk-rogue"
OPENCL_PACKAGES = "libopencl-rogue libopencl-rogue-tools"
PACKAGES = " \
${@bb.utils.contains('PACKAGECONFIG', 'opengl', d.getVar('GLES_PACKAGES'), '', d)} \
${@bb.utils.contains('PACKAGECONFIG', 'vulkan', d.getVar('VULKAN_PACKAGES'), '', d)} \
${@bb.utils.contains('PACKAGECONFIG', 'opencl', d.getVar('OPENCL_PACKAGES'), '', d)} \
${PN}-tools \
${PN}-firmware \
${PN} \
"
# Inject variables so that packages don't get Debian-renamed (which would
# remove the -rogue suffix), but don't RPROVIDEs/RCONFLICTs on the generic
# libgl name to prevent colliding with swrast libs
python __anonymous() {
suffix = ""
if "-native" in d.getVar("PN"):
suffix = "-native"
for p in (("vulkan", "libvk",),
("gles", "libgles1", "libglesv1-cm1"),
("gles", "libgles2", "libglesv2-2"),
("gles", "libgles3",),
("opencl", "libopencl",)):
mlprefix = d.getVar("MLPREFIX")
fullp = mlprefix + p[1] + "-rogue" + suffix
mlprefix = d.getVar("MLPREFIX")
pkgs = " " + " ".join(mlprefix + x + suffix for x in p[1:])
d.setVar("DEBIAN_NOAUTONAME:" + fullp, "1")
d.setVar("INSANE_SKIP:" + fullp, "dev-so ldflags")
d.appendVar("RRECOMMENDS:" + fullp, " ${MLPREFIX}ti-img-rogue-umlibs" + suffix)
}
# gles specific shared objects
FILES:libgles1-rogue = "${libdir}/libGLESv1*.so*"
FILES:libgles2-rogue = "${libdir}/libGLESv2*.so*"
RDEPENDS:libgles1-rogue += "mesa-megadriver"
RDEPENDS:libgles2-rogue += "mesa-megadriver"
# vulkan specific shared objects and configs
FILES:libvk-rogue = "${libdir}/libVK_IMG.so* ${datadir}/vulkan"
RDEPENDS:libvk-rogue += "vulkan-loader wayland libdrm"
# opencl specific shared objects and configs
FILES:libopencl-rogue = "${libdir}/libPVROCL.so* ${sysconfdir}/OpenCL"
RDEPENDS:libopencl-rogue += "opencl-icd-loader"
RRECOMMENDS:libopencl-rogue += "libopencl-rogue-tools"
FILES:libopencl-rogue-tools += "${bindir}/ocl*"
DEBIAN_NOAUTONAME:libopencl-rogue-tools = "1"
INSANE_SKIP:libopencl-rogue-tools = "ldflags"
# optional tools and tests
FILES:${PN}-tools = "${bindir}/"
RDEPENDS:${PN}-tools = "python3-core ${PN}"
INSANE_SKIP:${PN}-tools = "ldflags"
# required firmware
FILES:${PN}-firmware = "${base_libdir}/firmware/*"
INSANE_SKIP:${PN}-firmware += "arch"
RRECOMMENDS:${PN} += " \
${PN}-tools \
"
INSANE_SKIP:${PN} += "already-stripped dev-so ldflags"

View File

@@ -1,4 +1,4 @@
DESCRIPTION = "Userspace libraries for PowerVR Rogue GPU on TI SoCs"
SUMMARY = "Userspace libraries for PowerVR Rogue GPU on TI SoCs"
HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-umlibs"
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f"

View File

@@ -1,4 +1,4 @@
DESCRIPTION = "Userspace libraries for PowerVR SGX chipset on TI SoCs"
SUMMARY = "Userspace libraries for PowerVR SGX chipset on TI SoCs"
HOMEPAGE = "https://git.ti.com/graphics/omap5-sgx-ddk-um-linux"
LICENSE = "TI-TSPA"
LIC_FILES_CHKSUM = "file://LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f"
@@ -17,14 +17,23 @@ SRCREV = "84a396a4fb379f10931421e489ac8a199d6a9f2c"
INITSCRIPT_NAME = "rc.pvr"
INITSCRIPT_PARAMS = "defaults 8"
SYSTEMD_SERVICE:${PN} = "pvrsrvctl.service"
# Prefer udev rules over everything, but we do have init services if necessary
PACKAGECONFIG ??= "udev"
PACKAGECONFIG[udev] = "UDEV=true,,,udev"
PACKAGECONFIG[udev] = "UDEV=true,UDEV=false,,udev,,sysvinit systemd"
PACKAGECONFIG[systemd] = "SYSTEMD=true,SYSTEMD=false,,,,udev sysvinit"
PACKAGECONFIG[sysvinit] = ",,,,,udev systemd"
def use_sysvinit(d):
return d.getVar('VIRTUAL-RUNTIME_init_manager') == 'sysvinit'
def pick_init(d):
packageconfig = d.getVar('PACKAGECONFIG').split()
if 'udev' not in packageconfig:
if d.getVar('VIRTUAL-RUNTIME_init_manager') == 'sysvinit':
return "update-rc.d"
return "systemd"
return ""
inherit ${@oe.utils.ifelse(use_sysvinit(d), 'update-rc.d', '')}
inherit ${@pick_init(d)}
TARGET_PRODUCT:ti33x = "ti335x_linux"
TARGET_PRODUCT:ti43x = "ti437x_linux"
@@ -39,6 +48,8 @@ S = "${WORKDIR}/git"
EXTRA_OEMAKE += "DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT} ${PACKAGECONFIG_CONFARGS}"
do_configure[noexec] = "1"
do_compile[noexec] = "1"
do_install() {
oe_runmake install
}

View File

@@ -1,2 +0,0 @@
use-kernel-config=multi_v7_defconfig
config-fragment=kernel/configs/ti_multi_v7_prune.config

View File

@@ -1,2 +0,0 @@
use-kernel-config=defconfig
config-fragment=kernel/configs/ti_arm64_prune.config

View File

@@ -1 +0,0 @@
use-kernel-config=davinci_all_defconfig

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