1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-06-06 19:00:49 +00:00
Commit Graph

4255 Commits

Author SHA1 Message Date
Andrew Davis 689eb2da09 u-boot-bb.org: Remove this recipe
This will no longer build after we switch away from k3-image-gen. Remove
this version until it can be rebased on the latest U-Boot with binman
support. For now switch current users of this over to u-boot-ti v2021.01.

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

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-06 08:24:37 -05:00
Andrew Davis a73e0f2e5f ti-eth-fw: Add recipe for TI Ethernet firmware
Split out the TI Ethernet firmware from ti-rtos-firmware.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-06 08:24:37 -05:00
Andrew Davis af13b78aa2 ti-dm-fw: Add recipe for TI DM firmware
Split out the TI DM firmware from ti-rtos-firmware.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-06 08:24:37 -05:00
Randolph Sapp 1899f5ead3 ti-img-rogue-umlibs: bump version and explicitly package
Bump the version and explicitly package all Khronos APIs separately.
This should be nice for those folks that want a headless opencl system
for tinkering and such.

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

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

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

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-02 13:33:25 -05:00
Ryan Eatmon 308fea64f2 Revert "linux-ti-*: Use vendored kernel-devicetree.bbclass"
This reverts commit a4f0f492f1.

The file was updated in upstream oe-core for kirkstone.  This commit is
no longer needed.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-02 13:32:32 -05:00
Ryan Eatmon 580c582937 Revert "kernel_devicetree_vendor_dtb: Backport kernel-devicetree.bbclass"
This reverts commit bdc8e7c9b5.

The file was updated in upstream oe-core for kirkstone.  This commit is
no longer needed.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-06-02 13:32:32 -05:00
Kevin Hao d152510d72 cnm-wave-fw: Fix old override syntax
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-31 08:23:31 -05:00
Andrew Davis ce7da91f3a ti-xdctools: Fold include files into the one remaining user
There is only one user of these include files, expand the files inside
the one user and remove the includes.

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

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-25 08:58:23 -05:00
Denys Dmytriyenko 1743b01019 optee: redo bbappends for yocto compliance and flexibility
Like with master, move the actual TI-specific changes into corresponding
include files that are only activated for ti-soc derived platforms.

Since include files are already guarded and only activated for ti-soc
platforms, no need to use such override again.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-23 13:28:25 -05:00
LCPD Automation Script 579671a75e linux-ti-staging_6.1: CI/CD Auto-Merger: cicd.kirkstone.202305230400
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
09.00.00.001 cicd.kirkstone.202305230400
2023-05-23 04:01:10 -05:00
LCPD Automation Script dcdedfeaa4 linux-ti-staging-rt_6.1: CI/CD Auto-Merger: cicd.kirkstone.202305230400
Updated the value(s) for:
  SRCREV

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

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-05-23 04:01:10 -05:00
LCPD Automation Script b8da0b3b4f ti-linux-fw: CI/CD Auto-Merger: cicd.kirkstone.202305230400
Updated the value(s) for:
  K3_IMAGE_GEN_SRCREV
  TI_LINUX_FW_SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-05-23 04:01:10 -05:00
Randolph Sapp d8a30c3634 meta-ti-bsp: ti-img-rogue-driver: cleanup apm and add hack
Cleanup the J* APM patch a little. Apparently I could have stood to read
the docs a little more. Found some better runtime pm functions and also
discovered something new about the power island definition.

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

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

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-18 14:43:18 -05:00
Ryan Eatmon bc40ef339a ti-kernel: Apply vendored dtb flags
Set the variables needed to put the DTBs into the same vendored
directory structure as they are in the kernel.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-18 13:16:43 -05:00
Ryan Eatmon a4f0f492f1 linux-ti-*: Use vendored kernel-devicetree.bbclass
Change over to using the kernel_devicetree_vendor_dtb.bbclass to have
the DTBs installed into the same vendored subdirectory that is in the
kernel.  Setting the variables comes in a follow on patch.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-18 13:16:43 -05:00
Ryan Eatmon bdc8e7c9b5 kernel_devicetree_vendor_dtb: Backport kernel-devicetree.bbclass
There is a series of patches [1] [2] [3] that were submitted to oe-core
master that have gone through some iterations.  It has partially stalled
in the upstreaming process but we need the effective changes to continue
our LTS plans for u-boot 2023.

