diff options
author | Carlo Caione <ccaione@baylibre.com> | 2020-01-27 16:03:28 +0100 |
---|---|---|
committer | Carlo Caione <ccaione@baylibre.com> | 2020-02-06 12:10:47 +0100 |
commit | 72d2535afde2df0d9edd851dad425d8fabf6d449 (patch) | |
tree | b2369ad29c2d4dae18016228a638baa3ff49b697 /docs | |
parent | afd241e71d76470478039388a358d0176491734f (diff) | |
download | platform_external_arm-trusted-firmware-72d2535afde2df0d9edd851dad425d8fabf6d449.tar.gz platform_external_arm-trusted-firmware-72d2535afde2df0d9edd851dad425d8fabf6d449.tar.bz2 platform_external_arm-trusted-firmware-72d2535afde2df0d9edd851dad425d8fabf6d449.zip |
amlogic: axg: Add a build flag when using ATOS as BL32
BL2 is unconditionally setting 0 (OPTEE_AARCH64) in arg0 even when the
BL32 image is 32bit (OPTEE_AARCH32). This is causing the boot to hang
when ATOS (32bit Amlogic BL32 binary-only TEE OS) is used.
Since we are not aware of any Amlogic platform shipping a 64bit version
of ATOS we can hardcode OPTEE_AARCH32 / MODE_RW_32 when using ATOS.
Signed-off-by: Carlo Caione <ccaione@baylibre.com>
Change-Id: Iaea47cf6dc48bf8a646056761f02fb81b41c78a3
Diffstat (limited to 'docs')
-rw-r--r-- | docs/plat/meson-axg.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/plat/meson-axg.rst b/docs/plat/meson-axg.rst index 8a623bd37..1e4b2c207 100644 --- a/docs/plat/meson-axg.rst +++ b/docs/plat/meson-axg.rst @@ -18,6 +18,7 @@ In order to build it: .. code:: shell CROSS_COMPILE=aarch64-none-elf- make DEBUG=1 PLAT=axg [SPD=opteed] + [AML_USE_ATOS=1 when using ATOS as BL32] This port has been tested on a A113D board. After building it, follow the instructions in the `U-Boot repository`_, replacing the mentioned **bl31.img** |