From f35e5ab39cc9e107779a5bc673e6159cd119aee0 Mon Sep 17 00:00:00 2001 From: Madhukar Pappireddy Date: Fri, 10 Jan 2020 16:11:18 -0600 Subject: [PATCH] docs: GCC toolchain upgrade to version 9.2-2019.12 This toolchain provides multiple cross compilers and are publicly available on developer.arm.com We build TF-A in CI using: AArch32 bare-metal target (arm-none-eabi) AArch64 ELF bare-metal target (aarch64-none-elf) Change-Id: I910200174d5bad985504d1af4a1ae5819b524003 Signed-off-by: Madhukar Pappireddy --- docs/getting_started/initial-build.rst | 8 ++++---- docs/getting_started/prerequisites.rst | 2 +- docs/plat/arm/fvp/index.rst | 2 +- docs/plat/arm/juno/index.rst | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/getting_started/initial-build.rst b/docs/getting_started/initial-build.rst index 41cd4d1c9..893aba245 100644 --- a/docs/getting_started/initial-build.rst +++ b/docs/getting_started/initial-build.rst @@ -8,13 +8,13 @@ Performing an Initial Build .. code:: shell - export CROSS_COMPILE=/bin/aarch64-linux-gnu- + export CROSS_COMPILE=/bin/aarch64-none-elf- For AArch32: .. code:: shell - export CROSS_COMPILE=/bin/arm-eabi- + export CROSS_COMPILE=/bin/arm-none-eabi- It is possible to build TF-A using Clang or Arm Compiler 6. To do so ``CC`` needs to point to the clang or armclang binary, which will @@ -32,7 +32,7 @@ Performing an Initial Build .. code:: shell - export CROSS_COMPILE=/bin/aarch64-linux-gnu- + export CROSS_COMPILE=/bin/aarch64-none-elf- make CC=/bin/armclang PLAT= all Clang will be selected when the base name of the path assigned to ``CC`` @@ -43,7 +43,7 @@ Performing an Initial Build .. code:: shell - export CROSS_COMPILE=/bin/aarch64-linux-gnu- + export CROSS_COMPILE=/bin/aarch64-none-elf- make CC=/bin/clang PLAT= all - Change to the root directory of the TF-A source tree and build. diff --git a/docs/getting_started/prerequisites.rst b/docs/getting_started/prerequisites.rst index 27ad0ed5f..3e0c8fff2 100644 --- a/docs/getting_started/prerequisites.rst +++ b/docs/getting_started/prerequisites.rst @@ -26,7 +26,7 @@ Toolchain |TF-A| can be built with any of the following *cross-compiler* toolchains that target the Armv7-A or Armv8-A architectures: -- GCC >= 8.3-2019.03 (from the `Arm Developer website`_) +- GCC >= 9.2-2019.12 (from the `Arm Developer website`_) - Clang >= 4.0 - Arm Compiler >= 6.0 diff --git a/docs/plat/arm/fvp/index.rst b/docs/plat/arm/fvp/index.rst index b6396b97c..37010e1a5 100644 --- a/docs/plat/arm/fvp/index.rst +++ b/docs/plat/arm/fvp/index.rst @@ -223,7 +223,7 @@ address ``0x82000000``, the firmware can be built like this: .. code:: shell - CROSS_COMPILE=aarch64-linux-gnu- \ + CROSS_COMPILE=aarch64-none-elf- \ make PLAT=fvp DEBUG=1 \ RESET_TO_BL31=1 \ ARM_LINUX_KERNEL_AS_BL33=1 \ diff --git a/docs/plat/arm/juno/index.rst b/docs/plat/arm/juno/index.rst index 6429ede7a..cf328fac9 100644 --- a/docs/plat/arm/juno/index.rst +++ b/docs/plat/arm/juno/index.rst @@ -136,7 +136,7 @@ a single FIP binary. It assumes that a Linaro release has been installed. .. code:: shell - export CROSS_COMPILE=/bin/aarch64-linux-gnu- + export CROSS_COMPILE=/bin/aarch64-none-elf- - The following parameters should be used to build BL1 and BL2 in AArch64 and point to the BL32 file.