Chandni Cherukuri | 823d33d | 2020-10-01 13:10:45 +0530 | [diff] [blame] | 1 | Morello Platform |
| 2 | ================ |
| 3 | |
| 4 | Morello is an ARMv8-A platform that implements the capability architecture extension. |
| 5 | The platform port present at `site <https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git>`_ |
| 6 | provides ARMv8-A architecture enablement. |
| 7 | |
| 8 | Capability architecture specific changes will be added `here <https://git.morello-project.org/morello>`_ |
| 9 | |
| 10 | Further information on Morello Platform is available at `info <https://developer.arm.com/architectures/cpu-architecture/a-profile/morello>`_ |
| 11 | |
| 12 | Boot Sequence |
| 13 | ------------- |
| 14 | |
Deepthi Peter | d4a7299 | 2023-07-03 09:03:22 +0530 | [diff] [blame] | 15 | The SCP initializes the RVBAR registers to point to the AP_BL1. Once RVBAR is |
| 16 | initialized, the primary core is powered on. The primary core boots the AP_BL1. |
| 17 | It performs minimum initialization necessary to load and authenticate the AP |
| 18 | firmware image (the FIP image) from the AP QSPI NOR Flash Memory into the |
| 19 | Trusted SRAM. |
| 20 | |
| 21 | AP_BL1 authenticates and loads the AP_BL2 image. AP_BL2 performs additional |
| 22 | initializations, and then authenticates and loads the AP_BL31 and AP_BL33. |
| 23 | AP_BL2 then transfers execution control to AP_BL31, which is the EL3 runtime |
| 24 | firmware. Execution is finally handed off to AP_BL33, which is the non-secure |
| 25 | world (UEFI). |
| 26 | |
| 27 | SCP -> AP_BL1 -> AP_BL2 -> AP_BL31 -> AP_BL33 |
Chandni Cherukuri | 823d33d | 2020-10-01 13:10:45 +0530 | [diff] [blame] | 28 | |
| 29 | Build Procedure (TF-A only) |
| 30 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 31 | |
| 32 | - Obtain arm `toolchain <https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads>`_. |
| 33 | Set the CROSS_COMPILE environment variable to point to the toolchain folder. |
| 34 | |
| 35 | - Build TF-A: |
| 36 | |
| 37 | .. code:: shell |
| 38 | |
| 39 | export CROSS_COMPILE=<path-to-aarch64-gcc>/bin/aarch64-none-elf- |
| 40 | |
| 41 | make PLAT=morello all |
| 42 | |
Deepthi Peter | d4a7299 | 2023-07-03 09:03:22 +0530 | [diff] [blame] | 43 | *Copyright (c) 2020-2023, Arm Limited. All rights reserved.* |