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

Compare commits

..

458 Commits

Author SHA1 Message Date
LCPD Automation Script
6f50a74c52 CI/CD Auto-Merger: cicd.master.202601091234
Updated the value(s) for:
  u-boot-ti-staging_2026.01: SRCREV_uboot
  linux-ti-staging_6.18: PV,SRCREV

Changelogs:
  u-boot-ti-staging_2026.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=c5e6d2ab7eba68cbfb600cdc131c0c375ced2ec9..127a42c7257a6ffbbd1575ed1cbaa8f5408a44b3
  linux-ti-staging_6.18: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=75433f843c99d1ab544808749a46a6e2f0151a56..2d64b9f10d1d9e7cbd041d613b40222c11291f14

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2026-01-09 12:34:58 -06:00
LCPD Automation Script
3b7aad2f15 CI/CD Auto-Merger: cicd.master.202601090100
Updated the value(s) for:
  atf: SRCREV_tfa:am62lxx

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2026-01-09 01:00:43 -06:00
LCPD Automation Script
61fa7d2a15 CI/CD Auto-Merger: cicd.master.202601050100
Updated the value(s) for:
  u-boot-ti-staging_2025.01: SRCREV_uboot
  linux-ti-staging-rt_6.12: SRCREV_ARM32
  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=afb6e41006ca88067397873e015a21adaf31fd06..df1fe238230433ba3e5b731356156e145aa90917
  linux-ti-staging-rt_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=2a440e3d83789c8220b722e077255a89d826e48a..1379a8eb9786e78509f67ff8eac658bde5ddc66d
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=ee0a0f44964f12d6668a14b4b0b3594ce2ab8871..15b58b1dcd0e0a79d83740b81da1a1367f6f3f68

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2026-01-05 01:00:36 -06:00
LCPD Automation Script
8050c16e48 CI/CD Auto-Merger: cicd.master.202512191404
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV
  atf: SRCREV_tfa:am62lxx
  u-boot-ti-staging_2025.01: SRCREV_uboot
  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=b5f45f14e23b927f3ab1f4e00c58eacb47b01d31..8ec0c42b8ccf2c9e8bebfd7c4e03d93fed555442
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=3f3051bacd384bf331193070c29053d781296ab0..afb6e41006ca88067397873e015a21adaf31fd06
  k3conf: https://git.ti.com/cgit/k3conf/k3conf/log/?qt=range&q=cba7dc13a39191ac18bf64fccbba429faff112b4..4e3a44c4b961831f2de80606942dd0d8eb508eca
  linux-ti-staging-rt_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=1db5d0126012c7a0b82eff330f9f8a68b3d10f19..2a440e3d83789c8220b722e077255a89d826e48a
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=2d5f05489a39201c2fcf95d2dc04af57b6f7f356..ee0a0f44964f12d6668a14b4b0b3594ce2ab8871

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-12-19 14:05:06 -06:00
Judith Mendez
1d045003d8 trusted-firmware-a: am62l: Update to latest ti-master
Update to latest ti-master commit which includes support for
BeagleBadge.

Signed-off-by: Judith Mendez <jm@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-12-19 12:27:03 -06:00
Judith Mendez
05d73bf19f beaglebadge-ti: Add support for BeagleBadge
Add support for the BeagleBadge which is an AM62L
based device that requires new build configuration
for U-Boot and TF-A sources.

Signed-off-by: Judith Mendez <jm@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-12-19 12:27:03 -06:00
Ryan Eatmon
26f5767fd2 u-boot: Update trusted-firmware-a locations
A recent change in meta-arm installs all of files into a
trusted-firmware-a directory.  We need that added to the paths for the
PACKAGECONFIG settings so that u-boot can compile.

Take this opportunity to also break all of the firmware paths into
separate variables in case we need to override one of them in the future.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-12-19 09:57:39 -06:00
Ryan Eatmon
d42f338a0a gdbserverproxy-module-drv: Add support for kernel 6.15+
Add a patch to support a kernel change in 6.15:

- removed del_timer() in favor of timer_delete().

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-12-19 09:57:39 -06:00
Ryan Eatmon
48de7dc6a4 am62xxsip-evm: Update for 6.18 and 2026.01
The name of the u-boot defconfig changed when it was upstreamed into
2026.01, and the name of the dtb changed to k3-am6254atl-sk.dtb in the
kernel.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-12-19 09:57:39 -06:00
Ryan Eatmon
8267e14677 ti-bsp: Add ti-6_18 for LTS development
Add entries for ti-6_18 for the upcoming LTS development effort.  This
includes:

kernel: 6.18
u-boot: 2026.01

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-12-19 09:57:39 -06:00
Ryan Eatmon
413cb96496 u-boot-ti-staging: Add initial 2026.01 recipe for LTS development
Add then initial recipe needed for 6.18 development.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-12-19 09:57:39 -06:00
Ryan Eatmon
ff8d85e8a4 linux-ti-staging: Add initial 6.18 recipes for LTS development
Add all of the initial recipes/files needed for 6.18 development.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-12-19 09:57:39 -06:00
Andrew Davis
010c6a4336 meta-ti/all: Merge omap-a15.inc into am57xx.inc
As am57xx.inc is now the only user of omap-a15.inc, merge the content of
omap-a15.inc into am57xx.inc and remove omap-a15.inc. As we no longer have
this common include, also remove "omap-a15" and use "am57xx" in its place.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-12-19 09:57:39 -06:00
Andrew Davis
3a9e75ebba meta-ti/all: Make DRA7xx support a subset of AM57xx support
As AM57xx already defined both "dra7xx" and "am57xx" as SOC_FAMILY the
AM57xx was effectively a superset MACHINE. Although not all features of
AM57xx are needed for DRA7xx, make DRA7xx-EVM use the AM57xx definition.
This allows us to still support DRA7xx as the only differences that
impact device function are the selection of U-Boot defconfig, DTBs, and
OPTEE, all handled by the MACHINE conf file which is left unchanged.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-12-19 09:57:39 -06:00
Andrew Davis
534edb03e5 linux-bb.org: Remove unused EXTRA_DTC_ARGS from kernel args
This is no longer used anywhere, drop it out.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-12-19 09:57:39 -06:00
Andrew Davis
27c220e87c linux-ti-staging: Remove unused EXTRA_DTC_ARGS from kernel args
This is no longer used anywhere, drop it out.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-12-19 09:57:39 -06:00
Andrew Davis
6c8b8fe015 k3r5: Remove per-board SYSFW_ variables
These were used back when each board had to select the correct tiboot3.bin
to become the default for that board's image. Two things have changed since
then, first we deploy all options for tiboot3.bin generated by U-Boot. And
second, U-Boot's binman tool now symlinks the most appropriate version of
this file for us for the selected U-Boot defconfig file.

These are no longer needed so drop them.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-12-19 09:57:39 -06:00
Andrew Davis
32e30bef7a k3r5: Use UBOOT_BINARY for R5 U-Boot Image
As R5 only builds one working image (tiboot3.bin), define this as the
"UBOOT_BINARY", even though it was technically build using the SPL build
pass in U-Boot. This allows some simplification and removes deploying of
a dummy file (u-boot-spl.bin) which is not a usable boot file. It was only
deployed as UBOOT_BINARY is not optional and so something needed to be set
here.

BeagleBone-AI64 already did something similar to this so the overrides
in that MACHINE conf can now be removed.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-12-19 09:57:39 -06:00
Andrew Davis
65ee7c49c8 u-boot: Remove defaults for UBOOT_SUFFIX and SPL_BINARY
These were set to the defaults we would expect from OMAP class U-Boot,
but as all board families set these including the OMAP class MACHINEs
we can remove these defaults. This helps in the cases that we do not
want to define one of these, such as SPL_BINARY in the case of OMAP-L138
which does not use SPL.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-12-19 09:57:39 -06:00
Andrew Davis
d29a9cc06f conf: machine: Remove remaining K3 HS machines
Every MACHINE build deploys a tiboot3.bin file for all three K3 security
types (GP, HS-FS, HS-SE). These extra MACHINE configs existed to select
a different default. As U-Boot now selects a default for us this logic
does not need to exist here. Instead if one wants to use a non-default
security type for an EVM then can simply rename the tiboot3.bin file in
the boot partition. Testing automation already handles this and Sitara-
family devices have dropped the dedicated MACHINE configs, do the same
for Jacinto-family devices.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-12-19 09:57:39 -06:00
Moteen Shah
3073bf9e29 am62axx.inc: Add TPS6594 regulator and core modules to initramfs image
Add TPS6594 core and regulator driver modules in the initramfs image so
that the SD card can be probed for am62axx as it is dependent on regulator
to get the SD card probing and eventually boot from it.

Signed-off-by: Moteen Shah <m-shah@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-12-19 09:57:39 -06:00
LCPD Automation Script
2b3ca72005 CI/CD Auto-Merger: cicd.master.202512040100
Updated the value(s) for:
  ti-linux-fw: TI_DM_FW_VERSION,TI_LINUX_FW_SRCREV
  u-boot-ti-staging_2025.01: SRCREV_uboot
  linux-ti-staging-rt_6.12: PV_ARM32,SRCREV_ARM32
  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=0a37dc07b1120127eba73c7196a0b532350b9639..b5f45f14e23b927f3ab1f4e00c58eacb47b01d31
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=a44465cad8a30cbad5e8b22baef59aa7f5151494..3f3051bacd384bf331193070c29053d781296ab0
  linux-ti-staging-rt_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=6ebb538029fdce262760611915225be608c31257..1db5d0126012c7a0b82eff330f9f8a68b3d10f19
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=1a86d36433eac7cef246d41fbd4d2bdd9612253f..2d5f05489a39201c2fcf95d2dc04af57b6f7f356

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-12-04 01:00:51 -06:00
Manorit Chawdhry
b05876bb9c trusted-firmware-a/optee-os: Add LPM support on few platforms
Adds the required TF-A and OP-TEE patches to enable LPM support on
J7200, J784s4, J742s2.

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-12-01 16:12:44 -06:00
Ryan Eatmon
7bec7f73c6 check_yocto_rules: Add new PV-1 entries
We have added a new PV check to the check_repo script that checks to
make sure that PV is set either in the filename or via the PV variable
in the recipe.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-11-20 14:15:29 -06:00
Randolph Sapp
780d73ff61 layer: add github MIRRORS definitions
We have some projects mirrored to GitHub currently. It makes sense to
add a MIRRORS entry for git.ti.com sources to fall back on in the event
git.ti.com is unreachable.

Placing this in the main BSP layer configuration file should be all that
is required for this and any other layers that depend this core layer to
fall back to GitHub.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-11-20 14:15:29 -06:00
Antonios Christidis
a349aed7bd ti-img-rogue-*: Migrate GPU driver version 24.2 -> 25.2
New recipes for GPU DDK 25.2. Update BSP configuration files with new
preferred recipe versions.

For the driver recipe, specifically unset the CC variable due to yocto
appending CROSS_COMPILE and CC, resulting in a warning for the
do_compile task:

make[1]: aarch64-oe-linux-aarch64-oe-linux-gcc: No such file or directory

Signed-off-by: Antonios Christidis <a-christidis@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-11-20 14:15:29 -06:00
LCPD Automation Script
2676538ee0 CI/CD Auto-Merger: cicd.master.202511180100
Updated the value(s) for:
  ti-linux-fw: PRUETH_FW_AM65X_SR2_VERSION,TI_LINUX_FW_SRCREV,TI_SYSFW_VERSION
  atf: SRCREV_tfa:am62lxx
  u-boot-ti-staging_2025.01: SRCREV_uboot
  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=faf2980429e83e502d1a2da907f8be14b131c9fc..0a37dc07b1120127eba73c7196a0b532350b9639
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=934cf94788c505068308069903d42f6cdf30c0ae..a44465cad8a30cbad5e8b22baef59aa7f5151494
  linux-ti-staging-rt_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=998927d273b149e4e03abc087965dbfafdec66a2..6ebb538029fdce262760611915225be608c31257
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=4be12a82ab1650b6313835b4d2fc70848f38dc13..1a86d36433eac7cef246d41fbd4d2bdd9612253f

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-11-18 01:00:43 -06:00
Ryan Eatmon
e8eb6eac34 ti-rpmsg-char-examples: Fix patch
The recent SRCREV bump to ti-rpmsg-char makes this patch not apply.
Update the patch to match the new changes.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-11-17 13:50:55 -06:00
Hari Nagalla
5d15cce6fc ipc: ti-rpmsg-char: Update library to 0.6.10
update rpmsg library to 0.6.10
It brings the following fixes from ti-rpmsg-char repo:

d4cf638 src: fix bug in file_read_string()
3e72722 src: add api to fetch kernel allocated remote proc id
5061690 benchmark: update max runs = 1 trillion, max latency = 9sec
4aa2a84 examples: clean up tabs, delay metering
07660dd example: add rpmsg_char_benchmark
b40845f Replace read bytes from 256 --> 496
b2e9e2f Update max message size to 496

Signed-off-by: Hari Nagalla <hnagalla@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-11-17 13:50:55 -06:00
Anurag Dutta
20f7b83e1c conf: machine: j722s: Fix overlay name in KERNEL_DEVICETREE_PREFIX
Currently, the overlay mentioned in KERNEL_DEVICETREE_PREFIX in case
of j722s is "k3-am625-sk-mcspi-loopback" which is incorrect as it has
been renamed recently. Change the overlay to "k3-am62x-sk-mcspi-loopback"
in order to carry out SPI loopback tests successfully.

Fixes: 3b2097d727 ("conf: machine: j722s: Change overlay in KERNEL_DEVICETREE_PREFIX")
Signed-off-by: Anurag Dutta <a-dutta@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-11-17 13:50:55 -06:00
Ryan Eatmon
de5d6d7e35 check_yocto_rules: Add new exception for packagegroup-ti-core-initramfs.bbappend
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-11-12 15:53:07 -06:00
LCPD Automation Script
10c316b005 CI/CD Auto-Merger: cicd.master.202511120100
Updated the value(s) for:
  atf: SRCREV_tfa:am62lxx

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-11-12 01:00:40 -06:00
LCPD Automation Script
7cff97509d CI/CD Auto-Merger: cicd.master.202511110100
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_uboot
  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=3c8ad7386e818cb42cce6ed4ce2aa1e76d7c688f..faf2980429e83e502d1a2da907f8be14b131c9fc
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=aa613c2e83299906b121fcf0d6a5824f1d1c3ff9..934cf94788c505068308069903d42f6cdf30c0ae
  linux-ti-staging-rt_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=a55efe5b7adbb88ee55b67f4f044c2882978d1b5..998927d273b149e4e03abc087965dbfafdec66a2
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=9b2678be3a92ebdbf376000f06636eab8f7c1dd8..4be12a82ab1650b6313835b4d2fc70848f38dc13

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-11-11 01:00:43 -06:00
Paresh Bhagat
aca8792dec conf: machine: am62dxx-evm: Package eHRPWM overlay
Package eHRPWM overlay for am62dxx-evm by reusing the existing overlay
for am62a7-sk.

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-11-05 17:55:43 -06:00
Denys Dmytriyenko
ea3574a504 packagegroup-ti-core-initramfs: move cifs-utils to dynamic-layers
Since cifs-utils is available in meta-openembedded, not OE-Core, it
cannot be added to this packagegroup unconditionally, as meta-ti-bsp
doesn't depend on meta-oe, only recommends it.

As it breaks yocto-check-layer now, move cifs-utils addition to
dynamic-layers to be added conditionally on meta-oe presence.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-11-05 17:55:43 -06:00
Ryan Eatmon
2264eb9462 ti-core-initramfs: Set IMAGE_OVERHEAD_FACTOR
We are seeing errors when building against linux-next where we run into
the INITRAMFS_MAXSIZE check.  Lower the overhead factor a little to give
us a little more room.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-11-05 17:55:43 -06:00
Vishnu Singh
53154b7a45 ti-librpmsg-dma: update ti-librpmsg-dma SRCREV & LICENSE
Replace MIT license with TI-TFL to align with TI release policy
and product requirements. Legal approval: SRAS00013045
Update scarthgap srcrev and disable 2dfft example from lib build.

License-Update: Replace MIT to TI-TFL license

Signed-off-by: Vishnu Singh <v-singh1@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-11-05 17:55:43 -06:00
LCPD Automation Script
39b81fac90 CI/CD Auto-Merger: cicd.master.202510310100
Updated the value(s) for:
  atf: SRCREV_tfa:am62lxx
  u-boot-ti-staging_2025.01: SRCREV_uboot
  k3conf: SRCREV
  linux-ti-staging-rt_6.12: SRCREV_ARM32
  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=87519a151561393ce1244ba53401196b011b7a39..aa613c2e83299906b121fcf0d6a5824f1d1c3ff9
  k3conf: https://git.ti.com/cgit/k3conf/k3conf/log/?qt=range&q=4612157b45912dfc21ef49e364931c5ce3cb27a0..cba7dc13a39191ac18bf64fccbba429faff112b4
  linux-ti-staging-rt_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=f4bae38e160972f3dbfee640421bad168443cc0a..a55efe5b7adbb88ee55b67f4f044c2882978d1b5
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=2edd47b56fbddaa47a5b85fe3440bb3516bca8ea..9b2678be3a92ebdbf376000f06636eab8f7c1dd8

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-10-31 01:03:17 -05:00
LCPD Automation Script
6c0e4d3ca6 CI/CD Auto-Merger: cicd.master.202510281158
Updated the value(s) for:
  atf: SRCREV_tfa:am62lxx

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-10-28 11:58:43 -05:00
Sabeeh Khan
7422c85a9a meta-ti-extras: cc33xx-fw: update cc33xx firmware to 1.7.0.323
Major Updates since 1.7.0.120:
- Added WPA1 support
- Addressed many stability issues in WiFi and BLE
- Enabled thermal protection for operation up to 105C

SHA1 checksum:
c364c4d89802bcac769ee6eebc08ae1c4ef5a205  cc33xx_2nd_loader.bin
b39bfac65e0300e81dfcfee7301e07b4289df448  cc33xx-conf.bin
821fa40f608e350baa9e4cdfea6719bf469c5220  cc33xx_fw.bin

Signed-off-by: Sabeeh Khan <sabeeh-khan@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-10-28 11:48:43 -05:00
Ryan Eatmon
8f01b68d92 k3: Move from UBOOT_SIGN_ENABLE to KERNEL_FITIMAGE_SIGN_ENABLE
A recent change in oe-core [1] allowed for signing the fitImage without
signing the uboot files.  Since we use binman to sign all of the uboot
files, we do not want oe-core to re-sign themm, but we do want the
fitImage signed.

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-10-28 11:48:43 -05:00
Ryan Eatmon
69aaf68a25 check_yocto_rules: Add new rule exception
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-10-27 14:23:31 -05:00
Judith Mendez
ea34013372 conf: machine: Include MCSPI overlay for am62p and am62 LP
MCSPI overlay can be used for all am62* SK boards as well as
am62p SK, so include the overlay for am62p and am62 LP SK builds
since it is not included in the default configuration.

Signed-off-by: Judith Mendez <jm@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-10-27 14:23:31 -05:00
Denys Dmytriyenko
cf1c495375 linux-bb.org: update to 6.12.43
Update bb.org kernel to 6.12.43 for 64-bit platforms.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-10-27 14:23:31 -05:00
Denys Dmytriyenko
9fd6bae832 u-boot-bb.org: upgrade 2025.07 -> 2025.10
Upgrade U-boot to 2025.10.

PocketBeagle2 defconfigs and branch got slight name change.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-10-27 14:23:31 -05:00
Ryan Eatmon
f308333e68 am62axx: Add whitespace to append assignment
Add missing whitespace on append assignment since the list is space
separated.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-10-24 13:59:24 -05:00
Telukula Jeevan Kumar Sahu
1e831a61f0 conf: am335x-evm and am437x-evm: Bump up max_leb_cnt
New features added require another increase to max_leb_cnt

Signed-off-by: Telukula Jeevan Kumar Sahu <j-sahu@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-10-24 13:59:24 -05:00
Paresh Bhagat
5ef2be147b conf: machine: am62dxx-evm: Package overlays
Package overlays which are common for AM62 family of devices for
am62dxx-evm by adding prefix string in KERNEL_DEVICETREE_PREFIX.

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-10-24 13:59:24 -05:00
Paresh Bhagat
9bb0269438 ti-dm-fw: Update DM for am62dxx
am62dxx previously reused am62axx DM, but now that a dedicated DM is
available, migrate to device-specific DM.

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-10-24 13:59:24 -05:00
Ryan Eatmon
a58677ffed packagegroup-ti-core-initramfs: ensure TI_INITRAMFS_KERNEL_MODULES is set
TI_INITRAMFS_KERNEL_MODULES gets set only for TI platfroms and ends up
being undefined otherwise, which breaks parsing in yocto-check-layer
and/or in multi-BSP setups. Ensure the variable is defined in the
packagegroup, if not already set by the machine configuration.

Remove the previous default assignment since we put it in the wrong
location.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-10-24 10:52:17 -05:00
LCPD Automation Script
6b9a2b3225 CI/CD Auto-Merger: cicd.master.202510240100
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV
  u-boot-ti-staging_2025.01: SRCREV_uboot
  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=237071793594723bf1c2e9eef8ff836ffa3b09df..3c8ad7386e818cb42cce6ed4ce2aa1e76d7c688f
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=b5956eebf45b7b604c046a21792883a42cd9c198..87519a151561393ce1244ba53401196b011b7a39
  linux-ti-staging-rt_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=dd80e6d61d8ccba753eb372040107ff195c8550d..f4bae38e160972f3dbfee640421bad168443cc0a
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=2ce6f0999344a368217d04cdbee0922144ecc899..2edd47b56fbddaa47a5b85fe3440bb3516bca8ea

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-10-24 01:00:44 -05:00
LCPD Automation Script
70624be86c CI/CD Auto-Merger: cicd.master.202510220100
Updated the value(s) for:
  k3conf: SRCREV

Changelogs:
  k3conf: https://git.ti.com/cgit/k3conf/k3conf/log/?qt=range&q=f63ccd27cba9550de04e8dbb04bc6003d8b5168e..4612157b45912dfc21ef49e364931c5ce3cb27a0

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-10-22 01:00:44 -05:00
Moteen Shah
b08feb359a meta-ti-bsp: conf: machine: include: Build initramfs for all TI SoCs.
Trigger build for initramfs image and package it in the boot partition
of all TI SoC's whenever an image recipe is built with upstream
kernel(mainline or mainline-next).

Signed-off-by: Moteen Shah <m-shah@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-10-21 18:43:29 -05:00
Moteen Shah
ee401f8a0d meta-ti-bsp: wic: Add initramfs path to to grub config
Add initrd path to grub.cfg config so that it picks up
the initramfs image from the boot partition and includes
it in the boot process.

Signed-off-by: Moteen Shah <m-shah@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-10-21 18:43:29 -05:00
Moteen Shah
b1c8f0df89 recipes-ti: initramfs: Make minimal initramfs image
Introduce a new minimal initramfs image which will be used
for all K3 devices in the boot flow. The image will package
boot essential and other modules which will be modprobed by
initramfs-udev once the inbuilt drivers gets probed.

Signed-off-by: Moteen Shah <m-shah@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-10-21 18:43:29 -05:00
Moteen Shah
d9a2eb289b meta-ti-bsp: conf: machine: include: Add common module variable for TI Initramfs image
Add a new variable in ti-soc.inc which would be populated by individual
platforms with the required modules which would later be packaged inside
the initramfs image.

Signed-off-by: Moteen Shah <m-shah@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-10-21 18:43:29 -05:00
LCPD Automation Script
79836f10b9 CI/CD Auto-Merger: cicd.master.202510200100
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_uboot
  linux-ti-staging-rt_6.12: PV_ARM32,SRCREV_ARM32
  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=27344bea60be4f0410feb1c309b9de3cdc7f8c6d..237071793594723bf1c2e9eef8ff836ffa3b09df
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=c779c758475cb98e95d3c05744e0dcbca5fc9991..b5956eebf45b7b604c046a21792883a42cd9c198
  linux-ti-staging-rt_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=2c04cd1373bf2cd53784cc10efad710f9fa5b5c8..dd80e6d61d8ccba753eb372040107ff195c8550d
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=3a3f87d0bf70131af74a85336c2785d933732825..2ce6f0999344a368217d04cdbee0922144ecc899

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-10-20 01:00:50 -05:00
LCPD Automation Script
b83421c986 u-boot-ti-mainline: Update to version: v2025.10
Updated the value(s) for:
  u-boot-ti-mainline: PV,SRCREV_uboot

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-10-14 15:37:09 -05:00
Andrew Davis
1602320551 meta-ti-extras: dsptop: Explicitly allow build for AM57x
This recipe builds and runs fine on both DRA7x and AM57x machines.
The COMPATIBLE_MACHINE is set to just DRA7x, but this was okay as AM57x
machines also set themselves as DRA7x family devices. The issue is then
we cannot then differentiate between packages that are actually DRA7x-
only and those that just use that family to mean both machine types. To
fix this when we mean both are allowed use "omap-a15" as done here.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-10-14 15:37:09 -05:00
Andrew Davis
45b06e3a9e meta-ti-extras: gdbc6x: Explicitly allow build for AM57x
This recipe builds and runs fine on both DRA7x and AM57x machines.
The COMPATIBLE_MACHINE is set to just DRA7x, but this was okay as AM57x
machines also set themselves as DRA7x family devices. The issue is then
we cannot then differentiate between packages that are actually DRA7x-
only and those that just use that family to mean both machine types. To
fix this when we mean both are allowed use "omap-a15" as done here.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-10-14 15:37:09 -05:00
Andrew Davis
fce4f6188b meta-ti-extras: dsptop: Simplify for DRA7xx only build
This recipe is already only compatible with the DRA7xx machine, so
no need to set PLATFORM based on the only possibility. This then
allows us to directly set the compile flags for the same. And now
that the package does not change based on the machine, remove the
PACKAGE_ARCH line.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-10-14 15:37:09 -05:00
Andrew Davis
b3bd4813b2 meta-ti-extras: gdbc6x: Simplify for DRA7xx only build
This recipe is already only compatible with the DRA7xx machine, so
no need to set PLATFORM based on the only possibility. This then
allows us to directly set the compile flags for the same. And now
that the package does not change based on the machine, remove the
PACKAGE_ARCH line.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-10-14 15:37:09 -05:00
Andrew Davis
5397fdaac2 meta-ti-extras: libaet: Remove this recipe
This was only ever used as part of the DSP firmware for OpenCL dispatch.
That is all gone now, so remove this leftover dependency.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-10-14 15:37:09 -05:00
Andrew Davis
9741bc7bf1 meta-ti-bsp: vpe-tests: Remove this recipe
vpe-tests is obsolete, it was replaced with "testvpe" as part of
glsdk-example-apps about 10 years ago in meta-arago, so long ago even
its replacement has been obsoleted and removed. Yet, this unbuildable
recipe still lives on here in meta-ti. Send it out to sea.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-10-14 15:37:09 -05:00
Ryan Eatmon
b34f91575f u-boot: Make sure the build dir is unique for each UBOOT_CONFIG
Make the same changes as the corresponding oe-core patch. [1]

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-10-14 07:39:53 -05:00
Ryan Eatmon
e108e5424e machine: Add FIT_CONF_DEFAULT_DTB for legacy platforms
As of u-boot 2025.10, the fit image requires a value for the default
configuration.  The change [1] introduced the FIT_CONF_DEFAULT_DTB code
to the legacy fitimage class, but failed to set values for the legacy
platforms.  This led to us putting default = "" in the .its file, which
is now an error.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-10-10 13:21:05 -05:00
MD Danish Anwar
b22a780fea meta-ti-bsp: Add pruprp-fw for AM64xx
AM64x supports PRP. Add pruprp-fw to AM64xx so that this can be packaged
for AM64xx

Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-09-30 07:31:14 -05:00
Andrew Davis
3153a05f3c meta-beagle: beagley-ai: Set forward looking UBOOT_MACHINE default
U-Boot bb.org-v6.12, Mainline, Next, and all future releases will have
am67a_beagley_ai_r5_defconfig. Only the three listed versions in this
patch need to use the old defconfig. Set the default so that we do not
need to set this for future versions.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-09-30 07:31:00 -05:00
Ryan Eatmon
a05114e75f u-boot: Moved to named git repo
An upcoming patch series will optionally add in a second repository that
will optionally be needed as part of the builds.  To facilitate that, we
need to name the uboot checkout so that the SRCREV can be tracked correctly
in the recipe.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-09-26 07:35:04 -05:00
Ryan Eatmon
64d49bbb36 ti-extras: Clean up
The TI_EXTRAS infrastructure needs a little tweaking to support turning
on multiple extra options at the same time.

1) Since TI_EXTRAS can be a space separated list and not a single fixed
value, we need to change how we detect when to include the TI_EXTRA
values.

2) The tie-jailhouse overrides were being a little too heavy handed.
All of the variables that are changed for any given extra feature needs
to use the proper variable override.  This was most important for the
COMPATIBLE_MACHINE settings.

