mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-12 23:54:17 +00:00

rk3576 is an Octa-core soc with Cortex-a53/a72 inside. This patch supports the following functions: 1. basic platform setup 2. power up/off cpus 3. suspend/resume cpus 4. suspend/resume system 5. reset system 6. power off system Change-Id: I67a019822bd4af13e4a3cdd09cf06202f4922cc4 Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
58 lines
1.6 KiB
ReStructuredText
58 lines
1.6 KiB
ReStructuredText
Rockchip SoCs
|
|
=============
|
|
|
|
Trusted Firmware-A supports a number of Rockchip ARM SoCs from both
|
|
AARCH32 and AARCH64 fields.
|
|
|
|
This includes right now:
|
|
- px30: Quad-Core Cortex-A53
|
|
- rk3288: Quad-Core Cortex-A17 (past A12)
|
|
- rk3328: Quad-Core Cortex-A53
|
|
- rk3368: Octa-Core Cortex-A53
|
|
- rk3399: Hexa-Core Cortex-A53/A72
|
|
- rk3566/rk3568: Quad-Core Cortex-A55
|
|
- rk3576: Octa-Core Cortex-A53/A72
|
|
- rk3588: Octa-Core Cortex-A55/A76
|
|
|
|
|
|
Boot Sequence
|
|
-------------
|
|
|
|
For AARCH32:
|
|
Bootrom --> BL1/BL2 --> BL32 --> BL33 --> Linux kernel
|
|
|
|
For AARCH64:
|
|
Bootrom --> BL1/BL2 --> BL31 --> BL33 --> Linux kernel
|
|
|
|
BL1/2 and BL33 can currently be supplied from either:
|
|
- Coreboot + Depthcharge
|
|
- U-Boot - either separately as TPL+SPL or only SPL
|
|
|
|
|
|
How to build
|
|
------------
|
|
|
|
Rockchip SoCs expect TF-A's BL31 (AARCH64) or BL32 (AARCH32) to get
|
|
integrated with other boot software like U-Boot or Coreboot, so only
|
|
these images need to get build from the TF-A repository.
|
|
|
|
For AARCH64 architectures the build command looks like
|
|
|
|
make CROSS_COMPILE=aarch64-linux-gnu- PLAT=rk3399 bl31
|
|
|
|
while AARCH32 needs a slightly different command
|
|
|
|
make ARCH=aarch32 CROSS_COMPILE=arm-linux-gnueabihf- PLAT=rk3288 AARCH32_SP=sp_min bl32
|
|
|
|
Both need replacing the PLAT argument with the platform from above you
|
|
want to build for and the CROSS_COMPILE argument with you cross-
|
|
compilation toolchain.
|
|
|
|
|
|
How to deploy
|
|
-------------
|
|
|
|
Both upstream U-Boot and Coreboot projects contain instructions on where
|
|
to put the built images during their respective build process.
|
|
So after successfully building TF-A just follow their build instructions
|
|
to continue.
|