aboutsummaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/conf/machine/include/ti33x.inc
AgeCommit message (Collapse)Author
2024-04-26conf: am57/am33/am43: Add/fix DEVICETREE_FILERyan Eatmon
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-26conf: machine: Update KERNEL_DEVICETREE for mainline 32bit platformsRyan Eatmon
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>
2023-10-24conf: machine: move RDEPENDS and RRECOMMENDS from kernel-rdepends.inccicd.master.202310260100cicd.master.202310250100Denys Dmytriyenko
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>
2023-10-16machine: include: enable sgx on tested platformsRandolph Sapp
Enable SGX Graphics on the currently tested platforms. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-08-23conf: ti33x: Add earlycon parameter to kernel command lineJulien Panis
Sometimes on am335x devices, no more output is printed after "Starting kernel..." message. Modify UBOOT_EXTLINUX_KERNEL_ARGS to enable the console before standard serial driver is probed. Signed-off-by: Julien Panis <jpanis@baylibre.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-07-31linux-ti-next,conf/machine: Add support for new vendored dts dircicd.master.202308040100Ryan Eatmon
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>
2023-07-21conf: Remove old and no longer used MACHINE_FEATURESAndrew Davis
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>
2023-07-21conf: Remove leftover UIO Device Tree overlay filesAndrew Davis
We do not use UIO anymore, remove these files. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-05-11mesa-pvr: convert bbappend into standalone alternative providerDenys Dmytriyenko
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-03-31linux-ti-*: Add filtering for which dtb/dtbo to includeRyan Eatmon
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>
2023-02-24conf: machine: Fallback to software renderingRyan Eatmon
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>
2023-02-24meta-ti-bsp: machine: set SGX display controller aliasRandolph Sapp
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>
2023-02-24meta-ti-bsp: machine: remove default preferences for egl,gles,gbmRandolph Sapp
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>
2023-02-21Revert "meta-ti-bsp: machine: Remove all gpu features"Denys Dmytriyenko
Merged by accident. This reverts commit 51bb56b74cd2e7f7e922cce84a023f669291ef00. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-02-21Revert "meta-ti-bsp: machine: Attempt to update DC alias"Denys Dmytriyenko
Merged by accident. This reverts commit 0dd6a86b9a20bc1117d19bec3e642602b6c54b8c. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-02-21Revert "conf: machine: Fallback to software rendering"Denys Dmytriyenko
Merged by accident. This reverts commit 5ae790999e762063446ec4623693eecd8ecd6be9. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2023-02-16conf: machine: Fallback to software renderingRyan Eatmon
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>
2023-02-16meta-ti-bsp: machine: Attempt to update DC aliasRandolph Sapp
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>
2023-02-16meta-ti-bsp: machine: Remove all gpu featuresRandolph Sapp
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>
2022-05-05conf/machine: remove default setting for xorgDenys Dmytriyenko
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>
2022-05-05conf/machine: make default PREFERRED_PROVIDERs easy to overrideDenys Dmytriyenko
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>
2022-05-05conf/machine: add preferences for 3D graphics providersDenys Dmytriyenko
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>
2022-05-02conf: Enable bmap file for wic images on legacy platformsJonathan Humphreys
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>
2022-02-22ti33x: move screen feature to machine configsVivien Didelot
The AM335x SoC has a built-in 16bit/24bit RGB LCD controller, and the BeagleBone Black uses an external chip to convert this to HDMI. But the SoC does not have a video output port per-se, thus the "screen" machine feature does not belong to its configuration but rather to the machine configurations. Move the feature (and the MACHINE_GUI_CLASS definition) out of ti33x.inc into am335x-evm.conf and beaglebone.conf respectively. At the same time, drop the irrelevant comments regarding the external screen, since MACHINE_GUI_CLASS is unlikely used and the BeagleBone Black has a micro HDMI port, not a DVI port. Signed-off-by: Vivien Didelot <vdidelot@pbsc.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22meta-ti: create a sub-layer meta-ti-bsp from existing contentDenys Dmytriyenko
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>