3) Move the ti-extras out of specific machine configs and into the
ti-soc so that all machines can use the extras.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-09-26 07:33:22 -05:00
LCPD Automation Script
0027b3c13f CI/CD Auto-Merger: cicd.master.202509260100
Updated the value(s) for:
  ti-linux-fw: 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=33b0116556a8a57e8e456a99e45e8736db7652f3..27344bea60be4f0410feb1c309b9de3cdc7f8c6d
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=f3f8c664b3001e40cbdf46687732b2c37e1b6b33..c779c758475cb98e95d3c05744e0dcbca5fc9991
  k3conf: https://git.ti.com/cgit/k3conf/k3conf/log/?qt=range&q=3de294db4f2cd75404f358768f4be8f8fa3132d7..f63ccd27cba9550de04e8dbb04bc6003d8b5168e
  linux-ti-staging-rt_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=9085e19579dfb5074d05000dcca3b9b7d8afb106..2c04cd1373bf2cd53784cc10efad710f9fa5b5c8
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=10c7960f9cf6c5e3ed0c8865596e07540bf9ba1b..3a3f87d0bf70131af74a85336c2785d933732825

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-09-26 01:00:39 -05:00
Andrew Davis
80c5d6f12b mesa-pvr: Use PREFERRED_PROVIDER directly for GPU selection
Now that display controller aliases are not set using PACKAGECONFIG,
instead of using PREFERRED_PROVIDER to add either "sgx" or "pvr" to
PACKAGECONFIG, followed by reading it back out, simply use
PREFERRED_PROVIDER directly.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-09-18 23:56:22 -05:00
Andrew Davis
cc241bb61e mesa-pvr: Remove need for PVR/SGX display aliases
Update mesa-pvr which includes a default set of display controller
aliases for the supported display controllers. This means we do not
have to manually set the alias for each device here in the integration
layer. Remove that here.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-09-18 23:56:22 -05:00
Andrew Davis
a96f917db8 ti-bsp: Use same version for both UM and KM driver
The DRIVER and matching UMLIBS must always match, no need to define a
version number for both. Keep this simple and remove the extra defines.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-09-18 23:56:22 -05:00
Andrew Davis
12ed4dfce4 ti-bsp: Do not remove gpu MACHINE_FEATURE conditionally on BSP version
Setting or removing the gpu MACHINE_FEATURE does not actually change
if the GPU driver is built or not. That is done based on the setting
of the BSP_{SGX,ROGUE}_{DRIVER,UMLIBS}_{PROVIDER,VERSION} vars. These
are default empty for BSP versions without supported GPU drivers, which
will correctly cause a fallback to SW rendering when the GPU driver is
not available.

As the "gpu" MACHINE_FEATURE now has no uses, remove it from all the
machine config include files.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-09-18 23:56:22 -05:00
Andrew Davis
88f31a7fb6 ti-sgx-ddk-um: UM side driver depends on KM side driver
This also matches what is done for ti-img-rogue-umlibs.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-09-18 23:56:22 -05:00
Ryan Eatmon
294a999b70 optee-test: Remove unneeded patch
The recent SRCREV change now includes the patch, so we no longer need
it.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-09-18 23:56:22 -05:00
Suhaas Joshi
12a0133363 optee: Update to 4.7.0 tag
Update optee_client, optee_examples, optee_os and optee_test to the
newer 4.7.0 tag from the previous 4.6.0 one.

Further: meta-arm applies 0003-optee-enable-clang-support patch to
optee_os. However, in a recent upstream commit [0], the line to which
the patch applies was removed. Therefore the patch is no longer
required. As a result, tell optee_os.bbappend file to remove it.

[0] 3d5c2dd8b5

Signed-off-by: Suhaas Joshi <s-joshi@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-09-18 23:56:22 -05:00
Ryan Eatmon
2d233b372f optee-ftpm: Add TI version override for ftpm
We are missing the optee-ftpm package verson override along with our
other optee-* overrides.  This resulted in a build error when meta-arm
moved to 4.7.0 while we are still sitting on 4.6.0.  The 4.7.0
optee-ftpm is using some new header info that the 4.6.0
optee-os-tadevkit is not providing.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-09-18 23:56:22 -05:00
Ryan Eatmon
1d5ec7bb9e mesa-pvr: add PROVIDES for Vulkan and OpenCL ICDs
A recent change in oe-core [1] has created new virtual packages to pick
the driver packages for OpenCL and Vulkan Installable Client Drivers.
This patch just copies the same changes from oe-core into our copy of the
mesa package.

[1] https://git.openembedded.org/openembedded-core/commit/meta/recipes-graphics/mesa/mesa.inc?id=6f01f029ef6fed96e257d6a88de42edaa437de3e

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Andrew Davis <afd@ti.com>
2025-09-18 23:56:22 -05:00
LCPD Automation Script
3dad773982 CI/CD Auto-Merger: cicd.master.202508271122
Updated the value(s) for:
  k3conf: SRCREV

Changelogs:
  k3conf: https://git.ti.com/cgit/k3conf/k3conf/log/?qt=range&q=6700e5a7f417c1bb19daf2422b880a82b7315543..3de294db4f2cd75404f358768f4be8f8fa3132d7

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-08-27 11:22:52 -05:00
Telukula Jeevan Kumar Sahu
17b6b9d666 conf: machine: Include merged device trees in the list of generated dtbs
Add support for dtbs that are generated by merging multiple .dtb and .dtbo
files in the /boot directory of the root filesystem.These merged device trees
are defined in ti-linux-kernel Makefile[1]. Include them using the
KERNEL_DEVICETREE_DTBMERGE variable.

[1]: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/Makefile?h=ti-linux-6.12.y

Signed-off-by: Telukula Jeevan Kumar Sahu <j-sahu@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-08-26 19:02:04 -05:00
Bryan Brattlof
ff72a44006 meta-ti-bsp: conf: drop BL32_BASE override for am62lxx-evm
The BL32_BASE address is properly set in TF-A to jump to OP-TEE's
entrypoint for the am62lxx SoC family, so we can safily drop this.

Signed-off-by: Bryan Brattlof <bb@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-08-25 15:02:48 -05:00
Thorsten Lannynd
e0a249bb34 ti-bsp: recipes-multimedia: Add udev rules for VPU and JPEG encoder symlinks
This patch introduces udev rules to ensure consistent device naming for
VPU decoders, encoders, and the JPEG encoder. These rules are essential
for enabling hardware-accelerated video decoding in Chromium using the
V4L2 Stateful decoder.

The following udev rules are added:
- Map vpu and vpu0 to /dev/video-dec0 and /dev/video-enc0.
- Map vpu1 to /dev/video-dec1 and /dev/video-enc1.
- Map the JPEG encoder to /dev/jpeg-enc0.

These changes ensure proper operation of the VPU and JPEG encoder,
especially when other video devices are connected, avoiding mismatches.

Signed-off-by: Thorsten Lannynd <t-lannynd@ti.com>
Reviewed-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-08-25 15:02:39 -05:00
LCPD Automation Script
7e27eb1dd3 CI/CD Auto-Merger: cicd.master.202508250100
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV
  atf: SRCREV_tfa:am62lxx
  u-boot-ti-staging_2025.01: SRCREV
  k3conf: SRCREV
  linux-ti-staging-rt_6.12: PV_ARM32,SRCREV_ARM32
  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=6506f9e1e5d8d62e9dd70123fae04bd07b90bcd5..33b0116556a8a57e8e456a99e45e8736db7652f3
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=556593b8d5f39ad77327d2e7aa190d3faae5a350..f3f8c664b3001e40cbdf46687732b2c37e1b6b33
  k3conf: https://git.ti.com/cgit/k3conf/k3conf/log/?qt=range&q=4e8df1a41a1437b61562836e9478e8069d1a071c..6700e5a7f417c1bb19daf2422b880a82b7315543
  linux-ti-staging-rt_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=6246158ffbe4dfc005258a52780956f8baf04574..9085e19579dfb5074d05000dcca3b9b7d8afb106
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=fe4718a972cfcac11933e98f5a3986e084a7c43f..10c7960f9cf6c5e3ed0c8865596e07540bf9ba1b

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-08-25 01:00:43 -05:00
Ryan Eatmon
53965ca7bf ti-ipc-examples-linux: Add missing SUMMARY
The PRC script missed this.  All recipes need a SUMMARY.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-08-21 15:16:32 -05:00
Bryan Brattlof
5f428c58a5 conf: machine: add optee-os into am62lxx-evm builds
Newer silicon revision of the AM62L family are capable of reliably
booting with OP-TEE integrated in the bootflow with all bootmedia.
However to support as many DDR densities as possible we cannot use the
default 0x9e78000 location as with other K3 devices.

So add OP-TEE back into the default build but modify the BL32 base
address for TF-A so it will jump to the correct location.

Signed-off-by: Bryan Brattlof <bb@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-08-21 09:21:06 -05:00
Beleswar Padhi
89a64c6d65 ti-ipc.inc: Bump SRCREV to latest for ipcdev project
The latest tag in ipcdev project is 3.52.00.01. Update SRCREV to the
latest tag.

Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-08-21 09:21:06 -05:00
Beleswar Padhi
5d7b8ae7b2 ti-rtos-messageq-test-fw: Add a recipe to package prebuilt IPC firmware
The messageq IPC firmware example for AM57xx SoCs is available in
ti-linux-firmware repository. Add a recipe to package the prebuilt
messageq firmware into the rootfs.

Additionally, make sure the firmware for IPU1 rproc is copied into boot
partition by updating the dependency in omap-a15 machine conf to the
above recipe. This is needed for Early Boot use cases and gets rid of
dependency on meta-ti-extras layer.

There is no need to deploy the vayu IPC firmware anymore. Remove
the deploy task from ti-ipc-rtos recipe.

Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-08-21 09:21:06 -05:00
Beleswar Padhi
667145ff7e ti-ipc-examples-linux: Add a recipe to build messageq app_host
Add a recipe to build the Application Host (for A15 core) to demonstrate
IPC with remote processors through messageq firmware. Also package this
in the /usr/bin directory for testing IPC. This recipe only builds the
app_host, and the firmwares are available in ti-linux-firmware
repository.

Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-08-21 09:21:06 -05:00
LCPD Automation Script
cd2a61edf6 CI/CD Auto-Merger: cicd.master.202508210100
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV
  atf: SRCREV_tfa:am62lxx
  u-boot-ti-staging_2025.01: SRCREV
  linux-ti-staging-rt_6.12: PV_ARM32,SRCREV_ARM32
  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=e89a348f4618a26812fb353a04ed9532ef890a2f..6506f9e1e5d8d62e9dd70123fae04bd07b90bcd5
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=c5737097b4859362aa22260c5a1f2becd62af65c..556593b8d5f39ad77327d2e7aa190d3faae5a350
  linux-ti-staging-rt_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=90225824e8382c00e9628168922838a0702443eb..6246158ffbe4dfc005258a52780956f8baf04574
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=adbec2562ad14236717dc1c9dc3020c94ba27f7d..fe4718a972cfcac11933e98f5a3986e084a7c43f

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-08-21 01:00:40 -05:00
Andrew Davis
10436a27a2 meta-ti-bsp: Add all tiboot3.bin and sysfw.itb variants by wildcard
U-Boot generates all the valid versions of tiboot3.bin and sysfw.itb
based on the given defconfig. The defaults are also picked based on
the board's binman files. No need to duplicate this logic here,
simply deploy what U-Boot generates.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-08-19 09:00:28 -05:00
LCPD Automation Script
bf71f80f3e CI/CD Auto-Merger: cicd.master.202508180100
Updated the value(s) for:
  atf: SRCREV_tfa:am62lxx
  u-boot-ti-staging_2025.01: SRCREV
  linux-ti-staging-rt_6.12: SRCREV_ARM32
  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=05d141ca0739756a0cdd7a19268e3ad07279a17e..c5737097b4859362aa22260c5a1f2becd62af65c
  linux-ti-staging-rt_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=2bcb6e9caabf65ef182dde7dc0332a7fe53622a2..90225824e8382c00e9628168922838a0702443eb
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=c94f90807b390a224fd087549b4bd5d84d5fc971..adbec2562ad14236717dc1c9dc3020c94ba27f7d

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-08-18 01:00:43 -05:00
Brandon Brnich
cb58ec9652 ti-bsp: ti-img-encode-decode: Update SRCREV
V4L2 has updated fh_add/delete to take another parameter in linux-next.
The update has been made in out-of-tree module to fix build failure.

Signed-off-by: Brandon Brnich <b-brnich@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-08-15 10:24:51 -05:00
Denys Dmytriyenko
6294d9e9ca meta-beagle: conf/machine rework all DTB lists
Improve KERNEL_DEVICETREE lists for all Beagle platforms:
* Expand the list with more overlays and related DTBs
* Since in many cases the lists are slightly different between
  6.6 and 6.12 kernels, explicitly provide both separate lists
* PocketBeagle2 is only supported by 6.12, so one list for now

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-08-11 09:20:17 -05:00
Denys Dmytriyenko
19a4daf5f0 linux-bb.org_6.12: upgrade to the latest 6.12.34
Upgrade BB.org 6.12 kernel to the latest 6.12.34 tags.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-08-11 09:20:17 -05:00
Denys Dmytriyenko
94a4b1d99d u-boot-bb.org: upgrade 2025.04 -> 2025.07
Upgrade BB.org U-boot from 2025.04 to 2025.07

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-08-11 09:20:17 -05:00
Denys Dmytriyenko
6e0e3250c4 linux-bb.org_6.6: update to the latest
Update BB.org 6.6 kernel to the latest tags.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-08-11 09:20:17 -05:00
LCPD Automation Script
0fbc19dcd7 CI/CD Auto-Merger: cicd.master.202508110100
Updated the value(s) for:
  k3conf: SRCREV

Changelogs:
  k3conf: https://git.ti.com/cgit/k3conf/k3conf/log/?qt=range&q=b35ec6f6c6e11471c5d06f8c24ac396077f893be..4e8df1a41a1437b61562836e9478e8069d1a071c

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-08-11 01:00:42 -05:00
LCPD Automation Script
bf0f3a214a CI/CD Auto-Merger: cicd.master.202508080100
Updated the value(s) for:
  u-boot-ti-staging_2025.01: SRCREV
  k3conf: SRCREV
  linux-ti-staging-rt_6.12: SRCREV_ARM32
  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=743712b9ee4b33cc9739a3cbeb5a8f14ae2ccf35..05d141ca0739756a0cdd7a19268e3ad07279a17e
  k3conf: https://git.ti.com/cgit/k3conf/k3conf/log/?qt=range&q=2bcd5f52a88ef48f8bb5b7541cf05b10d2008cd7..b35ec6f6c6e11471c5d06f8c24ac396077f893be
  linux-ti-staging-rt_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=60431d6c0e260d0b9404bcf325368a88daeef9ca..2bcb6e9caabf65ef182dde7dc0332a7fe53622a2
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=ce4785d01a0b962c7d9cb12f56dbae02514213eb..c94f90807b390a224fd087549b4bd5d84d5fc971

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-08-08 01:00:42 -05:00
Beleswar Padhi
1544ef5ecb licenses: Add INSIDE-Secure LICENSE
Add the INSIDE-Secure LICENSE and update the PKA recipe to use this
license.

Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-08-07 09:01:25 -05:00
LCPD Automation Script
e48a202484 CI/CD Auto-Merger: cicd.master.202508070100
Updated the value(s) for:
  k3conf: SRCREV

Changelogs:
  k3conf: https://git.ti.com/cgit/k3conf/k3conf/log/?qt=range&q=6034420195cf763c9470fb2113810695e5e37a23..2bcd5f52a88ef48f8bb5b7541cf05b10d2008cd7

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-08-07 01:00:37 -05:00
Beleswar Padhi
b473d1ea8f ti-pka-fw: Add a recipe to package prebuilt PKA firmware
Add a recipe to install the PKA firmware in root filesystem needed by
sa2_ul driver for PKA operations across all K3 platforms.

Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-08-06 07:22:50 -05:00
Andrew Davis
7aad745cde recipes-graphics: weston: Remove hyphen from package revision
Seems having hyphens in the revision tag causes issues with
RPM packaging. Remove this hyphen.

Reported-by: Daniel Schultz <D.Schultz@phytec.de>
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-08-06 07:22:50 -05:00
Ryan Eatmon
f2b5ea5d01 linux-ti-*: Move KERNEL_BASE_CLASS default
If you are not building a TI machine then KERNEL_BASE_CLASS is not
defined and you get a parse error.  Move the default setting out of
ti-soc.inc and into ti-kernel.inc.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-08-01 11:46:52 -05:00
LCPD Automation Script
414080e972 CI/CD Auto-Merger: cicd.master.202508010100
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV
  u-boot-ti-staging_2025.01: 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=f59a711599249ecac75fea38b7a15ef9137d650d..e89a348f4618a26812fb353a04ed9532ef890a2f
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=3bcfad6cee95403f7f62dd9d871cc3ea948c0761..743712b9ee4b33cc9739a3cbeb5a8f14ae2ccf35
  linux-ti-staging-rt_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=b5ee9420d81f46861c4f0a172154e477feda1980..60431d6c0e260d0b9404bcf325368a88daeef9ca
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=72f48d59b8f087fa0dd1f1e8c2c0b5bc0baa537c..ce4785d01a0b962c7d9cb12f56dbae02514213eb

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-08-01 01:00:41 -05:00
Andrew Davis
0b73bcdd12 recipes-graphics: Add weston fix for SGX from meta-arago
This change is needed due to the SGX driver, any distro, not just Arago,
using a TI SoC with SGX will need this fix, so it should go in meta-ti.

Signed-off-by: Andrew Davis <afd@ti.com>
Acked-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-31 14:53:45 -05:00
Denys Dmytriyenko
8200cee36c meta-ti-bsp: convert DTB prefix matching into class
Convert devicetree prefix matching functionality into a generic
class that can be used by the kernel and wic images. That way
dynamically generated KERNEL_DEVICETREE list will be the same
when populating /boot dir of rootfs and/or FAT boot partition
of a wic image.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-25 16:08:43 -05:00
Denys Dmytriyenko
55b61e047d meta-ti-bsp: generalize non-vendored DEVICETREE_FILES
Automatically generate non-vendored DTBs list in DEVICETREE_FILES from
vendored KERNEL_DEVICETREE list for all platforms to use.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-25 16:08:43 -05:00
Denys Dmytriyenko
39e733427a meta-ti-bsp: move KERNEL_DTBVENDORED settings
Move KERNEL_DTBVENDORED settings from the kernel to ti-soc.inc
in the config scope.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-25 16:08:43 -05:00
Hari Nagalla
452a00785d pru-icss_git.bb: update to PSSP v6.5.0
update to PSSP release v6.5.0. This release is compatible to linux
v6.12 and other fixes for RP message size.

Signed-off-by: Hari Nagalla <hnagalla@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-25 15:45:19 -05:00
Andrew Davis
c43bc20b77 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>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2025-07-25 15:45:19 -05:00
Andrew Davis
5e8c354f31 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>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2025-07-25 15:45:19 -05:00
Andrew Davis
041f99a2da 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>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2025-07-25 15:45:19 -05:00
Ryan Eatmon
2faac12f96 conf: machine: am64xx: Cleanup assignment whitespace
A recent change in bitbake requires that all variable assignments have
whitespace between the variable, the operator and the value.

FOO = "1"

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-25 15:45:19 -05:00
Ryan Eatmon
a4f6f4c6b5 wic: sdimage-2part-efi: Add variable for adding bootloader options
We have a need for some platforms to add kernel options to the bootloader
during wic creation time.  Create a new variable and add that to the
sdimage-2part-efi.wks.in file so that a machine can override it if
needed.

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-25 15:45:19 -05:00
Ryan Eatmon
f549cd0870 linux-ti-*: Fix support for building legacy HS platforms
The legacy HS platforms (am335x-hs-evm, am437x-hs-evm, and
am57xx-hs-evm) are not using the new fitImage flow, but the kernels all
include the kernel.bbclass which disallows the old fitImage flow.

Copy in the last version of the kernel.bbclass and name it
kernel_legacyhs.bbclass, and update the machine configs to defined a
variable to use as the KERNEL_BASE_CLASS to inherit.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-25 15:45:19 -05:00
Ryan Eatmon
0beb670445 layer.conf: Drop walnascar compatibility
Since meta-ti-bsp requires the new fitImage code, we are no longer
backwards compatible with walnascar.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-25 15:45:19 -05:00
LCPD Automation Script
5d38072d9a CI/CD Auto-Merger: cicd.master.202507240100
Updated the value(s) for:
  ti-linux-fw: TI_DM_FW_VERSION,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..f59a711599249ecac75fea38b7a15ef9137d650d
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=827c35b4d141865e25d234e3d298614e6c47150c..3bcfad6cee95403f7f62dd9d871cc3ea948c0761
  k3conf: https://git.ti.com/cgit/k3conf/k3conf/log/?qt=range&q=e6abc1b87f1d5bc4c2ab5f1ebfbf5a70e437dcb4..6034420195cf763c9470fb2113810695e5e37a23
  linux-ti-staging-rt_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=f0e4f5ca0905956c70779b31663f594c08c6a3bc..b5ee9420d81f46861c4f0a172154e477feda1980
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=78e6abff322081d53c5a685d927476086c9b2846..72f48d59b8f087fa0dd1f1e8c2c0b5bc0baa537c

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-07-24 01:00:58 -05:00
Ryan Eatmon
29c547bfb7 ti-kernel-fitimage: Add missing SUMMARY
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-17 09:11:19 -05:00
Ryan Eatmon
3a064a5f1a check_yocto_rules: Add new rules for recent changes
- The S change needs to skip the APPEND-2 check since S should never
have a space in a path.
- The UBOOT_VERSION bbappend does not need a guard since we are
modifying our own layer.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-17 09:09:14 -05:00
Manorit Chawdhry
3ecef14093 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-16 14:15:14 -05:00
Ryan Eatmon
3231409012 ti-kernel-fitimage: Add ti-secdev
In order to turn the fitImage signing back on, we need to inherit the
ti-secdev class to setup all of the needed signing variables.

Remove the inherit ti-secdev from the kernel recipes since the fitImage
signing is handled in the ti-kernel-fitimage recipe and not in the
kernel recipes anymore.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-16 14:15:14 -05:00
Ryan Eatmon
fa80d3c095 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:40:48 -05:00
Ryan Eatmon
c1b69c49af 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-14 14:40:48 -05:00
LCPD Automation Script
01afb84f85 CI/CD Auto-Merger: cicd.master.202507140938
Updated the value(s) for:
  atf: SRCREV_tfa:am62lxx
  linux-ti-staging-rt_6.12: PV_ARM32

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-07-14 09:39:31 -05:00
LCPD Automation Script
7969c1366d 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-12 10:15:31 -05:00
Beleswar Padhi
0a1ef21bbd 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-12 10:15:31 -05:00
Anshul Dalal
ae4ef66253 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-12 10:15:31 -05:00
Anshul Dalal
5bbe22181f 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-12 10:15:31 -05:00
Denys Dmytriyenko
eaa6778b48 classes: remove unused snapshots of FIT image classes
Remove no longer used snapshots of the kernel and kernel-fitimage
classes that were used for the old FIT image processing.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-12 10:15:31 -05:00
Denys Dmytriyenko
c82c837b47 kernel-fitimage-legacyhs: rename kernel-uboot class
Rename old snapshot of the kernel-uboot.bbclass to indicate it is
still being used by the FIT processing for the legacy HS devices.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-12 10:15:31 -05:00
Denys Dmytriyenko
ccf4a5e89d meta-ti-bsp, meta-beagle: switch to the new FIT image wrapper
Switch all kernel recipes and K3 based platforms to use the new
FIT image wrapper functionality.

Update FIT default DTB entry to not contain vendor dubdir, as it
is now handled through a conf prefix.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-12 10:15:31 -05:00
Denys Dmytriyenko
a598566a33 ti-kernel-fitimage: extend default FIT image wrapper
OE-Core provides default FIT image wrapper, but we need to extend it
with support for the dynamic devicetree prefix matching. While at it,
also use the correct kernel version from PKGV. Both of these use the
shared kernel sources tree, hence ensure it's available before any
processing.

Since old behavior was putting vendor subdir as a sanitized prefix
for each DTB entry as "ti_", U-boot expects corresponding config
entries to also contain the same - update conf prefix accordingly.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-12 10:15:31 -05:00
Denys Dmytriyenko
b14bb00d3c 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-12 10:15:31 -05:00
Denys Dmytriyenko
b07a909654 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-12 10:15:31 -05:00
Denys Dmytriyenko
1d329e3c23 Revert "meta-beagle: linux: Add INSANE_SKIP debug-deps"
This reverts commit 3e0b29d2e6.

As debug-deps QA false-positives were recently fixed in OE-Core/master,
we no longer need these INSANE_SKIP.

https://git.openembedded.org/openembedded-core/commit/?id=1b85d84c736a0fa5cb27b8716ca37f181464c85a

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-12 10:15:31 -05:00
Andrew Davis
f963603abe 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-12 10:15:31 -05:00
Andrew Davis
e973385b53 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-12 10:15:31 -05:00
Andrew Davis
b8a1b63be7 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-12 10:15:31 -05:00
Denys Dmytriyenko
1a08f44e7c 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-12 10:15:31 -05:00
Ryan Eatmon
479d3c0dd1 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 15:36:25 -05:00
LCPD Automation Script
f0787243b8 CI/CD Auto-Merger: cicd.master.202507101051
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_6.12: PV,SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=e594deb508a322d5681888d48fbb153953b06ca9..373c2f5646e3947b3b4a340da729288ee3f07833
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=c99a1f082ba4970678c9cb5100d13a986e77817c..827c35b4d141865e25d234e3d298614e6c47150c
  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=34d0b070130a8cd2cddd9260389ad974e8cb8468..78e6abff322081d53c5a685d927476086c9b2846

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-07-10 10:51:59 -05:00
Ryan Eatmon
fcbd568e0d 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-09 11:13:40 -05:00
Ryan Eatmon
27bf5d6d4d 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-09 11:13:40 -05:00
Manorit Chawdhry
e6cd38a8fd 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:00 -05:00
Anshul Dalal
67b42e3b5d 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:00 -05:00
Anshul Dalal
bef9e655eb 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:02:14 -05:00
Anshul Dalal
c60597a29e 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-27 09:36:54 -05:00
Anshul Dalal
7190aedc39 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-27 09:36:54 -05:00
Anshul Dalal
fbfe760770 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-27 09:36:54 -05:00
Anshul Dalal
e023f51d23 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-27 09:36:54 -05:00
MD Danish Anwar
706c6b162e 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-27 09:36:54 -05:00
LCPD Automation Script
8f0af451e1 CI/CD Auto-Merger: cicd.master.202506251507
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=1ea29f4b3ec17bdc1a3431a014ea5224962dc779..e594deb508a322d5681888d48fbb153953b06ca9
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=c9c21ce31fc557c2f43c4991fcc0a11b1fd90a12..c99a1f082ba4970678c9cb5100d13a986e77817c
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=20778f6c125dc24e62767dc4837d793a0f18c319..34d0b070130a8cd2cddd9260389ad974e8cb8468

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-06-25 15:08:19 -05:00
Vishnu Singh
abe24a6166 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-25 13:16:57 -05:00
Paresh Bhagat
0a29c4c2d9 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-25 13:16:57 -05:00
Ryan Eatmon
d107aa6c58 ti-ipc-rtos: Update to handle nested git repos
When specifying multiple git repos in the SRC_URI and you want the
"secondary" repositories to appear within the directory structure of the
primary repository, then we need to make sure that the destsuffix is
correct.  With the change to calculating the value of S to use
BB_GIT_DEFAULT_DESTSUFFIX, we need to make sure that the destsuffix is
based on that variable as well.

Also, update the paths for S to be within new source location.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-06-25 13:16:57 -05:00
Ryan Eatmon
b53565b2ce meta-ti/all: Remove S where not needed
The default setting for S works fine, there is no nead to change the
value.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-06-25 13:16:57 -05:00
Ryan Eatmon
30463c723e meta-ti/all: set S to be in UNPACKDIR in recipes that explicitly set S
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-06-25 13:16:57 -05:00
Ryan Eatmon
d3f73eaf07 meta-ti/all: Handle S when building a subdir of the git repo
If a recipe is fetching an entire git repo and then just building a
single dir, then we need to update S to lock into the sub directory.
Easiest fix is to simply append the subdir to whatever the system wants
to set S to by default.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-06-25 13:16:57 -05:00
Ryan Eatmon
d02032fa40 meta-ti/all: remove S in recipes that fetch from git via setting BB_GIT_DEFAULT_DESTSUFFIX
Removing all the S = ${WORKDIR}/git assignments works because BB_GIT_DEFAULT_DESTSUFFIX
is set to match S from bitbake.conf (which itself is set to match typical tarball
releases).

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-06-25 13:16:57 -05:00
Ryan Eatmon
a87dce5074 meta-ti/all: set S from UNPACKDIR in recipes that fetch prebuilt files
There is no need to have two assignments; also setting S from
UNPACKDIR (and not vice versa) is more logical as unpack
task comes first, and tasks that come after unpack use S to access
unpack results.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-06-25 13:16:57 -05:00
Ryan Eatmon
9d456e4908 meta-ti/linux: Update for S changes
The kernel class operates a little differently.  The kernel is
downloaded and then moved to the "global" shared location and a symlink
is created to point to that location.  Since we cannot set S =
"${WORKDIR}/git" anymore, just choose a new name under UNPACKDIR.  The
value for BB_GIT_DEFAULT_DESTSUFFIX is the subdir name that is used by
default when fetching git repositories, so just use that name.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-06-25 13:16:57 -05:00
Ryan Eatmon
9fdf66a2bb 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-06-25 13:16:57 -05:00
Vishnu Singh
a65401663b 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-22 16:11:47 -05:00
Telukula Jeevan Kumar Sahu
55ad3bfaf5 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-22 16:11:47 -05:00
Hiago De Franco
b25a3bb8d1 meta-ti: layer.conf: add compatibility with the new whinlatter release
Update all layers with the new Yocto release, fixing the current build
error:

