summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/conf
Commit message (Collapse)AuthorAgeFilesLines
...
* u-boot-bb.org: add back Beagle-specific U-boot 2023.04Denys Dmytriyenko2023-10-202-0/+5
| | | | | | | | | | | | | Majority of Beagle devices use ti-u-boot repo from u-boot-ti-staging directly. But some latest devices may need to point to own tree with additional support added that is not yet upstream, e.g. BeaglePlay. Add the Beagle-specific recipe and point beagleplay to use it. Other devices can switch to using it as well, if desired, but right now the code base is the same for other Beagle devices. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: beagleplay: trim down the DTB listDenys Dmytriyenko2023-10-201-33/+7
| | | | | | | | | Update DTB/DTBO list to only upstreamed devicetrees and overlays. This help with migration to kernel 6.1, which doesn't have BB.org specific overlays. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: beaglebone-ai64: trim down the DTB listDenys Dmytriyenko2023-10-201-53/+8
| | | | | | | | | Update DTB/DTBO list to only upstreamed devicetrees and overlays. This help with migration to kernel 6.1, which doesn't have BB.org specific overlays. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: include TI_COMMON_DEPLOY in PSEUDO_IGNORE_PATHSMatthias Schiffer2023-10-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the introduction of TI_COMMON_DEPLOY, we've been seeing frequent Pseudo errors [1] breaking image build during development, in particular with partial rebuilds due to the externalsrc bbclass. The relevant part of the error log seems to be the following: ERROR: Task (/home/schifferm/Devel/src/ci-meta-tq-kirkstone/sources/meta -tq/meta-dumpling/recipes-images/images/tq-image-generic-debug.bb:do _rootfs) failed with exit code '1' Pseudo log: path mismatch [1 link]: ino 12215614 db '/home/schifferm/Devel/src/ci-me ta-tq-kirkstone/build-mba64xx/deploy-ti/images/tqma64xxl-mbax4xxl/tq -image-generic-debug-tqma64xxl-mbax4xxl-20231020091917.testdata.json ' req '/home/schifferm/Devel/src/ci-meta-tq-kirkstone/build-mba64xx/ tmp/work/tqma64xxl_mbax4xxl-tq-linux/tq-image-generic-debug/1.0-r0/r ootfs/usr/share/stress-ng/example-jobs/device.job;65324e26'. My understanding is that all deploy dirs should be ignored by Pseudo, as openembedded-core/meta/bitbake.conf includes the whole of DEPLOY_DIR in PSEUDO_IGNORE_PATHS. With the introduction of TI_COMMON_DEPLOY, DEPLOY_DIR_IMAGE is not covered by that setting anymore, so we add it in meta-ti to avoid the issue. [1] https://wiki.yoctoproject.org/wiki/Pseudo_Abort Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com> Acked-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* machine: include: enable sgx on tested platformsRandolph Sapp2023-10-164-4/+4
| | | | | | | Enable SGX Graphics on the currently tested platforms. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: switch k3r5 multiconfig to baremetalDenys Dmytriyenko2023-09-252-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are couple of k3r5 components that need to be built for the target and they are self-contained and don't use glibc. Moreover, when building a cross-compile toolchain for k3r5, there's no need to build glibc and all its dependencies. While build-time speed up is nice, the main benefit comes when packaging a nativesdk toolchain for distribution, reducing the number of packages and the resulting size of the toolchain installer. To avoid potential namespace conflict in package feeds between nativesdk binary packages of Linux glibc and k3r5 baremetal toolchains, adjust the package suffix accordingly. This also requires a rather impactful change in the deployment structure, which affects CIs and user experience. By default different TCLIBC builds (e.g. glibc and baremetal in this case) are built in separate TMPDIRs to avoid conflicts, especially on the nativesdk side. Also the default config has DEPLOY_DIR residing under corresponding TMPDIR. Of course, this can be changed by local.conf or <distro>.conf, which meta-ti-bsp has no control over. Unlike multiconfig-image-packager example that can access deployed artifacts across multiconfigs to package in an image, we use wic and its IMAGE_BOOT_FILES list to package a final image. Unfortunately, wic cannot access deployed artifacts across multiconfigs in separate TMPDIRs, as it uses DEPLOY_DIR_IMAGE to collect the artifacts. To overcome this, we need to set up a "common" deploy directory for images and sdks produced by multiconfigs, which is located outside of TMPDIRs, set by TI_COMMON_DEPLOY variable that can be changed or adjusted by distros as needed. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* k3r5: u-boot: prevent overlapping deployed SPL symlinksDenys Dmytriyenko2023-09-251-2/+2
| | | | | | | | | | | | Make sure shortname R5 SPL symlink is not the same as the main K3 SPL one, as they will overlap/overwrite each other when deployed into a common location. Latest code in master now checks for this and errors out. Also remove unused UBOOT_SPI_* variables. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: Add am62xxsip-evm configurationChirag Shilwant2023-09-202-0/+29
| | | | | | | | | | - Add A53 and R5 machine configurations for am62xxsip-evm. - Use UBOOT_CONFIG_FRAGMENTS as am62xsip_sk_r5.config in R5 machine configuration. This will ensure we build u-boot-r5 with baseconfig as am62x_evm_r5_defconfig and config fragment as am62xsip_sk_r5.config. Signed-off-by: Chirag Shilwant <c-shilwant@ti.com> Reviewed-by: Praneeth Bajjuri <praneeth@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* meta-ti: layer.conf: add compatibility with nanbieldDenys Dmytriyenko2023-09-201-1/+1
| | | | | | | OE-Core is switching layer compatibility to nanbield for the upcoming release. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* mesa-pvr: add dynamic-layer append for llvmpipeRandolph Sapp2023-09-201-0/+4
| | | | | | | | | | | | | | | Meta-clang provides a bbappend for mesa to use clang to accelerate it's rasterization with runtime code generation through the use of llvmpipe. With the addition of mesa-pvr we no longer get this for free with the blanket mesa bbappend on the devices that explicitly request mesa-pvr so lets add a dynamic layer to append the same args meta-clang does. Though the number of devices that would select pvr-mesa and still want to use software rendering is small, it's not zero due to debug and testing purposes. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf/am65xx-hs-evm: Fix UBOOT_MACHINE to match u-boot configRyan Eatmon2023-09-052-2/+2
| | | | | | | | The uboot config for am65 is moving to a merged build for both GP and HS. Until the yocto configs catch up, we need to keep am65xx-hs-evm working. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf/k3: switch mcdepends from do_image_completeDenys Dmytriyenko2023-08-231-1/+1
| | | | | | | | | | Previously k3 mcdepends for k3r5 artifacts has been changed from do_image_wic to support non-wic builds in other layers and do_image_complete was believed to be sufficient. Switching k3r5 to baremetal builds has exposed another race when some pieces come from sstate and hence requires using do_image instead. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: am335x-evm and am437x-evm: bump max_leb_cntRyan Eatmon2023-08-231-1/+1
| | | | | | New features added require another increase to max_leb_cnt. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: ti33x: Add earlycon parameter to kernel command lineJulien Panis2023-08-231-0/+1
| | | | | | | | | 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>
* linux-ti-next,conf/machine: Add support for new vendored dts dircicd.master.202308040100Ryan Eatmon2023-07-315-2/+14
| | | | | | | | | | 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: machine: am65xx: Remove SYSFW_SUFFIX from non-k3r5 configsAndrew Davis2023-07-212-4/+0
| | | | | | | This definition is only needed in the "-k3r5" multiconfig files. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: Remove old and no longer used MACHINE_FEATURESAndrew Davis2023-07-215-5/+5
| | | | | | | | | | 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>
* conf: Remove leftover UIO Device Tree overlay filesAndrew Davis2023-07-212-4/+0
| | | | | | | 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>
* meta-ti: conf: am62xx-lp-evm: Use common include am62xx.incPraneeth Bajjuri2023-07-182-16/+1
| | | | | | | | | | | | | | | | commit 5f9be228390b ("machine: Add AM62Q HS-SE evm configuration") has added am62xx-lp.inc which is used by am62xx-lp-evm machine. The features listed in am62xx.inc are common between machines am62xx-evm and am62xx-lp-evm. (Ex: MACHINE_FEATURES = "gpu") Hence updating the necessary include file to have common features to be enabled between these two platform variants. Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Suggested-by: Randolph Sapp <rs@ti.com> Reviewed-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: k3: Use ARM64 kernel load address in FITAndrew Davis2023-07-071-2/+2
| | | | | | | | | | | | | | | The address 0x80008000 was used in pre-K3 devices. ARM64 requires the kernel loaded to a 2MB aligned address when not using KASLR. For FIT set the address to 0x81000000 which gives the kernel 32MB before running into the FDT at 0x83000000. If you get this error someday then your kernel is too large and either it or FDT needs relocated in memory: ERROR: image is not a fdt - must RESET the board to recover. Signed-off-by: Andrew Davis <afd@ti.com> Tested-by: Praneeth Bajjuri <praneeth@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: am335x-evm and am437x-evm: bump max_leb_cntRyan Eatmon2023-07-052-2/+2
| | | | | | New features added require another increase to max_leb_cnt. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: j7*: Update KERNERL_DEVICETREE_PREFIX to match latest filenamesAniket Limaye2023-06-293-3/+6
| | | | | | | | 1) The k3-fpdlink-* dtbs were missing. 2) k3-j7200-mcspi-loopback.dts -> k3-j7200-evm-mcspi-loopback.dtso Signed-off-by: Aniket Limaye <a-limaye@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: include: k3 enable fit signing for ubootManorit Chawdhry2023-06-231-0/+7
| | | | | | | Enables FIT Image signing for K3 platforms Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: am335x-evm and am437x-evm: bump max_leb_cntRyan Eatmon2023-06-212-2/+2
| | | | | | New features added require another increase to max_leb_cnt. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: am62xx: Add TI logo as image boot fileDevarsh Thakkar2023-06-191-0/+3
| | | | | | | | | Add TI logo bitmap image as image boot file so that it gets copied to boot partition and A53 SPL or U-boot proper can load it and display during board bootup. Signed-off-by: Devarsh Thakkar <devarsht@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-extras: Add support for extra kernel/u-boot featuresParesh Bhagat2023-06-143-0/+6
| | | | | | | | | | | | | | | | There are some features that will either never be accepted into the upstream kernel, or are not ready to be accepted. ti-extras allows for controlling the kernel and u-boot repos, breanches, and srcrevs to gain access to those features via the TI_EXTRAS variable in the local.conf file. Initial support for TI_EXTRAS=tie-jailhouse is being added by this patch. Signed-off-by: Paresh Bhagat <p-bhagat@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Acked-by: Paresh Bhagat <p-bhagat@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: am335x-evm and am437x-evm: bump max_leb_cntRyan Eatmon2023-06-102-2/+2
| | | | | | New features added require an increase to max_leb_cnt. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: am65xx: Update GP to SR2 firmwareAndrew Davis2023-06-072-3/+3
| | | | | | | SR2.0 firmware binaries should be used here as SR1.0 has been descoped. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: am62xx-lp: Default to HS-FS instead of GPAndrew Davis2023-06-071-1/+1
| | | | | | | This matches how we had the symlink for tiboot3.bin before binman. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: am62xx: Default to HS-FS instead of GPAndrew Davis2023-06-071-1/+1
| | | | | | | This matches how we had the symlink for tiboot3.bin before binman. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: j721e: Also deploy full named tiboot3.bin filesAndrew Davis2023-06-071-3/+6
| | | | | | | | The platforms with combined boot image have full names for tiboot3.bin and to keep things consistent we can do the same here. Deploy these files. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: am65xx: Also deploy full named tiboot3.bin filesAndrew Davis2023-06-071-2/+4
| | | | | | | | The platforms with combined boot image have full names for tiboot3.bin and to keep things consistent we can do the same here. Deploy these files. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: Do not override SPL_BINARY on AM65x and J721eAndrew Davis2023-06-074-8/+0
| | | | | | | | In U-Boot the names of these files have been updated to match our expected defaults. Remove these fixups. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: am62xx: Remove old SPL_BINARY and UBOOT_BINARY overridesAndrew Davis2023-06-071-4/+0
| | | | | | | The defaults set in am62xx.inc are correct now and these can be dropped. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: j784s4: Include the non-HS config in the HS configAndrew Davis2023-06-071-23/+1
| | | | | | | Everything is the same, so just include the non-HS config to set vars. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: j721s2: Include the non-HS config in the HS configAndrew Davis2023-06-071-16/+1
| | | | | | | Everything is the same, so just include the non-HS config to set vars. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: am65xx: Deploy SR2 version of SYSFWAndrew Davis2023-06-072-2/+2
| | | | | | | | The HS boards use the SR2 version of the silicon, ship that version of the sysfw.itb image. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: Remove leftover k3r5 SOC_FAMILY namesAndrew Davis2023-06-073-3/+0
| | | | | | | | These are not used anymore and most have been removed, these look to be leftovers, remove them. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: Remove all leftover config filesAndrew Davis2023-06-0725-314/+0
| | | | | Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: Switch all the machines over to U-Boot binmanAndrew Davis2023-06-0726-103/+59
| | | | | Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* u-boot-bb.org: Remove this recipeAndrew Davis2023-06-076-14/+0
| | | | | | | | | 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>
* meta-ti-bsp: sdimage-2part-efi: rename to load variablesRandolph Sapp2023-05-181-1/+1
| | | | | | | | | | | | | | | 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>
* conf: machine: am62axx: Use generic fpdlink prefixJai Luthra2023-05-181-1/+1
| | | | | | | | | | | 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>
* ti-sci-fw: Add SYSFW_SUFFIX to SYSFW_BINARY to match k3-image-genRyan Eatmon2023-05-173-2/+6
| | | | | | | 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>
* j721e-hs-evm: Merge j721e defconfigsManorit Chawdhry2023-05-172-2/+2
| | | | | | | | 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>
* meta-ti-bsp: conf: machine: j721s2: Update def configUdit Kumar2023-05-172-2/+2
| | | | | | | | 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>
* meta-ti-bsp: conf: machine: j7200: Update def configUdit Kumar2023-05-172-2/+2
| | | | | | | | 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>
* conf: machine: Add extra tiboot3.bin version that matches defaultRyan Eatmon2023-05-115-0/+5
| | | | | | | | | | | | | | | | | | | 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>
* mesa-pvr: convert bbappend into standalone alternative providerDenys Dmytriyenko2023-05-1111-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* conf: machine: j784s4: Add AM69 SK dtbs to KERNEL_DEVICETREE_PREFIXRyan Eatmon2023-05-092-0/+2
| | | | | | | 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>