This backports the effective changes of that patch against the kirkstone
version of the two classes, but renames them to make it obvious that we
are overriding them.  This should be a temporary change as we expect the
changes to be backported to oe-core kirkstone once the stall is gone.
This patch will be removed once it makes it into oe-core kirkstone.

[1] https://lists.openembedded.org/g/openembedded-core/message/180753
[2] https://lists.openembedded.org/g/openembedded-core/message/181190
[2] https://lists.openembedded.org/g/openembedded-core/message/181191

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

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

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

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

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

Signed-off-by: Jai Luthra <j-luthra@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-17 11:51:43 -05:00
LCPD Automation Script d279d65b6f u-boot-ti-staging_2023.04: CI/CD Auto-Merger: cicd.kirkstone.202305170400
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
cicd.kirkstone.202305170400
2023-05-17 04:00:53 -05:00
LCPD Automation Script 2033288728 linux-ti-staging_6.1: CI/CD Auto-Merger: cicd.kirkstone.202305161900
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
cicd.kirkstone.202305161900
2023-05-16 19:00:47 -05:00
LCPD Automation Script 8aa1c6c013 linux-ti-staging-rt_6.1: CI/CD Auto-Merger: cicd.kirkstone.202305161900
Updated the value(s) for:
  SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-05-16 19:00:47 -05:00
LCPD Automation Script fb169d7076 ti-linux-fw: CI/CD Auto-Merger: cicd.kirkstone.202305161900
Updated the value(s) for:
  TI_LINUX_FW_SRCREV

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2023-05-16 19:00:47 -05:00
Ryan Eatmon 1efca603e7 various: Remove DEFAULT_PREFERENCE
Now that are past the inital stages of our LTS migration, we can remove
the DEFAULT_PREFERENCE settings that prevented these recipes from being
the default.

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

Going forward all updates will come from the CICD flow.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-15 15:52:29 -05:00
Ryan Eatmon 65a23ac46e ti-sci-fw: Add SYSFW_SUFFIX to SYSFW_BINARY to match k3-image-gen
k3_image_gen added the suffix to the sysfw binary to differentiate
between GP and HS binaries.

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

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-15 11:20:14 -05:00
Manorit Chawdhry 14bc74d7f9 j721e-hs-evm: Merge j721e defconfigs
uboot will now use a merged defconfig build so keep the defconfig same
for hs here

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

Signed-off-by: Udit Kumar <u-kumar1@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-15 08:31:40 -05:00
Udit Kumar 4df8fcefc9 meta-ti-bsp: conf: machine: j7200: Update def config
u-boot 2023.04 merged def configs for HS and GP EVM into one.
This patch updates config for J7200 HS EVM for both A72 and R5.

Signed-off-by: Udit Kumar <u-kumar1@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-15 08:31:40 -05:00
Ryan Eatmon 3d8ddbdf87 conf: machine: Add extra tiboot3.bin version that matches default
When creating the boot partition we copy all of the images for the
different board types (gp, hs-fs, hs-se), but one of those we consider
to be a default.  That default is not copied with the longer name, but
rather with the tiboot3.bin name.

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

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

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

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

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

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

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

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

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

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

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

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

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-09 10:37:03 -05:00
Aradhya Bhatia eef612216b meta-ti: conf: am62xx-lp-evm: Fix DT and DT prefixes
The DT name k3-am62-lp-sk.dts was adopted instead of k3-am62x-lp-sk.dts
because the community prefers avoiding the wildcard letter 'x'.[1]

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

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

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

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

Migrate the jailhouse recipe to kirkstone from dunfell.

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

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

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

Add patches for the Jailhouse source tree for am62xx.

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

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

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

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-08 08:58:29 -05:00
Denys Dmytriyenko 8ad82f5e69 linux-bb.org: add support for config fragments
* Add support for additional config fragments passed via semi-standard
  KERNEL_CONFIG_FRAGMENTS variable
* Also don't build all DTBs, only those specified in the machine config

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-02 17:41:01 -05:00
Randolph Sapp 35f7613f42 ti-img-rogue-umlibs: package firmware separately
Split the firmware into it's own package so we can make the insane
checks a little more paranoid again.

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

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

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-02 17:33:49 -05:00
Randolph Sapp 050ac64a1e pvr-mesa: add new vulkan configuration options and wsi
Add the required vulkan configuration options and the new PVR WSI file to
the corresponding package.

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

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-02 17:33:49 -05:00