laurenw-arm | a9e95a4 | 2021-05-13 14:14:55 -0500 | [diff] [blame] | 1 | ARM V8-R64 Fixed Virtual Platform (FVP) |
| 2 | ======================================= |
| 3 | |
| 4 | Some of the features of Armv8-R AArch64 FVP platform referenced in Trusted |
| 5 | Boot R-class include: |
| 6 | |
| 7 | - Secure World Support Only |
| 8 | - EL2 as Maximum EL support (No EL3) |
| 9 | - MPU Support only at EL2 |
| 10 | - MPU or MMU Support at EL0/EL1 |
| 11 | - AArch64 Support Only |
| 12 | - Trusted Board Boot |
| 13 | |
| 14 | Further information on v8-R64 FVP is available at `info <https://developer.arm.com/documentation/ddi0600/latest/>`_ |
| 15 | |
| 16 | Boot Sequence |
| 17 | ------------- |
| 18 | |
| 19 | BL1 –> BL33 |
| 20 | |
| 21 | The execution begins from BL1 which loads the BL33 image, a boot-wrapped (bootloader + Operating System) |
| 22 | Operating System, from FIP to DRAM. |
| 23 | |
| 24 | Build Procedure |
| 25 | ~~~~~~~~~~~~~~~ |
| 26 | |
| 27 | - Obtain arm `toolchain <https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads>`_. |
| 28 | Set the CROSS_COMPILE environment variable to point to the toolchain folder. |
| 29 | |
| 30 | - Build TF-A: |
| 31 | |
| 32 | .. code:: shell |
| 33 | |
| 34 | make PLAT=fvp_r BL33=<path_to_os.bin> all fip |
| 35 | |
| 36 | Enable TBBR by adding the following options to the make command: |
| 37 | |
| 38 | .. code:: shell |
| 39 | |
| 40 | MBEDTLS_DIR=<path_to_mbedtls_directory> \ |
| 41 | TRUSTED_BOARD_BOOT=1 \ |
| 42 | GENERATE_COT=1 \ |
| 43 | ARM_ROTPK_LOCATION=devel_rsa \ |
| 44 | ROT_KEY=plat/arm/board/common/rotpk/arm_rotprivk_rsa.pem |
| 45 | |
| 46 | *Copyright (c) 2021, Arm Limited. All rights reserved.* |