]> git.baikalelectronics.ru Git - arm-tf.git/commit
bl2-el3: Add BL2 at EL3 support in FVP
authorRoberto Vargas <roberto.vargas@arm.com>
Fri, 17 Nov 2017 13:22:18 +0000 (13:22 +0000)
committerRoberto Vargas <roberto.vargas@arm.com>
Thu, 18 Jan 2018 09:55:11 +0000 (09:55 +0000)
commit81528dbcf12882fae1d9a6e43b17f8e2abce32d9
tree1120ec3913f1f2be71e307fd51191b65dd39fba7
parentb1d27b484f4172542eca074fdac42ffd13736a0f
bl2-el3: Add BL2 at EL3 support in FVP

This patch add supports for the new API added for BL2 at EL3 for
FVP. We don't have a non-TF Boot ROM for FVP, but this option can be
tested setting specific parameters in the model.

The bl2 image is loaded directly in memory instead of being loaded
by a non-TF Boot ROM and the reset address is changed:

--data cluster0.cpu0=bl2.bin@0x4001000
-C cluster0.cpu0.RVBAR=0x4001000

These parameters mean that in the cold boot path the processor will
jump to BL2 again. For this reason, BL2 is loaded in dram in this
case, to avoid other images reclaiming BL2 memory.

Change-Id: Ieb2ff8535a9e67ccebcd8c2212cad366e7776422
Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
include/plat/arm/common/arm_def.h
include/plat/arm/common/plat_arm.h
plat/arm/board/fvp/fvp_bl2_el3_setup.c [new file with mode: 0644]
plat/arm/board/fvp/platform.mk
plat/arm/common/arm_bl2_el3_setup.c [new file with mode: 0644]
plat/arm/common/arm_common.mk