summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/conf/machine/include/ti43x.inc
Commit message (Collapse)AuthorAgeFilesLines
* conf: am57/am33/am43: Add/fix DEVICETREE_FILERyan Eatmon2024-04-261-1/+3
| | | | | | | | | | | | | | | | | | 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>
* conf: machine: Update KERNEL_DEVICETREE for mainline 32bit platformsRyan Eatmon2024-04-261-4/+4
| | | | | | | | | 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>
* conf: machine: move RDEPENDS and RRECOMMENDS from kernel-rdepends.inccicd.master.202310260100cicd.master.202310250100Denys Dmytriyenko2023-10-241-1/+5
| | | | | | | | | | | | | | | Instead of making kernel RDEPENDS on devicetree and different FW images with lots of machine-override appends that are hard to modify downstream, use proper MACHINE_ESSENTIAL_EXTRA_RDEPENDS and MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS vars that are specifically designed for this purpose. This also makes such dependencies generic and not tied to a particular kernel recipe including kernel-rdepends.inc with the entire machine-specific list. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Acked-by: Andrew Davis <afd@ti.com> Acked-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* machine: include: enable sgx on tested platformsRandolph Sapp2023-10-161-1/+1
| | | | | | | Enable SGX Graphics on the currently tested platforms. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* linux-ti-next,conf/machine: Add support for new vendored dts dircicd.master.202308040100Ryan Eatmon2023-07-311-0/+2
| | | | | | | | | | The latest kernel has made the change to add vendor subdirectories into the arch/arm/boot/dts directory. This effectively breaks the KERNEL_DEVICETREE settings in the machine configs for 32bit platforms, so switch them over to using the PREFIX variable. Also change the linux-ti-next to use the PREFIX setting for KERNEL_DEVICETREE. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: Remove old and no longer used MACHINE_FEATURESAndrew Davis2023-07-211-1/+1
| | | | | | | | | | The following MACHINE_FEATURES are not matched against anywhere, remove: * kernel26 * ethernet * mmc Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* mesa-pvr: convert bbappend into standalone alternative providerDenys Dmytriyenko2023-05-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* linux-ti-*: Add filtering for which dtb/dtbo to includeRyan Eatmon2023-03-311-3/+7
| | | | | | | | | | | | | | | | | | | We often carry more dtbs/dtbos in our kernel than we have upstreamed. The inclusion of all of the dtb/dtbo in the KERNEL_DEVICETREE has become problematic as we start testing the linux-next and 6.1 as part of our LTS migration. To address this issue we are adding in two step method for managing the KERNEL_DEVICETREE. Going forward we will only accept dtb/dtbo in KERNEL_DEVICETREE if it is available in upstream. This way we ensure that the variable is more accurate for whichever kernel you might be looking at. We have also added a new variable KERNEL_DEVICETREE_PREFIX which our kernel recipes will use to auto set KERNEL_DEVICETREE based on what files are in the kernel and not a fixed list in the conf files. Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: Fallback to software renderingRyan Eatmon2023-02-241-1/+1
| | | | | | | | | | | While we are working to update our platforms to support Weston 10 and beyond, we are falling back to software rendering for platforms that do not currently have a solution for GPU drivers (namely the boards that use SGX). Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* meta-ti-bsp: machine: set SGX display controller aliasRandolph Sapp2023-02-241-0/+3
| | | | | | | | | Set SGX display controller alias variables accordingly, as SGX has a few different aliases across platforms. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* meta-ti-bsp: machine: remove default preferences for egl,gles,gbmRandolph Sapp2023-02-241-4/+0
| | | | | | | | | | | Remove default preferences for virtual/egl, virtual/libgles and virtual/libgbm from machine configs to follow the new dependency chains via mesa in oder to support accelerated and software-rendered graphics, which is selected by virtual/gpudriver preference. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* Revert "meta-ti-bsp: machine: Remove all gpu features"Denys Dmytriyenko2023-02-211-1/+5
| | | | | | | | | Merged by accident. This reverts commit 51bb56b74cd2e7f7e922cce84a023f669291ef00. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* Revert "meta-ti-bsp: machine: Attempt to update DC alias"Denys Dmytriyenko2023-02-211-3/+0
| | | | | | | | | Merged by accident. This reverts commit 0dd6a86b9a20bc1117d19bec3e642602b6c54b8c. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* Revert "conf: machine: Fallback to software rendering"Denys Dmytriyenko2023-02-211-1/+1
| | | | | | | | | Merged by accident. This reverts commit 5ae790999e762063446ec4623693eecd8ecd6be9. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: Fallback to software renderingRyan Eatmon2023-02-161-1/+1
| | | | | | | | | While we are working to update our platforms to support Weston 10 and beyond, we are falling back to software rendering for platforms that do not currently have a solution for GPU drivers (namely the boards that use SGX). Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* meta-ti-bsp: machine: Attempt to update DC aliasRandolph Sapp2023-02-161-0/+3
| | | | | | | | | Attempt to update the SGX display controller alias variable according to what Andrew told me. SGX apparently had a few different aliases across platforms. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* meta-ti-bsp: machine: Remove all gpu featuresRandolph Sapp2023-02-161-5/+1
| | | | | | | | | Remove all gpu machine features and instead rely on the new dependency chain for resolving gpu dependencies. Set preferred providers for virtual/gpudriver where needed. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: Rework do_image_wic dependenciesAndrew Davis2023-01-241-1/+1
| | | | | | | | | | | | | | | | | | The WIC image for K3 depends on the TI-SCI firmware, on AM65x and J721e also the bootloader. Make this clear by only depending on firmware in the base k3.inc file, then adding the bootloader dependency in AM65x and J721e specific includes. Remove unneeded overrides from the evm level files. Remove do_image_tar dependencies as the tar files do not include the bootloader nor TI-SCI firmware, only the boot partition of the WIC file needs these. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: am43: avoid missing dtb files for linux-ti-mainlineDrew Fustini2022-09-221-2/+4
| | | | | | | | | Avoid the inclusion of device tree files that do not exist upstream when virtual/kernel is linux-ti-mainline for the am43xx machines. Signed-off-by: Drew Fustini <dfustini@baylibre.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf/machine: remove default setting for xorgDenys Dmytriyenko2022-05-051-12/+0
| | | | | | | | | | | | meta-ti does not provide official X.org support, so no reason to set any defaults, just assume the ones from OE-Core. Also, drop setting MACHINE_GUI_CLASS, which is now only used by the kernel from meta-openembedded to determine the size of the Tux during boot. Keep those for now in community Beagle machines. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf/machine: make default PREFERRED_PROVIDERs easy to overrideDenys Dmytriyenko2022-05-051-7/+7
| | | | | | | | Use weak assignment for default PREFERRED_PROVIDER values to allow user to easily overwrite them from local.conf. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf/machine: add preferences for 3D graphics providersDenys Dmytriyenko2022-05-051-0/+5
| | | | | | | | Specify default 3D GLES/EGL providers for platforms using SGX and Rogue GPUs, both kernel and user-space components. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: Enable bmap file for wic images on legacy platformsJonathan Humphreys2022-05-021-1/+1
| | | | | | | | | | To allow a consistent experience across current devices, enable wic.bmap file generation for AM3/4/5 images. Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* meta-ti: create a sub-layer meta-ti-bsp from existing contentDenys Dmytriyenko2022-02-221-0/+67
Extra sub-layers will be created next and relevant content moved across them. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>