From cdb8c52f922b5c4d972e398a72ac89d100937507 Mon Sep 17 00:00:00 2001 From: Carlo Caione Date: Wed, 18 Sep 2019 11:29:48 +0100 Subject: amlogic: g12a: Add support for the S905X2 (G12A) platform Introduce the preliminary support for the Amlogic S905X2 (G12A) SoC. This port is a minimal implementation of BL31 capable of booting mainline U-Boot and Linux. Tested on a SEI510 board. Signed-off-by: Carlo Caione Change-Id: Ife958f10e815a4530292c45446adb71239f3367f --- docs/maintainers.rst | 8 ++++++++ docs/plat/meson-g12a.rst | 27 +++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 docs/plat/meson-g12a.rst (limited to 'docs') diff --git a/docs/maintainers.rst b/docs/maintainers.rst index 7731c72e..d997baac 100644 --- a/docs/maintainers.rst +++ b/docs/maintainers.rst @@ -48,6 +48,14 @@ Amlogic Meson S905x (GXL) platform port :F: drivers/amlogic/gxl :F: plat/amlogic/gxl/ +Amlogic Meson S905X2 (G12A) platform port +--------------------------------------- +:M: Carlo Caione +:G: `carlo.caione`_ +:F: docs/plat/meson-g12a.rst +:F: drivers/amlogic/g12a +:F: plat/amlogic/g12a/ + Armv7-A architecture port ------------------------- :M: Etienne Carriere diff --git a/docs/plat/meson-g12a.rst b/docs/plat/meson-g12a.rst new file mode 100644 index 00000000..1021da47 --- /dev/null +++ b/docs/plat/meson-g12a.rst @@ -0,0 +1,27 @@ +Amlogic Meson S905X2 (G12A) +========================== + +The Amlogic Meson S905X2 is a SoC with a quad core Arm Cortex-A53 running at +~1.8GHz. 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: + +.. code:: shell + + CROSS_COMPILE=aarch64-linux-gnu- make DEBUG=1 PLAT=g12a + +This port has been tested on a SEI510 board. After building it, follow the +instructions in the `gxlimg repository` or `U-Boot repository`_, replacing the +mentioned **bl31.img** by the one built from this port. + +.. _gxlimg repository: https://github.com/repk/gxlimg/blob/master/README.g12a +.. _U-Boot repository: https://github.com/u-boot/u-boot/blob/master/board/amlogic/sei510/README -- cgit v1.2.3