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