blob: df64505246e8802b8e96606b2a4caf98159899f6 [file] [log] [blame]
Paul Beesleyf3653a62019-05-22 11:22:44 +01001Amlogic Meson S905x (GXL)
2=========================
Remi Pommarel75e43e02019-04-01 11:34:09 +02003
4The Amlogic Meson S905x is a SoC with a quad core Arm Cortex-A53 running at
51.5Ghz. It also contains a Cortex-M3 used as SCP.
6
7This port is a minimal implementation of BL31 capable of booting mainline U-Boot
8and Linux:
9
10- SCPI support.
11- Basic PSCI support (CPU_ON, CPU_OFF, SYSTEM_RESET, SYSTEM_OFF). Note that CPU0
12 can't be turned off, so there is a workaround to hide this from the caller.
13- GICv2 driver set up.
14- Basic SIP services (read efuse data, enable/disable JTAG).
15
16In order to build it:
17
Paul Beesley493e3492019-03-13 15:11:04 +000018.. code:: shell
Remi Pommarel75e43e02019-04-01 11:34:09 +020019
Mark Dykesef3a4562020-01-08 20:37:18 +000020 CROSS_COMPILE=aarch64-linux-gnu- make DEBUG=1 PLAT=gxl
Remi Pommarel75e43e02019-04-01 11:34:09 +020021
Ferass El Hafidid0b27dc2025-01-08 14:03:02 +000022Or, if willing to boot from U-Boot SPL (using standard params handling):
23
24.. code:: shell
25
26 CROSS_COMPILE=aarch64-linux-gnu- make DEBUG=1 PLAT=gxl AML_STDPARAMS=1
27
Remi Pommarel75e43e02019-04-01 11:34:09 +020028This port has been tested on a Lepotato. After building it, follow the
Sandrine Bailleux4e824722020-07-01 13:53:07 +020029instructions in the `gxlimg repository`_ or `U-Boot repository`_, replacing the
Remi Pommarel75e43e02019-04-01 11:34:09 +020030mentioned **bl31.img** by the one built from this port.
31
32.. _gxlimg repository: https://github.com/repk/gxlimg/blob/master/README
Sandrine Bailleux4e824722020-07-01 13:53:07 +020033.. _U-Boot repository: https://github.com/u-boot/u-boot/blob/master/doc/board/amlogic/p212.rst