1*9b5a8aa5SRemi PommarelTrusted Firmware-A for Amlogic Meson S905x (GXL) 2*9b5a8aa5SRemi Pommarel================================================ 3*9b5a8aa5SRemi Pommarel 4*9b5a8aa5SRemi PommarelThe Amlogic Meson S905x is a SoC with a quad core Arm Cortex-A53 running at 5*9b5a8aa5SRemi Pommarel1.5Ghz. It also contains a Cortex-M3 used as SCP. 6*9b5a8aa5SRemi Pommarel 7*9b5a8aa5SRemi PommarelThis port is a minimal implementation of BL31 capable of booting mainline U-Boot 8*9b5a8aa5SRemi Pommareland Linux: 9*9b5a8aa5SRemi Pommarel 10*9b5a8aa5SRemi Pommarel- SCPI support. 11*9b5a8aa5SRemi Pommarel- Basic PSCI support (CPU_ON, CPU_OFF, SYSTEM_RESET, SYSTEM_OFF). Note that CPU0 12*9b5a8aa5SRemi Pommarel can't be turned off, so there is a workaround to hide this from the caller. 13*9b5a8aa5SRemi Pommarel- GICv2 driver set up. 14*9b5a8aa5SRemi Pommarel- Basic SIP services (read efuse data, enable/disable JTAG). 15*9b5a8aa5SRemi Pommarel 16*9b5a8aa5SRemi PommarelIn order to build it: 17*9b5a8aa5SRemi Pommarel 18*9b5a8aa5SRemi Pommarel:: 19*9b5a8aa5SRemi Pommarel 20*9b5a8aa5SRemi Pommarel CROSS_COMPILE=aarch64-linux-gnu- make DEBUG=1 PLAT=gxl 21*9b5a8aa5SRemi Pommarel 22*9b5a8aa5SRemi PommarelThis port has been tested on a Lepotato. After building it, follow the 23*9b5a8aa5SRemi Pommarelinstructions in the `gxlimg repository` or `U-Boot repository`_, replacing the 24*9b5a8aa5SRemi Pommarelmentioned **bl31.img** by the one built from this port. 25*9b5a8aa5SRemi Pommarel 26*9b5a8aa5SRemi Pommarel.. _gxlimg repository: https://github.com/repk/gxlimg/blob/master/README 27*9b5a8aa5SRemi Pommarel.. _U-Boot repository: https://github.com/u-boot/u-boot/blob/master/board/amlogic/p212/README.libretech-cc 28