diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/plat/meson-gxbb.rst | 26 | ||||
-rw-r--r-- | docs/plat/stm32mp1.rst | 16 | ||||
-rw-r--r-- | docs/user-guide.rst | 4 |
3 files changed, 46 insertions, 0 deletions
diff --git a/docs/plat/meson-gxbb.rst b/docs/plat/meson-gxbb.rst new file mode 100644 index 000000000..f909e9933 --- /dev/null +++ b/docs/plat/meson-gxbb.rst @@ -0,0 +1,26 @@ +Trusted Firmware-A for Amlogic Meson S905 (GXBB) +================================================ + +The Amlogic Meson S905 is a SoC with a quad core Arm Cortex-A53 running at +1.5Ghz. It also contains a Cortex-M3 used as SCP. + +This port is a minimal implementation of BL31 capable of booting mainline U-Boot +and Linux: + +- SCPI support. +- Basic PSCI support (CPU_ON, CPU_OFF, SYSTEM_RESET, SYSTEM_OFF). Note that CPU0 + can't be turned off, so there is a workaround to hide this from the caller. +- GICv2 driver set up. +- Basic SIP services (read efuse data, enable/disable JTAG). + +In order to build it: + +:: + + CROSS_COMPILE=aarch64-linux-gnu- make DEBUG=1 PLAT=gxbb bl31 + +This port has been tested in a ODROID-C2. After building it, follow the +instructions in the `U-Boot repository`_, replacing the mentioned **bl31.bin** +by the one built from this port. + +.. _U-Boot repository: https://github.com/u-boot/u-boot/blob/master/board/amlogic/odroid-c2/README diff --git a/docs/plat/stm32mp1.rst b/docs/plat/stm32mp1.rst index 9e731a419..f8379b4eb 100644 --- a/docs/plat/stm32mp1.rst +++ b/docs/plat/stm32mp1.rst @@ -76,7 +76,23 @@ To build: .. code:: bash make CROSS_COMPILE=arm-linux-gnueabihf- PLAT=stm32mp1 ARCH=aarch32 ARM_ARCH_MAJOR=7 AARCH32_SP=sp_min + cd <u-boot_directory> + make stm32mp15_basic_defconfig + make DEVICE_TREE=stm32mp157c_ev1 all + ./tools/mkimage -T stm32image -a 0xC0100000 -e 0xC0100000 -d u-boot.bin u-boot.stm32 The following build options are supported: - ``ENABLE_STACK_PROTECTOR``: To enable the stack protection. + + +Populate SD-card +---------------- + +The SD-card has to be formated with GPT. +It should contain at least those partitions: + +- fsbl: to copy the tf-a-stm32mp157c-ev1.stm32 binary +- ssbl: to copy the u-boot.stm32 binary + +Usually, two copies of fsbl are used (fsbl1 and fsbl2) instead of one partition fsbl. diff --git a/docs/user-guide.rst b/docs/user-guide.rst index f4ef85d2a..52cb45c09 100644 --- a/docs/user-guide.rst +++ b/docs/user-guide.rst @@ -371,6 +371,10 @@ Common build options partitioning in EL3, however. Platform initialisation code should configure and use partitions in EL3 as required. This option defaults to ``0``. +- ``ENABLE_PIE``: Boolean option to enable Position Independent Executable(PIE) + support within generic code in TF-A. This option is currently only supported + in BL31. Default is 0. + - ``ENABLE_PMF``: Boolean option to enable support for optional Performance Measurement Framework(PMF). Default is 0. |