xref: /arm-trusted-firmware/docs/plat/meson-g12a.rst (revision 91f16700b400a8c0651d24a598fc48ee2997a0d7)
1*91f16700SchasingluluAmlogic Meson S905X2 (G12A)
2*91f16700Schasinglulu===========================
3*91f16700Schasinglulu
4*91f16700SchasingluluThe Amlogic Meson S905X2 is a SoC with a quad core Arm Cortex-A53 running at
5*91f16700Schasinglulu~1.8GHz. It also contains a Cortex-M3 used as SCP.
6*91f16700Schasinglulu
7*91f16700SchasingluluThis port is a minimal implementation of BL31 capable of booting mainline U-Boot
8*91f16700Schasingluluand Linux:
9*91f16700Schasinglulu
10*91f16700Schasinglulu- SCPI support.
11*91f16700Schasinglulu- Basic PSCI support (CPU_ON, CPU_OFF, SYSTEM_RESET, SYSTEM_OFF). Note that CPU0
12*91f16700Schasinglulu  can't be turned off, so there is a workaround to hide this from the caller.
13*91f16700Schasinglulu- GICv2 driver set up.
14*91f16700Schasinglulu- Basic SIP services (read efuse data, enable/disable JTAG).
15*91f16700Schasinglulu
16*91f16700SchasingluluIn order to build it:
17*91f16700Schasinglulu
18*91f16700Schasinglulu.. code:: shell
19*91f16700Schasinglulu
20*91f16700Schasinglulu    CROSS_COMPILE=aarch64-linux-gnu- make DEBUG=1 PLAT=g12a
21*91f16700Schasinglulu
22*91f16700SchasingluluThis port has been tested on a SEI510 board. After building it, follow the
23*91f16700Schasingluluinstructions in the `gxlimg repository`_ or `U-Boot repository`_, replacing the
24*91f16700Schasinglulumentioned **bl31.img** by the one built from this port.
25*91f16700Schasinglulu
26*91f16700Schasinglulu.. _gxlimg repository: https://github.com/repk/gxlimg/blob/master/README.g12a
27*91f16700Schasinglulu.. _U-Boot repository: https://github.com/u-boot/u-boot/blob/master/doc/board/amlogic/sei510.rst
28