xref: /aosp_15_r20/external/arm-trusted-firmware/docs/plat/meson-gxbb.rst (revision 54fd6939e177f8ff529b10183254802c76df6d08)
1*54fd6939SJiyong ParkAmlogic Meson S905 (GXBB)
2*54fd6939SJiyong Park=========================
3*54fd6939SJiyong Park
4*54fd6939SJiyong ParkThe Amlogic Meson S905 is a SoC with a quad core Arm Cortex-A53 running at
5*54fd6939SJiyong Park1.5Ghz. It also contains a Cortex-M3 used as SCP.
6*54fd6939SJiyong Park
7*54fd6939SJiyong ParkThis port is a minimal implementation of BL31 capable of booting mainline U-Boot
8*54fd6939SJiyong Parkand Linux:
9*54fd6939SJiyong Park
10*54fd6939SJiyong Park- SCPI support.
11*54fd6939SJiyong Park- Basic PSCI support (CPU_ON, CPU_OFF, SYSTEM_RESET, SYSTEM_OFF). Note that CPU0
12*54fd6939SJiyong Park  can't be turned off, so there is a workaround to hide this from the caller.
13*54fd6939SJiyong Park- GICv2 driver set up.
14*54fd6939SJiyong Park- Basic SIP services (read efuse data, enable/disable JTAG).
15*54fd6939SJiyong Park
16*54fd6939SJiyong ParkIn order to build it:
17*54fd6939SJiyong Park
18*54fd6939SJiyong Park.. code:: shell
19*54fd6939SJiyong Park
20*54fd6939SJiyong Park    CROSS_COMPILE=aarch64-linux-gnu- make DEBUG=1 PLAT=gxbb bl31
21*54fd6939SJiyong Park
22*54fd6939SJiyong ParkThis port has been tested in a ODROID-C2. After building it, follow the
23*54fd6939SJiyong Parkinstructions in the `U-Boot repository`_, replacing the mentioned **bl31.bin**
24*54fd6939SJiyong Parkby the one built from this port.
25*54fd6939SJiyong Park
26*54fd6939SJiyong Park.. _U-Boot repository: https://gitlab.denx.de/u-boot/u-boot/-/blob/master/board/amlogic/p200/README.odroid-c2
27