summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/recipes-bsp/trusted-firmware-a
Commit message (Collapse)AuthorAgeFilesLines
* trusted-firmware-a: only activate customizations for TI platformsDenys Dmytriyenko2023-05-112-69/+73
| | | | | | | | | | Avoid inheriting ti-secdev class and adding unconditional dependency on TI_SECURE_DEV_PKG and other variables, when meta-ti-bsp is in the bblayers.conf stack, but not building for TI platforms. This solves yocto-check-layer signature test for Yocto Project compliance. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* trusted-firmware-a: Only sign files for platforms that support itRyan Eatmon2023-03-311-2/+38
| | | | | | | | We are seeing some testing issues where the new code that signs all of the files at all times is causing issues. So rollback the logic and only sign for platforms that support it. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* trusted-firmware-a: upgrade to v2.8+Judith Mendez2023-03-211-2/+2
| | | | | | | | | | | | | | | | | Upgrade arm-trusted-firmare to v2.8-226-g2fcd408bb. This upgrade picks up K3 L2 cache, snoop delayed, and EA handling updates from upstream master. Do not update to tip of master due to PSCI system off support breaking AM62x and AM62q platforms. Signed-off-by: Judith Mendez <jm@ti.com> Reviewed-by: Denys Dmytriyenko <denys@konsulko.com> Tested-by: Manorit Chawdhry <m-chawdhry@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>
* hs: Deploy the unsigned versions of bl31 and bl32Ryan Eatmon2023-03-211-0/+12
| | | | | | | | | In addition to releasing the signed versions of the bl31.bin and bl32.bin files, also release the unsigned original versions. Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* trusted-firmware-a: Use new ti-secdev class to sign the imagesAndrew Davis2023-03-011-32/+7
| | | | | | | | | | | | Use the new ti-k3-secdev package to pull in the signing tools if they are not provided by the environment. This allows us to use these tools unconditionally. Remove the checks for the script and do the signing for all K3 machines. The signature is automatically stripped from the binaries on non-HS devices at boot time as needed so this change is harmless for GP devices. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* trusted-firmware-a: Update to latest upstream masterAndrew Davis2022-11-231-1/+1
| | | | | | | | | Notable changes include support for J784s4. 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: am64xx-evm: Make HS-SE the defaultAndrew Davis2022-11-231-1/+1
| | | | | | | | | | | | 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> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* trusted-firmware-a: upgrade to v2.7Praneeth Bajjuri2022-11-231-2/+2
| | | | | | | | | | upgrade arm-trusted-firmare to v2.7 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Tested-by: Judith Mendez <jm@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>
* trusted-firmware-a: work around RWX permission error on segmentRyan Eatmon2022-10-172-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | Binutils 2.39 now warns when a segment has RXW permissions[1]: aarch64-none-elf-ld.bfd: warning: bl31.elf has a LOAD segment with RWX permissions However, TF-A passes --fatal-warnings to LD, so this is a build failure. There is a ticket filed upstream[2], so until that is resolved we can disable this warning. [1] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=ba951afb99912da01a6e8434126b8fac7aa75107 [2] https://developer.trustedfirmware.org/T996 Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com> Adapted from the above patch[3] in meta-arm, but we cannot use that patch as we are on an older SRCREV and the Makefile has changed. [3] https://git.yoctoproject.org/meta-arm/commit/meta-arm/recipes-bsp?id=977c5222d8c2f6f6c7e522e480a6e4cd40ba32d7 Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* trusted-firmware-a: Allow build to continue without TI_SECURE_DEV_PKG setAndrew Davis2022-09-221-22/+16
| | | | | | | 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>
* trusted-firmware-a: Update to latest upstream masterAndrew Davis2022-09-221-5/+3
| | | | | | | | | | | | | For TF-A we work against upstream first, our fork has only been used in the rare cases we need to ship a feature before we can get it upstream. This is not currently the case so lets switch to upstream repo until there is a need for our fork. Signed-off-by: Andrew Davis <afd@ti.com> Reviewed-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>
* j721s2-hs: changes to support new hs platformJayesh Choudhary2022-09-221-0/+8
| | | | | | | | | | | | | Changes to support new j721s2-hs platform in: 1) ti-sci-fw_git: Update firmware prefix for j721s2-hs 2) atf: sign the image 3) u-boot: Add u-boot-spl image for combined boot image 4) optee: sign the image Signed-off-by: Jayesh Choudhary <j-choudhary@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/+1
| | | | | | | | | | | | | | 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>
* trusted-firmware-a: upgrade to v2.6+Praneeth Bajjuri2022-05-101-2/+2
| | | | | | | | | | | upgrade arm-trusted-firmare to master which is currently v2.6+ This upgrade picks up am62x low power mode feature. 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>
* optee-os, trusted-firmware-a: add leading whitespace when using append overrideDenys Dmytriyenko2022-05-051-1/+1
| | | | | | | | | As append override does not add any whitespaces, it could lead to potential issues when two items in space-separated list get concatenated. It is always recommended to add a leading whitespace in such cases, like EXTRA_OEMAKE. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* meta-ti: rename j7-evm to j721e-evmAndrew Davis2022-03-291-1/+1
| | | | | | | | | | | | | | | | In many places we use "j7" the family when we should be using a specific SoC or EVM and vice-versa. For instance when including graphics drivers we add for all "j7" family, but what we really want is only for some specific j7 SoC. First step in untangling this is to make it clear that there is no SoC called j7. There is a SoC called j721e with a j721e-evm. Fix up this naming here. Signed-off-by: Andrew Davis <afd@ti.com> Tested-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* trusted-firmware-a: Add support for alternate consoleNishanth Menon2022-02-221-0/+2
| | | | | | | | | | | | Actual systems may choose to use a different console from the default Allow the machine configurations to describe the same. Since the option provided is custom to TI K3, make this a k3 product override capability. Signed-off-by: Nishanth Menon <nm@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>
* meta-ti: create a sub-layer meta-ti-bsp from existing contentDenys Dmytriyenko2022-02-221-0/+41
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>