124dba2b3SPaul BeesleyAmlogic Meson S905x (GXL) 224dba2b3SPaul Beesley========================= 39b5a8aa5SRemi Pommarel 49b5a8aa5SRemi PommarelThe Amlogic Meson S905x is a SoC with a quad core Arm Cortex-A53 running at 59b5a8aa5SRemi Pommarel1.5Ghz. It also contains a Cortex-M3 used as SCP. 69b5a8aa5SRemi Pommarel 79b5a8aa5SRemi PommarelThis port is a minimal implementation of BL31 capable of booting mainline U-Boot 89b5a8aa5SRemi Pommareland Linux: 99b5a8aa5SRemi Pommarel 109b5a8aa5SRemi Pommarel- SCPI support. 119b5a8aa5SRemi Pommarel- Basic PSCI support (CPU_ON, CPU_OFF, SYSTEM_RESET, SYSTEM_OFF). Note that CPU0 129b5a8aa5SRemi Pommarel can't be turned off, so there is a workaround to hide this from the caller. 139b5a8aa5SRemi Pommarel- GICv2 driver set up. 149b5a8aa5SRemi Pommarel- Basic SIP services (read efuse data, enable/disable JTAG). 159b5a8aa5SRemi Pommarel 169b5a8aa5SRemi PommarelIn order to build it: 179b5a8aa5SRemi Pommarel 1829c02529SPaul Beesley.. code:: shell 199b5a8aa5SRemi Pommarel 20650a435cSMark Dykes CROSS_COMPILE=aarch64-linux-gnu- make DEBUG=1 PLAT=gxl 219b5a8aa5SRemi Pommarel 22*043eca9eSFerass El HafidiOr, if willing to boot from U-Boot SPL (using standard params handling): 23*043eca9eSFerass El Hafidi 24*043eca9eSFerass El Hafidi.. code:: shell 25*043eca9eSFerass El Hafidi 26*043eca9eSFerass El Hafidi CROSS_COMPILE=aarch64-linux-gnu- make DEBUG=1 PLAT=gxl AML_STDPARAMS=1 27*043eca9eSFerass El Hafidi 289b5a8aa5SRemi PommarelThis port has been tested on a Lepotato. After building it, follow the 290396bcbcSSandrine Bailleuxinstructions in the `gxlimg repository`_ or `U-Boot repository`_, replacing the 309b5a8aa5SRemi Pommarelmentioned **bl31.img** by the one built from this port. 319b5a8aa5SRemi Pommarel 329b5a8aa5SRemi Pommarel.. _gxlimg repository: https://github.com/repk/gxlimg/blob/master/README 330396bcbcSSandrine Bailleux.. _U-Boot repository: https://github.com/u-boot/u-boot/blob/master/doc/board/amlogic/p212.rst 34