ERROR: Layer meta-ti-bsp is not compatible with the core layer which
only supports these series: whinlatter (layer is compatible with styhead
walnascar)

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-06-22 16:11:47 -05:00
LCPD Automation Script
19aba16654 CI/CD Auto-Merger: cicd.master.202506110100
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-11 01:00:46 -05:00
Ryan Eatmon
3e0b29d2e6 meta-beagle: linux: Add INSANE_SKIP debug-deps
We are seeing an error related to a check from oe-core wanting to make
sure that a package does not RDEPEND on a debug package.

ERROR: linux-bb.org-6.12.22+git-r0 do_package_qa: QA Issue: kernel-modules rdepends on kernel-module-g-dbgp-6.12.22-ti [debug-deps]

A bug has been filed:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=15901

In the meantime, add debug-deps to the INSANE_SKIP list.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-06-10 15:40:11 -05:00
Ryan Eatmon
8ceb99d209 linux: Temporarily backport previous fitimage classes
A recent set of changes on oe-core has dramatically revamped the
fitimage generation code.  It is initially unclear how to fold those
change into our flow, so in the short term we will copy the previous
versions of the kernel bbclass files from a commit before [1] any
changes to the class files.

As soon as we figure it out, these files will be removed.  This just
help unblock anyone trying to build on master including meta-ti-bsp.

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-06-10 07:44:55 -05:00
Paresh Bhagat
399e58a93a 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-04 11:53:54 -05:00
LCPD Automation Script
af784ddad3 CI/CD Auto-Merger: cicd.master.202505300836
Updated the value(s) for:
  cnm-wave-fw: LIC_FILES_CHKSUM
  ti-linux-fw: CNM_WAVE521_FW_VERSION,TI_LINUX_FW_SRCREV
  atf: SRCREV_tfa
  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=c3ad8113c766bee7b8ddfae222e9b8017b565ea3..1ea29f4b3ec17bdc1a3431a014ea5224962dc779
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=70667128cb5b2c2a7621965ba948b5a56a2e756f..1d6ba4a32cdd8c987533d5789b5bc7b84c41fabe
  k3conf: https://git.ti.com/cgit/k3conf/k3conf/log/?qt=range&q=30a1d5b2d08c0da39d4e62b3ebee591a9882fa21..ea9938bf9cafd9c0cb05ef060a713ab4ac72270f
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=cdcaeac783e31f18edb6cb44b526228f44023b45..b0afb35642d79e776a4cf940945367cef87ba127

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-05-30 08:37:42 -05:00
Ryan Eatmon
21b6a15594 mesa-pvr: fold GL ES 3 packages into GL ES 2 ones
This is a sideport of a patch against mesa in oe-core [1].

OpenGL ES 3 is closely tied to the OpenGL ES 2: there is no separate
library, one can use GL ES 2 headers for GL ES 3 app, etc. Instead of
having separate packages, merge GL ES 3 packages into GL ES 2 ones.

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-29 15:39:45 -05:00
Andrew Davis
ca00f2045a 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:51 -05:00
Denys Dmytriyenko
b134e5c237 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-19 12:03:13 -05:00
Denys Dmytriyenko
7e91b432b9 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-19 12:03:13 -05:00
Denys Dmytriyenko
8af0e3db95 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-19 12:03:13 -05:00
Denys Dmytriyenko
0ea54f01de 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-19 12:03:13 -05:00
Denys Dmytriyenko
b357a254ca 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-19 12:03:13 -05:00
Denys Dmytriyenko
ab26a1c5f1 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-19 12:03:13 -05:00
Ryan Eatmon
1c8bf21f4b 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-16 11:57:14 -05:00
Ryan Eatmon
3e2446985c 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-16 11:57:06 -05:00
Ryan Eatmon
520f881fd7 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-16 11:57:06 -05:00
Paresh Bhagat
dfc60afa8e 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 14:06:26 -05:00
Andrew Davis
b39aa06952 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-13 11:19:22 -05:00
Denys Dmytriyenko
76798d565e 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-13 11:18:02 -05:00
Denys Dmytriyenko
7a0ba0634b 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-13 11:10:58 -05:00
Denys Dmytriyenko
0bff199673 optee-test: Suppress new gcc-15 -Wunterminated-string-initialization
Mark corresponding arrays with nonstring attribute to suppress the new
gcc-15 warning -Wunterminated-string-initialization that becomes an
error due to the global -Werror.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-05-13 11:10:36 -05:00
Chirag Shilwant
60bb6b1d27 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-13 11:10:19 -05:00
Andrew Davis
a09453eef7 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-13 11:07:36 -05:00
Andrew Davis
b42e4dd5f4 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-13 11:07:36 -05:00
Andrew Davis
9ce7ae37b9 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-13 11:07:36 -05:00
Max Krummenacher
6d538d31c3 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-13 11:05:23 -05:00
Max Krummenacher
ccef6ee0b7 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-13 11:05:23 -05:00
Anshul Dalal
b17479ddd5 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-13 11:04:52 -05:00
Anshul Dalal
8ca73c06f7 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-13 11:04:52 -05:00
Anshul Dalal
fcdba74bc5 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-13 11:04:52 -05:00
Anshul Dalal
7ffd64a5ca 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-13 11:04:52 -05:00
Chirag Shilwant
3fb8a8bd6d 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:08:00 -05:00
Chirag Shilwant
ef8770216a 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:08:00 -05:00
Chirag Shilwant
83c0ac826a 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 08:52:23 -05:00
Chirag Shilwant
c80e3d4b81 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 14:21:16 -05:00
Chirag Shilwant
1394211e26 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 14:21:16 -05:00
Chirag Shilwant
9ae3d157d6 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 14:21:16 -05:00
Anshul Dalal
fba44e113b 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 14:21:16 -05:00
Beleswar Padhi
a15a36cf34 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-23 14:21:16 -05:00
LCPD Automation Script
ab849fb0a9 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-23 14:21:16 -05:00
Chirag Shilwant
392a4624df 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-23 14:21:16 -05:00
Max Krummenacher
118946e719 mesa-pvr: add local copy of mesa.inc
OE-core updated mesa to 25.0.2 [1]. The resulting mesa.inc file no
longer matches mesa recipes building older versions.
Copy the mesa.inc version from before the update renamed to
mesa-pvr.inc to work around the issue.

| ../git/meson.build:21:0: ERROR: Value "softpipe" for option "gallium-drivers" is not in allowed choices: "auto, kmsro, radeonsi, r300, r600, nouveau, freedreno, swrast, v3d, vc4, etnaviv, tegra, i915, svga, virgl, panfrost, iris, lima, zink, d3d12, asahi, crocus, pvr, sgx, all"

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

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-04-23 14:21:16 -05:00
LCPD Automation Script
e4075fa123 CI/CD Auto-Merger: cicd.master.202504100100
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-10 01:00:48 -05:00
LCPD Automation Script
d550b7e45f CI/CD Auto-Merger: cicd.master.202504090937
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-04-09 09:38:02 -05:00
Judith Mendez
a7337d10e0 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-09 09:31:56 -05:00
Denys Dmytriyenko
bec751ec3b optee-client: remove patch that got accepted upstream
meta-arm adds a patch that was sent and accepted upstream, remove
it since mta-ti pulls a more recent verstion.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-04-08 15:04:13 -05:00
Randolph Sapp
a08a55d1d9 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:07 -05:00
Randolph Sapp
9b88e3ac0a 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:20 -05:00
Anshul Dalal
05bea3ee34 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:49:52 -05:00
Ryan Eatmon
6e615bbee0 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 17:31:33 -05:00
LCPD Automation Script
af9c832741 CI/CD Auto-Merger: cicd.master.202503210100
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-21 01:00:51 -05:00
Antonios Christidis
c7f87d6162 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:11 -05:00
Antonios Christidis
fa721db16a 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:11 -05:00
Antonios Christidis
ab0df7ab80 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:11 -05:00
Praneeth Bajjuri
8685a28a32 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:44 -05:00
Randolph Sapp
ff40c24c32 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:41 -05:00
Francesco Valla
e151a0a302 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:22 -05:00
Paresh Bhagat
d7e6c3d9e2 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:02 -05:00
Brandon Brnich
b63881f1a3 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:33 -05:00
Randolph Sapp
e2c86a44c7 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:40:57 -05:00
Andrew Davis
878cc0cd7e 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:15 -05:00
LCPD Automation Script
c07c7f6b95 CI/CD Auto-Merger: cicd.master.202503140100
Updated the value(s) for:
  ti-linux-fw: PRUETH_FW_AM65X_SR2_VERSION,TI_LINUX_FW_SRCREV,TI_SYSFW_VERSION
  u-boot-ti-staging_2025.01: SRCREV
  linux-ti-staging_6.12: SRCREV

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

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-03-14 01:00:53 -05:00
LCPD Automation Script
9e08bd275f CI/CD Auto-Merger: cicd.master.202503131229
Updated the value(s) for:
  atf: SRCREV_tfa

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

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

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

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

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-13 05:24:47 -05:00
Ryan Eatmon
893ce01ae0 ti-rpmsg-char: Change to COMPATIBLE_MACHINE
Rather than using COMPATIBLE_HOST move to using COMPATIBLE_MACHINE to
limit the recipe to being TI specific.  Also, this package is "k3"
specific so further limit it down to just those matching machines and
not all TI SOCs.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-13 05:24:47 -05:00
LCPD Automation Script
af4232d9b1 CI/CD Auto-Merger: cicd.master.202503111223
Updated the value(s) for:
  ti-linux-fw: PRUETH_FW_AM65X_SR2_VERSION,TI_DM_FW_VERSION,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=e38a05e2ef5f6a6f2387742864042beba01972bb..e089c2f8db0577aa4acd3b3ef3ab229be2e804e1
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=9c89e8b0a82fabe55c6366aa65eb987f05bb4472..baf3aaa8ecfa20b9d9f497621b6c11915223f502
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=6423e6bb6191982da1c09a21a46c68b494f5b1b5..1a22c2fb64485a5dea9a9247eb007ddd4ea8a81d

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-03-11 12:24:04 -05:00
Ryan Eatmon
26e5ac463e conf: machine: j721s2/j784s4: Fix overlays for DS90UB954
The previous commit incorrectly added the k3-j721s2-evm-ub954.dtbo to
the KERNEL_DEVICETREE and it was missed during a quick review.

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

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

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

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

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-11 11:26:39 -05:00
Brandon Brnich
808286bb0d conf: machine: J721e: Add Dependency for IMG Driver
IMG codec drivers reside only on the J721e SoC. Ensure that the drivers
are being built when building SDK.

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

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

Signed-off-by: Bryan Brattlof <bb@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-03-03 09:42:02 -06:00
Yemike Abhilash Chandra
f6f3048a6f conf: machine: j721s2/j784s4: Pick overlays for DS90UB954
DS90UB954-Q1EVM can be used to connect FPDLink-III based sensors to
TI EVMs. So pick the DS90UB954-Q1EVM overlay.

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

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

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-21 10:09:48 -06:00
Denys Dmytriyenko
235e3d5543 trusted-firmware-a: simplify TI customizations
The original .bbappend started with just a few customizations behind
a :k3 SoC override, but eventually grew in size. It got converted into
a .inc file, which is behind the same SoC override and hence it gets
included by .bbappend only for K3 platforms:
https://git.yoctoproject.org/meta-ti/commit/?id=389f9a8b726868768a8bed6cbe0b2a1f18c05410

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

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

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

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-20 09:24:51 -06:00
LCPD Automation Script
c3d050c2c9 CI/CD Auto-Merger: cicd.master.202502181346
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV
  u-boot-ti-staging_2025.01: SRCREV
  linux-ti-staging_6.12: SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=7fbc75f80161a400a4b9c618b6191d72ab408def..e38a05e2ef5f6a6f2387742864042beba01972bb
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=4e9c90ad8b12cc5b4fdd1308bc3ac3e4fc869aab..9c89e8b0a82fabe55c6366aa65eb987f05bb4472
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=8906665ace32eb0dc12810667ee8646bd660c374..6423e6bb6191982da1c09a21a46c68b494f5b1b5

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

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-14 15:36:14 -06:00
Anurag Dutta
272870dd26 conf: machine: j722s: Change overlay in KERNEL_DEVICETREE_PREFIX
Currently, the overlay mentioned in KERNEL_DEVICETREE_PREFIX in case
of j722s is "k3-j7200-evm-mcspi-loopback" which is incorrect. Change
the overlay to "k3-am625-sk-mcspi-loopback.dtso" in order to carry
out SPI loopback tests successfully.

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

Signed-off-by: Anurag Dutta <a-dutta@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-13 13:42:33 -06:00
Randolph Sapp
4aa400f2bc beagle-bsp: 6.6 select newer mesa version
Update the bb_org-6.6 bsp provider to pick the correct version of
mesa-pvr. This probably should have be a part of the previous patch
switching ti bsp logic as well.

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

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

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-10 08:50:35 -06:00
Chirag Shilwant
c7e42b3014 conf: machine: am62lxx-evm: Add logic to generate UBI filesystem images
Add logic to generate UBI filesystem images which can be used to directly
flash into the NAND’s file-system partition.

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-07 13:37:47 -06:00
Chirag Shilwant
d91ef21814 meta-ti-bsp: Add Support for AM62L
- Add machine configuration for am62lxx-evm

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

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

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

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

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

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

License-Update: Updates w.r.t TFA Hob creation code

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-07 13:37:47 -06:00
Chirag Shilwant
ad9e32a87c trusted-firmware-a: Update to v2.12 release tag
Bump up to latest release tag (i.e. v2.12)

Commit: 4ec2948fe3

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

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-07 13:37:47 -06:00
Chirag Shilwant
4a8e6f9d07 recipes-security: optee: Update to v4.5.0+
Bump up SRCREV of optee-os to ef1ebdc23034a804a72da2207f1a825ce96a1464

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-07 13:37:47 -06:00
Ryan Eatmon
3e325510c4 Revert "u-boot: Fix implicit declaration compile error"
This reverts commit eeb68bcae3.

This patch was accepted to the ti-u-boot repo, so this patch is no
longer needed.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-07 13:37:47 -06:00
Anurag Dutta
d590ddc71e conf: machine: j722s: Add overlay to KERNEL_DEVICETREE_PREFIX
Add the overlay "k3-j7200-evm-mcspi-loopback.dtso" to the j722s
configuration so that SPI loopback tests can be carried out
successfully.

Signed-off-by: Anurag Dutta <a-dutta@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-05 08:47:20 -06:00
Randolph Sapp
17a32b9eb0 mesa-pvr: relocate 22.3.5 patches
Relocate the patches for 22.3.5 to the mesa-pvr-22.3.5 subdirectory so
it's more clear what version of mesa they apply to.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-04 16:26:03 -06:00
LCPD Automation Script
b11e9a98e8 u-boot-ti-mainline: Update to version: v2025.01
Updated the value(s) for:
  u-boot-ti-mainline: PV,SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-04 16:26:03 -06:00
Randolph Sapp
2fbed1bdf6 ti-img-rogue-umlibs: filter binaries post install
No reason to do this pre install now that my python function can
evaluate file paths. Also, this may have been causing issues with state
when attempting to switch between opencl enabled/disabled builds.

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

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

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-04 16:26:03 -06:00
Randolph Sapp
8c696f0b0b ti-img-rogue-*: version 24.1.6554834 -> 24.2.6643903
Bump the package version for DDK 24.2, this includes a few fixups from
IMG and support for a newer version of mesa.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-04 16:26:03 -06:00
Ryan Eatmon
eeb68bcae3 u-boot: Fix implicit declaration compile error
A recent patch to ti-u-boot 2025.01 introduces a compile error on
master for am64xx-evm.  A patch has been sent to the mailing list
that fixes this, but it will take time before we will see that patch
available to us on master.  So we need to carry the patch here.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-02-03 17:25:00 -06:00
LCPD Automation Script
c43e3388e4 CI/CD Auto-Merger: cicd.master.202502031558
Updated the value(s) for:
  ti-linux-fw: CNM_WAVE521_FW_VERSION,TI_LINUX_FW_SRCREV
  u-boot-ti-staging_2025.01: SRCREV
  linux-ti-staging_6.12: PV,SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=1eaf07dc4ec5cdeb98078f17a9d4635e88f43f75..7fbc75f80161a400a4b9c618b6191d72ab408def
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=b841e559cd26ffcb20f22e8ee75debed9616c002..4e9c90ad8b12cc5b4fdd1308bc3ac3e4fc869aab
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=ade72d105eb7c9a2a4addfd0204eb4551b8efa7a..8906665ace32eb0dc12810667ee8646bd660c374

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-02-03 15:59:21 -06:00
Beleswar Padhi
94f98f205c linux-ti-staging: Add config-fragments for v6.12 Kernel
ti-linux-kernel tree has several prune config fragments for ARM/ARM64/RT
configurations. Enable the prune config fragments here.

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

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

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

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

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

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2025-01-22 15:08:56 -06:00
Ryan Eatmon
a98ed70215 ti-ipc-rtos: Move to update-alternatives class
There were some errors related to ipk postinst.  The issues were fixed
by going to the update-alternatives class instead of trying to create
the steps directly in the recipe.

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

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

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

and

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-01-22 15:08:56 -06:00
Ryan Eatmon
8ce8be4eac u-boot-ti-mainline: Add patch to use SWIG_AppendOutput
Missed this recipe with the previous recipe.

Swig has changed language specific AppendOutput functions. The helper
macro SWIG_AppendOutput remains unchanged. Use that instead
of SWIG_Python_AppendOutput, which would require an extra parameter
since swig 4.3.0.

This is a port from oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=4eae7888e91c7c864bf490dee38716267be6202e

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-01-22 15:08:56 -06:00
Andrew Davis
417aa872fd ti-bsp: Disable GC320 support conditionally on BSP version
Like we do with GPU support, GC320 support is conditional on the
kernel we are building and so should be disabled here for kernels
on which it is not functional yet.

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

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

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

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

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

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

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-01-22 15:08:56 -06:00
Ryan Eatmon
8454da0554 conf: machine: beaglebone-ai64: Update SPL_BINARY
Rather than override the value for SPL_BINARY for all bsps, simply just
set the value to the correct value.  This should be ok since all
beaglebone-ai64 variations should use tispl.bin_unsigned.

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

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

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

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-01-22 15:08:56 -06:00
Ryan Eatmon
df20c5b64a meta-beagle: Add SECURITY file
Add missing SECURITY file required by yocto-check-layer.

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

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

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

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

Also remove 2 unused kernel patches that were needed for 5.10

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-12-16 08:47:11 -06:00
Denys Dmytriyenko
8956d190e1 conf/machine: add BeagleY-AI platform
Add machine configuration for BeagleY-AI platform.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-12-16 08:47:11 -06:00
Denys Dmytriyenko
d8f72948e0 linux-bb.org: update Beagle BSP to 6.1.83
Update Beagle BSP to the latest 6.1.83 kernel version.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-12-16 08:47:11 -06:00
Denys Dmytriyenko
4ea03b03a6 u-boot-bb_org, linux-bb_org: move "bb_org" providers to meta-beagle
Move "bb_org" kernel and U-boot providers that use corresponding official
BeagleBoard.org trees into own meta-beagle layer.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-12-16 08:47:11 -06:00
Denys Dmytriyenko
43d10b0593 conf/machine: move remaining Beagle platforms to meta-beagle
Include beagle-bsp.inc to define "bb_org" BSP settings and select that
as a default.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-12-16 08:47:11 -06:00
Denys Dmytriyenko
1644eaefd2 conf/machine: split beagleplay config between meta-ti-bsp and meta-beagle
Extract "bb_org" BSP specific settings from beagleplay-ti in meta-ti-bsp and
move them to own beagleplay machine config in meta-beagle.

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

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-12-16 08:47:11 -06:00
Denys Dmytriyenko
397a903c88 conf/machine: move "bb_org" BSP settings to meta-beagle
Define "bb_org" default BSP settings in meta-beagle layer that all Beagle
platforms will use.

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

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

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

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

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-12-16 08:31:15 -06:00
Andrew Davis
43b88381e6 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>
2024-12-13 12:03:52 -06:00
Andrew Davis
3addc8d442 meta-ti-extras: recipes-ti: Remove gadget-init package
As the patch that added these states, this is an ugly hack, the issues
involved are fixed and no longer relevant, remove this.

Signed-off-by: Andrew Davis <afd@ti.com>
2024-12-13 12:03:42 -06:00
Andrew Davis
7b41d83f37 wl18xx-fw: Do not depend on the makefile for install
We use the makefile shipped with the firmware to deploy the firmware
instead of just manually moving it in the install step. But the makefile
doesn't do the right thing, so we also modify the makefile. Skip all
this and just move the firmware ourselves.

Signed-off-by: Andrew Davis <afd@ti.com>
2024-12-13 12:03:31 -06:00
Aniket Limaye
c58af0b172 conf: machine: omap-a15.inc: include ipu1 firmware in the boot partition
Early Boot of remote processors is supported at the SPL stage of the
bootloader. Currently, SPL looks for the remoteproc firmwares in the
boot partition.

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

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

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

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

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

Signed-off-by: Aashvij Shenai <a-shenai@ti.com>
Acked-by: Chirag Shilwant <c-shilwant@ti.com>
2024-12-13 09:25:52 -06:00
LCPD Automation Script
57da6c15cf CI/CD Auto-Merger: cicd.master.202412130100
Updated the value(s) for:
  u-boot-ti-staging_2023.04: SRCREV
  linux-ti-staging-rt_6.1: SRCREV
  linux-ti-staging_6.1: SRCREV

Changelogs:
  u-boot-ti-staging_2023.04: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=2a13324ec63cc488f5f578886d0cf6ece348dfda..2bedcd265ca6de803c90505df5962cbd70cda611
  linux-ti-staging-rt_6.1: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=b0f9de804a162329bc81857ad50947311228dfb2..9e8992fb839c642e3c20ee8ce69a30dbaae7f498
  linux-ti-staging_6.1: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=c490f4c0fe51281818c45159c0fbed94f852978e..e4e8b16e66f592749984b2d287e0479e93ef35b3

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-12-13 01:00:45 -06:00
LCPD Automation Script
039f523ae5 CI/CD Auto-Merger: cicd.master.202412101025
Updated the value(s) for:
  ti-linux-fw: PRUETH_FW_AM65X_SR2_VERSION,TI_LINUX_FW_SRCREV,TI_SYSFW_VERSION
  u-boot-ti-staging_2023.04: SRCREV
  u-boot-ti-staging_2024.04: SRCREV
  linux-ti-staging-rt_6.1: PV,SRCREV
  linux-ti-staging-rt_6.6: PV,SRCREV
  linux-ti-staging_6.1: PV,SRCREV
  linux-ti-staging_6.12: SRCREV
  linux-ti-staging_6.6: PV,SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=7179a74d1ed38e581bcd35e7b05632955e962c30..1eaf07dc4ec5cdeb98078f17a9d4635e88f43f75
  u-boot-ti-staging_2023.04: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=0853d7725220d59130d8bcc59d01151cba64ffa0..2a13324ec63cc488f5f578886d0cf6ece348dfda
  u-boot-ti-staging_2024.04: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=2a7de06d57399e04738573622cbdaa3532e7ab4d..29d0c23d67ee7b88e46fe1753cd020e2b04c2ef6
  linux-ti-staging-rt_6.1: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=451df8c0a2a3bcf0656b2f6fdc49d6fb4d05f186..b0f9de804a162329bc81857ad50947311228dfb2
  linux-ti-staging-rt_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=d7b6ee144955d71f1c3d29b7dc08619961f12d64..c79d7ef3a56ff61dd83d5527520b419a4f0e32e2
  linux-ti-staging_6.1: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=92ce8d7d2ab679e10c1dda309a0fb2ceae78b908..c490f4c0fe51281818c45159c0fbed94f852978e
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=f8f8c0b547f67d2d4d653cc59753f85275ff54f2..ade72d105eb7c9a2a4addfd0204eb4551b8efa7a
  linux-ti-staging_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=118cf0c8b392bed94437f1519de10b63705dbacd..a7758da17c2807e5285d6546b6797aae1d34a7d6

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-12-10 10:26:33 -06:00
Ryan Eatmon
81cac4cbc7 u-boot: Add patch to use SWIG_AppendOutput
Swig has changed language specific AppendOutput functions. The helper
macro SWIG_AppendOutput remains unchanged. Use that instead
of SWIG_Python_AppendOutput, which would require an extra parameter
since swig 4.3.0.

This is a port from oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=4eae7888e91c7c864bf490dee38716267be6202e

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-12-07 11:43:48 -06:00
Chirag Shilwant
70c21b00dc conf: layer.conf: Drop scarthgap from LAYERSERIES_COMPAT
After scarthgap release, oe-core switched to use UNPACKDIR instead
of WORKDIR [1]. Post this change, meta-ti updated all references of
WORKDIR to UNPACKDIR in master branch.

Since, UNPACKDIR changes aren't backported to oe-core:scarthgap, we need to
drop it from LAYERSERIES_COMPAT in meta-ti.

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

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Acked-by: Denys Dmytriyenko <denys@konsulko.com>
2024-12-06 09:22:25 -06:00
Judith Mendez
5ff33770ca conf: machine: am62xx-lp-evm: Add PWM overlays
Add the PWM overlays: k3-am62x-sk-dmtimer-pwm and k3-am62x-sk-pwm
for AM62 LP SK.

Signed-off-by: Judith Mendez <jm@ti.com>
2024-12-06 09:22:10 -06:00
Denys Dmytriyenko
346f244bf7 ti-ipc: mark as incompatible with non-Linux builds
This package provides Linux-side components for TI IPC and depends on
virtual/kernel Linux kernel for the build, so it is not compatible with
non-Linux builds, such as k3r5 baremetal multiconfig. Hence adjust
COMPATIBLE_HOST accordingly.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-11-21 15:41:23 -06:00
Rishikesh Donadkar
c27866c485 conf: machine: am62pxx: Pick overlays for V3Link cameras
The V3Link camera fusion board [1] can be used to connect upto 4
OV5640 sensors to SK-AM62A.

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

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

Signed-off-by: Rishikesh Donadkar <r-donadkar@ti.com>
Acked-by: Chirag Shilwant <c-shilwant@ti.com>
2024-11-21 09:41:02 -06:00
Andrew Davis
b0a56662ae ti-ipc-examples: Remove DSP/BIOS IPC examples
This IPC example is no longer supported nor recommended for new designs.
The documentation is no not available either (was on Processors Wiki).
Remove this example.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-11-15 15:23:18 -06:00
Ryan Eatmon
c46f49d38a SECURITY: Add file
Add a SECURITY file with hints for security researchers and other
parties who might report potential security vulnerabilities.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Acked-by: Denys Dmytriyenko <denys@konsulko.com>
2024-11-15 15:23:18 -06:00
LCPD Automation Script
5602c567ae CI/CD Auto-Merger: cicd.master.202411120100
Updated the value(s) for:
  u-boot-ti-staging_2024.04: SRCREV
  linux-ti-staging-rt_6.6: SRCREV
  linux-ti-staging_6.6: SRCREV

Changelogs:
  u-boot-ti-staging_2024.04: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=1d8a15d0fb56ae479dd3c11e3b17d7434b079acd..2a7de06d57399e04738573622cbdaa3532e7ab4d
  linux-ti-staging-rt_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=4143633c95dc50cb5e2c695629d8b6302ef8de81..d7b6ee144955d71f1c3d29b7dc08619961f12d64
  linux-ti-staging_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=399452cd6d8ff30967ddc4baa444afd32cbbedeb..118cf0c8b392bed94437f1519de10b63705dbacd

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

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

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

58b25570c9

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

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

This reverts commit dbc6afc46e.

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

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-11-06 13:48:12 -06:00
LCPD Automation Script
1e5b17d74c CI/CD Auto-Merger: cicd.master.202411061115
Updated the value(s) for:
  ti-linux-fw: CNM_WAVE521_FW_VERSION,TI_DM_FW_VERSION,TI_LINUX_FW_SRCREV,TI_SYSFW_VERSION
  u-boot-ti-staging_2024.04: SRCREV
  u-boot-ti-staging_2024.10: SRCREV
  linux-ti-staging-rt_6.6: SRCREV
  linux-ti-staging_6.12: PV,SRCREV
  linux-ti-staging_6.6: SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=ddb9cc251ace41dfad6650390f82e4a389d3967e..7179a74d1ed38e581bcd35e7b05632955e962c30
  u-boot-ti-staging_2024.04: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=cdac8b4cd3cc1d1e9ac6354c1cfe03ddbbdf01fa..1d8a15d0fb56ae479dd3c11e3b17d7434b079acd
  u-boot-ti-staging_2024.10: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=c97ada2dc66934ee00a7a03d9ed078bdfb7b4039..f919c3a889f0ec7d63a48b5d0ed064386b0980bd
  linux-ti-staging-rt_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=517163f797b81a8277a000d6a1c9dfd89b3711b8..4143633c95dc50cb5e2c695629d8b6302ef8de81
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=9852d85ec9d492ebef56dc5f229416c925758edc..f8f8c0b547f67d2d4d653cc59753f85275ff54f2
  linux-ti-staging_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=32ae7316ddc6d9b6bb0d87706cf7daa44c4c1e92..399452cd6d8ff30967ddc4baa444afd32cbbedeb

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-31 15:22:17 -05:00
Chirag Shilwant
23f799352f conf: machine: Add support for bsp-ti-6_12 in beagleplay
Add bsp-ti-6_12 overrides in A53 & R5 machine configuration
to ensure it picks the appropriate u-boot configs for beagleplay

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

