137f647a4SAntonio Nino DiazTrusted Firmware-A for Amlogic Meson S905 (GXBB) 237f647a4SAntonio Nino Diaz================================================ 337f647a4SAntonio Nino Diaz 437f647a4SAntonio Nino DiazThe Amlogic Meson S905 is a SoC with a quad core Arm Cortex-A53 running at 537f647a4SAntonio Nino Diaz1.5Ghz. It also contains a Cortex-M3 used as SCP. 637f647a4SAntonio Nino Diaz 737f647a4SAntonio Nino DiazThis port is a minimal implementation of BL31 capable of booting mainline U-Boot 837f647a4SAntonio Nino Diazand Linux: 937f647a4SAntonio Nino Diaz 1037f647a4SAntonio Nino Diaz- SCPI support. 1137f647a4SAntonio Nino Diaz- Basic PSCI support (CPU_ON, CPU_OFF, SYSTEM_RESET, SYSTEM_OFF). Note that CPU0 1237f647a4SAntonio Nino Diaz can't be turned off, so there is a workaround to hide this from the caller. 1337f647a4SAntonio Nino Diaz- GICv2 driver set up. 1437f647a4SAntonio Nino Diaz- Basic SIP services (read efuse data, enable/disable JTAG). 1537f647a4SAntonio Nino Diaz 1637f647a4SAntonio Nino DiazIn order to build it: 1737f647a4SAntonio Nino Diaz 1837f647a4SAntonio Nino Diaz:: 1937f647a4SAntonio Nino Diaz 2037f647a4SAntonio Nino Diaz CROSS_COMPILE=aarch64-linux-gnu- make DEBUG=1 PLAT=gxbb bl31 2137f647a4SAntonio Nino Diaz 2237f647a4SAntonio Nino DiazThis port has been tested in a ODROID-C2. After building it, follow the 2337f647a4SAntonio Nino Diazinstructions in the `U-Boot repository`_, replacing the mentioned **bl31.bin** 2437f647a4SAntonio Nino Diazby the one built from this port. 2537f647a4SAntonio Nino Diaz 26*dd4e9a7dSPaul Beesley.. _U-Boot repository: https://github.com/u-boot/u-boot/blob/master/board/amlogic/odroid-c2/README.odroid-c2 27