summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/recipes-graphics
Commit message (Collapse)AuthorAgeFilesLines
* meta-ti/all: Handle S when building a subdir of the git repoRyan Eatmon2025-06-251-2/+2
| | | | | | | | | 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>
* meta-ti/all: remove S in recipes that fetch from git via setting ↵Ryan Eatmon2025-06-255-10/+1
| | | | | | | | | | 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>
* mesa-pvr: fold GL ES 3 packages into GL ES 2 onesRyan Eatmon2025-05-291-14/+4
| | | | | | | | | | | | 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>
* CLEANUP: Add missing SUMMARYRyan Eatmon2025-05-166-6/+6
| | | | | | | | 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>
* mesa-pvr: add local copy of mesa.incMax Krummenacher2025-04-233-2/+382
| | | | | | | | | | | | | | 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>
* ti-sgx-ddk-um: fixup packageconfig paramsRandolph Sapp2025-04-011-4/+15
| | | | | | | | | | 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>
* recipes-graphics: port gc320 libs to work on kernel 6.12Antonios Christidis2025-03-201-2/+6
| | | | | | | | | 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>
* ti-img-rogue-umlibs: ship module blacklistRandolph Sapp2025-03-131-8/+15
| | | | | | | | | | | | | 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>
* mesa-pvr: relocate 22.3.5 patchesRandolph Sapp2025-02-047-0/+0
| | | | | | | | 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>
* ti-img-rogue-umlibs: filter binaries post installRandolph Sapp2025-02-042-10/+10
| | | | | | | | | 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>
* mesa-pvr: version 23.2.1 -> 24.0.1Randolph Sapp2025-02-0410-113/+181
| | | | | | | | | 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>
* ti-img-rogue-*: version 24.1.6554834 -> 24.2.6643903Randolph Sapp2025-02-041-2/+2
| | | | | | | | 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>
* sgx: bump version for kernel 6.6 / mesa 23.2.1Randolph Sapp2024-11-071-1/+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>
* mesa-pvr-22.3.5: Fix build issues with llvm 18+Ryan Eatmon2024-11-063-0/+120
| | | | | | | 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>
* mesa-pvr_23.2.1: Fix build issues with llvm 18+Ryan Eatmon2024-11-062-0/+54
| | | | | | | 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>
* ti-img-rogue-umlibs: fix j721e NPOT texture issuesRandolph Sapp2024-10-191-1/+1
| | | | | | | | | | | 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>
* sgx: breaking things to fix other thingsRandolph Sapp2024-10-192-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* mesa-pvr: set pv explicitlyMax Krummenacher2024-08-272-0/+2
| | | | | | | | | | | | | | | | 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>
* meta-ti-bsp: powervr: Enable building for j742s2Aniket Limaye2024-07-191-1/+2
| | | | | | | 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>
* ti-img-rogue-umlibs_23: add ldflags to INSANE_SKIPRandolph Sapp2024-07-111-2/+4
| | | | | | | | | | | | | 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>
* ti-img-rogue-umlibs: fix libopencl-rogue-tools sanityRandolph Sapp2024-07-111-0/+1
| | | | | | | | | | | | 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>
* ti-img-rogue-*_23.3: gcc 14 compat and branch selRandolph Sapp2024-07-011-1/+1
| | | | | | | | | | | 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>
* ti-img-rogue-umlibs: update for new am62p binariesRandolph Sapp2024-06-151-1/+1
| | | | | | | | 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>
* ti-img-rogue-umlibs: bump SRCREV for alloc patchRandolph Sapp2024-06-151-1/+1
| | | | | | | | | | 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>
* recipes: Remove DEFAULT_PREFERENCERyan Eatmon2024-06-152-4/+0
| | | | | | | | 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>
* mesa-pvr_23.2.1: add recipe for 23.2.1Randolph Sapp2024-05-021-0/+58
| | | | | | | | | | | | | | | 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>
* mesa-pvr_23.2.1: import mesa patches from oe-core/masterRandolph Sapp2024-05-024-0/+150
| | | | | | | | | 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>
* ti-img-rogue-*: add ddk 24.1 recipes for ltsprepRandolph Sapp2024-05-021-0/+148
| | | | | | | | | 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>
* ti-img-rogue-*: switch branches to new ltsRandolph Sapp2024-02-091-1/+1
| | | | | | | | Switch the branches to the new LTS names. These are still experimental, hence the isolation from kirkstone. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* cairo: drop local bbappendDenys Dmytriyenko2024-02-072-6/+0
| | | | | | | | | | | | | | | | | | Latest cairo release 1.18.0 no longer has corresponding opengl or glesv2 PACKAGECONFIGs. https://git.openembedded.org/openembedded-core/commit/?id=9a4ca6b08d6031ebb67adcdd650aa59acd4fb5fb Removed: - The cairo-sphinx tool - The XML, GL, GLES, Qt5, BeOS, OS/2, DirectFB, DRM, Cogl, and OpenVL backends - Autotools build system https://www.cairographics.org/news/cairo-1.18.0/ Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-*: version bump to 23.3.6512818Randolph Sapp2024-02-071-3/+3
| | | | | | | | | | | | | | | | Migrate to version 23.3.6512818, this includes the stability updates released in 23.2 as well as some additional modifications to help with userspace application support, namely Chromium. We're also dropping the x11 window system extensions from the Vulkan libraries for now. Ideally, both x11 and wayland extensions will be provided by mesa's vulkan-wsi-layer in the future, but currently x11 isn't supported and this just added extra complexity to the package in Yocto. Signed-off-by: Randolph Sapp <rs@ti.com> Tested-by: Darren Etheridge <detheridge@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* mesa-pvr: bump srcrev and drop conditional logicRandolph Sapp2024-02-061-5/+1
| | | | | | | | | | Bump the SRCREV to include some useful patches that: - Fix the ROGUE segfault issue introduced by SGX (this was what the old conditional logic was addressing) - Fix destruction of event queue with proxies still attached Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-umlibs: remove the dev packageRandolph Sapp2024-02-061-2/+1
| | | | | | | | | If Yocto even sees a "-dev" package in the PACKAGES string it will automatically forward all dev-so links to that package. Remove that entry from the PACKAGES string so we get the required links again. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-*: stability updateRandolph Sapp2024-02-061-1/+1
| | | | | | | | | | | | | | | Bump SRCREV to include the following changes in UM and KM: - Rebuild all releases with external memory wrap disabled due to some incompatibility with certain Qt use cases. - Add a watchdog change that prevents an occasional false timeout when servicing long DM processes. - Rely on snooping to perform certain cache operations and results in decreased overhead for device -> cpu communications. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* meta-ti: powervr: Enable building for j722sDarren Etheridge2024-01-101-1/+2
| | | | | | Signed-off-by: Darren Etheridge <detheridge@ti.com> Signed-off-by: Aniket Limaye <a-limaye@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* meta-ti: powervr: Bump srcrev to include j722s supportDarren Etheridge2024-01-091-1/+1
| | | | | | Signed-off-by: Darren Etheridge <detheridge@ti.com> Signed-off-by: Aniket Limaye <a-limaye@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* mesa-pvr: adjust PR to be RPM-safecicd.master.202401090100cicd.master.202401040100cicd.master.202401030100cicd.master.202401010100cicd.master.202312280100cicd.master.202312270100cicd.master.202312260100cicd.master.202312220100cicd.master.202312200100cicd.master.202312190100cicd.master.202312180100Denys Dmytriyenko2023-12-131-1/+1
| | | | | | | | | | | | | RPM does not accept '-' as a character in the PR/version and fails with: | error: line 4: Illegal char '-' (0x2d) in: Release: sgxrgx-54fd9d7dea098b6f11c2a244b0c6763dc8c5690c.1 The correct approach is to reference SRCPV and not SRCREV and also add it to PV and not PR. But PV is used in the branch to fetch the sources and cannot be modified, so use SRCPV in PR w/o any illegal characters. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* mesa-pvr: use different srcrev for Rogue and SGX GPU platformsDarren Etheridge2023-11-241-2/+6
| | | | | | | | | | | | | | | | | | A bug was introduced while trying to unify the Mesa version that is used on SGX GPU's and Rogue GPU's. It manifests itself as an immediate segfault whenever you try and run something like glmark2-es2-wayland or weston-simple-egl on certain Rogue based platforms (specifically am62x). Use different srcrev for Rogue GPU and SGX GPU platforms. The SGX GPU platforms will use the latest commit. Rogue GPU platforms will use the last good working commit before SGX related changes were introduced. This change will be reverted once the issue is rootcaused and a common solution is found for both Rogue and SGX based GPU platforms. Signed-off-by: Darren Etheridge <detheridge@ti.com> Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-*: add am62p supportRandolph Sapp2023-10-301-1/+2
| | | | | | | | | | | | | Add the configuration options for am62pxx-evm. This also adds support for new devicetree properties to override the clock value of the device. See the kernel module modifications [1] and dt bindings for more information. [1] https://git.ti.com/cgit/graphics/ti-img-rogue-driver/log/?h=linuxws/kirkstone/k6.1/23.2.6460340 Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-*: move to 23.2 releaseRandolph Sapp2023-10-301-1/+1
| | | | | | | | | | Move to the 23.2 release branch and bump SRCREV accordingly. This branch has the proper implementation of the cache coherency fix along with some other checks that address some system stability issues on Jacinto devices. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* mesa-pvr: isolate sgx and rogue componentsRandolph Sapp2023-10-301-1/+1
| | | | | | | | Bump SRCREV to include some patches to better isolate SGX and PVR components. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* mesa-pvr: bump srcrev for sgx supportRandolph Sapp2023-10-161-1/+1
| | | | | | | Bump the SRCREV to include the required changes to build for SGX now. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-sgx-ddk-*: version bump to support kirkstoneRandolph Sapp2023-10-162-34/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump ti-sgx-ddk-um and ti-sgx-ddk-km to the new branch for Kirkstone and mesa independent builds. This also sets up SGX to use the latest mesa revision rogue uses. Changelog: - IMG Support has officially ended. This repo will not be getting regular updates after this unless things are really broken. - The Mesa patches which were previously being relicensed internally were opened and combined with the unofficial rogue efforts on freedesktop. - Toolchains were upgraded and multiple warnings and issues were addressed. Hardware recoveries work now, but there are still some longstanding issues with SGX that remain to be addressed if further resources are set aside for that. - We moved to an lws-generic build target to avoid rebuilding external components. As such, these external components must be patched as needed. Libdrm is an example of this and the required patches can be found in meta-ti. Known bugs: - Buffer allocations under Weston may misbehave - GLSL macro redefinitions will cause errors regardless of whether or not they are identical Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-umlibs: harden handling of usrmergeMax Krummenacher2023-09-291-1/+3
| | | | | | | | | | Only move directories which haven't already been moved. This prevents a build error should a subsequent bitbake execution rerun do_install where the sources to 'mv' no longer exist. | mv: cannot stat 'ti-img-rogue-umlibs/23.1.6404501/git/targetfs/am62_linux/lws-generic/release/lib/firmware': No such file or directory Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* mesa-pvr: Patches for LLVM 17 supportRyan Eatmon2023-09-253-0/+188
| | | | | | | There are a number of issues in gallium when moving to LLVM 17. These patches fix those compile issues. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-umlibs: Reset INHIBIT_DEFAULT_DEPSRyan Eatmon2023-08-291-0/+2
| | | | | | | | | | | | | | | A recent change to oe-core [1], has caused a pile of QA errors during packaging for this binary package. The effect of the change in oe-core was to remove the dependency on the compiler and other compiler adjacent libraries. But the binary packages need some of the compiler tools as part of the packaging flow (ie. objdump). Until the above gets reverted, this patch will fix the issue and can be reverted itself once oe-core is fixed. [1] https://git.openembedded.org/openembedded-core/commit/?h=master&id=d1d09bd4d7be88f0e341d5fccbfbefeb98d4b727 Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-*: bump srcrev for jacinto fixesRandolph Sapp2023-07-111-1/+1
| | | | | | | | | | | | | | | | | | | | | Bump the SRCREV for the umlibs and driver package to include some fixes for Jacinto devices. These patches do the following: - Fix virtual memory addressing - Resolve an issue with APM and debug requests - Attempt to resolve most of the cache coherency related issues on Jacinto devices - Introduce some extra cache maintenance operations in the kernel module It also introduces the following known issues: - Visual artifacting on the second-to-last EGL/GLES context on BXS based devices (J721S2/J784S4) We're still working on that last one, but the stability improvements make this worth while for now. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-umlibs: absolute path for file globsRandolph Sapp2023-06-261-13/+14
| | | | | | | | | Edit the file paths so they point at files in the source directory explicitly. For some reason shell glob were previously only respected by some machines. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-umlibs: use rrecommends for componentsRandolph Sapp2023-06-231-11/+6
| | | | | | | | | | | | | | | | | | Use RRECOMMENDS for components. Apparently I made an resolvable dependency cycle that Yocto silently clipped. My best guess at the culprit was: mesa-megadriver (RR) -> rogue-km (RR) -> rogue-um (RD) -> libgles1-rogue (RD) -> mesa-megadriver That killed the ti-img-rogue-umlibs recipe during do_rootfs. The rogue GLES libs do depend on mesa-megadriver at runtime but I guess the UM components should only really recommend the rogue GLES components be present at runtime to make the cycle resolvable by opkg. Fixes: 1705f6d3 (ti-img-rogue-umlibs: make all components optional, 2023-06-21) Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-umlibs: make all components optionalRandolph Sapp2023-06-231-9/+49
| | | | | | | | | | | | | | | | Bumping into the limitations of the binary_package class. This change allows all rogue components to be optionally packaged without blowing out the dependency chain. Add a python function to fetch file paths from the FILE vars for each component so we don't end up double tracking files. Add variables to track component packages if things split up more later. Add a package config string to set runtime dependencies and recommendations. Change all logic to revolve around the PACKAGECONFIG instead of distro features. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>