Following firmwares have the fix [0]

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

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-23 09:23:04 -05:00
Ryan Eatmon
8dc9be18c5 optee: Update to v4.4.0
Update all of the components to the upstream 4.4.0 version.

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-22 11:59:48 -05:00
Ryan Eatmon
2d50a0ddf7 u-boot-ti-mainline: Update to 2024.10
Update to the latest u-boot release v2024.10.

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

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-22 11:59:48 -05:00
Ryan Eatmon
b8e108bace linux: Consolidate the SRC_URI variables
It was suggested to move the reproducibility patches out of
ti-kernel.inc and into the respective recipes.

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

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

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

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

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-19 14:05:48 -05:00
Randolph Sapp
c251afc88c ti-img-rogue-umlibs: fix j721e NPOT texture issues
Resolve some issues with J721E and compressed NPOT (Non-Power-Of-Two)
textures.

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

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

This update resolves issues with:

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

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

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

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-19 14:05:48 -05:00
LCPD Automation Script
82ee1dc3bb CI/CD Auto-Merger: cicd.master.202410170100
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV,TI_SYSFW_VERSION
  u-boot-ti-staging_2023.04: SRCREV
  u-boot-ti-staging_2024.04: SRCREV
  linux-ti-staging-rt_6.1: SRCREV
  linux-ti-staging-rt_6.6: SRCREV
  linux-ti-staging_6.1: SRCREV
  linux-ti-staging_6.6: SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=64248dad39a9448ad191bc04130c49e0354cb2ce..ddb9cc251ace41dfad6650390f82e4a389d3967e
  u-boot-ti-staging_2023.04: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=7044504f44002fe46b4598420852033d335d56c7..0853d7725220d59130d8bcc59d01151cba64ffa0
  u-boot-ti-staging_2024.04: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=b78dde22088773147d80c3b85c885d9be7a2bfab..cdac8b4cd3cc1d1e9ac6354c1cfe03ddbbdf01fa
  linux-ti-staging-rt_6.1: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=258616ead12edc4acf7ac38e741d588b372144e4..451df8c0a2a3bcf0656b2f6fdc49d6fb4d05f186
  linux-ti-staging-rt_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=d05688f353d10af170286db56535443184202eab..517163f797b81a8277a000d6a1c9dfd89b3711b8
  linux-ti-staging_6.1: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=da449d8c3cf600b0346a6696e1e3cc431422e765..92ce8d7d2ab679e10c1dda309a0fb2ceae78b908
  linux-ti-staging_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=325ad3650d0b50a4943b9151fb43411f08ad5d0c..32ae7316ddc6d9b6bb0d87706cf7daa44c4c1e92

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-10-17 01:00:37 -05:00
Denys Dmytriyenko
7bec871032 layer.conf: add compatibility with walnascar
The next Yocto Project release is called walnascar and OE-Core master branch
is now marked accordingly. Add layer compatibility with walnascar.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-14 10:14:36 -05:00
Ryan Eatmon
5a9e0b13fc ti-bsp: Add RT and systest support
We were missing controlling the versions for linux-ti-staging-rt and
linux-ti-staging-systest using the BSP framework.  Since the
PREFERRED_VERSION is not tied to the virtual/kernel we need two
additional settings for those alternate kernel package names.

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-09 08:52:03 -05:00
Ryan Eatmon
f79a03d094 ti-bsp: Fix copy/paste error for bsp-ti-6_12 setting
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-08 15:44:59 -05:00
LCPD Automation Script
ad8b020afe CI/CD Auto-Merger: cicd.master.202410070100
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV
  u-boot-ti-staging_2023.04: SRCREV
  linux-ti-staging-rt_6.1: PV,SRCREV
  linux-ti-staging_6.1: PV,SRCREV

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

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-10-07 01:00:42 -05:00
Ryan Eatmon
6f4d850513 optee: Update to v4.3.0
Update all of the components to the upstream 4.3.0 version.

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-04 10:36:07 -05:00
Ryan Eatmon
e6a4429404 ti-bsp: Add ti-6_12
Add new BSP for the 6.12 kernel and u-boot 2024.10 versions.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-04 10:36:07 -05:00
Ryan Eatmon
0856baebb8 u-boot-ti-staging: Add v2024.10 recipe
Adding needed recipe for initial testing and development of the 2024.10
version of u-boot for the next LTS.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-04 10:36:07 -05:00
Ryan Eatmon
1dc422c0fe linux-ti-staging: Add v6.12 recipe
Adding needed recipes for initial testing and development of the 6.12
kernel for the next LTS.

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

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

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-01 15:45:11 -05:00
LCPD Automation Script
b16f312185 CI/CD Auto-Merger: cicd.master.202410010957
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV
  u-boot-ti-staging_2024.04: SRCREV
  linux-ti-staging-rt_6.6: PV,SRCREV
  linux-ti-staging_6.6: PV,SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=35fa44a93549d8d91b1c37a7b9f8767dbe7d37eb..821faad142f51304bf2f8e0526838f17dc247825
  u-boot-ti-staging_2024.04: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=7986fd679935818d0ef11e6a334377df178774f6..b78dde22088773147d80c3b85c885d9be7a2bfab
  linux-ti-staging-rt_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=85d46cfcef8242e37cbd99a6591cab2b90d0d8ed..d05688f353d10af170286db56535443184202eab
  linux-ti-staging_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=d5b1bee95de93e6ab87e73242c20910e7d7d3d83..325ad3650d0b50a4943b9151fb43411f08ad5d0c

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-10-01 06:58:22 -05:00
Andrew Davis
348fa454bc meta-ti-extras: ti-osal: Remove this recipe
Last user was dspdce-fw which is removed. Remove this now unused
support library.

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

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

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

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

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

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

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-09-13 10:38:39 -05:00
Ryan Eatmon
ad3ccfd1e3 u-boot-ti.inc: Refactor overrides to match changes in oe-core
A recent change in oe-core [1] to refactor the uboot flow allows for a more
targeted refactoring of our override code as well.

Additionally, fix the UBOOT_CONFIG code to work correctly for k3r5
builds.

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-09-13 10:37:52 -05:00
LCPD Automation Script
73f2c9fb44 CI/CD Auto-Merger: cicd.master.202409100100
Updated the value(s) for:
  u-boot-ti-staging_2024.04: SRCREV
  linux-ti-staging-rt_6.6: SRCREV
  linux-ti-staging_6.6: SRCREV

Changelogs:
  u-boot-ti-staging_2024.04: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=818c76aed67f94059b9ebb94d237418802620b81..7986fd679935818d0ef11e6a334377df178774f6
  linux-ti-staging-rt_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=f9bceb7343387ac6fab003518f1cd31987d6eb05..85d46cfcef8242e37cbd99a6591cab2b90d0d8ed
  linux-ti-staging_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=db88712931433e92a5f73cec57c82c5c7ebee593..d5b1bee95de93e6ab87e73242c20910e7d7d3d83

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

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

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

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

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-08-27 10:13:02 -05:00
Kamlesh Gurudasani
f8ccb20709 trusted-firmware-a: Update to v2.11 release tag
Update to latest release tag, i.e. v2.11.

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

Commit:
f2735ebccf

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

Signed-off-by: Kamlesh Gurudasani <kamlesh@ti.com>
Tested-by: Manorit Chawdhry <m-chawdhry@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-08-16 13:52:11 -05:00
LCPD Automation Script
e41f1e56b6 CI/CD Auto-Merger: cicd.master.202408050100
Updated the value(s) for:
  ti-linux-fw: PRUETH_FW_AM65X_SR2_VERSION,TI_LINUX_FW_SRCREV,TI_SYSFW_VERSION
  u-boot-ti-staging_2024.04: SRCREV
  k3conf: SRCREV
  linux-ti-staging-rt_6.6: SRCREV
  linux-ti-staging_6.6: SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=af745923679b12f9872ed43e510e74335149de1c..35fa44a93549d8d91b1c37a7b9f8767dbe7d37eb
  u-boot-ti-staging_2024.04: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=79b13d5cb02d619cfb1842ee28ea2e7b77be54cc..818c76aed67f94059b9ebb94d237418802620b81
  k3conf: https://git.ti.com/cgit/k3conf/k3conf/log/?qt=range&q=85a7433202aafafbccea8a7b2491f4df8b1ecd80..30a1d5b2d08c0da39d4e62b3ebee591a9882fa21
  linux-ti-staging-rt_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=30b405326c30368375e58551f85c9e531ec4aef2..f9bceb7343387ac6fab003518f1cd31987d6eb05
  linux-ti-staging_6.6: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=15f828fd0fc706919f64551afbe431eb66ba927f..db88712931433e92a5f73cec57c82c5c7ebee593

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-08-05 01:00:58 -05:00
Nishanth Menon
de34ec2253 meta-ti-extras: recipes-multimedia: libdce: Fix libdce SRC_URI
omapzoom has been down since a long time. Point the repository to the
mirror in git.ti.com

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

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

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

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

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

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

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

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-26 15:39:29 -05:00
Ryan Eatmon
5b0269f3eb gdbserver-c6x: Disable buildpaths check
The ti-cgt6x compiler is a custom TI compiler for the TI C6000
Digital Signal Processor(DSP) platform.  It does not currently
support reproducible builds and is provided via a binary blob
download that we cannot patch in the recipe to address the
issue.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-26 15:39:29 -05:00
Ryan Eatmon
7f65ede025 libulm: Disable buildpaths check
The ti-cgt6x compiler is a custom TI compiler for the TI C6000
Digital Signal Processor(DSP) platform.  It does not currently
support reproducible builds and is provided via a binary blob
download that we cannot patch in the recipe to address the
issue.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-26 15:38:40 -05:00
Ryan Eatmon
fbe16e3eeb ti-ipc-rtos: Disable buildpaths check
The ti-cgt6x compiler is a custom TI compiler for the TI C6000
Digital Signal Processor(DSP) platform.  It does not currently
support reproducible builds and is provided via a binary blob
download that we cannot patch in the recipe to address the
issue.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-26 15:38:03 -05:00
Ryan Eatmon
b16d0babea ti-sysbios: remove install log to avoid "buildpaths" QA error
Installer log contains absolute paths and is not really needed.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-23 17:01:28 -05:00
Aniket Limaye
a4a5a30039 meta-ti-bsp: j742s2: add Rogue GPU driver to machine definition
Add ti-img-rogue-driver as the preferred provider and enable the gpu
driver in the image.

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-19 11:15:51 -05:00
Aniket Limaye
7b1c139e89 meta-ti-bsp: powervr: Enable building for j742s2
j742s2 has the same GPU as j784s4. Add j742s2 support to the recipes.

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-19 11:15:51 -05:00
Aniket Limaye
437fbea114 meta-ti-bsp: Add support for j742s2-evm
- Add A72 and R5 machine configurations for j742s2-evm
- Add firmware overrides.
- Add u-boot overrides.

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-19 11:15:51 -05:00
Denys Dmytriyenko
03835ac821 ti-cgt-pru: remove install log to avoid "buildpaths" QA error
Installer log contains absolute paths and is not really needed.

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

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

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-19 11:15:51 -05:00
Denys Dmytriyenko
5e40907f51 ti-cgt-pru: UNPACKDIR cleanup
Fix warning that S does not exist, since it defaults to ${WORKDIR}/${BP}

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-19 11:15:51 -05:00
Randolph Sapp
3482afd702 ti-img-rogue-driver: pickup page size patches
Bump SRCREV to pick up some patches that adjust the way heaps are
sized. This solves issues seen when utilizing page sizes greater
than 4K.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-19 11:15:51 -05:00
Ryan Eatmon
249e45eaaa linux: Manage the kernel patches using the BSP system
Applying the patches to all kernels is not going to work.  Each kernel
might need different patches to address reproducibility issues.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-19 11:15:51 -05:00
Ryan Eatmon
cb64486357 conf: machine: j722s: Update IMAGE_BOOT_FILES for mainline builds
As this is still a new platform, the bsp-mainline also does not have the
hs-fs boot files.

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

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

Suggested-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-17 09:11:43 -05:00
Denys Dmytriyenko
c56bdd9ffa linux: add linux-yocto reproducibility patches
Add reproducibility patches from linux-yocto to resolve "buildpaths"
QA errors.

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

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-17 09:11:43 -05:00
Ryan Eatmon
fb23cc6a0f Revert "conf: machine: am62*-evm-k3r5.conf: apply fragment for enabling USB DFU"
This reverts commit fa94effc26.

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-12 07:17:52 -05:00
LCPD Automation Script
a3965d5bbb CI/CD Auto-Merger: cicd.master.202407120100
Updated the value(s) for:
  u-boot-ti-staging_2024.04: SRCREV
  linux-ti-staging-rt_6.6: SRCREV
  linux-ti-staging_6.6: SRCREV

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

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

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

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

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

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

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

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Acked-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-09 08:36:29 -05:00
LCPD Automation Script
fc771bbfff CI/CD Auto-Merger: cicd.master.202407080100
Updated the value(s) for:
  ti-linux-fw: TI_DM_FW_VERSION,TI_LINUX_FW_SRCREV,TI_SYSFW_VERSION
  u-boot-ti-staging_2024.04: SRCREV
  linux-ti-staging-rt_6.6: SRCREV
  linux-ti-staging_6.6: SRCREV

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

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

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

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

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

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

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

Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-01 08:58:02 -05:00
Randolph Sapp
a2ff03cc4e ti-img-rogue-driver_24.1: gcc 14 compat
Bump this recipe to add a change to help with GCC 14 compatibility in
the check-cc script used to check compiler flags before use.

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

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

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

Signed-off-by: Sabeeh Khan <sabeeh-khan@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-01 08:58:02 -05:00
Sabeeh Khan
f9e2f462df cc33xx-fw: install cc33xx firmware
Download and install the cc33xx firmware and binaries
to be used with the cc33xx drivers.

FW Version: 1.7.0.120

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

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

Signed-off-by: Sabeeh Khan <sabeeh-khan@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-01 08:58:02 -05:00
Denys Dmytriyenko
5cda7e9f4a linux: cleanup and unify mainline and next kernel recipes
Share the most commonality between the recipes, except:

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

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-01 08:58:02 -05:00
Denys Dmytriyenko
ffae59bd23 ti-rtos-metadata: remove
The use of external metadata file to control RTOS binary firmware
integration has been deprecated some time ago. Remove it now.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-07-01 08:58:02 -05:00
LCPD Automation Script
6ccf1ef669 CI/CD Auto-Merger: cicd.master.202407010100
Updated the value(s) for:
  ti-linux-fw: PRUETH_FW_AM65X_SR2_VERSION,TI_LINUX_FW_SRCREV,TI_SYSFW_VERSION
  u-boot-ti-staging_2024.04: SRCREV
  linux-ti-staging-rt_6.6: SRCREV
  linux-ti-staging_6.6: SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-07-01 01:01:01 -05:00
LCPD Automation Script
74bbfb13a3 CI/CD Auto-Merger: cicd.master.202406240100
Updated the value(s) for:
  ti-linux-fw: CNM_WAVE521_FW_VERSION,TI_DM_FW_VERSION,TI_LINUX_FW_SRCREV
  u-boot-ti-staging_2024.04: SRCREV
  linux-ti-staging-rt_6.6: SRCREV
  linux-ti-staging_6.6: SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-06-24 01:00:48 -05:00
Ryan Eatmon
1a2b4ab009 conf/machine, ti-bsp: Add support for next BSP provider
For our upstream testing flow we have the need to have a "next" BSP for
configuring various settings based on building the latest kernel/uboot.

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-20 10:31:30 -05:00
LCPD Automation Script
1199fc6c4c CI/CD Auto-Merger: cicd.master.202406200100
Updated the value(s) for:
  u-boot-ti-staging_2024.04: SRCREV
  linux-ti-staging-rt_6.6: SRCREV
  linux-ti-staging_6.6: SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-06-20 01:00:45 -05:00
Denys Dmytriyenko
ec55b64ac0 j7200: mainline BSP doesn't support all SR and HS variants
Adjust IMAGE_BOOT_FILES list as mainline BSP does not support all combinations
of SR1.0, SR2.0, HS-FS and HS-SE variants.

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

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

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

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

[1]: c9507f07a1

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-17 13:44:25 -05:00
LCPD Automation Script
6efc41de60 CI/CD Auto-Merger: cicd.master.202406151518
Updated the value(s) for:
  u-boot-ti-staging_2024.04: SRCREV
  linux-ti-staging-rt_6.6: PV,SRCREV
  linux-ti-staging_6.6: PV,SRCREV

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

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

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

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

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

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

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

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

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

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

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

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

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

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-15 08:05:34 -05:00
Denys Dmytriyenko
12909d3329 conf/machine, linux-bb.org: re-org DT lists for Beagle platforms
In order to be able to switch between different kernel providers, as well
as different versions of kernel LTS (e.g. 6.1 vs. 6.6), let's re-organize
Device Tree lists as follows:

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

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

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

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

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

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

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

[1]: a96be9b8c0

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-15 08:05:34 -05:00
Ryan Eatmon
018da3e8fb gcc-arm-baremetal: Add arch to INSANE_SKIP
A newly enabled check in master is causing errors with this package:

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

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

Suggested-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-15 08:05:34 -05:00
Ryan Eatmon
4f72749fc5 gdbc6x: Update to UNPACKDIR for files going into WORKDIR
For recipes that have file:// in SRC_URI, the files are placed into
WORKDIR.  Moving forward [1], that directory will be UNPACKDIR and
eventually move to somewhere other than WORKDIR.  So update all
references to WORKDIR that are looking for these file to use UNPACKDIR
instead.

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-15 08:05:34 -05:00
Ryan Eatmon
427ad9ac71 gdbc6x: Update for gcc v14 support
One of the changes in gcc v14 is making implicit-function-declaration an
error.  For some older software packages the easiest fix is to add
-fpermissive to the compile line.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-15 08:05:34 -05:00
Randolph Sapp
7cad3d456d ti-img-rogue-umlibs: bump SRCREV for alloc patch
Bump the SRCREV to pick up rebuilt binaries. Upstream release notes:

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

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

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-15 08:05:34 -05:00
Kamlesh Gurudasani
6fc988cbbd optee: Update to upstream 4.2.0
Update all of the optee components to the upstream 4.2.0 version.

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

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

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-15 08:05:34 -05:00
Denys Dmytriyenko
fa7500e55c layer.conf, TODO: drop nanbield compatibility
As nanbield has been EOL-ed recently.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-15 08:05:34 -05:00
Denys Dmytriyenko
d88df6a540 python3-yamllint: remove local copy
This has been accepted to oe-core and is available in scarthgap and newer.

This reverts commit e9a56223ed.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-06-15 07:56:50 -05:00
Ryan Eatmon
56a5dc475f recipes: Switch away from S = WORKDIR
Follow along with the corresponding patch in upstream. [1]

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-05-31 11:51:39 -05:00
Ryan Eatmon
afcdfa2e63 recipes: Update to UNPACKDIR for files going into WORKDIR
For recipes that have file:// in SRC_URI, the files are placed into
WORKDIR.  Moving forward [1], that directory will be UNPACKDIR and
eventually move to somewhere other than WORKDIR.  So update all
references to WORKDIR that are looking for these file to use UNPACKDIR
instead.

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-05-31 11:51:39 -05:00
LCPD Automation Script
67b556502b CI/CD Auto-Merger: cicd.master.202405210100
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV,TI_SYSFW_VERSION
  u-boot-ti-staging_2023.04: SRCREV
  u-boot-ti-staging_2024.04: SRCREV
  linux-ti-staging-rt_6.1: PV,SRCREV
  linux-ti-staging-rt_6.6: SRCREV
  linux-ti-staging_6.1: PV,SRCREV
  linux-ti-staging_6.6: SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-05-21 01:00:46 -05:00
Chirag Shilwant
37cfdd73ea conf: am437x-evm: Bump up max_leb_cnt
New features added require another increase to max_leb_cnt.

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-05-14 11:02:56 -05:00
Randolph Sapp
c7f07f1bf0 mesa-pvr_23.2.1: add recipe for 23.2.1
Add a recipe for mesa-pvr to use a newer branch based on mesa 23.2.1.
This branch does not currently contain SGX patches so it is also being
masked by the ltsprep branding to prevent regressing those devices
currently.

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

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

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

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-05-02 15:01:10 -05:00
Ryan Eatmon
c293c51881 conf: machine: am69-sk: Create a new am69.inc file
Reusing the j784s4.inc file presents problems as the am69-sk platform
does not support GP.  So copy the j784s4.inc to am69.inc and update
accordingly.

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-30 14:59:25 -05:00
LCPD Automation Script
8ef18d1d03 CI/CD Auto-Merger: cicd.master.202404300100
Updated the value(s) for:
  u-boot-ti-staging_2024.04: SRCREV
  linux-ti-staging-rt_6.6: PV,SRCREV
  linux-ti-staging_6.6: PV,SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-04-30 01:00:56 -05:00
Beleswar Padhi
dd2e3f5879 conf: machine: add AM69-SK machine configuration
As of commits [1] and [2] in ti-u-boot-2024.04 and upstream respectively
there is a separate defconfig to build u-boot for j784s4-evm and am69-sk

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

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

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

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

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

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

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

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

or

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

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

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

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

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

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

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

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

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

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-18 16:21:17 -05:00
Ryan Eatmon
e5a87c42d9 conf/layer.conf: Update LAYERSERIES_COMPAT
Update LAYERSERIES_COMPAT to remove EOL branches and add future styhead.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-17 13:36:59 -05:00
Ryan Eatmon
ab7ed505a4 TODO: Add TODO list
In an attempt to try and better support non-LTS branches, we need to do
a better job at not removing temporary patches too soon from master.
This TODO file should allow us to better schedule the time when the
patches can be safely removed.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-17 09:30:19 -05:00
Ryan Eatmon
e9a56223ed python3-yamllint: Temporarily carry this new recipe
Add recipe for yamllint.  There is an upcoming change in u-boot where
the binman tool is now configured to call yamllint to verify the configs
during compile time.

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

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-17 09:30:19 -05:00
Ryan Eatmon
4039d9a247 linux-ti-staging: Remove SRCPV again
Our CICD script inadvertently added the SRCPV back into the recipes.
The script has been fixed, so removing the variable once again.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-04-17 09:13:36 -05:00
LCPD Automation Script
42c30ed165 CI/CD Auto-Merger: cicd.master.202404100939
Updated the value(s) for:
  ti-linux-fw: PRUETH_FW_AM65X_SR2_VERSION,TI_LINUX_FW_SRCREV
  u-boot-ti-staging_2023.04: SRCREV
  u-boot-ti-staging_2024.04: SRCREV
  linux-ti-staging-rt_6.1: PV,SRCREV
  linux-ti-staging-rt_6.6: PV,SRCREV
  linux-ti-staging_6.1: PV,SRCREV
  linux-ti-staging_6.6: PV,SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2024-04-10 09:40:22 -05:00
Chirag Shilwant
ad51d19977 conf: am335x-evm: Bump up max_leb_cnt
New features added require another increase to max_leb_cnt.

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

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

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

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

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

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

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

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

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

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-03-22 21:05:02 -05:00
Paresh Bhagat
7b92b6efff Update SRCREV for jailhouse recipe
Update SRCREV for jailhouse recipe which will add changes for Out of Box
demo and also a new application to test whether the linux inmate cell has
crashed or not.

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

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

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-03-18 14:34:55 -05:00
Aniket Limaye
f73ec90cce conf: machine: j721s2/j784s4: Add support for HS-SE variants
ti-u-boot [1][2] already supports building the HS-SE variants of these platforms.
Add support in the machine confs to package them in the built wic images.

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

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-03-18 09:30:08 -05:00
Aniket Limaye
83c6a0cf6d conf: machine: j7200: Add support for HSSE1.0 and HSFS1.0
Latest ti-u-boot will be supporting HSSE1.0 and HSFS1.0 versions of the
j7200 soc through the binman dts nodes. Add support in yocto to package
the created binaries in the wic images.

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

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-03-18 09:30:07 -05:00
Praneeth Bajjuri
53f4aaf0a8 conf: machine: am62p: pick lpm overlay
overlay k3-am62x-sk-lpm-wkup-sources.dtso is common across
am62x platforms. This overlay is added in 6.1 kernel at [1]

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

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

Reported-by: Vibhore Vardhan <vibhore@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-03-18 09:30:07 -05:00
247 changed files with 3110 additions and 1216 deletions

2
TODO Normal file
View File

@@ -0,0 +1,2 @@
This TODO list allows us to track certain actions and lists of patches that
need to be removed at a future date.

View File

