xref: /rk3399_ARM-atf/docs/plat/meson-gxl.rst (revision 24dba2b39f880e156965237dc49a253aa196585a)
1*24dba2b3SPaul BeesleyAmlogic Meson S905x (GXL)
2*24dba2b3SPaul 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
189b5a8aa5SRemi Pommarel::
199b5a8aa5SRemi Pommarel
209b5a8aa5SRemi Pommarel    CROSS_COMPILE=aarch64-linux-gnu- make DEBUG=1 PLAT=gxl
219b5a8aa5SRemi Pommarel
229b5a8aa5SRemi PommarelThis port has been tested on a Lepotato. After building it, follow the
239b5a8aa5SRemi Pommarelinstructions in the `gxlimg repository` or `U-Boot repository`_, replacing the
249b5a8aa5SRemi Pommarelmentioned **bl31.img** by the one built from this port.
259b5a8aa5SRemi Pommarel
269b5a8aa5SRemi Pommarel.. _gxlimg repository: https://github.com/repk/gxlimg/blob/master/README
279b5a8aa5SRemi Pommarel.. _U-Boot repository: https://github.com/u-boot/u-boot/blob/master/board/amlogic/p212/README.libretech-cc
28