summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/conf/machine/include/am62xx.inc
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* conf: machine: Switch all the machines over to U-Boot binmanAndrew Davis2023-06-071-6/+0
| | | | | Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: Add extra tiboot3.bin version that matches defaultRyan Eatmon2023-05-111-0/+1
| | | | | | | | | | | | | | | | | | | 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-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>
* recipes-ti: Add recipe and patches for jailhouse support for am62xxParesh Bhagat2023-05-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* conf: machine: Set common default SERIAL_CONSOLES for all K3Andrew Davis2023-04-181-3/+0
| | | | | | | | | | | The traditional order of serial consoles for K3 has ttyS2 being the primary UART attached console. ttyS0 is also a common choice for distros and the TI kernel may switch at some point. To prepare we check both UARTs on all K3 devices. Move this common check to a K3 common location. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: change from do_image_wic/tar to do_image_completeRyan Eatmon2023-04-051-3/+3
| | | | | | | | | When trying to support OpenBMC, we found that our use of do_image_wic and do_image_tar for adding depends and mcdepends was too limiting. Moving to do_image_complete is a higher level in the tree that means for any image type the dependencies will be correct. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* am62xx-evm: Add AM62x HS-FS evm configurationChirag Shilwant2023-03-211-3/+9
| | | | | | | | | | | | | | Lets add the basic AM62x HS-FS configuration - Add machine conf for AM62x HS-FS. - The wic images will boot on AM62x HS-FS devices by default. - The sysfw image for GP and HS-SE will be packaged in the wic image as tiboot3-am62x-gp-evm.bin and tiboot3-am62x-hs-evm.bin respectively. - Add ti-sci-firmware overrides. Signed-off-by: Chirag Shilwant <c-shilwant@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>
* machine: Add AM62x HS-SE evm configurationChirag Shilwant2023-03-211-0/+8
| | | | | | | | | | | | | | | | | Lets add the basic AM62x HS-SE configuration. - Add machine conf for AM62x HS-SE. - The wic images will boot on AM62x GP devices by default. - To boot on AM62x HS-SE, simply switch out the SYSFW image: $ cd /mnt/sd-card/boot $ mv tiboot3-am62x-hs-evm.bin tiboot3.bin - Add ti-sci-firmware overrides. - Add support to sign ATF and OPTEE. Signed-off-by: Chirag Shilwant <c-shilwant@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/machine: fix use of screen and touchscreen machine featuresDenys Dmytriyenko2023-02-241-1/+1
| | | | | | | | Some machine configs didn't specify their use of screen and touchscreen machine features correctly, fix them. 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>
* 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-3/+0
| | | | | | | | | | | | | | | | | | 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: machine: Remove OPTEEOUTPUTMACHINE definitionAndrew Davis2023-01-241-1/+0
| | | | | | | | This was used in the base Linaro optee-os_git.bb recipe, it is no longer used, remove it from our boards. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: Make multi-certificate image the defaultAndrew Davis2022-09-221-3/+0
| | | | | | | | | | | | Only the first two K3 devices do not support multi-cert boot so lets make multi-cert the default and only add back sysfw.itb for these two devices. Signed-off-by: Andrew Davis <afd@ti.com> Reviewed-by: lines be preserved? Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* optee: Upgrade to upstream 3.17.0Andrew Davis2022-09-221-1/+1
| | | | | | | | | | | | | | | | | | | | | Update to the latest upstream master which is 3.17. We do this to add HUK and AM64x/AM62x support. With this we need to also switch OPTEEMACHINE for AM64x/AM62x. To build against the latest OP-TEE the support recipes need updated also. Move these here into meta-ti so that builds will still work when not using meta-arago-distro. The fix patches do not look to be needed anymore. While here switch to git checkout with https. NOTE: The latest OP-TEE requires SYSFW 8.04+ 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/machine: am62xx: Update build flag for low power modeNishanth Menon2022-05-101-0/+2
| | | | | | | | | | | | | | Update build flag for arm-trusted-firmware to include low power mode support K3_PM_SYSTEM_SUSPEND is added in arm-trusted-firmware now which enables low power mode support for am62xx. Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Praneeth Bajjuri <praneeth@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/machine: make default PREFERRED_PROVIDERs easy to overrideDenys Dmytriyenko2022-05-051-5/+5
| | | | | | | | 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/+6
| | | | | | | | 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>
* am62xx, j721s2: move "gpu" machine feature from machine to soc configDenys Dmytriyenko2022-05-051-1/+1
| | | | | | | | In most cases machine features should be set in the corresponding SoC config to be applicable to different machine variants, like GP, HS or custom board. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* machine: Add am62xx evm configurationNishanth Menon2022-05-021-0/+17
Lets add the basic AM62xx-evm configuration. - Add configurations. - Add firmware overrides. - Add u-boot overrides. - Update TI_LINUX_FW_SRCREV and K3_IMAGE_GEN_SRCREV to appropriate SHAs. Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Hari Nagalla <hnagalla@ti.com> Signed-off-by: Praneeth Bajjuri <praneeth@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>