summaryrefslogtreecommitdiffstats
path: root/conf/machine/include
Commit message (Collapse)AuthorAgeFilesLines
* conf: machine: am64xx: Move multi-config targets into base SoC includeAndrew Davis2022-09-081-0/+13
| | | | | | | | | The supported device types depends on the SoC, not on any specific board or EVM. Any board can be populated with any of the 3 supported AM64x types. Move these into the AM64x common include. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: am64xx-evm: Switch to SR2.0 HS-FS build by defaultAndrew Davis2022-09-081-3/+3
| | | | | | | | | | | | | AM64x devices will only be available as SR2.0 HS-FS. Set this as the default type provided by the SDK. To allow SR2.0 HS-SE to continue to boot, like we did with GP, we add an extra machine to build SR2.0 HS-SE SYSFW. To use on SR2.0 HS-SE boards simply switch out the SYSFW image: $ cd /mnt/sd-card/boot $ mv tiboot3-am64x_sr2-hs-evm.bin tiboot3.bin Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: am64xx-evm: Make HS-SE the defaultAndrew Davis2022-08-261-2/+3
| | | | | | | | | | The HS-SE AM64xx machine can now be run on GP devices and built without needing the TI_SECURE_DEV_PKG for the same. AM64xx will only be available in the HS-FS type going forward. Make the HS-SE the default and remove the original GP machine. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: k3: Add fitImage to the default kernel image typesAndrew Davis2022-08-081-1/+1
| | | | | | | | | FIT Image based kernels are valid for all K3 devices, not just HS, deploy this kernel image type by default so it doesn't have to be appended on a per-device-type basis. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: Move K3 TI_SECURE_DEV_PKG definition to common includeAndrew Davis2022-08-062-0/+4
| | | | | | | | | The K3 TI_SECURE_DEV_PKG is the same for all devices, move this out of each machine file and into the common K3 includes. This doesn't have any effect on the GP machines as they make no use of it. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* machine: k3r5: Make combined R5 boot the defaultAndrew Davis2022-08-061-3/+3
| | | | | | | | | | | Going forward, the combined tiboot3.bin is going to be the standard. Only AM65x and J721e will still use the split boot. Set the output of U-Boot to be u-boot-spl.bin by default and override only for the two split boot platforms. This makes it easier to add new platforms and simplifies deployment logic. 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-08-055-13/+5
| | | | | | | | | | 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>
* conf: am43: avoid missing dtb files when ARAGO_BRAND=mainlineDrew Fustini2022-07-121-2/+4
| | | | | | | | For ARAGO_BRAND=mainline with the am43xx machines, avoid the inclusion of device tree files that do not exist upstream. Signed-off-by: Drew Fustini <dfustini@baylibre.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: wic: Fix HS image boot partitionManorit Chawdhry2022-06-231-2/+3
| | | | | | | | | | | | | | IMAGE_BOOT_FILES was being overwritten in the HS recipes leading to incomplete binaries in /boot and the naming of the binaries were not correct. Fixes /boot partition for HS devices. Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com> [afd: Extended fix to all HS platforms] Signed-off-by: Andrew Davis <afd@ti.com> Acked-by: Manorit Chawdhry <m-chawdhry@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* optee: Upgrade to upstream 3.17.0Andrew Davis2022-06-202-2/+2
| | | | | | | | | | | | | | | | | | | 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>
* conf: machine: am64xx: Add missing dtboAndrew Davis2022-06-131-0/+1
| | | | | | | | Add missing k3-am642-evm-icssg1-dualemac-mii.dtbo. Reported-by: Judith Mendez <jm@ti.com> Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf/machine: am62xx: Update build flag for low power modeNishanth Menon2022-05-041-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>
* machine: Add am62xx evm configurationNishanth Menon2022-04-071-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>
* conf: Enable bmap file for wic images on legacy platformsJonathan Humphreys2022-02-183-3/+3
| | | | | | | | 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>
* conf: am437xx-evm: re-introduce required DTBs for HDMI supportAmjad Ouled-Ameur2021-12-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | commit ba0ddc5ae9eb ("conf: am437xx-evm: Remove non-existent dtb* from 5.10") removed all non-existent dtb* for am437xx-evm as they were not available on linux 5.10 branch at that time. This patch reintroduces following HDMI DTBs. - am437x-gp-evm-hdmi.dtb - am43x-epos-evm-hdmi.dtb The required dts have been added to the 5.10LTS by these two following commits: - https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/arch/arm/ boot/dts/am437x-gp-evm-hdmi.dts?h=ti-linux-5.10.y&id=25434078d3f93d1346af5 e52e0f150f9083321d8 - https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/arch/arm/ boot/dts/am43x-epos-evm-hdmi.dts?h=ti-linux-5.10.y&id=c5114144b568e470a8f6 e613f7c6e8b88ad19d7e Signed-off-by: Amjad Ouled-Ameur <aouledameur@baylibre.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* wic: revert grub-efi patchYogesh Siraswar2021-11-191-5/+1
| | | | | | Revert "conf/machine: k3: Enable grub-efi by default in wic images" This reverts commit d0b09833b44fa23cce86fd99dd8ca6631c61c476.
* conf: machine : am65xx: Add missing dtboYogesh Siraswar2021-11-151-0/+1
| | | | | | Added missing dtbo k3-am654-evm-ov5640.dtbo required for system test Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
* conf: machine: am64xx: Add missing dtboYogesh Siraswar2021-11-151-0/+1
| | | | | | Add missing k3-am642-evm-nand.dtbo required for system test Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
* conf: omap-a15: fix the dtb file path for extlinux bootYogesh Siraswar2021-10-191-1/+3
| | | | | | | | | The uboot extlinux is using kernel device tree variable to populate the dtb files. The error occurs if the device tree files are in ti folder since there is no ti folder in deploy directory. Fix the kernel device tree path before using in the uboot extlinux. Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
* conf: Add extlinux.conf support on some 32bit platformsTom Rini2021-08-193-3/+30
| | | | | | | | | | | | | | | To make use of the "generic distro boot" support in U-Boot, an extlinux.conf file needs to be generated and reside in the extlinux directory. The extlinux.conf file will be parsed by U-Boot and the "append" line will be evaluated and expanded and used entirely as the bootargs passed to the kernel. Our generated extlinux.conf states that the kernel image and device trees live one level up (so the root directory) from it, so populate that location with our kernel and device trees. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
* conf/machine: k3: Enable grub-efi by default in wic imagesTom Rini2021-08-091-1/+5
| | | | | | | | | | | | | All of our platforms here support running EFI binaries. We can have wic generate a simple grub.cfg file for us that will find the root partition via PARTUUID and utilize the device tree that is already discoverable via the EFI configuration tables. Assuming the EFI loader is U-Boot, this device tree can be replaced at run-time by the normal mechanism of loading in to memory and passing that address as an argument to bootefi. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
* conf: am65xx-evm: ReIntroduce display overlays for 5.10Praneeth Bajjuri2021-06-081-0/+2
| | | | | | | | | | | | | commit 9ea50db095f9 ("conf: am65xx-evm: Remove non-existent dtb* from 5.10") removed all non-existent dtb* for am65xx-evm as they were not available on linux 5.10 branch at that time. This patch reintroduces following display overlays. - k3-am654-evm-tc358876.dtbo - k3-am654-evm-oldi-lcd1evm.dtbo Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
* conf/machine: am64xx: Add overlay to support icssg1-dualemacPraneeth Bajjuri2021-06-081-0/+1
| | | | | | | | | | This patch adds overlay to support icssg1-dualemac ie: 1 x CPSW3g ports and 2 x ICSSG1 ports configuration overlay: k3-am642-evm-icssg1-dualemac.dtbo Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
* linux-ti-staging: Add extra dtc flags to support dtb overlaysYogesh Siraswar2021-05-261-0/+1
| | | | | | | | | | | Added KERNEL_DTB_OVERLAY_SUPPORT to common ti-soc include. This fixes the issue where the dtbs are build without symbols causing issue with overlays. Please note this increases the size of the dtb for all platform derived from ti-soc. So for custom boards disable it from local.conf to reduce size. Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
* conf/machine: am64xx: Include SK dtb for machine am64xx-evmLokesh Vutla2021-05-141-0/+1
| | | | | | | | | | As a step towards unification for am64xx-evm and am64xx-sk, start including am64xx-sk dtb for machine=am64xx-evm. Once U-Boot merges support for unified bootloader, am64xx-sk machine can be dropped. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
* conf: am65xx-evm: ReIntroduce AM65 SR1.0 overlay2021.00.002Praneeth Bajjuri2021-04-301-0/+2
| | | | | | | | ReIntroduce AM65x SR1.0 Overlay as the support for it is added in the ti-linux-5.10.y kernel now. Reviewed-by: Suman Anna <s-anna@ti.com> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* conf: am65xx-evm: ReIntroduce existent dtbo for 5.10Praneeth Bajjuri2021-04-271-0/+5
| | | | | | | | | | commit 9ea50db095f9 ("conf: am65xx-evm: Remove non-existent dtb* from 5.10") removed all non-existent dtb* for am65xx-evm as they were not available on linux 5.10 branch at that time. This patch reintroduces overlays present current on ti-linux-5.10.y kernel. Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* conf: am437xx-evm: Remove non-existent dtb* from 5.10Praneeth Bajjuri2021-04-191-2/+2
| | | | | | | | | | Remove the non-existent dtb* , as they are not currently present on ti-linux-5.10.y. - am437x-gp-evm-hdmi.dtb - am43x-epos-evm-hdmi.dtb Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* conf: am335x-evm: Remove non-existent dtb* from 5.10Praneeth Bajjuri2021-04-191-1/+0
| | | | | | | | | Remove the non-existent dtb* , as they are not currently present on ti-linux-5.10.y. - am335x-icev2-prueth.dtb Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* conf: am65xx-evm: Remove non-existent dtb* from 5.10Praneeth Bajjuri2021-04-191-11/+0
| | | | | | | | | | | | | | | | | | | Remove the non-existent dtb* , as they are not currently present on ti-linux-5.10.y. - ti/k3-am654-base-board-sr1.dtb - ti/k3-am654-gp.dtbo - ti/k3-am654-idk.dtbo - ti/k3-am654-idk-sr1.dtbo - ti/k3-am654-evm-hdmi.dtbo - ti/k3-am654-evm-oldi-lcd1evm.dtbo - ti/k3-am654-evm-tc358876.dtbo - ti/k3-am654-pcie-usb2.dtbo - ti/k3-am654-pcie-usb3.dtbo - ti/k3-am654-base-board-jailhouse.dtbo - ti/k3-am654-evm-prupwm.dtbo Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* conf/machine: k3: Lets build bmap files by defaultNishanth Menon2021-03-311-1/+1
| | | | | | | | | | | | | Lets generate bmap files for bmaptool to use as well as default to use with wic files. NOTE: bmaptool can speed up flashing SD cards by 2x-3x by skipping empty blocks of the image. https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#flashing-images-using-bmaptool Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
* conf/machine: am64xx: Switch to multi-certificate boot imagesNishanth Menon2021-03-311-1/+3
| | | | | | | | Switch to using all of multi-certificate boot images. This allows us to create bootable images - in this case, we are missing tiboot3.bin Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
* conf/machine: am64xx: Consolidate image configuration to SoC includeNishanth Menon2021-03-311-0/+4
| | | | | | | | | IMAGE type and dependencies can easily be centralized to SoC include file. This is necessary to make sure that we don't do the duplication and having multiple places to fix up. Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
* conf/machine: j7: Document boot images as legacy modeNishanth Menon2021-03-311-0/+2
| | | | | | | | | We use the default IMAGE_BOOT_FILES configuration which matches up with legacy boot configuration. Document the same to allow folks to understand by just looking at the SoC include file. Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
* conf/machine: am65xx: Document boot images as legacy modeNishanth Menon2021-03-311-0/+2
| | | | | | | | | We use the default IMAGE_BOOT_FILES configuration which matches up with legacy boot configuration. Document the same to allow folks to understand by just looking at the SoC include file. Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
* conf/machine: k3: Add multi-certificate boot image supportNishanth Menon2021-03-311-1/+5
| | | | | | | | | | | | | | | | | | | | | | | Lets keep things consistent by providing two possibilities for platforms to pick from - legacy boot and multi-certificate boot. In legacy boot, the base bootloader and system firmware are maintained as separate binaries (tiboot3.bin and sysfw.itb). In multi-certificate boot that newer K3 devices support, ROM is smarter and can handle multiple x509 certificate based images: so we can strip out the sysfw.itb and integrate it as part of tiboot3.bin itself. This improves authentication and overall system boot times since we are now able to boot both the system controller and the boot processor in parallel. We do have a scheme currently to identify the images necessary for boot etc, but things are handled on a platform conf file basis. We can improve that by introducing the pattern at the top level include and use the relevant pattern in platforms as needed. Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
* conf/machine: fix OPTEEMACHINE name for J721ePraneeth Bajjuri2021-03-261-1/+1
| | | | | | | | | | | | OPTEEMACHINE name as defined in the optee_os project [1] for j721e is k3-j721e. This patch fixes the name to correct target. [1]: https://github.com/OP-TEE/optee_os/commit/87613cf9520db2e65bc8367d3e13c4217c13bdad Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Acked-by: Denys Dmytriyenko <denys@konsulko.com>
* ti33x: allow different virtual/bootloaderVivien Didelot2021-03-111-2/+2
| | | | | | | | | | | | | | | Boards like the beaglebone currently hardcode "u-boot" as a dependency for the image and the wic format, and this prevents one from choosing a different bootloader via: PREFERRED_PROVIDER_virtual/bootloader = "non-u-boot-bootloader" Depending on "virtual/bootloader" instead of "u-boot" fixes this. Signed-off-by: Vivien Didelot <vdidelot@pbsc.com> Suggested-by: Denys Dmytriyenko <denis@denix.org> Reviewed-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* trusted-firmware-a: Update SRCREV for AM64X supportPraneeth Bajjuri2020-12-171-0/+2
| | | | | | | | | | | | | | | Update SRCREV to pick latest that includes AM64X support commit 65dd16b4e ("ti: k3: Introduce lite device board support") adds support of AM64X platform in ti-atf branch. This patch updates the SRCREV and also updates the BOARD to "lite" to build for the mentioned platform. Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Suggested-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Dan Murphy <dmurphy@ti.com> Reviewed-by: Denys Dmytriyenko <denis@denix.org>
* machine: am64xx-evm.conf: Remove commented code and update PDK valuesDan Murphy2020-12-171-6/+3
| | | | Signed-off-by: Dan Murphy <dmurphy@ti.com>
* machine: am64xx-evm.conf: Add machine definition for AM64xx platformDan Murphy2020-12-111-0/+21
| | | | | | The AM64 is a follow on device of the AM65xx K3 multicore SoC architecture. Signed-off-by: Dan Murphy <dmurphy@ti.com>
* conf/machine: extend SR2.0 support from AM65 GP to AM65 HS platformDenys Dmytriyenko2020-10-221-0/+6
| | | | | Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Dan Murphy <dmurphy@ti.com>
* ti-sci-fw: now Cortex-R5 SPL can also be provided by u-boot-ti-mainlineDenys Dmytriyenko2020-10-141-0/+1
| | | | | Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Dan Murphy <dmurphy@ti.com>
* conf/machine: pass OPTEEFLAVOR via OPTEEMACHINE as <mach>-<flavor>Denys Dmytriyenko2020-10-102-4/+2
| | | | | | | | | Recipe in meta-arm doesn't use OPTEEFLAVOR, but optee-os Makefile can extract it from OPTEEMACHINE. Keep OPTEEFLAVOR for legacy platforms - used for HS signing in the output name. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Dan Murphy <dmurphy@ti.com>
* conf/machine: clean up MACHINE_FEATURES for k3/j7/am65 familiesDenys Dmytriyenko2020-08-062-3/+2
| | | | Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* conf/machine: unify common AM65x GP and HS settingsDenys Dmytriyenko2020-05-281-0/+24
| | | | Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* trusted-firmware-a: upstreamed and unified to meta-arm, drop locallyDenys Dmytriyenko2020-05-191-0/+3
| | | | Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* conf/wic: switch back to 2-partition SD images, reserve extra space in bootti2020.01.00Denys Dmytriyenko2020-05-074-4/+4
| | | | Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* conf/machine: Use weak assignment for preferred virtual/kernelDaniel D?az2020-05-068-8/+8
| | | | | | | | | A user of the meta-ti layer may choose to use a combination of the machines herein with another kernel, not necessarily the one from the machine definition. Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* conf, recipes-bsp: support building for K3 R5F cores via multiconfigDenys Dmytriyenko2020-05-052-5/+31
| | | | | | | | | | | | | K3 Multicore SoC architecture defines different functional domains, each containing specific processing cores and peripherals. Early boot is normally handled by running bootloader and loading SYSFW on MCU Cortex-R5F core: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/board/ti/am65x/README https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/board/ti/j721e/README This change adds support for building bootloader and SYSFW ITB image for K3 Cortex-R5F cores via multiconfig. Signed-off-by: Denys Dmytriyenko <denys@ti.com>