@@ -3,7 +3,7 @@
"skip_vars" : [ "ALTERNATIVE", "FILES", "INSANE_SKIP", "RDEPENDS", "RRECOMMENDS" ]
},
"APPEND-2" : {
"skip_vars" : [ "KERNEL_LOCALVERSION", "PR", "PV" ],
"skip_vars" : [ "KERNEL_LOCALVERSION", "PR", "PV", "S" ],
"file_regex" : {
"meta-ti-bsp\\/recipes-graphics\\/mesa\\/mesa-pvr_\\S+\\.bb" : {
"skip_vars": [ "GALLIUMDRIVERS", "VULKAN_DRIVERS" ]
@@ -18,12 +18,32 @@
"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",
"meta-ti-bsp/dynamic-layers/openembedded-layer/recipes-bsp/u-boot/u-boot-ti-%.bbappend"
"meta-ti-bsp/dynamic-layers/openembedded-layer/recipes-bsp/u-boot/u-boot-ti-%.bbappend",
"meta-ti-bsp/dynamic-layers/openembedded-layer/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bbappend"
]
},
"GUARD-2" : {
"skip_vars" : [ "k3" , "ti-soc" ]
},
"GUARD-3" : {
"skip_files" : [
"meta-ti-bsp/recipes-security/optee/optee-os-tadevkit_%.bbappend"
]
},
"PV-1" :{
"skip_files" : [
"meta-ti-bsp/recipes-kernel/linux/ti-kernel-fitimage.bb",
"meta-ti-bsp/recipes-multimedia/ti-multimedia-udev/ti-multimedia-udev.bb",
"meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb",
"meta-ti-bsp/recipes-ti/initramfs/ti-core-initramfs.bb",
"meta-ti-bsp/recipes-ti/secdev/ti-k3-secdev_git.bb",
"meta-ti-extras/recipes-connectivity/cc33xx-target-scripts/cc33xx-target-scripts_git.bb",
"meta-ti-extras/recipes-ti/beagleboard/beaglebone-capes.bb",
"meta-ti-extras/recipes-ti/beagleboard/beaglebone-getting-started.bb",
"meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux_git.bb",
"meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb"
]
},
"SUMMARY-1" : {
"skip_files" : [
"meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb"

View File

@@ -8,7 +8,7 @@ BBFILE_COLLECTIONS += "meta-beagle"
BBFILE_PATTERN_meta-beagle := "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-beagle = "6"
LAYERSERIES_COMPAT_meta-beagle = "scarthgap"
LAYERSERIES_COMPAT_meta-beagle = "whinlatter"
LAYERDEPENDS_meta-beagle = " \
meta-ti-bsp \

View File

@@ -10,12 +10,35 @@ KERNEL_DEVICETREE_PREFIX = " \
ti/omap/am57xx-idk-lcd \
"
KERNEL_DEVICETREE = " \
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 \
KERNEL_DEVICETREE:bsp-bb_org-6_6 = " \
ti/omap/am571x-idk.dtb \
ti/omap/am571x-idk-touchscreen.dtbo \
ti/omap/am5729-beagleboneai.dtb \
ti/omap/am572x-idk.dtb \
ti/omap/am572x-idk-touchscreen.dtbo \
ti/omap/am574x-idk.dtb \
ti/omap/am57xx-beagle-x15.dtb \
ti/omap/am57xx-beagle-x15-revb1.dtb \
ti/omap/am57xx-beagle-x15-revc.dtb \
ti/omap/am57xx-evm.dtbo \
ti/omap/am57xx-idk-lcd-osd101t2045.dtbo \
ti/omap/am57xx-idk-lcd-osd101t2587.dtbo \
"
KERNEL_DEVICETREE:bsp-bb_org-6_12 = " \
ti/omap/am571x-idk.dtb \
ti/omap/am571x-idk-touchscreen.dtbo \
ti/omap/am5729-beagleboneai.dtb \
ti/omap/am572x-idk.dtb \
ti/omap/am572x-idk-touchscreen.dtbo \
ti/omap/am574x-idk.dtb \
ti/omap/am57xx-beagle-x15.dtb \
ti/omap/am57xx-beagle-x15-revb1.dtb \
ti/omap/am57xx-beagle-x15-revc.dtb \
ti/omap/am57xx-evm.dtbo \
ti/omap/am57xx-evm-ov10635.dtbo \
ti/omap/am57xx-idk-lcd-osd101t2045.dtbo \
ti/omap/am57xx-idk-lcd-osd101t2587.dtbo \
"
MACHINE_GUI_CLASS = "bigscreen"

View File

@@ -5,14 +5,4 @@
require conf/machine/include/k3r5.inc
require conf/machine/include/beagle-bsp.inc
SYSFW_SOC = "j721e"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "gp"
SPL_BINARY = "spl/u-boot-spl.${UBOOT_SUFFIX}"
SPL_SYMLINK = "u-boot-r5spl.${UBOOT_SUFFIX}"
UBOOT_BINARY = "tiboot3.${UBOOT_SUFFIX}"
UBOOT_IMAGE = "tiboot3-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
UBOOT_SYMLINK = "tiboot3-${MAINMACHINE}.${UBOOT_SUFFIX}"
UBOOT_MACHINE = "j721e_beagleboneai64_r5_defconfig"

View File

@@ -5,11 +5,6 @@
require conf/machine/include/j721e.inc
require conf/machine/include/beagle-bsp.inc
IMAGE_SR1_1_HS_FS_FILES = ""
IMAGE_SR1_1_HS_SE_FILES = ""
IMAGE_SR2_HS_FS_FILES = ""
IMAGE_SR2_HS_SE_FILES = ""
UBOOT_MACHINE = "j721e_beagleboneai64_a72_defconfig"
SPL_BINARY = "tispl.bin_unsigned"
@@ -18,12 +13,78 @@ KERNEL_DEVICETREE_PREFIX = " \
ti/k3-j721e \
"
KERNEL_DEVICETREE = " \
KERNEL_DEVICETREE:bsp-bb_org-6_6 = " \
ti/k3-j721e-beagleboneai64-BBORG_MOTOR.dtbo \
ti/k3-j721e-beagleboneai64-dsi-rpi-7inch-panel.dtbo \
ti/k3-j721e-beagleboneai64.dtb \
ti/k3-j721e-beagleboneai64-microtips-mf070zima-lcd3.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm0-p8_13.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm0-p8_13-p8_19.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm0-p8_19.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm2-p9_14.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm2-p9_14-p9_16.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm2-p9_16.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm4-p9_25.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi1-cs0.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi1-cs0-no-miso.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi2-cs0.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi3-cs0-no-miso.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi6-cs0-cs1.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi6-cs0.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi6-cs1-no-miso.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi7-cs0.dtbo \
ti/k3-j721e-common-proc-board.dtb \
ti/k3-j721e-common-proc-board-infotainment.dtbo \
ti/k3-j721e-evm-csi2-ov5640.dtbo \
ti/k3-j721e-evm-ethfw.dtbo \
ti/k3-j721e-evm-fusion.dtbo \
ti/k3-j721e-evm-gesi-exp-board.dtbo \
ti/k3-j721e-evm-ina2xx.dtbo \
ti/k3-j721e-evm-pcie0-ep.dtbo \
ti/k3-j721e-evm-pcie1-ep.dtbo \
ti/k3-j721e-evm-quad-port-eth-exp.dtbo \
ti/k3-j721e-sk-csi2-dual-imx219.dtbo \
ti/k3-j721e-sk-csi2-ov5640.dtbo \
ti/k3-j721e-sk.dtb \
ti/k3-j721e-sk-fpdlink-fusion.dtbo \
ti/k3-j721e-sk-rpi-hdr-ehrpwm.dtbo \
"
KERNEL_DEVICETREE:bsp-bb_org-6_12 = " \
ti/k3-j721e-beagleboneai64-BBORG_MOTOR.dtbo \
ti/k3-j721e-beagleboneai64-dsi-rpi-7inch-panel.dtbo \
ti/k3-j721e-beagleboneai64.dtb \
ti/k3-j721e-beagleboneai64-microtips-mf070zima-lcd3.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm0-p8_13.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm0-p8_13-p8_19.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm0-p8_19.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm2-p9_14.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm2-p9_14-p9_16.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm2-p9_16.dtbo \
ti/k3-j721e-beagleboneai64-pwm-epwm4-p9_25.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi1-cs0.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi1-cs0-no-miso.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi2-cs0.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi3-cs0-no-miso.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi6-cs0-cs1.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi6-cs0.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi6-cs1-no-miso.dtbo \
ti/k3-j721e-beagleboneai64-spi-mcspi7-cs0.dtbo \
ti/k3-j721e-common-proc-board.dtb \
ti/k3-j721e-common-proc-board-infotainment.dtbo \
ti/k3-j721e-evm-csi2-ov5640.dtbo \
ti/k3-j721e-evm-ethfw.dtbo \
ti/k3-j721e-evm-fusion.dtbo \
ti/k3-j721e-evm-gesi-exp-board.dtbo \
ti/k3-j721e-evm-pcie0-ep.dtbo \
ti/k3-j721e-evm-pcie1-ep.dtbo \
ti/k3-j721e-evm-pcie-ntb.dtbo \
ti/k3-j721e-evm-quad-port-eth-exp.dtbo \
ti/k3-j721e-evm-ub954.dtbo \
ti/k3-j721e-sk-csi2-dual-imx219.dtbo \
ti/k3-j721e-sk-csi2-ov5640.dtbo \
ti/k3-j721e-sk.dtb \
ti/k3-j721e-sk-fpdlink-fusion.dtbo \
"
MACHINE_GUI_CLASS = "bigscreen"

View File

@@ -11,17 +11,49 @@ KERNEL_DEVICETREE_PREFIX = " \
ti/omap/am335x-sancloud-bbe \
"
KERNEL_DEVICETREE = " \
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 \
KERNEL_DEVICETREE:bsp-bb_org-6_6 = " \
ti/omap/am335x-boneblack.dtb \
ti/omap/am335x-boneblack-revd.dtb \
ti/omap/am335x-boneblack-uboot.dtb \
ti/omap/am335x-boneblack-uboot-univ.dtb \
ti/omap/am335x-boneblack-wireless.dtb \
ti/omap/am335x-boneblue.dtb \
ti/omap/am335x-bone.dtb \
ti/omap/am335x-bonegreen.dtb \
ti/omap/am335x-bonegreen-gateway.dtb \
ti/omap/am335x-bonegreen-wireless.dtb \
ti/omap/am335x-bonegreen-wireless-uboot-univ.dtb \
ti/omap/am335x-evm.dtb \
ti/omap/am335x-evmsk.dtb \
ti/omap/am335x-icev2.dtb \
ti/omap/am335x-osd3358-sm-red.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 \
"
KERNEL_DEVICETREE:bsp-bb_org-6_12 = " \
ti/omap/am335x-boneblack.dtb \
ti/omap/am335x-boneblack-revd.dtb \
ti/omap/am335x-boneblack-uboot.dtb \
ti/omap/am335x-boneblack-uboot-univ.dtb \
ti/omap/am335x-boneblack-wireless.dtb \
ti/omap/am335x-boneblue.dtb \
ti/omap/am335x-bone.dtb \
ti/omap/am335x-bonegreen.dtb \
ti/omap/am335x-bonegreen-eco.dtb \
ti/omap/am335x-bonegreen-gateway.dtb \
ti/omap/am335x-bonegreen-wireless.dtb \
ti/omap/am335x-bonegreen-wireless-uboot-univ.dtb \
ti/omap/am335x-evm.dtb \
ti/omap/am335x-evmsk.dtb \
ti/omap/am335x-icev2.dtb \
ti/omap/am335x-osd3358-sm-red.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

@@ -6,7 +6,7 @@ require conf/machine/beagleplay-ti.conf
require conf/machine/include/beagle-bsp.inc
KERNEL_DEVICETREE:append:bsp-bb_org-6_6 = " \
KERNEL_DEVICETREE:bsp-bb_org-6_6 = " \
ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
ti/k3-am625-beagleplay.dtb \
@@ -32,3 +32,31 @@ ti/k3-am62x-sk-mcan.dtbo \
ti/k3-am62x-sk-microtips-mf103hie-lcd2.dtbo \
ti/k3-am62x-sk-pwm.dtbo \
"
KERNEL_DEVICETREE:bsp-bb_org-6_12 = " \
ti/k3-am625-beagleplay-bcfserial-no-firmware.dtbo \
ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
ti/k3-am625-beagleplay.dtb \
ti/k3-am625-beagleplay-lincolntech-lcd185-panel.dtbo \
ti/k3-am625-sk.dtb \
ti/k3-am625-sk-lincolntech-lcd185-panel.dtbo \
ti/k3-am625-sk-m2-cc3351.dtbo \
ti/k3-am625-sk-mcspi-loopback.dtbo \
ti/k3-am625-sk-microtips-mf101hie-panel.dtbo \
ti/k3-am625-sk-rpi-hdr-ehrpwm.dtbo \
ti/k3-am62x-sk-csi2-imx219.dtbo \
ti/k3-am62x-sk-csi2-ov5640.dtbo \
ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \
ti/k3-am62x-sk-csi2-v3link-fusion.dtbo \
ti/k3-am62x-sk-dmtimer-pwm.dtbo \
ti/k3-am62x-sk-ecap-capture.dtbo \
ti/k3-am62x-sk-eqep.dtbo \
ti/k3-am62x-sk-fastboot-disable-hdmi.dtbo \
ti/k3-am62x-sk-hdmi-audio.dtbo \
ti/k3-am62x-sk-lpm-io-ddr-wkup-sources.dtbo \
ti/k3-am62x-sk-lpm-wkup-sources.dtbo \
ti/k3-am62x-sk-mcan.dtbo \
ti/k3-am62x-sk-microtips-mf103hie-lcd2.dtbo \
ti/k3-am62x-sk-pwm.dtbo \
"

View File

@@ -5,9 +5,7 @@
require conf/machine/include/k3r5.inc
require conf/machine/include/beagle-bsp.inc
SYSFW_SOC = "j722s"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs-fs"
UBOOT_MACHINE = "j722s_evm_r5_defconfig"
UBOOT_MACHINE:bsp-bb_org-6_12 = "am67a_beagley_ai_r5_defconfig"
UBOOT_MACHINE = "am67a_beagley_ai_r5_defconfig"
UBOOT_MACHINE:bsp-bb_org-6_6 = "j722s_evm_r5_defconfig"
UBOOT_MACHINE:bsp-ti-6_6 = "j722s_evm_r5_defconfig"
UBOOT_MACHINE:bsp-ti-6_12 = "j722s_evm_r5_defconfig"

View File

@@ -5,18 +5,104 @@
require conf/machine/include/j722s.inc
require conf/machine/include/beagle-bsp.inc
UBOOT_MACHINE = "j722s_evm_a53_config"
UBOOT_MACHINE:bsp-bb_org-6_12 = "am67a_beagley_ai_a53_defconfig"
UBOOT_MACHINE = "am67a_beagley_ai_a53_defconfig"
UBOOT_MACHINE:bsp-bb_org-6_6 = "j722s_evm_a53_config"
UBOOT_MACHINE:bsp-ti-6_6 = "j722s_evm_a53_config"
UBOOT_MACHINE:bsp-ti-6_12 = "j722s_evm_a53_config"
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am67a \
ti/k3-j722s \
"
KERNEL_DEVICETREE = ""
KERNEL_DEVICETREE:append:bsp-bb_org-6_12 = " \
ti/k3-j722s-evm.dtb \
KERNEL_DEVICETREE:bsp-bb_org-6_6 = " \
ti/k3-am67a-beagley-ai.dtb \
ti/k3-am67a-beagley-ai-i2c1-400000.dtbo \
ti/k3-am67a-beagley-ai-i2c1-ads1115.dtbo \
ti/k3-am67a-beagley-ai-i2c1-rtc-rv3028.dtbo \
ti/k3-am67a-beagley-ai-i2c1-ssd1306.dtbo \
ti/k3-am67a-beagley-ai-mikroe-eth.dtbo \
ti/k3-am67a-beagley-ai-mikroe-microsd.dtbo \
ti/k3-am67a-beagley-ai-pps-gpio18.dtbo \
ti/k3-am67a-beagley-ai-pwm-ecap0-gpio12.dtbo \
ti/k3-am67a-beagley-ai-pwm-ecap1-gpio16.dtbo \
ti/k3-am67a-beagley-ai-pwm-ecap1-gpio21.dtbo \
ti/k3-am67a-beagley-ai-pwm-ecap2-gpio17.dtbo \
ti/k3-am67a-beagley-ai-pwm-ecap2-gpio18.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio12.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio14.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio15.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio15-gpio12.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio15-gpio14.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio5.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio5-gpio12.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio5-gpio14.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio13.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio20.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio21.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio21-gpio13.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio21-gpio20.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio6.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio6-gpio13.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio6-gpio20.dtbo \
ti/k3-am67a-beagley-ai-spi0-1cs.dtbo \
ti/k3-am67a-beagley-ai-spi0-2cs.dtbo \
ti/k3-am67a-beagley-ai-spidev0.dtbo \
ti/k3-am67a-beagley-ai-uart-ttyama0.dtbo \
ti/k3-j722s-evm-csi2-ov5640.dtbo \
ti/k3-j722s-evm-csi2-quad-rpi-cam-imx219.dtbo \
ti/k3-j722s-evm-csi2-quad-tevi-ov5640.dtbo \
ti/k3-j722s-evm-dsi-rpi-7inch-panel.dtbo \
ti/k3-j722s-evm.dtb \
ti/k3-j722s-evm-fpdlink-fusion.dtbo \
ti/k3-j722s-evm-microtips-mf101hie-panel.dtbo \
ti/k3-j722s-evm-pwm.dtbo \
ti/k3-j722s-evm-v3link-fusion.dtbo \
"
KERNEL_DEVICETREE:bsp-bb_org-6_12 = " \
ti/k3-am67a-beagley-ai.dtb \
ti/k3-am67a-beagley-ai-i2c1-400000.dtbo \
ti/k3-am67a-beagley-ai-i2c1-ads1115.dtbo \
ti/k3-am67a-beagley-ai-i2c1-rtc-rv3028.dtbo \
ti/k3-am67a-beagley-ai-i2c1-ssd1306.dtbo \
ti/k3-am67a-beagley-ai-mikroe-eth.dtbo \
ti/k3-am67a-beagley-ai-mikroe-microsd.dtbo \
ti/k3-am67a-beagley-ai-pps-gpio18.dtbo \
ti/k3-am67a-beagley-ai-pwm-ecap0-gpio12.dtbo \
ti/k3-am67a-beagley-ai-pwm-ecap1-gpio16.dtbo \
ti/k3-am67a-beagley-ai-pwm-ecap1-gpio21.dtbo \
ti/k3-am67a-beagley-ai-pwm-ecap2-gpio17.dtbo \
ti/k3-am67a-beagley-ai-pwm-ecap2-gpio18.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio12.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio14.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio15.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio15-gpio12.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio15-gpio14.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio5.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio5-gpio12.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio5-gpio14.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio13.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio20.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio21.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio21-gpio13.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio21-gpio20.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio6.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio6-gpio13.dtbo \
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio6-gpio20.dtbo \
ti/k3-am67a-beagley-ai-spi0-1cs.dtbo \
ti/k3-am67a-beagley-ai-spi0-2cs.dtbo \
ti/k3-am67a-beagley-ai-spidev0.dtbo \
ti/k3-am67a-beagley-ai-uart-ttyama0.dtbo \
ti/k3-j722s-evm-csi2-quad-rpi-cam-imx219.dtbo \
ti/k3-j722s-evm-csi2-quad-tevi-ov5640.dtbo \
ti/k3-j722s-evm-dsi-rpi-7inch-panel.dtbo \
ti/k3-j722s-evm.dtb \
ti/k3-j722s-evm-fpdlink-fusion.dtbo \
ti/k3-j722s-evm-fpdlink-iv-fusion.dtbo \
ti/k3-j722s-evm-microtips-mf101hie-panel.dtbo \
ti/k3-j722s-evm-pwm.dtbo \
ti/k3-j722s-evm-v3link-fusion.dtbo \
"
MACHINE_GUI_CLASS = "bigscreen"

View File

@@ -18,10 +18,8 @@ KERNEL_DEVICETREE_PREFIX:bsp-bb_org-6_12 = ""
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_ROGUE_DRIVER_VERSION:bsp-bb_org-6_12 = "25%"
BSP_MESA_PVR_VERSION:bsp-bb_org-6_12 = "24%"
# GC320 support requires out-of-tree drivers not yet available in bb.org 6.12
@@ -41,10 +39,8 @@ 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%"
BSP_SGX_UMLIBS_VERSION:bsp-bb_org-6_6 = "1.17%"
BSP_ROGUE_DRIVER_PROVIDER:bsp-bb_org-6_6 = "ti-img-rogue-driver"
BSP_ROGUE_DRIVER_VERSION:bsp-bb_org-6_6 = "24%"
BSP_ROGUE_UMLIBS_VERSION:bsp-bb_org-6_6 = "24%"
BSP_ROGUE_DRIVER_VERSION:bsp-bb_org-6_6 = "25%"
BSP_MESA_PVR_VERSION:bsp-bb_org-6_6 = "24%"
# GC320 support requires out-of-tree drivers not yet available in bb.org 6.6

View File

@@ -5,8 +5,4 @@
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"
UBOOT_MACHINE = "am62_pocketbeagle2_r5_defconfig"

View File

@@ -16,13 +16,43 @@ TFA_K3_SYSTEM_SUSPEND = "1"
OPTEEMACHINE = "k3-am62x"
UBOOT_MACHINE = "am6232_pocketbeagle2_a53_defconfig"
UBOOT_MACHINE = "am62_pocketbeagle2_a53_defconfig"
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am6232 \
ti/k3-am62-pocket \
"
KERNEL_DEVICETREE = " \
ti/k3-am6232-pocketbeagle2.dtb \
ti/k3-am6232-pocketbeagle2-techlab-cape.dtbo \
ti/k3-am6232-pocketbeagle2.dtb \
ti/k3-am6232-pocketbeagle2-techlab-cape.dtbo \
ti/k3-am625-beagleplay-bcfserial-no-firmware.dtbo \
ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
ti/k3-am625-beagleplay.dtb \
ti/k3-am625-beagleplay-lincolntech-lcd185-panel.dtbo \
ti/k3-am625-sk.dtb \
ti/k3-am625-sk-lincolntech-lcd185-panel.dtbo \
ti/k3-am625-sk-m2-cc3351.dtbo \
ti/k3-am625-sk-mcspi-loopback.dtbo \
ti/k3-am625-sk-microtips-mf101hie-panel.dtbo \
ti/k3-am625-sk-rpi-hdr-ehrpwm.dtbo \
ti/k3-am62-pocketbeagle2-ardupilot-cape.dtbo \
ti/k3-am62-pocketbeagle2.dtb \
ti/k3-am62-pocketbeagle2-leds-off.dtbo \
ti/k3-am62-pocketbeagle2-techlab-cape.dtbo \
ti/k3-am62x-sk-csi2-imx219.dtbo \
ti/k3-am62x-sk-csi2-ov5640.dtbo \
ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \
ti/k3-am62x-sk-csi2-v3link-fusion.dtbo \
ti/k3-am62x-sk-dmtimer-pwm.dtbo \
ti/k3-am62x-sk-ecap-capture.dtbo \
ti/k3-am62x-sk-eqep.dtbo \
ti/k3-am62x-sk-fastboot-disable-hdmi.dtbo \
ti/k3-am62x-sk-hdmi-audio.dtbo \
ti/k3-am62x-sk-lpm-io-ddr-wkup-sources.dtbo \
ti/k3-am62x-sk-lpm-wkup-sources.dtbo \
ti/k3-am62x-sk-mcan.dtbo \
ti/k3-am62x-sk-microtips-mf103hie-lcd2.dtbo \
ti/k3-am62x-sk-pwm.dtbo \
"

View File

@@ -6,6 +6,8 @@ COMPATIBLE_MACHINE = "beagle.*"
PV = "2024.10"
SRC_URI += "file://0001-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch"
UBOOT_GIT_URI = "git://github.com/beagleboard/u-boot.git"
UBOOT_GIT_PROTOCOL = "https"
BRANCH = "v2024.10-Beagle"

View File

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

View File

@@ -0,0 +1,19 @@
require recipes-bsp/u-boot/u-boot-ti.inc
SUMMARY = "BeagleBoard.org U-Boot"
COMPATIBLE_MACHINE = "pocketbeagle2|beagle.*"
PV = "2025.10"
UBOOT_GIT_URI = "git://github.com/beagleboard/u-boot.git"
UBOOT_GIT_PROTOCOL = "https"
BRANCH = "v2025.10-Beagle"
SRCREV = "6825d60bea17774358f4199c4c7062801cfb931e"
BRANCH:pocketbeagle2 = "v2025.10-am62-pocketbeagle2"
BRANCH:pocketbeagle2-k3r5 = "v2025.10-am62-pocketbeagle2"
SRCREV:pocketbeagle2 = "4e0b6294a1185029d34eff6ed91f3ad1734b643f"
SRCREV:pocketbeagle2-k3r5 = "4e0b6294a1185029d34eff6ed91f3ad1734b643f"
SRC_URI:append:pocketbeagle2 = " file://bootcmd-ti-mmc.cfg"

View File

@@ -15,11 +15,10 @@ require recipes-kernel/linux/ti-kernel.inc
DEPENDS += "gmp-native libmpc-native"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} ${EXTRA_DTC_ARGS}"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
# 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 \
@@ -53,16 +52,16 @@ KERNEL_DEVICETREE:append:armv7a = " \
ti/omap/PB-MIKROBUS-1.dtbo \
"
S = "${WORKDIR}/git"
S = "${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}"
# 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.34 version for 32-bit
SRCREV:armv7a = "9e419b26243bd7efcd103ae0f6456f828592b34b"
PV:armv7a = "6.12.34+git"
BRANCH:armv7a = "v6.12.34-ti-arm32-r12"
# 6.12.22 version for 64-bit
SRCREV:aarch64 = "9e43fd19ece3affb9406e87ec3df733b91b77a4f"
PV:aarch64 = "6.12.22+git"
BRANCH:aarch64 = "v6.12.22-ti-arm64-r35"
# 6.12.43 version for 64-bit
SRCREV:aarch64 = "84c4b4613a852db269620a3fdfed65de90569fa1"
PV:aarch64 = "6.12.43+git"
BRANCH:aarch64 = "v6.12.43-ti-arm64-r54"
KERNEL_GIT_URI = "git://github.com/beagleboard/linux.git"

View File

@@ -15,7 +15,7 @@ require recipes-kernel/linux/ti-kernel.inc
DEPENDS += "gmp-native libmpc-native"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} ${EXTRA_DTC_ARGS}"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
# Extra DT overlays/capes
KERNEL_DEVICETREE:append:armv7a = " \
@@ -53,19 +53,19 @@ KERNEL_DEVICETREE:append:armv7a = " \
ti/omap/PB-MIKROBUS-1.dtbo \
"
S = "${WORKDIR}/git"
S = "${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}"
# 6.6.58 version for 32-bit
SRCREV:armv7a = "0d043a88f69f48789e43526d7a807ab744708071"
SRCREV:armv7a = "3d519995234675748a38b1e3bc087baa03e3ac25"
PV:armv7a = "6.6.58+git"
BRANCH:armv7a = "v6.6.58-ti-arm32-r10"
BRANCH:armv7a = "v6.6.58-ti-arm32-r12"
# 6.6.58 version for 64-bit
SRCREV:aarch64 = "0987ef737c9812374607475972f0868b8fecbbf7"
SRCREV:aarch64 = "1de9481cd5749807550148086aea959295bd11db"
PV:aarch64 = "6.6.58+git"
BRANCH:aarch64 = "v6.6.58-ti-arm64-r23"
BRANCH:aarch64 = "v6.6.58-ti-arm64-r30"
KERNEL_GIT_URI = "git://github.com/beagleboard/linux.git"
SRC_URI += "file://no-fortify.cfg"
KERNEL_CONFIG_FRAGMENTS += "${WORKDIR}/no-fortify.cfg"
KERNEL_CONFIG_FRAGMENTS += "${UNPACKDIR}/no-fortify.cfg"

View File

@@ -8,11 +8,11 @@ This layer depends on:
URI: git://git.openembedded.org/openembedded-core
layers: meta
branch: scarthgap
branch: master
URI: git://git.yoctoproject.org/meta-arm
layers: meta-arm
branch: scarthgap
branch: master
The base BSP part of meta-ti should work with different OpenEmbedded/Yocto

View File

@@ -1,4 +1,4 @@
inherit ti-secdev kernel-uboot uboot-sign-legacyhs
inherit ti-secdev kernel-uboot-legacyhs uboot-sign-legacyhs
FITIMAGE_HASH_ALGO ?= "sha1"
FITIMAGE_PACK_TEE ?= "0"

View File

@@ -0,0 +1,51 @@
#
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT
#
# fitImage kernel compression algorithm
FIT_KERNEL_COMP_ALG ?= "gzip"
FIT_KERNEL_COMP_ALG_EXTENSION ?= ".gz"
# Kernel image type passed to mkimage (i.e. kernel kernel_noload...)
UBOOT_MKIMAGE_KERNEL_TYPE ?= "kernel"
uboot_prep_kimage() {
if [ -e arch/${ARCH}/boot/compressed/vmlinux ]; then
vmlinux_path="arch/${ARCH}/boot/compressed/vmlinux"
linux_suffix=""
linux_comp="none"
elif [ -e arch/${ARCH}/boot/vmlinuz.bin ]; then
rm -f linux.bin
cp -l arch/${ARCH}/boot/vmlinuz.bin linux.bin
vmlinux_path=""
linux_suffix=""
linux_comp="none"
else
vmlinux_path="vmlinux"
# Use vmlinux.initramfs for linux.bin when INITRAMFS_IMAGE_BUNDLE set
# As per the implementation in kernel.bbclass.
# See do_bundle_initramfs function
if [ "${INITRAMFS_IMAGE_BUNDLE}" = "1" ] && [ -e vmlinux.initramfs ]; then
vmlinux_path="vmlinux.initramfs"
fi
linux_suffix="${FIT_KERNEL_COMP_ALG_EXTENSION}"
linux_comp="${FIT_KERNEL_COMP_ALG}"
fi
[ -n "${vmlinux_path}" ] && ${KERNEL_OBJCOPY} -O binary -R .note -R .comment -S "${vmlinux_path}" linux.bin
if [ "${linux_comp}" != "none" ] ; then
if [ "${linux_comp}" = "gzip" ] ; then
gzip -9 linux.bin
elif [ "${linux_comp}" = "lzo" ] ; then
lzop -9 linux.bin
elif [ "${linux_comp}" = "lzma" ] ; then
xz --format=lzma -f -6 linux.bin
fi
mv -f "linux.bin${linux_suffix}" linux.bin
fi
echo "${linux_comp}"
}

View File

@@ -0,0 +1,870 @@
#
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT
#
inherit linux-kernel-base kernel-module-split
COMPATIBLE_HOST = ".*-linux"
KERNEL_PACKAGE_NAME ??= "kernel"
KERNEL_DEPLOYSUBDIR ??= "${@ "" if (d.getVar("KERNEL_PACKAGE_NAME") == "kernel") else d.getVar("KERNEL_PACKAGE_NAME") }"
PROVIDES += "virtual/kernel"
DEPENDS += "virtual/cross-binutils virtual/cross-cc kmod-native bc-native bison-native"
DEPENDS += "${@bb.utils.contains("INITRAMFS_FSTYPES", "cpio.lzo", "lzop-native", "", d)}"
DEPENDS += "${@bb.utils.contains("INITRAMFS_FSTYPES", "cpio.lz4", "lz4-native", "", d)}"
DEPENDS += "${@bb.utils.contains("INITRAMFS_FSTYPES", "cpio.zst", "zstd-native", "", d)}"
PACKAGE_WRITE_DEPS += "depmodwrapper-cross"
do_deploy[depends] += "depmodwrapper-cross:do_populate_sysroot gzip-native:do_populate_sysroot"
do_clean[depends] += "make-mod-scripts:do_clean"
# CPE entries from NVD use linux_kernel, but the raw CVE entries from the kernel CNA have
# vendor: linux and product: linux. Note that multiple distributions use "linux" as a product
# name, so we need to fill vendor to avoid false positives
CVE_PRODUCT ?= "linux_kernel linux:linux"
S = "${STAGING_KERNEL_DIR}"
B = "${WORKDIR}/build"
KBUILD_OUTPUT = "${B}"
OE_TERMINAL_EXPORTS += "KBUILD_OUTPUT"
# we include gcc above, we dont need virtual/libc
INHIBIT_DEFAULT_DEPS = "1"
KERNEL_IMAGETYPE ?= "zImage"
INITRAMFS_IMAGE ?= ""
INITRAMFS_TASK ?= ""
INITRAMFS_IMAGE_BUNDLE ?= ""
INITRAMFS_DEPLOY_DIR_IMAGE ?= "${DEPLOY_DIR_IMAGE}"
INITRAMFS_MULTICONFIG ?= ""
# KERNEL_VERSION is extracted from source code. It is evaluated as
# None for the first parsing, since the code has not been fetched.
# After the code is fetched, it will be evaluated as real version
# number and cause kernel to be rebuilt. To avoid this, make
# KERNEL_VERSION_NAME and KERNEL_VERSION_PKG_NAME depend on
# LINUX_VERSION which is a constant.
KERNEL_VERSION_NAME = "${@d.getVar('KERNEL_VERSION') or ""}"
KERNEL_VERSION_NAME[vardepvalue] = "${LINUX_VERSION}"
KERNEL_VERSION_PKG_NAME = "${@legitimize_package_name(d.getVar('KERNEL_VERSION'))}"
KERNEL_VERSION_PKG_NAME[vardepvalue] = "${LINUX_VERSION}"
python __anonymous () {
pn = d.getVar("PN")
kpn = d.getVar("KERNEL_PACKAGE_NAME")
# XXX Remove this after bug 11905 is resolved
# FILES:${KERNEL_PACKAGE_NAME}-dev doesn't expand correctly
if kpn == pn:
bb.warn("Some packages (E.g. *-dev) might be missing due to "
"bug 11905 (variable KERNEL_PACKAGE_NAME == PN)")
# The default kernel recipe builds in a shared location defined by
# bitbake/distro confs: STAGING_KERNEL_DIR and STAGING_KERNEL_BUILDDIR.
# Set these variables to directories under ${WORKDIR} in alternate
# kernel recipes (I.e. where KERNEL_PACKAGE_NAME != kernel) so that they
# may build in parallel with the default kernel without clobbering.
if kpn != "kernel":
workdir = d.getVar("WORKDIR")
sourceDir = os.path.join(workdir, 'kernel-source')
artifactsDir = os.path.join(workdir, 'kernel-build-artifacts')
d.setVar("STAGING_KERNEL_DIR", sourceDir)
d.setVar("STAGING_KERNEL_BUILDDIR", artifactsDir)
# Merge KERNEL_IMAGETYPE and KERNEL_ALT_IMAGETYPE into KERNEL_IMAGETYPES
type = d.getVar('KERNEL_IMAGETYPE') or ""
alttype = d.getVar('KERNEL_ALT_IMAGETYPE') or ""
types = d.getVar('KERNEL_IMAGETYPES') or ""
if type not in types.split():
types = (type + ' ' + types).strip()
if alttype not in types.split():
types = (alttype + ' ' + types).strip()
d.setVar('KERNEL_IMAGETYPES', types)
# KERNEL_IMAGETYPES may contain a mixture of image types supported directly
# by the kernel build system and types which are created by post-processing
# the output of the kernel build system (e.g. compressing vmlinux ->
# vmlinux.gz in kernel_legacyhs_do_transform_kernel()).
# KERNEL_IMAGETYPE_FOR_MAKE should contain only image types supported
# directly by the kernel build system.
if not d.getVar('KERNEL_IMAGETYPE_FOR_MAKE'):
typeformake = set()
for type in types.split():
if type == 'vmlinux.gz':
type = 'vmlinux'
typeformake.add(type)
d.setVar('KERNEL_IMAGETYPE_FOR_MAKE', ' '.join(sorted(typeformake)))
kname = d.getVar('KERNEL_PACKAGE_NAME') or "kernel"
imagedest = d.getVar('KERNEL_IMAGEDEST')
for type in types.split():
if bb.data.inherits_class('nopackages', d):
continue
typelower = type.lower()
d.appendVar('PACKAGES', ' %s-image-%s' % (kname, typelower))
d.setVar('FILES:' + kname + '-image-' + typelower, '/' + imagedest + '/' + type + '-${KERNEL_VERSION_NAME}' + ' /' + imagedest + '/' + type)
d.appendVar('RDEPENDS:%s-image' % kname, ' %s-image-%s (= ${EXTENDPKGV})' % (kname, typelower))
splitmods = d.getVar("KERNEL_SPLIT_MODULES")
if splitmods != '1':
d.appendVar('RDEPENDS:%s-image' % kname, ' %s-modules (= ${EXTENDPKGV})' % kname)
d.appendVar('RDEPENDS:%s-image-%s' % (kname, typelower), ' %s-modules-${KERNEL_VERSION_PKG_NAME} (= ${EXTENDPKGV})' % kname)
d.setVar('PKG:%s-modules' % kname, '%s-modules-${KERNEL_VERSION_PKG_NAME}' % kname)
d.appendVar('RPROVIDES:%s-modules' % kname, ' %s-modules-${KERNEL_VERSION_PKG_NAME}' % kname)
d.setVar('PKG:%s-image-%s' % (kname,typelower), '%s-image-%s-${KERNEL_VERSION_PKG_NAME}' % (kname, typelower))
d.setVar('ALLOW_EMPTY:%s-image-%s' % (kname, typelower), '1')
if d.getVar('KERNEL_IMAGETYPE_SYMLINK') == '1':
d.prependVar('pkg_postinst:%s-image-%s' % (kname,typelower), """set +e
if [ -n "$D" ]; then
ln -sf %s-${KERNEL_VERSION} $D/${KERNEL_IMAGEDEST}/%s > /dev/null 2>&1
else
ln -sf %s-${KERNEL_VERSION} ${KERNEL_IMAGEDEST}/%s > /dev/null 2>&1
if [ $? -ne 0 ]; then
echo "Filesystem on ${KERNEL_IMAGEDEST}/ doesn't support symlinks, falling back to copied image (%s)."
install -m 0644 ${KERNEL_IMAGEDEST}/%s-${KERNEL_VERSION} ${KERNEL_IMAGEDEST}/%s
fi
fi
set -e
""" % (type, type, type, type, type, type, type))
d.setVar('pkg_postrm:%s-image-%s' % (kname,typelower), """set +e
if [ -f "${KERNEL_IMAGEDEST}/%s" -o -L "${KERNEL_IMAGEDEST}/%s" ]; then
rm -f ${KERNEL_IMAGEDEST}/%s > /dev/null 2>&1
fi
set -e
""" % (type, type, type))
image = d.getVar('INITRAMFS_IMAGE')
# If the INTIRAMFS_IMAGE is set but the INITRAMFS_IMAGE_BUNDLE is set to 0,
# the do_bundle_initramfs does nothing, but the INITRAMFS_IMAGE is built
# standalone for use by wic and other tools.
if image:
if d.getVar('INITRAMFS_MULTICONFIG'):
d.appendVarFlag('do_bundle_initramfs', 'mcdepends', ' mc:${BB_CURRENT_MC}:${INITRAMFS_MULTICONFIG}:${INITRAMFS_IMAGE}:do_image_complete')
else:
d.appendVarFlag('do_bundle_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete')
if image and bb.utils.to_boolean(d.getVar('INITRAMFS_IMAGE_BUNDLE')):
bb.build.addtask('do_transform_bundled_initramfs', 'do_deploy', 'do_bundle_initramfs', d)
# NOTE: setting INITRAMFS_TASK is for backward compatibility
# The preferred method is to set INITRAMFS_IMAGE, because
# this INITRAMFS_TASK has circular dependency problems
# if the initramfs requires kernel modules
image_task = d.getVar('INITRAMFS_TASK')
if image_task:
d.appendVarFlag('do_configure', 'depends', ' ${INITRAMFS_TASK}')
}
# Here we pull in all various kernel image types which we support.
#
# In case you're wondering why kernel.bbclass inherits the other image
# types instead of the other way around, the reason for that is to
# maintain compatibility with various currently existing meta-layers.
# By pulling in the various kernel image types here, we retain the
# original behavior of kernel.bbclass, so no meta-layers should get
# broken.
#
# KERNEL_CLASSES by default pulls in kernel-uimage.bbclass, since this
# used to be the default behavior when only uImage was supported. This
# variable can be appended by users who implement support for new kernel
# image types.
KERNEL_CLASSES ?= " kernel-uimage "
inherit_defer ${KERNEL_CLASSES}
# Old style kernels may set ${S} = ${WORKDIR}/git for example
# We need to move these over to STAGING_KERNEL_DIR. We can't just
# create the symlink in advance as the git fetcher can't cope with
# the symlink.
do_unpack[cleandirs] += " ${S} ${STAGING_KERNEL_DIR} ${B} ${STAGING_KERNEL_BUILDDIR}"
do_clean[cleandirs] += " ${S} ${STAGING_KERNEL_DIR} ${B} ${STAGING_KERNEL_BUILDDIR}"
python do_symlink_kernsrc () {
s = d.getVar("S")
kernsrc = d.getVar("STAGING_KERNEL_DIR")
if s != kernsrc:
bb.utils.mkdirhier(kernsrc)
bb.utils.remove(kernsrc, recurse=True)
if s[-1] == '/':
# drop trailing slash, so that os.symlink(kernsrc, s) doesn't use s as
# directory name and fail
s = s[:-1]
if d.getVar("EXTERNALSRC"):
# With EXTERNALSRC S will not be wiped so we can symlink to it
os.symlink(s, kernsrc)
else:
import shutil
shutil.move(s, kernsrc)
os.symlink(kernsrc, s)
}
# do_patch is normally ordered before do_configure, but
# externalsrc.bbclass deletes do_patch, breaking the dependency of
# do_configure on do_symlink_kernsrc.
addtask symlink_kernsrc before do_patch do_configure after do_unpack
inherit kernel-arch deploy
PACKAGES_DYNAMIC += "^${KERNEL_PACKAGE_NAME}-module-.*"
PACKAGES_DYNAMIC += "^${KERNEL_PACKAGE_NAME}-image-.*"
PACKAGES_DYNAMIC += "^${KERNEL_PACKAGE_NAME}-firmware-.*"
export OS = "${TARGET_OS}"
export CROSS_COMPILE = "${TARGET_PREFIX}"
KERNEL_RELEASE ?= "${KERNEL_VERSION}"
# The directory where built kernel lies in the kernel tree
KERNEL_OUTPUT_DIR ?= "arch/${ARCH}/boot"
KERNEL_IMAGEDEST ?= "boot"
KERNEL_DTBDEST ?= "${KERNEL_IMAGEDEST}"
KERNEL_DTBVENDORED ?= "0"
#
# configuration
#
KERNEL_VERSION = "${@get_kernelversion_headers('${B}')}"
# kernels are generally machine specific
PACKAGE_ARCH = "${MACHINE_ARCH}"
# U-Boot support
UBOOT_ENTRYPOINT ?= "0x20008000"
UBOOT_LOADADDRESS ?= "${UBOOT_ENTRYPOINT}"
# Some Linux kernel configurations need additional parameters on the command line
KERNEL_EXTRA_ARGS ?= ""
EXTRA_OEMAKE += ' CC="${KERNEL_CC}" LD="${KERNEL_LD}" OBJCOPY="${KERNEL_OBJCOPY}" STRIP="${KERNEL_STRIP}"'
EXTRA_OEMAKE += ' HOSTCC="${BUILD_CC}" HOSTCFLAGS="${BUILD_CFLAGS}" HOSTLDFLAGS="${BUILD_LDFLAGS}" HOSTCPP="${BUILD_CPP}"'
EXTRA_OEMAKE += ' HOSTCXX="${BUILD_CXX}" HOSTCXXFLAGS="${BUILD_CXXFLAGS}"'
# Only for newer kernels (5.19+), native pkg-config variables are set for older kernels when building kernel and modules
EXTRA_OEMAKE += ' HOSTPKG_CONFIG="pkg-config-native"'
KERNEL_ALT_IMAGETYPE ??= ""
copy_initramfs() {
echo "Copying initramfs into ./usr ..."
# In case the directory is not created yet from the first pass compile:
mkdir -p ${B}/usr
# Find and use the first initramfs image archive type we find
rm -f ${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio
for img in cpio cpio.gz cpio.lz4 cpio.lzo cpio.lzma cpio.xz cpio.zst; do
if [ -e "${INITRAMFS_DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.$img" ]; then
cp ${INITRAMFS_DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.$img ${B}/usr/.
case $img in
*gz)
echo "gzip decompressing image"
gunzip -f ${B}/usr/${INITRAMFS_IMAGE_NAME}.$img
break
;;
*lz4)
echo "lz4 decompressing image"
lz4 -df ${B}/usr/${INITRAMFS_IMAGE_NAME}.$img ${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio
break
;;
*lzo)
echo "lzo decompressing image"
lzop -df ${B}/usr/${INITRAMFS_IMAGE_NAME}.$img
break
;;
*lzma)
echo "lzma decompressing image"
lzma -df ${B}/usr/${INITRAMFS_IMAGE_NAME}.$img
break
;;
*xz)
echo "xz decompressing image"
xz -df ${B}/usr/${INITRAMFS_IMAGE_NAME}.$img
break
;;
*zst)
echo "zst decompressing image"
zstd -df ${B}/usr/${INITRAMFS_IMAGE_NAME}.$img
break
;;
esac
break
fi
done
# Verify that the above loop found a initramfs, fail otherwise
[ -f ${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio ] && echo "Finished copy of initramfs into ./usr" || die "Could not find any ${INITRAMFS_DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.cpio{.gz|.lz4|.lzo|.lzma|.xz|.zst) for bundling; INITRAMFS_IMAGE_NAME might be wrong."
}
do_bundle_initramfs () {
if [ ! -z "${INITRAMFS_IMAGE}" -a x"${INITRAMFS_IMAGE_BUNDLE}" = x1 ]; then
echo "Creating a kernel image with a bundled initramfs..."
copy_initramfs
# Backing up kernel image relies on its type(regular file or symbolic link)
tmp_path=""
for imageType in ${KERNEL_IMAGETYPE_FOR_MAKE} ; do
if [ -h ${KERNEL_OUTPUT_DIR}/$imageType ] ; then
linkpath=`readlink -n ${KERNEL_OUTPUT_DIR}/$imageType`
realpath=`readlink -fn ${KERNEL_OUTPUT_DIR}/$imageType`
mv -f $realpath $realpath.bak
tmp_path=$tmp_path" "$imageType"#"$linkpath"#"$realpath
elif [ -f ${KERNEL_OUTPUT_DIR}/$imageType ]; then
mv -f ${KERNEL_OUTPUT_DIR}/$imageType ${KERNEL_OUTPUT_DIR}/$imageType.bak
tmp_path=$tmp_path" "$imageType"##"
fi
done
use_alternate_initrd=CONFIG_INITRAMFS_SOURCE=${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio
kernel_legacyhs_do_compile
# Restoring kernel image
for tp in $tmp_path ; do
imageType=`echo $tp|cut -d "#" -f 1`
linkpath=`echo $tp|cut -d "#" -f 2`
realpath=`echo $tp|cut -d "#" -f 3`
if [ -n "$realpath" ]; then
mv -f $realpath $realpath.initramfs
mv -f $realpath.bak $realpath
ln -sf $linkpath.initramfs ${B}/${KERNEL_OUTPUT_DIR}/$imageType.initramfs
else
mv -f ${KERNEL_OUTPUT_DIR}/$imageType ${KERNEL_OUTPUT_DIR}/$imageType.initramfs
mv -f ${KERNEL_OUTPUT_DIR}/$imageType.bak ${KERNEL_OUTPUT_DIR}/$imageType
fi
done
fi
}
do_bundle_initramfs[dirs] = "${B}"
kernel_legacyhs_do_transform_bundled_initramfs() {
# vmlinux.gz is not built by kernel
if (echo "${KERNEL_IMAGETYPES}" | grep -wq "vmlinux\.gz"); then
gzip -9cn < ${KERNEL_OUTPUT_DIR}/vmlinux.initramfs > ${KERNEL_OUTPUT_DIR}/vmlinux.gz.initramfs
fi
}
do_transform_bundled_initramfs[dirs] = "${B}"
python do_package:prepend () {
d.setVar('STRIP', d.getVar('KERNEL_STRIP').strip())
}
python do_devshell:prepend () {
os.environ["LDFLAGS"] = ''
}
addtask bundle_initramfs after do_install before do_deploy
KERNEL_DEBUG_TIMESTAMPS ??= "0"
kernel_legacyhs_do_compile() {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
# setup native pkg-config variables (kconfig scripts call pkg-config directly, cannot generically be overriden to pkg-config-native)
export PKG_CONFIG_DIR="${STAGING_DIR_NATIVE}${libdir_native}/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_DIR:${STAGING_DATADIR_NATIVE}/pkgconfig"
export PKG_CONFIG_LIBDIR="$PKG_CONFIG_DIR"
export PKG_CONFIG_SYSROOT_DIR=""
if [ "${KERNEL_DEBUG_TIMESTAMPS}" != "1" ]; then
# kernel sources do not use do_unpack, so SOURCE_DATE_EPOCH may not
# be set....
if [ "${SOURCE_DATE_EPOCH}" = "" -o "${SOURCE_DATE_EPOCH}" = "0" ]; then
# The source directory is not necessarily a git repository, so we
# specify the git-dir to ensure that git does not query a
# repository in any parent directory.
SOURCE_DATE_EPOCH=`git --git-dir="${S}/.git" log -1 --pretty=%ct 2>/dev/null || echo "${REPRODUCIBLE_TIMESTAMP_ROOTFS}"`
fi
ts=`LC_ALL=C date -d @$SOURCE_DATE_EPOCH`
export KBUILD_BUILD_TIMESTAMP="$ts"
export KCONFIG_NOTIMESTAMP=1
bbnote "KBUILD_BUILD_TIMESTAMP: $ts"
else
ts=`LC_ALL=C date`
export KBUILD_BUILD_TIMESTAMP="$ts"
bbnote "KBUILD_BUILD_TIMESTAMP: $ts"
fi
# The $use_alternate_initrd is only set from
# do_bundle_initramfs() This variable is specifically for the
# case where we are making a second pass at the kernel
# compilation and we want to force the kernel build to use a
# different initramfs image. The way to do that in the kernel
# is to specify:
# make ...args... CONFIG_INITRAMFS_SOURCE=some_other_initramfs.cpio
if [ "$use_alternate_initrd" = "" ] && [ "${INITRAMFS_TASK}" != "" ] ; then
# The old style way of copying an prebuilt image and building it
# is turned on via INTIRAMFS_TASK != ""
copy_initramfs
use_alternate_initrd=CONFIG_INITRAMFS_SOURCE=${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio
fi
for typeformake in ${KERNEL_IMAGETYPE_FOR_MAKE} ; do
oe_runmake ${PARALLEL_MAKE} ${typeformake} ${KERNEL_EXTRA_ARGS} $use_alternate_initrd
done
}
kernel_legacyhs_do_transform_kernel() {
# vmlinux.gz is not built by kernel
if (echo "${KERNEL_IMAGETYPES}" | grep -wq "vmlinux\.gz"); then
mkdir -p "${KERNEL_OUTPUT_DIR}"
gzip -9cn < ${B}/vmlinux > "${KERNEL_OUTPUT_DIR}/vmlinux.gz"
fi
}
do_transform_kernel[dirs] = "${B}"
addtask transform_kernel after do_compile before do_install
do_compile_kernelmodules() {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
# setup native pkg-config variables (kconfig scripts call pkg-config directly, cannot generically be overriden to pkg-config-native)
export PKG_CONFIG_DIR="${STAGING_DIR_NATIVE}${libdir_native}/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_DIR:${STAGING_DATADIR_NATIVE}/pkgconfig"
export PKG_CONFIG_LIBDIR="$PKG_CONFIG_DIR"
export PKG_CONFIG_SYSROOT_DIR=""
if [ "${KERNEL_DEBUG_TIMESTAMPS}" != "1" ]; then
# kernel sources do not use do_unpack, so SOURCE_DATE_EPOCH may not
# be set....
if [ "${SOURCE_DATE_EPOCH}" = "" -o "${SOURCE_DATE_EPOCH}" = "0" ]; then
# The source directory is not necessarily a git repository, so we
# specify the git-dir to ensure that git does not query a
# repository in any parent directory.
SOURCE_DATE_EPOCH=`git --git-dir="${S}/.git" log -1 --pretty=%ct 2>/dev/null || echo "${REPRODUCIBLE_TIMESTAMP_ROOTFS}"`
fi
ts=`LC_ALL=C date -d @$SOURCE_DATE_EPOCH`
export KBUILD_BUILD_TIMESTAMP="$ts"
export KCONFIG_NOTIMESTAMP=1
bbnote "KBUILD_BUILD_TIMESTAMP: $ts"
else
ts=`LC_ALL=C date`
export KBUILD_BUILD_TIMESTAMP="$ts"
bbnote "KBUILD_BUILD_TIMESTAMP: $ts"
fi
if (grep -q -i -e '^CONFIG_MODULES=y$' ${B}/.config); then
oe_runmake -C ${B} ${PARALLEL_MAKE} modules ${KERNEL_EXTRA_ARGS}
# Module.symvers gets updated during the
# building of the kernel modules. We need to
# update this in the shared workdir since some
# external kernel modules has a dependency on
# other kernel modules and will look at this
# file to do symbol lookups
cp ${B}/Module.symvers ${STAGING_KERNEL_BUILDDIR}/
# 5.10+ kernels have module.lds that we need to copy for external module builds
if [ -e "${B}/scripts/module.lds" ]; then
install -Dm 0644 ${B}/scripts/module.lds ${STAGING_KERNEL_BUILDDIR}/scripts/module.lds
fi
else
bbnote "no modules to compile"
fi
}
addtask compile_kernelmodules after do_compile before do_strip
kernel_legacyhs_do_install() {
#
# First install the modules
#
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
oe_runmake DEPMOD=echo MODLIB=${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION} INSTALL_FW_PATH=${D}${nonarch_base_libdir}/firmware modules_install
rm -f "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/build"
rm -f "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/source"
# Remove empty module directories to prevent QA issues
[ -d "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel" ] && find "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel" -type d -empty -delete
else
bbnote "no modules to install"
fi
#
# Install various kernel output (zImage, map file, config, module support files)
#
install -d ${D}/${KERNEL_IMAGEDEST}
#
# When including an initramfs bundle inside a FIT image, the fitImage is created after the install task
# by do_assemble_fitimage_initramfs.
# This happens after the generation of the initramfs bundle (done by do_bundle_initramfs).
# So, at the level of the install task we should not try to install the fitImage. fitImage is still not
# generated yet.
# After the generation of the fitImage, the deploy task copies the fitImage from the build directory to
# the deploy folder.
#
for imageType in ${KERNEL_IMAGETYPES} ; do
if [ $imageType != "fitImage" ] || [ "${INITRAMFS_IMAGE_BUNDLE}" != "1" ] ; then
install -m 0644 ${KERNEL_OUTPUT_DIR}/$imageType ${D}/${KERNEL_IMAGEDEST}/$imageType-${KERNEL_VERSION}
fi
done
install -m 0644 System.map ${D}/${KERNEL_IMAGEDEST}/System.map-${KERNEL_VERSION}
install -m 0644 .config ${D}/${KERNEL_IMAGEDEST}/config-${KERNEL_VERSION}
install -m 0644 vmlinux ${D}/${KERNEL_IMAGEDEST}/vmlinux-${KERNEL_VERSION}
! [ -e Module.symvers ] || install -m 0644 Module.symvers ${D}/${KERNEL_IMAGEDEST}/Module.symvers-${KERNEL_VERSION}
}
# Must be ran no earlier than after do_kernel_checkout or else Makefile won't be in ${S}/Makefile
do_kernel_version_sanity_check() {
if [ "x${KERNEL_VERSION_SANITY_SKIP}" = "x1" ]; then
exit 0
fi
# The Makefile determines the kernel version shown at runtime
# Don't use KERNEL_VERSION because the headers it grabs the version from aren't generated until do_compile
VERSION=$(grep "^VERSION =" ${S}/Makefile | sed s/.*=\ *//)
PATCHLEVEL=$(grep "^PATCHLEVEL =" ${S}/Makefile | sed s/.*=\ *//)
SUBLEVEL=$(grep "^SUBLEVEL =" ${S}/Makefile | sed s/.*=\ *//)
EXTRAVERSION=$(grep "^EXTRAVERSION =" ${S}/Makefile | sed s/.*=\ *//)
# Build a string for regex and a plain version string
reg="^${VERSION}\.${PATCHLEVEL}"
vers="${VERSION}.${PATCHLEVEL}"
if [ -n "${SUBLEVEL}" ]; then
# Ignoring a SUBLEVEL of zero is fine
if [ "${SUBLEVEL}" = "0" ]; then
reg="${reg}(\.${SUBLEVEL})?"
else
reg="${reg}\.${SUBLEVEL}"
vers="${vers}.${SUBLEVEL}"
fi
fi
vers="${vers}${EXTRAVERSION}"
reg="${reg}${EXTRAVERSION}"
if [ -z `echo ${PV} | grep -E "${reg}"` ]; then
bbfatal "Package Version (${PV}) does not match of kernel being built (${vers}). Please update the PV variable to match the kernel source or set KERNEL_VERSION_SANITY_SKIP=\"1\" in your recipe."
fi
exit 0
}
addtask shared_workdir after do_compile before do_compile_kernelmodules
addtask shared_workdir_setscene
do_shared_workdir_setscene () {
exit 1
}
emit_depmod_pkgdata() {
# Stash data for depmod
install -d ${PKGDESTWORK}/${KERNEL_PACKAGE_NAME}-depmod/
echo "${KERNEL_VERSION}" > ${PKGDESTWORK}/${KERNEL_PACKAGE_NAME}-depmod/${KERNEL_PACKAGE_NAME}-abiversion
cp ${B}/System.map ${PKGDESTWORK}/${KERNEL_PACKAGE_NAME}-depmod/System.map-${KERNEL_VERSION}
}
PACKAGEFUNCS += "emit_depmod_pkgdata"
do_shared_workdir[cleandirs] += " ${STAGING_KERNEL_BUILDDIR}"
do_shared_workdir () {
cd ${B}
kerneldir=${STAGING_KERNEL_BUILDDIR}
install -d $kerneldir
#
# Store the kernel version in sysroots for module-base.bbclass
#
echo "${KERNEL_VERSION}" > $kerneldir/${KERNEL_PACKAGE_NAME}-abiversion
echo "${KERNEL_LOCALVERSION}" > $kerneldir/${KERNEL_PACKAGE_NAME}-localversion
# Copy files required for module builds
cp System.map $kerneldir/System.map-${KERNEL_VERSION}
! [ -e Module.symvers ] || cp Module.symvers $kerneldir/
cp .config $kerneldir/
mkdir -p $kerneldir/include/config
cp include/config/kernel.release $kerneldir/include/config/kernel.release
if [ -e certs/signing_key.x509 ]; then
# The signing_key.* files are stored in the certs/ dir in
# newer Linux kernels
mkdir -p $kerneldir/certs
cp certs/signing_key.* $kerneldir/certs/
elif [ -e signing_key.priv ]; then
cp signing_key.* $kerneldir/
fi
# We can also copy over all the generated files and avoid special cases
# like version.h, but we've opted to keep this small until file creep starts
# to happen
if [ -e include/linux/version.h ]; then
mkdir -p $kerneldir/include/linux
cp include/linux/version.h $kerneldir/include/linux/version.h
fi
# As of Linux kernel version 3.0.1, the clean target removes
# arch/powerpc/lib/crtsavres.o which is present in
# KBUILD_LDFLAGS_MODULE, making it required to build external modules.
if [ ${ARCH} = "powerpc" ]; then
if [ -e arch/powerpc/lib/crtsavres.o ]; then
mkdir -p $kerneldir/arch/powerpc/lib/
cp arch/powerpc/lib/crtsavres.o $kerneldir/arch/powerpc/lib/crtsavres.o
fi
fi
if [ -d include/generated ]; then
mkdir -p $kerneldir/include/generated/
cp -fR include/generated/* $kerneldir/include/generated/
fi
if [ -d arch/${ARCH}/include/generated ]; then
mkdir -p $kerneldir/arch/${ARCH}/include/generated/
cp -fR arch/${ARCH}/include/generated/* $kerneldir/arch/${ARCH}/include/generated/
fi
if (grep -q -i -e '^CONFIG_UNWINDER_ORC=y$' $kerneldir/.config); then
# With CONFIG_UNWINDER_ORC (the default in 4.14), objtool is required for
# out-of-tree modules to be able to generate object files.
if [ -x tools/objtool/objtool ]; then
mkdir -p ${kerneldir}/tools/objtool
cp tools/objtool/objtool ${kerneldir}/tools/objtool/
fi
fi
# When building with CONFIG_MODVERSIONS=y and CONFIG_RANDSTRUCT=y we need
# to copy the build assets generated for the randstruct seed to
# STAGING_KERNEL_BUILDDIR, otherwise the out-of-tree modules build will
# generate those assets which will result in a different
# RANDSTRUCT_HASHED_SEED
if [ -d scripts/basic ]; then
mkdir -p ${kerneldir}/scripts
cp -r scripts/basic ${kerneldir}/scripts
fi
if [ -d scripts/gcc-plugins ]; then
mkdir -p ${kerneldir}/scripts
cp -r scripts/gcc-plugins ${kerneldir}/scripts
fi
}
# We don't need to stage anything, not the modules/firmware since those would clash with linux-firmware
SYSROOT_DIRS = ""
KERNEL_CONFIG_COMMAND ?= "oe_runmake_call -C ${S} O=${B} olddefconfig || oe_runmake -C ${S} O=${B} oldnoconfig"
python check_oldest_kernel() {
oldest_kernel = d.getVar('OLDEST_KERNEL')
kernel_version = d.getVar('KERNEL_VERSION')
tclibc = d.getVar('TCLIBC')
if tclibc == 'glibc':
kernel_version = kernel_version.split('-', 1)[0]
if oldest_kernel and kernel_version:
if bb.utils.vercmp_string(kernel_version, oldest_kernel) < 0:
bb.warn('%s: OLDEST_KERNEL is "%s" but the version of the kernel you are building is "%s" - therefore %s as built may not be compatible with this kernel. Either set OLDEST_KERNEL to an older version, or build a newer kernel.' % (d.getVar('PN'), oldest_kernel, kernel_version, tclibc))
}
check_oldest_kernel[vardepsexclude] += "OLDEST_KERNEL KERNEL_VERSION"
do_compile[postfuncs] += "check_oldest_kernel"
KERNEL_LOCALVERSION ??= ""
# 6.3+ requires the variable LOCALVERSION to be set to not get a "+" in
# the local version. Having it empty means nothing will be added, and any
# value will be appended to the local kernel version. This replaces the
# use of .scmversion file for setting a localversion without using
# the CONFIG_LOCALVERSION option.
#
# Note: This class saves the value of localversion to a file
# so other recipes like make-mod-scripts can restore it via the
# helper function get_kernellocalversion_file
export LOCALVERSION = "${KERNEL_LOCALVERSION}"
kernel_legacyhs_do_configure() {
# fixes extra + in /lib/modules/2.6.37+
# $ scripts/setlocalversion . => +
# $ make kernelversion => 2.6.37
# $ make kernelrelease => 2.6.37+
# See kernel-arch.bbclass for post v6.3 removal of the extra
# + in localversion. .scmversion is no longer used, and the
# variable LOCALVERSION must be used
if [ ! -e ${B}/.scmversion -a ! -e ${S}/.scmversion ]; then
echo ${KERNEL_LOCALVERSION} > ${B}/.scmversion
echo ${KERNEL_LOCALVERSION} > ${S}/.scmversion
fi
if [ "${S}" != "${B}" ] && [ -f "${S}/.config" ] && [ ! -f "${B}/.config" ]; then
mv "${S}/.config" "${B}/.config"
fi
# Copy defconfig to .config if .config does not exist. This allows
# recipes to manage the .config themselves in do_configure:prepend().
if [ -f "${UNPACKDIR}/defconfig" ] && [ ! -f "${B}/.config" ]; then
cp "${UNPACKDIR}/defconfig" "${B}/.config"
fi
${KERNEL_CONFIG_COMMAND}
}
inherit cml1 pkgconfig
EXPORT_FUNCTIONS do_compile do_transform_kernel do_transform_bundled_initramfs do_install do_configure
# kernel-base becomes kernel-${KERNEL_VERSION}
# kernel-image becomes kernel-image-${KERNEL_VERSION}
PACKAGES = "${KERNEL_PACKAGE_NAME} ${KERNEL_PACKAGE_NAME}-base ${KERNEL_PACKAGE_NAME}-vmlinux ${KERNEL_PACKAGE_NAME}-image ${KERNEL_PACKAGE_NAME}-dev ${KERNEL_PACKAGE_NAME}-modules ${KERNEL_PACKAGE_NAME}-dbg"
FILES:${PN} = ""
FILES:${KERNEL_PACKAGE_NAME}-base = "${nonarch_base_libdir}/modules/${KERNEL_VERSION}/modules.order ${nonarch_base_libdir}/modules/${KERNEL_VERSION}/modules.builtin ${nonarch_base_libdir}/modules/${KERNEL_VERSION}/modules.builtin.modinfo"
FILES:${KERNEL_PACKAGE_NAME}-image = ""
FILES:${KERNEL_PACKAGE_NAME}-dev = "/${KERNEL_IMAGEDEST}/System.map* /${KERNEL_IMAGEDEST}/Module.symvers* /${KERNEL_IMAGEDEST}/config* ${KERNEL_SRC_PATH} ${nonarch_base_libdir}/modules/${KERNEL_VERSION}/build"
FILES:${KERNEL_PACKAGE_NAME}-vmlinux = "/${KERNEL_IMAGEDEST}/vmlinux-${KERNEL_VERSION_NAME}"
FILES:${KERNEL_PACKAGE_NAME}-modules = ""
FILES:${KERNEL_PACKAGE_NAME}-dbg = "/usr/lib/debug /usr/src/debug"
RDEPENDS:${KERNEL_PACKAGE_NAME} = "${KERNEL_PACKAGE_NAME}-base (= ${EXTENDPKGV})"
# Allow machines to override this dependency if kernel image files are
# not wanted in images as standard
RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base ?= "${KERNEL_PACKAGE_NAME}-image (= ${EXTENDPKGV})"
PKG:${KERNEL_PACKAGE_NAME}-image = "${KERNEL_PACKAGE_NAME}-image-${@legitimize_package_name(d.getVar('KERNEL_VERSION'))}"
RPROVIDES:${KERNEL_PACKAGE_NAME}-image += "${KERNEL_PACKAGE_NAME}-image"
RDEPENDS:${KERNEL_PACKAGE_NAME}-image += "${@oe.utils.conditional('KERNEL_IMAGETYPE', 'vmlinux', '${KERNEL_PACKAGE_NAME}-vmlinux (= ${EXTENDPKGV})', '', d)}"
PKG:${KERNEL_PACKAGE_NAME}-base = "${KERNEL_PACKAGE_NAME}-${@legitimize_package_name(d.getVar('KERNEL_VERSION'))}"
RPROVIDES:${KERNEL_PACKAGE_NAME}-base += "${KERNEL_PACKAGE_NAME}-${KERNEL_VERSION} ${KERNEL_PACKAGE_NAME}-base"
ALLOW_EMPTY:${KERNEL_PACKAGE_NAME} = "1"
ALLOW_EMPTY:${KERNEL_PACKAGE_NAME}-base = "1"
ALLOW_EMPTY:${KERNEL_PACKAGE_NAME}-image = "1"
ALLOW_EMPTY:${KERNEL_PACKAGE_NAME}-modules = "1"
DESCRIPTION:${KERNEL_PACKAGE_NAME}-modules = "Kernel modules meta package"
pkg_postinst:${KERNEL_PACKAGE_NAME}-base () {
if [ ! -e "$D/lib/modules/${KERNEL_VERSION}" ]; then
mkdir -p $D/lib/modules/${KERNEL_VERSION}
fi
if [ -n "$D" ]; then
depmodwrapper -a -b $D ${KERNEL_VERSION} ${KERNEL_PACKAGE_NAME}
else
depmod -a ${KERNEL_VERSION}
fi
}
PACKAGESPLITFUNCS =+ "split_kernel_packages"
python split_kernel_packages () {
do_split_packages(d, root='${nonarch_base_libdir}/firmware', file_regex=r'^(.*)\.(bin|fw|cis|csp|dsp)$', output_pattern='${KERNEL_PACKAGE_NAME}-firmware-%s', description='Firmware for %s', recursive=True, extra_depends='')
}
# Many scripts want to look in arch/$arch/boot for the bootable
# image. This poses a problem for vmlinux and vmlinuz based
# booting. This task arranges to have vmlinux and vmlinuz appear
# in the normalized directory location.
do_kernel_link_images() {
if [ ! -d "${B}/arch/${ARCH}/boot" ]; then
mkdir ${B}/arch/${ARCH}/boot
fi
cd ${B}/arch/${ARCH}/boot
ln -sf ../../../vmlinux
if [ -f ../../../vmlinuz ]; then
ln -sf ../../../vmlinuz
fi
if [ -f ../../../vmlinuz.bin ]; then
ln -sf ../../../vmlinuz.bin
fi
if [ -f ../../../vmlinux.64 ]; then
ln -sf ../../../vmlinux.64
fi
}
addtask kernel_link_images after do_compile before do_strip
python do_strip() {
import shutil
strip = d.getVar('KERNEL_STRIP')
extra_sections = d.getVar('KERNEL_IMAGE_STRIP_EXTRA_SECTIONS')
kernel_image = d.getVar('B') + "/" + d.getVar('KERNEL_OUTPUT_DIR') + "/vmlinux"
if (extra_sections and kernel_image.find(d.getVar('KERNEL_IMAGEDEST') + '/vmlinux') != -1):
kernel_image_stripped = kernel_image + ".stripped"
shutil.copy2(kernel_image, kernel_image_stripped)
oe.package.runstrip((kernel_image_stripped, 8, strip, extra_sections))
bb.debug(1, "KERNEL_IMAGE_STRIP_EXTRA_SECTIONS is set, stripping sections: " + \
extra_sections)
}
do_strip[dirs] = "${B}"
addtask strip before do_sizecheck after do_kernel_link_images
# Support checking the kernel size since some kernels need to reside in partitions
# with a fixed length or there is a limit in transferring the kernel to memory.
# If more than one image type is enabled, warn on any that don't fit but only fail
# if none fit.
do_sizecheck() {
if [ ! -z "${KERNEL_IMAGE_MAXSIZE}" ]; then
invalid=`echo ${KERNEL_IMAGE_MAXSIZE} | sed 's/[0-9]//g'`
if [ -n "$invalid" ]; then
die "Invalid KERNEL_IMAGE_MAXSIZE: ${KERNEL_IMAGE_MAXSIZE}, should be an integer (The unit is Kbytes)"
fi
at_least_one_fits=
for imageType in ${KERNEL_IMAGETYPES} ; do
size=`du -ks ${B}/${KERNEL_OUTPUT_DIR}/$imageType | awk '{print $1}'`
if [ $size -gt ${KERNEL_IMAGE_MAXSIZE} ]; then
bbwarn "This kernel $imageType (size=$size(K) > ${KERNEL_IMAGE_MAXSIZE}(K)) is too big for your device."
else
at_least_one_fits=y
fi
done
if [ -z "$at_least_one_fits" ]; then
die "All kernel images are too big for your device. Please reduce the size of the kernel by making more of it modular."
fi
fi
}
do_sizecheck[dirs] = "${B}"
addtask sizecheck before do_install after do_strip
inherit kernel-artifact-names
kernel_legacyhs_do_deploy() {
deployDir="${DEPLOYDIR}"
if [ -n "${KERNEL_DEPLOYSUBDIR}" ]; then
deployDir="${DEPLOYDIR}/${KERNEL_DEPLOYSUBDIR}"
mkdir "$deployDir"
fi
for imageType in ${KERNEL_IMAGETYPES} ; do
baseName=$imageType-${KERNEL_IMAGE_NAME}
if [ -s ${KERNEL_OUTPUT_DIR}/$imageType.stripped ] ; then
install -m 0644 ${KERNEL_OUTPUT_DIR}/$imageType.stripped $deployDir/$baseName${KERNEL_IMAGE_BIN_EXT}
else
install -m 0644 ${KERNEL_OUTPUT_DIR}/$imageType $deployDir/$baseName${KERNEL_IMAGE_BIN_EXT}
fi
if [ -n "${KERNEL_IMAGE_LINK_NAME}" ] ; then
ln -sf $baseName${KERNEL_IMAGE_BIN_EXT} $deployDir/$imageType-${KERNEL_IMAGE_LINK_NAME}${KERNEL_IMAGE_BIN_EXT}
fi
if [ "${KERNEL_IMAGETYPE_SYMLINK}" = "1" ] ; then
ln -sf $baseName${KERNEL_IMAGE_BIN_EXT} $deployDir/$imageType
fi
done
if [ ${MODULE_TARBALL_DEPLOY} = "1" ] && (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
mkdir -p ${D}${root_prefix}/lib
if [ -n "${SOURCE_DATE_EPOCH}" ]; then
TAR_ARGS="--sort=name --clamp-mtime --mtime=@${SOURCE_DATE_EPOCH}"
else
TAR_ARGS=""
fi
TAR_ARGS="$TAR_ARGS --owner=0 --group=0"
tar $TAR_ARGS -cv -C ${D}${root_prefix} lib | gzip -9n > $deployDir/modules-${MODULE_TARBALL_NAME}.tgz
if [ -n "${MODULE_TARBALL_LINK_NAME}" ] ; then
ln -sf modules-${MODULE_TARBALL_NAME}.tgz $deployDir/modules-${MODULE_TARBALL_LINK_NAME}.tgz
fi
fi
if [ ! -z "${INITRAMFS_IMAGE}" -a x"${INITRAMFS_IMAGE_BUNDLE}" = x1 ]; then
for imageType in ${KERNEL_IMAGETYPES} ; do
if [ "$imageType" = "fitImage" ] ; then
continue
fi
initramfsBaseName=$imageType-${INITRAMFS_NAME}
install -m 0644 ${KERNEL_OUTPUT_DIR}/$imageType.initramfs $deployDir/$initramfsBaseName${KERNEL_IMAGE_BIN_EXT}
if [ -n "${INITRAMFS_LINK_NAME}" ] ; then
ln -sf $initramfsBaseName${KERNEL_IMAGE_BIN_EXT} $deployDir/$imageType-${INITRAMFS_LINK_NAME}${KERNEL_IMAGE_BIN_EXT}
fi
done
fi
}
# We deploy to filenames that include PKGV and PKGR, read the saved data to
# ensure we get the right values for both
do_deploy[prefuncs] += "read_subpackage_metadata"
addtask deploy after do_populate_sysroot do_packagedata
EXPORT_FUNCTIONS do_deploy
# Add using Device Tree support
inherit kernel-devicetree

View File

@@ -15,7 +15,6 @@ TI_SECURE_DEV_PKG:k3r5 = "${@ d.getVar('TI_SECURE_DEV_PKG_K3') or d.getVar('TI_K
TI_SECURE_DEV_PKG:ti33x = "${TI_SECURE_DEV_PKG_CAT}/am3x"
TI_SECURE_DEV_PKG:ti43x = "${TI_SECURE_DEV_PKG_CAT}/am4x"
TI_SECURE_DEV_PKG:am57xx = "${TI_SECURE_DEV_PKG_AUTO}/am5x"
TI_SECURE_DEV_PKG:dra7xx = "${TI_SECURE_DEV_PKG_AUTO}/dra7"
# The SECDEV scripts may need their own location provided through the environment
export TI_SECURE_DEV_PKG

View File

@@ -9,7 +9,7 @@ BBFILE_COLLECTIONS += "meta-ti-bsp"
BBFILE_PATTERN_meta-ti-bsp := "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-ti-bsp = "6"
LAYERSERIES_COMPAT_meta-ti-bsp = "scarthgap"
LAYERSERIES_COMPAT_meta-ti-bsp = "whinlatter"
LICENSE_PATH += "${LAYERDIR}/licenses"
@@ -36,3 +36,8 @@ TI_COMMON_DEPLOY ?= "${TOPDIR}/deploy-ti"
DEPLOY_DIR_IMAGE:ti-soc = "${TI_COMMON_DEPLOY}/images/${MACHINE}"
SDK_DEPLOY:ti-soc = "${TI_COMMON_DEPLOY}/sdk"
PSEUDO_IGNORE_PATHS:append:ti-soc = ",${TI_COMMON_DEPLOY}"
MIRRORS += " \
git://git.ti.com/.* git://github.com/TexasInstruments/BASENAME;protocol=https \
gitsm://git.ti.com/.* gitsm://github.com/TexasInstruments/BASENAME;protocol=https \
"

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 16000"
MKUBIFS_ARGS ?= "-F -m 2048 -e 126976 -c 18000"
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# from dmesg:

View File

@@ -11,6 +11,7 @@ UBOOT_CONFIG[uart] = "am335x_hs_evm_uart_config"
UBOOT_CONFIG[mmc] = "am335x_hs_evm_config"
# FIT image for legacy secure devices
KERNEL_BASE_CLASS = "kernel_legacyhs"
KERNEL_CLASSES += " kernel-fitimage-legacyhs"
KERNEL_IMAGETYPES += " fitImage"
@@ -19,3 +20,4 @@ FITIMAGE_HASH_ALGO = ""
FITIMAGE_DTB_BY_NAME = "1"
FITIMAGE_TEE_BY_NAME = "1"
FITIMAGE_CONF_BY_NAME = "1"
FIT_CONF_DEFAULT_DTB = "am335x-evm.dtb"

View File

@@ -21,7 +21,7 @@ SERIAL_CONSOLES = "115200;ttyS0"
# UBI: logical eraseblock size: 253952 bytes
# from ubiattach stdout:
# UBI device number 0, total 994 LEBs
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 8000"
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 10000"
# do ubiattach /dev/ubi_ctrl -m 11 -O 4096
# from dmesg:

View File

@@ -12,6 +12,7 @@ OPTEEFLAVOR = "am43xx"
EXTRA_IMAGEDEPENDS += "optee-os"
# FIT image for legacy secure devices
KERNEL_BASE_CLASS = "kernel_legacyhs"
KERNEL_CLASSES += " kernel-fitimage-legacyhs"
KERNEL_IMAGETYPES += " fitImage"
@@ -21,3 +22,4 @@ FITIMAGE_PACK_TEE = "1"
FITIMAGE_DTB_BY_NAME = "1"
FITIMAGE_TEE_BY_NAME = "1"
FITIMAGE_CONF_BY_NAME = "1"
FIT_CONF_DEFAULT_DTB = "am437x-gp-evm.dtb"

View File

@@ -13,6 +13,7 @@ OPTEEPAGER = "y"
EXTRA_IMAGEDEPENDS += "optee-os"
# FIT image for legacy secure devices
KERNEL_BASE_CLASS = "kernel_legacyhs"
KERNEL_CLASSES += " kernel-fitimage-legacyhs"
KERNEL_IMAGETYPES += " fitImage"
@@ -22,3 +23,4 @@ FITIMAGE_PACK_TEE = "1"
FITIMAGE_DTB_BY_NAME = "1"
FITIMAGE_TEE_BY_NAME = "1"
FITIMAGE_CONF_BY_NAME = "1"
FIT_CONF_DEFAULT_DTB = "am57xx-evm.dtb"

View File

@@ -4,10 +4,6 @@
require conf/machine/include/k3r5.inc
SYSFW_SOC = "am62ax"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs-fs"
UBOOT_MACHINE = "am62ax_evm_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS:ti-falcon = "k3_r5_falcon.config"

View File

@@ -11,6 +11,10 @@ KERNEL_DEVICETREE_PREFIX = " \
ti/k3-v3link \
"
KERNEL_DEVICETREE_DTBMERGE = " \
ti/k3-am62a7-sk-ub954-evm-ov2312.dtb \
"
KERNEL_DEVICETREE = " \
ti/k3-am62a7-phyboard-lyra-rdk.dtb \
ti/k3-am62a7-sk.dtb \
@@ -20,6 +24,6 @@ KERNEL_DEVICETREE = " \
ti/k3-am62x-sk-hdmi-audio.dtbo \
"
FIT_CONF_DEFAULT_DTB = "ti/k3-am62a7-sk.dtb"
FIT_CONF_DEFAULT_DTB = "k3-am62a7-sk.dtb"
UBOOT_MACHINE = "am62ax_evm_a53_defconfig"

View File

@@ -4,8 +4,4 @@
require conf/machine/include/k3r5.inc
SYSFW_SOC = "am62dx"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs-fs"
UBOOT_MACHINE = "am62dx_evm_r5_defconfig"

View File

@@ -7,11 +7,13 @@ require conf/machine/include/am62dxx.inc
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am62d2 \
ti/k3-am62a7-sk-edgeai \
ti/k3-am62x-sk \
ti/k3-am62a7-sk-rpi-hdr-ehrpwm \
"
KERNEL_DEVICETREE = ""
FIT_CONF_DEFAULT_DTB = "ti/k3-am62d2-evm.dtb"
FIT_CONF_DEFAULT_DTB = "k3-am62d2-evm.dtb"
UBOOT_MACHINE = "am62dx_evm_a53_defconfig"

View File

@@ -3,7 +3,6 @@
#@DESCRIPTION: Machine configuration for the TI AM62L EVM
require conf/machine/include/am62lxx.inc
require conf/machine/include/ti-extras.inc
IMAGE_FSTYPES += "ubifs ubi"

View File

@@ -3,11 +3,6 @@
#@DESCRIPTION: Machine configuration for the TI AM62Px EVM (R5F core)
require conf/machine/include/k3r5.inc
require conf/machine/include/ti-extras.inc
SYSFW_SOC = "am62px"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs-fs"
UBOOT_MACHINE = "am62px_evm_r5_defconfig"

View File

@@ -3,13 +3,13 @@
#@DESCRIPTION: Machine configuration for the TI AM62PX EVM
require conf/machine/include/am62pxx.inc
require conf/machine/include/ti-extras.inc
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am62p5 \
ti/k3-am62x-sk-csi2 \
ti/k3-am62x-sk-hdmi \
ti/k3-am62x-sk-lpm \
ti/k3-am62x-sk-mcspi-loopback \
ti/k3-v3link \
"
@@ -21,7 +21,7 @@ KERNEL_DEVICETREE = " \
ti/k3-am62x-sk-hdmi-audio.dtbo \
"
FIT_CONF_DEFAULT_DTB = "ti/k3-am62p5-sk.dtb"
FIT_CONF_DEFAULT_DTB = "k3-am62p5-sk.dtb"
UBOOT_MACHINE = "am62px_evm_a53_defconfig"

View File

@@ -3,11 +3,6 @@
#@DESCRIPTION: Machine configuration for the TI AM62xx EVM (R5F core)
require conf/machine/include/k3r5.inc
require conf/machine/include/ti-extras.inc
SYSFW_SOC = "am62x"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs-fs"
UBOOT_MACHINE = "am62x_evm_r5_defconfig"

View File

@@ -3,7 +3,6 @@
#@DESCRIPTION: Machine configuration for the TI AM62XX EVM
require conf/machine/include/am62xx.inc
require conf/machine/include/ti-extras.inc
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am625 \
@@ -31,6 +30,6 @@ KERNEL_DEVICETREE = " \
ti/k3-am62x-sk-hdmi-audio.dtbo \
"
FIT_CONF_DEFAULT_DTB = "ti/k3-am625-sk.dtb"
FIT_CONF_DEFAULT_DTB = "k3-am625-sk.dtb"
UBOOT_MACHINE = "am62x_evm_a53_defconfig"

View File

@@ -3,11 +3,6 @@
#@DESCRIPTION: Machine configuration for the TI AM62xx LP GP EVM (R5F core)
require conf/machine/include/k3r5.inc
require conf/machine/include/ti-extras.inc
SYSFW_SOC = "am62x"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs-fs"
UBOOT_MACHINE = "am62x_lpsk_r5_defconfig"

View File

@@ -3,7 +3,6 @@
#@DESCRIPTION: Machine configuration for the TI AM62XX LP EVM
require conf/machine/include/am62xx.inc
require conf/machine/include/ti-extras.inc
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am62-lp \
@@ -13,6 +12,7 @@ KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am62x-sk-hdmi \
ti/k3-am62x-sk-lpm \
ti/k3-am62x-sk-mcan \
ti/k3-am62x-sk-mcspi-loopback \
ti/k3-am62x-sk-pwm \
"
@@ -23,6 +23,6 @@ KERNEL_DEVICETREE = " \
ti/k3-am62x-sk-hdmi-audio.dtbo \
"
FIT_CONF_DEFAULT_DTB = "ti/k3-am62-lp-sk.dtb"
FIT_CONF_DEFAULT_DTB = "k3-am62-lp-sk.dtb"
UBOOT_MACHINE = "am62x_lpsk_a53_defconfig"

View File

@@ -4,9 +4,6 @@
require conf/machine/include/k3r5.inc
SYSFW_SOC = "am62x"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs-fs"
UBOOT_MACHINE = "am6254xxl_evm_r5_defconfig"
UBOOT_MACHINE:bsp-ti-6_6 = "am62xsip_evm_r5_defconfig"
UBOOT_MACHINE:bsp-ti-6_18 = "am6254atl_evm_r5_defconfig"

View File

@@ -22,8 +22,10 @@ KERNEL_DEVICETREE = " \
ti/k3-am625-sk.dtb \
"
FIT_CONF_DEFAULT_DTB = "ti/k3-am6254xxl-sk.dtb"
FIT_CONF_DEFAULT_DTB:bsp-ti-6_6 = "ti/k3-am625-sk.dtb"
FIT_CONF_DEFAULT_DTB = "k3-am6254xxl-sk.dtb"
FIT_CONF_DEFAULT_DTB:bsp-ti-6_6 = "k3-am625-sk.dtb"
FIT_CONF_DEFAULT_DTB:bsp-ti-6_18 = "k3-am6254atl-sk.dtb"
UBOOT_MACHINE = "am6254xxl_evm_a53_defconfig"
UBOOT_MACHINE:bsp-ti-6_6 = "am62xsip_evm_a53_defconfig"
UBOOT_MACHINE:bsp-ti-6_18 = "am6254atl_evm_a53_defconfig"

View File

@@ -4,8 +4,4 @@
require conf/machine/include/k3r5.inc
SYSFW_SOC = "am64x_sr2"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs-fs"
UBOOT_MACHINE = "am64x_evm_r5_defconfig"

View File

@@ -4,8 +4,4 @@
require conf/machine/include/k3r5.inc
SYSFW_SOC = "am65x_sr2"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "gp"
UBOOT_MACHINE = "am65x_evm_r5_defconfig"

View File

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

View File

@@ -1,7 +0,0 @@
#@TYPE: Machine
#@NAME: AM65xx HS EVM
#@DESCRIPTION: Machine configuration for the TI AM65xx HS EVM
require conf/machine/include/am65xx.inc
UBOOT_MACHINE = "am65x_evm_a53_defconfig"

View File

@@ -4,8 +4,4 @@
require conf/machine/include/k3r5.inc
SYSFW_SOC = "j721s2"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs-fs"
UBOOT_MACHINE = "am68_sk_r5_defconfig"

View File

@@ -4,8 +4,4 @@
require conf/machine/include/k3r5.inc
SYSFW_SOC = "j784s4"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs-fs"
UBOOT_MACHINE = "am69_sk_r5_defconfig"

View File

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

View File

@@ -4,8 +4,4 @@
require conf/machine/include/k3r5.inc
SYSFW_SOC = "am62x"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "gp"
UBOOT_MACHINE = "am62x_beagleplay_r5_defconfig"

View File

@@ -7,7 +7,7 @@ require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":am62xx"
MACHINE_FEATURES += "screen gpu"
MACHINE_FEATURES += "screen"
SERIAL_CONSOLES = "115200;ttyS2"

View File

@@ -2,7 +2,7 @@
#@NAME: DRA7xx EVM
#@DESCRIPTION: Machine configuration for the TI DRA7xx EVM
require conf/machine/include/dra7xx.inc
require conf/machine/include/am57xx.inc
MACHINE_FEATURES += "touchscreen"

View File

@@ -1,7 +1,50 @@
require conf/machine/include/omap-a15.inc
SOC_FAMILY:append = ":dra7xx"
require conf/machine/include/ti-soc.inc
SOC_FAMILY:append = ":am57xx"
MACHINE_FEATURES += "pci"
DEFAULTTUNE ?= "armv7athf-neon"
require conf/machine/include/arm/armv7a/tune-cortexa15.inc
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw prusw-fw pruhsr-fw pruprp-fw"
require conf/machine/include/ti-bsp.inc
# Graphics providers and variables
require conf/machine/include/mesa-pvr.inc
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_SGX_DRIVER_PROVIDER}"
KERNEL_IMAGETYPE = "zImage"
KERNEL_IMAGETYPES = "zImage uImage"
KERNEL_CLASSES += "kernel-uimage"
UBOOT_ARCH = "arm"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
# Generate an extlinux.conf file
UBOOT_EXTLINUX = "1"
UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
UBOOT_EXTLINUX_BOOT_FILES = " \
extlinux.conf;extlinux/extlinux.conf \
${KERNEL_IMAGETYPE} \
${DEVICETREE_FILES} \
"
SPL_BINARY = "MLO"
UBOOT_SUFFIX = "img"
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image-zimage"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "vpdma-fw goodix-fw prueth-fw prusw-fw pruhsr-fw pruprp-fw"
# Use the expected value of the ubifs filesystem's volume name in the kernel
# and u-boot.
UBI_VOLNAME = "rootfs"
# List common SoC features, may need to add touchscreen for specific machines
MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa mmip dsp gc320 pci"
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
WKS_FILE ?= "sdimage-2part.wks"
IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES} ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4"
do_image_wic[depends] += "virtual/bootloader:do_deploy"
do_image_wic[depends] += "ti-rtos-messageq-test-fw:do_deploy"

View File

@@ -7,13 +7,10 @@ MACHINE_FEATURES += "screen touchscreen"
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 HS-SE
IMAGE_BOOT_FILES += "tiboot3-am62ax-hs-evm.bin"
TFA_BOARD = "lite"
OPTEEMACHINE = "k3-am62x"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cnm-wave-fw"
TI_INITRAMFS_KERNEL_MODULES:append:bsp-mainline = " kernel-module-tps6594-i2c kernel-module-tps6594-regulator kernel-module-tps6594-core"
TI_INITRAMFS_KERNEL_MODULES:append:bsp-next = " kernel-module-tps6594-i2c kernel-module-tps6594-regulator kernel-module-tps6594-core"

View File

@@ -5,11 +5,5 @@ 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,17 +3,11 @@ require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":am62pxx"
MACHINE_FEATURES += "screen gpu"
MACHINE_FEATURES += "screen"
require conf/machine/include/mesa-pvr.inc
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

@@ -3,20 +3,11 @@ require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":am62xx"
MACHINE_FEATURES += "screen gpu"
MACHINE_FEATURES += "screen"
require conf/machine/include/mesa-pvr.inc
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
# Default tiboot3.bin on AM62x is for HS-FS
IMAGE_BOOT_FILES += "tiboot3-am62x-hs-fs-evm.bin"
# Since default tiboot3.bin on AM62x is for HS-FS, add a version for GP
IMAGE_BOOT_FILES += "tiboot3-am62x-gp-evm.bin"
# Since default tiboot3.bin on AM62x is for HS-FS, add a version for HS-SE
IMAGE_BOOT_FILES += "tiboot3-am62x-hs-evm.bin"
# Bitmap image tarball for early splashscreen
IMAGE_BOOT_FILES += "ti_logo_414x97_32bpp.bmp.gz"

View File

@@ -5,6 +5,10 @@ SOC_FAMILY:append = ":am64xx"
KERNEL_DEVICETREE_PREFIX = "ti/k3-am642"
KERNEL_DEVICETREE_DTBMERGE = " \
ti/k3-am642-evm-nand.dtb \
"
KERNEL_DEVICETREE = " \
ti/k3-am642-evm-icssg1-dualemac-mii.dtbo \
ti/k3-am642-evm-icssg1-dualemac.dtbo \
@@ -20,19 +24,10 @@ KERNEL_DEVICETREE = " \
ti/k3-am642-tqma64xxl-mbax4xxl.dtb \
"
# Default tiboot3.bin on AM64x is for SR2.0 HS-FS
IMAGE_BOOT_FILES += "tiboot3-am64x_sr2-hs-fs-evm.bin"
# Since default tiboot3.bin on AM64x is for SR2.0 HS-FS, add a version for GP
IMAGE_BOOT_FILES += "tiboot3-am64x-gp-evm.bin"
# Since default tiboot3.bin on AM64x is for SR2.0 HS-FS, add a version for SR2.0 HS-SE
IMAGE_BOOT_FILES += "tiboot3-am64x_sr2-hs-evm.bin"
TFA_BOARD = "lite"
OPTEEMACHINE = "k3-am64x"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw pruhsr-fw prusw-fw"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw pruhsr-fw prusw-fw pruprp-fw"
TI_WKS_BOOTLOADER_APPEND = "console=ttyS2,115200n8"

View File

@@ -3,13 +3,21 @@ require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":am65xx"
MACHINE_FEATURES += "screen touchscreen gpu"
MACHINE_FEATURES += "screen touchscreen"
require conf/machine/include/mesa-pvr.inc
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_SGX_DRIVER_PROVIDER}"
KERNEL_DEVICETREE_PREFIX = "ti/k3-am654"
KERNEL_DEVICETREE_DTBMERGE = " \
ti/k3-am654-gp-evm.dtb \
ti/k3-am654-evm.dtb \
ti/k3-am654-idk.dtb \
ti/k3-am6548-iot2050-advanced-m2-bkey-ekey-pcie.dtb \
ti/k3-am6548-iot2050-advanced-m2-bkey-usb3.dtb \
"
KERNEL_DEVICETREE = " \
ti/k3-am654-base-board-rocktech-rk101-panel.dtbo \
ti/k3-am654-base-board.dtb \
@@ -25,15 +33,8 @@ KERNEL_DEVICETREE = " \
ti/k3-am6548-iot2050-advanced.dtb \
"
IMAGE_BOOT_FILES += "sysfw.itb"
# Default on AM65x is for GP
IMAGE_BOOT_FILES += "tiboot3-am65x_sr2-gp-evm.bin"
IMAGE_BOOT_FILES += "sysfw-am65x_sr2-gp-evm.itb"
# Since default on AM65x is for GP, add a version for HS-SE
IMAGE_BOOT_FILES += "tiboot3-am65x_sr2-hs-evm.bin"
IMAGE_BOOT_FILES += "sysfw-am65x_sr2-hs-evm.itb"
# Deploy SYSFW and any variants
IMAGE_BOOT_FILES += "sysfw.itb sysfw-*-evm.itb"
TFA_BOARD = "generic"

View File

@@ -3,17 +3,11 @@ require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":j721s2"
MACHINE_FEATURES += "screen gpu"
MACHINE_FEATURES += "screen"
require conf/machine/include/mesa-pvr.inc
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
# Default tiboot3.bin on AM68 is for SR1.0 HS-FS
IMAGE_BOOT_FILES += "tiboot3-j721s2-hs-fs-evm.bin"
# Since default tiboot3.bin on AM68 is for HS-FS, add a version for SR1.0 HS-SE
IMAGE_BOOT_FILES += "tiboot3-j721s2-hs-evm.bin"
TFA_BOARD = "generic"
OPTEEMACHINE = "k3-j784s4"

View File

@@ -3,17 +3,11 @@ require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":j784s4"
MACHINE_FEATURES += "screen gpu"
MACHINE_FEATURES += "screen"
require conf/machine/include/mesa-pvr.inc
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
# Default tiboot3.bin on AM69 is for SR1.0 HS-FS
IMAGE_BOOT_FILES += "tiboot3-j784s4-hs-fs-evm.bin"
# Since default tiboot3.bin on AM69 is for HS-FS, add a version for SR1.0 HS-SE
IMAGE_BOOT_FILES += "tiboot3-j784s4-hs-evm.bin"
TFA_BOARD = "j784s4"
OPTEEMACHINE = "k3-j784s4"

View File

@@ -1,4 +0,0 @@
require conf/machine/include/omap-a15.inc
SOC_FAMILY:append = ":dra7xx"
MACHINE_FEATURES += "pci"

View File

@@ -3,25 +3,6 @@ require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":j7200"
# Default tiboot3.bin on J7200 is for GP
IMAGE_BOOT_FILES += "tiboot3-j7200-gp-evm.bin"
# Since default tiboot3.bin on J7200 is for GP, add a version for SR1.0 HS-FS
IMAGE_SR1_HS_FS_FILES = "tiboot3-j7200-hs-fs-evm.bin"
IMAGE_SR1_HS_FS_FILES:bsp-mainline = ""
IMAGE_BOOT_FILES += "${IMAGE_SR1_HS_FS_FILES}"
# Since default tiboot3.bin on J7200 is for GP, add a version for SR1.0 HS-SE
IMAGE_SR1_HS_SE_FILES = "tiboot3-j7200-hs-evm.bin"
IMAGE_SR1_HS_SE_FILES:bsp-mainline = ""
IMAGE_BOOT_FILES += "${IMAGE_SR1_HS_SE_FILES}"
# Since default tiboot3.bin on J7200 is for GP, add a version for SR2.0 HS-FS
IMAGE_BOOT_FILES += "tiboot3-j7200_sr2-hs-fs-evm.bin"
# Since default tiboot3.bin on J721e is for GP, add a version for SR2.0 HS-SE
IMAGE_BOOT_FILES += "tiboot3-j7200_sr2-hs-evm.bin"
TFA_BOARD = "generic"
OPTEEMACHINE = "k3-j721e"

View File

@@ -3,34 +3,13 @@ require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":j721e"
MACHINE_FEATURES += "screen gpu"
MACHINE_FEATURES += "screen"
require conf/machine/include/mesa-pvr.inc
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
IMAGE_BOOT_FILES += "sysfw.itb"
# Default on J721e is for GP
IMAGE_BOOT_FILES += "tiboot3-j721e-gp-evm.bin"
IMAGE_BOOT_FILES += "sysfw-j721e-gp-evm.itb"
# Since default on J721e is for GP, add a version for SR1.1 HS-FS
IMAGE_SR1_1_HS_FS_FILES = "tiboot3-j721e_sr1_1-hs-fs-evm.bin sysfw-j721e_sr1_1-hs-fs-evm.itb"
IMAGE_SR1_1_HS_FS_FILES:bsp-mainline = ""
IMAGE_BOOT_FILES += "${IMAGE_SR1_1_HS_FS_FILES}"
# Since default on J721e is for GP, add a version for SR1.1 HS-SE
IMAGE_SR1_1_HS_SE_FILES = "tiboot3-j721e_sr1_1-hs-evm.bin sysfw-j721e_sr1_1-hs-evm.itb"
IMAGE_BOOT_FILES += "${IMAGE_SR1_1_HS_SE_FILES}"
# Since default on J721e is for GP, add a version for SR2.0 HS-FS
IMAGE_SR2_HS_FS_FILES = "tiboot3-j721e_sr2-hs-fs-evm.bin sysfw-j721e_sr2-hs-fs-evm.itb"
IMAGE_BOOT_FILES += "${IMAGE_SR2_HS_FS_FILES}"
# Since default on J721e is for GP, add a version for SR2.0 HS-SE
IMAGE_SR2_HS_SE_FILES = "tiboot3-j721e_sr2-hs-evm.bin sysfw-j721e_sr2-hs-evm.itb"
IMAGE_SR2_HS_SE_FILES:bsp-mainline = ""
IMAGE_BOOT_FILES += "${IMAGE_SR2_HS_SE_FILES}"
# Deploy SYSFW and any variants
IMAGE_BOOT_FILES += "sysfw.itb sysfw-*-evm.itb"
TFA_BOARD = "generic"
@@ -40,3 +19,6 @@ TI_VXE_VXD_DRIVER = "ti-vxe-vxd-driver"
TI_VXE_VXD_DRIVER:bsp-ti-6_6 = ""
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw vxd-dec-fw ti-eth-fw-j721e ${TI_VXE_VXD_DRIVER}"
TI_INITRAMFS_KERNEL_MODULES:append:bsp-mainline = " kernel-module-cdns-pltfrm kernel-module-ti-j721e-ufs"
TI_INITRAMFS_KERNEL_MODULES:append:bsp-next = " kernel-module-cdns-pltfrm kernel-module-ti-j721e-ufs"

View File

@@ -3,20 +3,11 @@ require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":j721s2"
MACHINE_FEATURES += "screen gpu"
MACHINE_FEATURES += "screen"
require conf/machine/include/mesa-pvr.inc
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
# Default tiboot3.bin on J721S2 is for GP
IMAGE_BOOT_FILES += "tiboot3-j721s2-gp-evm.bin"
# Since default tiboot3.bin on J721S2 is for GP, add a version for SR1.0 HS-FS
IMAGE_BOOT_FILES += "tiboot3-j721s2-hs-fs-evm.bin"
# Since default tiboot3.bin on J721S2 is for GP, add a version for SR1.0 HS-SE
IMAGE_BOOT_FILES += "tiboot3-j721s2-hs-evm.bin"
TFA_BOARD = "generic"
OPTEEMACHINE = "k3-j784s4"

View File

@@ -3,20 +3,11 @@ require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":j722s"
MACHINE_FEATURES += "screen gpu"
MACHINE_FEATURES += "screen"
require conf/machine/include/mesa-pvr.inc
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
# Default tiboot3.bin on J722S is for HS-FS
IMAGE_BOOT_FILES += "tiboot3-j722s-hs-fs-evm.bin"
# Since default tiboot3.bin on J722S is for HS-FS, add a version for HS-SE
IMAGE_SR1_HS_SE_FILES = "tiboot3-j722s-hs-evm.bin"
IMAGE_SR1_HS_SE_FILES:bsp-mainline = ""
IMAGE_SR1_HS_SE_FILES:bsp-next = ""
IMAGE_BOOT_FILES += "${IMAGE_SR1_HS_SE_FILES}"
TFA_BOARD = "lite"
TFA_K3_SYSTEM_SUSPEND = "1"

View File

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

View File

@@ -3,22 +3,16 @@ require conf/machine/include/mc_k3r5.inc
SOC_FAMILY:append = ":j784s4"
MACHINE_FEATURES += "screen gpu"
MACHINE_FEATURES += "screen"
require conf/machine/include/mesa-pvr.inc
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
# Default tiboot3.bin on J784S4 is for GP
IMAGE_BOOT_FILES += "tiboot3-j784s4-gp-evm.bin"
# Since default tiboot3.bin on J784S4 is for GP, add a version for SR1.0 HS-FS
IMAGE_BOOT_FILES += "tiboot3-j784s4-hs-fs-evm.bin"
# Since default tiboot3.bin on J784S4 is for GP, add a version for SR1.0 HS-SE
IMAGE_BOOT_FILES += "tiboot3-j784s4-hs-evm.bin"
TFA_BOARD = "j784s4"
OPTEEMACHINE = "k3-j784s4"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw ti-eth-fw-j784s4"
TI_INITRAMFS_KERNEL_MODULES:append:bsp-mainline = " kernel-module-cdns-pltfrm kernel-module-ti-j721e-ufs"
TI_INITRAMFS_KERNEL_MODULES:append:bsp-next = " kernel-module-cdns-pltfrm kernel-module-ti-j721e-ufs"

View File

@@ -9,8 +9,7 @@ require conf/machine/include/arm/armv8a/tune-cortexa72-cortexa53.inc
require conf/machine/include/ti-bsp.inc
KERNEL_IMAGETYPE = "Image"
KERNEL_IMAGETYPES = "Image fitImage"
KERNEL_CLASSES += "kernel-fitimage"
KERNEL_CLASSES += "kernel-fit-extra-artifacts"
UBOOT_ARCH = "arm"
UBOOT_DTB_LOADADDRESS = "0x88000000"
@@ -21,16 +20,16 @@ SPL_BINARY = "tispl.bin"
SPL_BINARYNAME = "tispl.bin"
UBOOT_SUFFIX = "img"
UBOOT_SIGN_ENABLE = "1"
FIT_KERNEL_SIGN_ENABLE = "1"
FIT_KERNEL_SIGN_KEYNAME ?= "custMpk"
FIT_KERNEL_SIGN_KEYDIR ?= "${TI_SECURE_DEV_PKG}/keys"
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"
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image-image"
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image-image ti-kernel-fitimage"
TFA_PLATFORM = "k3"
@@ -44,7 +43,7 @@ MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "ti-pka-fw"
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
IMAGE_BOOT_FILES ?= "${SPL_BINARYNAME} u-boot.${UBOOT_SUFFIX} tiboot3.bin"
IMAGE_BOOT_FILES ?= "${SPL_BINARYNAME} u-boot.${UBOOT_SUFFIX} tiboot3.bin tiboot3-*-evm.bin"
IMAGE_EFI_BOOT_FILES ?= "${IMAGE_BOOT_FILES}"
EFI_PROVIDER ?= "grub-efi"

View File

@@ -15,13 +15,8 @@ require conf/machine/include/arm/armv7a/tune-cortexa8.inc
require conf/machine/include/ti-bsp.inc
PREFERRED_PROVIDER_virtual/kernel = "linux-dummy"
SPL_SUFFIX = "bin"
SPL_BINARY = "tiboot3-${SYSFW_SOC}-${SYSFW_SUFFIX}-${SYSFW_CONFIG}.${SPL_SUFFIX}"
SPL_SYMLINK = "tiboot3.${SPL_SUFFIX}"
UBOOT_SUFFIX = "bin"
UBOOT_BINARY = "u-boot-r5spl.${UBOOT_SUFFIX}"
UBOOT_IMAGE = "u-boot-r5spl-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
UBOOT_SYMLINK = "u-boot-r5spl-${MAINMACHINE}.${UBOOT_SUFFIX}"
UBOOT_BINARY = "tiboot3.${UBOOT_SUFFIX}"
PACKAGECONFIG:pn-u-boot-ti-staging = ""
PACKAGECONFIG:pn-u-boot-ti-mainline = ""

View File

@@ -1,51 +0,0 @@
require conf/machine/include/ti-soc.inc
SOC_FAMILY:append = ":omap-a15"
DEFAULTTUNE ?= "armv7athf-neon"
require conf/machine/include/arm/armv7a/tune-cortexa15.inc
require conf/machine/include/ti-bsp.inc
# Graphics providers and variables
require conf/machine/include/mesa-pvr.inc
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_SGX_DRIVER_PROVIDER}"
PVR_DISPLAY_CONTROLLER_ALIAS ?= "omapdrm"
KERNEL_IMAGETYPE = "zImage"
KERNEL_IMAGETYPES = "zImage uImage"
KERNEL_CLASSES += "kernel-uimage"
UBOOT_ARCH = "arm"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
# Generate an extlinux.conf file
UBOOT_EXTLINUX = "1"
UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
UBOOT_EXTLINUX_BOOT_FILES = " \
extlinux.conf;extlinux/extlinux.conf \
${KERNEL_IMAGETYPE} \
${DEVICETREE_FILES} \
"
SPL_BINARY = "MLO"
UBOOT_SUFFIX = "img"
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image-zimage"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "vpdma-fw goodix-fw"
# Use the expected value of the ubifs filesystem's volume name in the kernel
# and u-boot.
UBI_VOLNAME = "rootfs"
# List common SoC features, may need to add touchscreen for specific machines
MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu mmip dsp gc320"
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
WKS_FILE ?= "sdimage-2part.wks"
IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES} ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4"
do_image_wic[depends] += "virtual/bootloader:do_deploy"
do_image_wic[depends] += "ti-ipc-rtos:do_deploy"

View File

@@ -3,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
# Supported options are: mainline, next, ti-6_18, ti-6_12, ti-6_6
TI_PREFERRED_BSP ??= "ti-6_12"
# Use bsp-* namespace for overrides
@@ -18,10 +18,6 @@ BSP_KERNEL_VERSION:bsp-mainline = "%"
BSP_BOOTLOADER_PROVIDER:bsp-mainline = "u-boot-ti-mainline"
BSP_BOOTLOADER_VERSION:bsp-mainline = "%"
# GPU support requires out-of-tree SGX and Rogue drivers not available
# in mainline, usually present in TI staging or derivative like BB.org
MACHINE_FEATURES:remove:bsp-mainline = "gpu"
# GC320 support requires out-of-tree drivers not available in mainline
MACHINE_FEATURES:remove:bsp-mainline = "gc320"
@@ -34,13 +30,18 @@ BSP_KERNEL_VERSION:bsp-next = "%"
BSP_BOOTLOADER_PROVIDER:bsp-next = "u-boot-ti-next"
BSP_BOOTLOADER_VERSION:bsp-next = "%"
# GPU support requires out-of-tree SGX and Rogue drivers not available
# in next, usually present in TI staging or derivative like BB.org
MACHINE_FEATURES:remove:bsp-next = "gpu"
# GC320 support requires out-of-tree drivers not available in next
# GC320 support requires out-of-tree drivers not yet available in next
MACHINE_FEATURES:remove:bsp-next = "gc320"
# ==========
# ti-6_18
# TI staging kernel 6.18, u-boot 2026.01
# ==========
BSP_KERNEL_PROVIDER:bsp-ti-6_18 = "linux-ti-staging"
BSP_KERNEL_VERSION:bsp-ti-6_18 = "6.18%"
BSP_BOOTLOADER_PROVIDER:bsp-ti-6_18 = "u-boot-ti-staging"
BSP_BOOTLOADER_VERSION:bsp-ti-6_18 = "2026.01%"
# ==========
# ti-6_12
# TI staging kernel 6.12, u-boot 2025.01
@@ -52,10 +53,8 @@ BSP_BOOTLOADER_VERSION:bsp-ti-6_12 = "2025.01%"
BSP_SGX_DRIVER_PROVIDER:bsp-ti-6_12 = "ti-sgx-ddk-km"
BSP_SGX_DRIVER_VERSION:bsp-ti-6_12 = "1.17%"
BSP_SGX_UMLIBS_VERSION:bsp-ti-6_12 = "1.17%"
BSP_ROGUE_DRIVER_PROVIDER:bsp-ti-6_12 = "ti-img-rogue-driver"
BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_12 = "24%"
BSP_ROGUE_UMLIBS_VERSION:bsp-ti-6_12 = "24%"
BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_12 = "25%"
BSP_MESA_PVR_VERSION:bsp-ti-6_12 = "24%"
# ==========
@@ -69,10 +68,8 @@ BSP_BOOTLOADER_VERSION:bsp-ti-6_6 = "2024.04%"
BSP_SGX_DRIVER_PROVIDER:bsp-ti-6_6 = "ti-sgx-ddk-km"
BSP_SGX_DRIVER_VERSION:bsp-ti-6_6 = "1.17%"
BSP_SGX_UMLIBS_VERSION:bsp-ti-6_6 = "1.17%"
BSP_ROGUE_DRIVER_PROVIDER:bsp-ti-6_6 = "ti-img-rogue-driver"
BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_6 = "24%"
BSP_ROGUE_UMLIBS_VERSION:bsp-ti-6_6 = "24%"
BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_6 = "25%"
BSP_MESA_PVR_VERSION:bsp-ti-6_6 = "24%"
# GC320 support requires out-of-tree drivers not yet available in 6.6
@@ -92,8 +89,6 @@ BSP_SGX_DRIVER_PROVIDER ?= ""
BSP_SGX_DRIVER_VERSION ?= ""
BSP_ROGUE_DRIVER_PROVIDER ?= ""
BSP_ROGUE_DRIVER_VERSION ?= ""
BSP_SGX_UMLIBS_VERSION ?= ""
BSP_ROGUE_UMLIBS_VERSION ?= ""
BSP_MESA_PVR_VERSION ?= ""
# ==========
@@ -109,7 +104,7 @@ PREFERRED_VERSION_${BSP_BOOTLOADER_PROVIDER} ?= "${BSP_BOOTLOADER_VERSION}"
# GPU provider gets set in machine configs, as some machines are headless
# Select default preferred versions here
PREFERRED_VERSION_ti-sgx-ddk-km ?= "${BSP_SGX_DRIVER_VERSION}"
PREFERRED_VERSION_ti-sgx-ddk-um ?= "${BSP_SGX_UMLIBS_VERSION}"
PREFERRED_VERSION_ti-sgx-ddk-um ?= "${BSP_SGX_DRIVER_VERSION}"
PREFERRED_VERSION_ti-img-rogue-driver ?= "${BSP_ROGUE_DRIVER_VERSION}"
PREFERRED_VERSION_ti-img-rogue-umlibs ?= "${BSP_ROGUE_UMLIBS_VERSION}"
PREFERRED_VERSION_ti-img-rogue-umlibs ?= "${BSP_ROGUE_DRIVER_VERSION}"
PREFERRED_VERSION_mesa-pvr ?= "${BSP_MESA_PVR_VERSION}"

View File

@@ -1,4 +1,4 @@
# Add TI_EXTRAS to machine overrides so we get access to e.g. 'jailhouse'
TI_EXTRAS ??= ""
MACHINEOVERRIDES =. "${@ '${TI_EXTRAS}:' if d.getVar('TI_EXTRAS').startswith('tie-') else ''}"
MACHINEOVERRIDES =. "${@ ':'.join('${TI_EXTRAS}'.strip().split()) + ':' if d.getVar('TI_EXTRAS') else ''}"

View File

@@ -1,4 +1,5 @@
IMAGE_INSTALL:append = " u-boot-ti-staging-falcon"
KERNEL_CLASSES:remove = "kernel-fitimage"
KERNEL_CLASSES:remove = "kernel-fit-extra-artifacts"
MACHINE_ESSENTIAL_EXTRA_RDEPENDS:remove = "ti-kernel-fitimage"
KERNEL_CLASSES += "kernel-fitimage-legacyhs"
FIT_KERNEL_COMP_ALG = "none"

View File

@@ -2,6 +2,7 @@
# and platforms defined in meta-ti to allow BSP-level overrides.
SOC_FAMILY = "ti-soc"
require conf/machine/include/soc-family.inc
require conf/machine/include/ti-extras.inc
# kernel, initrd load addresses for the fitImage in all TI platforms
UBOOT_ENTRYPOINT = "0x82000000"
@@ -27,3 +28,19 @@ CLASS_DEVICETREE_PREFIX = "${@ 'ti-devicetree-prefix' if d.getVar('KERNEL_DEVICE
KERNEL_CLASSES += "${CLASS_DEVICETREE_PREFIX}"
IMAGE_CLASSES += "${CLASS_DEVICETREE_PREFIX}"
BUILD_CORE_INITRAMFS_IMAGE = "ti-core-initramfs"
BUILD_CORE_INITRAMFS_IMAGE_FILE = "${BUILD_CORE_INITRAMFS_IMAGE}.cpio.xz"
BUILD_CORE_INITRAMFS_IMAGE_STEP ?= ""
BUILD_CORE_INITRAMFS_IMAGE_STEP:bsp-mainline = "${BUILD_CORE_INITRAMFS_IMAGE}:do_image_complete"
BUILD_CORE_INITRAMFS_IMAGE_STEP:bsp-next = "${BUILD_CORE_INITRAMFS_IMAGE}:do_image_complete"
do_image_wic[depends] += "${BUILD_CORE_INITRAMFS_IMAGE_STEP}"
TI_WKS_INITRAMFS ?= ""
TI_WKS_INITRAMFS:bsp-mainline = ",initrd=${BUILD_CORE_INITRAMFS_IMAGE_FILE}"
TI_WKS_INITRAMFS:bsp-next = ",initrd=${BUILD_CORE_INITRAMFS_IMAGE_FILE}"
IMAGE_BOOT_FILES:append:bsp-mainline = " ${BUILD_CORE_INITRAMFS_IMAGE_FILE}"
IMAGE_BOOT_FILES:append:bsp-next = " ${BUILD_CORE_INITRAMFS_IMAGE_FILE}"

View File

@@ -9,7 +9,6 @@ require conf/machine/include/ti-bsp.inc
# Graphics providers and variables
require conf/machine/include/mesa-pvr.inc
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_SGX_DRIVER_PROVIDER}"
PVR_DISPLAY_CONTROLLER_ALIAS ?= "tilcdc"
KERNEL_IMAGETYPE = "zImage"
@@ -88,7 +87,7 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image-zimage"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "amx3-cm3 prueth-fw pruhsr-fw pruprp-fw"
# List common SoC features, may need to add touchscreen for specific machines
MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 alsa gpu"
MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 alsa"
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
WKS_FILE ?= "sdimage-2part.wks"

View File

@@ -9,7 +9,6 @@ require conf/machine/include/ti-bsp.inc
# Graphics providers and variables
require conf/machine/include/mesa-pvr.inc
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_SGX_DRIVER_PROVIDER}"
PVR_DISPLAY_CONTROLLER_ALIAS ?= "omapdrm"
KERNEL_IMAGETYPE = "zImage"
@@ -60,7 +59,7 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image-zimage"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "amx3-cm3 prueth-fw pruhsr-fw pruprp-fw"
# List common SoC features, may need to add touchscreen for specific machines
MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu"
MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa"
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
WKS_FILE ?= "sdimage-2part.wks"

View File

@@ -4,8 +4,4 @@
require conf/machine/include/k3r5.inc
SYSFW_SOC = "j7200"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "gp"
UBOOT_MACHINE = "j7200_evm_r5_defconfig"

View File

@@ -6,6 +6,10 @@ require conf/machine/include/j7200.inc
KERNEL_DEVICETREE_PREFIX = "ti/k3-j7200"
KERNEL_DEVICETREE_DTBMERGE = " \
ti/k3-j7200-evm.dtb \
"
KERNEL_DEVICETREE = " \
ti/k3-j7200-common-proc-board.dtb \
ti/k3-j7200-evm-quad-port-eth-exp.dtbo \

View File

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

View File

@@ -1,7 +0,0 @@
#@TYPE: Machine
#@NAME: J7200 HS EVM
#@DESCRIPTION: Machine configuration for the TI J7200 HS EVM
require conf/machine/j7200-evm.conf
UBOOT_MACHINE = "j7200_evm_a72_defconfig"

View File

@@ -4,8 +4,4 @@
require conf/machine/include/k3r5.inc
SYSFW_SOC = "j721e"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "gp"
UBOOT_MACHINE = "j721e_evm_r5_defconfig"

View File

@@ -10,6 +10,10 @@ KERNEL_DEVICETREE_PREFIX = " \
ti/k3-j7200-evm-mcspi-loopback \
"
KERNEL_DEVICETREE_DTBMERGE = " \
ti/k3-j721e-evm.dtb \
"
KERNEL_DEVICETREE = " \
ti/k3-j721e-beagleboneai64.dtb \
ti/k3-j721e-common-proc-board-infotainment.dtbo \

View File

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

View File

@@ -1,7 +0,0 @@
#@TYPE: Machine
#@NAME: J721e HS EVM
#@DESCRIPTION: Machine configuration for the TI J721e HS EVM
require conf/machine/j721e-evm.conf
UBOOT_MACHINE = "j721e_evm_a72_defconfig"

View File

@@ -4,8 +4,4 @@
require conf/machine/include/k3r5.inc
SYSFW_SOC = "j721e"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "gp"
UBOOT_MACHINE = "j721e_sk_r5_defconfig"

View File

@@ -4,8 +4,4 @@
require conf/machine/include/k3r5.inc
SYSFW_SOC = "j721s2"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "gp"
UBOOT_MACHINE = "j721s2_evm_r5_defconfig"

View File

@@ -15,6 +15,10 @@ KERNEL_DEVICETREE_PREFIX = " \
ti/k3-v3link \
"
KERNEL_DEVICETREE_DTBMERGE = " \
ti/k3-j721s2-evm.dtb \
"
KERNEL_DEVICETREE = " \
ti/k3-am68-sk-base-board.dtb \
ti/k3-j721s2-common-proc-board.dtb \

View File

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

View File

@@ -1,5 +0,0 @@
#@TYPE: Machine
#@NAME: J721S2 HS EVM
#@DESCRIPTION: Machine configuration for the TI J721S2 HS EVM
require conf/machine/j721s2-evm.conf

View File

@@ -4,8 +4,4 @@
require conf/machine/include/k3r5.inc
SYSFW_SOC = "j722s"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs-fs"
UBOOT_MACHINE = "j722s_evm_r5_defconfig"

View File

@@ -7,7 +7,7 @@ require conf/machine/include/j722s.inc
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-j722s \
ti/k3-fpdlink \
ti/k3-am625-sk-mcspi-loopback \
ti/k3-am62x-sk-mcspi-loopback \
ti/k3-v3link \
"

View File

@@ -4,8 +4,4 @@
require conf/machine/include/k3r5.inc
SYSFW_SOC = "j742s2"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs-fs"
UBOOT_MACHINE = "j742s2_evm_r5_defconfig"

View File

@@ -4,8 +4,4 @@
require conf/machine/include/k3r5.inc
SYSFW_SOC = "j784s4"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "gp"
UBOOT_MACHINE = "j784s4_evm_r5_defconfig"

View File

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

View File

@@ -1,5 +0,0 @@
#@TYPE: Machine
#@NAME: J784S4 HS EVM
#@DESCRIPTION: Machine configuration for the TI J784S4 HS EVM
require conf/machine/j784s4-evm.conf

View File

@@ -6,7 +6,6 @@ require conf/machine/include/omapl138.inc
UBOOT_MACHINE = "omapl138_lcdk_config"
UBOOT_SUFFIX = "ais"
SPL_BINARY = ""
UBOOT_ENTRYPOINT = "0xc0008000"
UBOOT_LOADADDRESS = "0xc0008000"

View File

@@ -0,0 +1,3 @@
RDEPENDS:${PN} += "\
cifs-utils \
"

View File

@@ -0,0 +1,19 @@
//---------------------------------------------------------------------
//Inside Secure Copyright Notice for PKA Firmware
//---------------------------------------------------------------------
/* */
/* Copyright (c) 2004-2015 INSIDE Secure B.V. All Rights Reserved */
/* */
/* This confidential and proprietary software may be used only as authorized */
/* by a licensing agreement from INSIDE Secure. */
/* */
/* The entire notice above must be reproduced on all authorized copies that */
/* may only be made to the extent permitted by a licensing agreement from */
/* INSIDE Secure. */
/* */
/* For more information or support, please go to our online support system at */
/* https://essoemsupport.insidesecure.com. */
/* In case you do not have an account for this system, please send an e-mail */
/* to ESSEmbeddedHW-Support.com. */
/*----------------------------------------------------------------------------*/

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