xref: /rk3399_ARM-atf/docs/plat/arm/automotive_rd/index.rst (revision 53e75cfa3e55b07e540dd1b6be275bb48a919ec3)
1*53e75cfaSDivin RajRD-1 AE (Kronos) Platform
2*53e75cfaSDivin Raj=========================
3*53e75cfaSDivin Raj
4*53e75cfaSDivin RajSome of the features of the RD-1 AE platform referenced in TF-A include:
5*53e75cfaSDivin Raj
6*53e75cfaSDivin Raj- Neoverse-V3AE, Arm9.2-A application processor (64-bit mode)
7*53e75cfaSDivin Raj- A GICv4-compatible GIC-720AE
8*53e75cfaSDivin Raj
9*53e75cfaSDivin RajFurther information on RD1-AE is available at `rd1ae`_
10*53e75cfaSDivin Raj
11*53e75cfaSDivin RajBoot Sequence
12*53e75cfaSDivin Raj-------------
13*53e75cfaSDivin Raj
14*53e75cfaSDivin RajBL2 –> BL31 –> BL33
15*53e75cfaSDivin Raj
16*53e75cfaSDivin RajThe boot process starts from RSE (Runtime Security Engine) that loads the BL2 image
17*53e75cfaSDivin Rajand signals the System Control Processor (SCP) to power up the Application Processor (AP).
18*53e75cfaSDivin RajThe AP then runs BL2, which loads the rest of the images, including the runtime firmware
19*53e75cfaSDivin RajBL31, and proceeds to execute it. Finally, it passes control to the non-secure world
20*53e75cfaSDivin RajBL33 (u-boot).
21*53e75cfaSDivin Raj
22*53e75cfaSDivin RajBL2 performs the actions described in the `Trusted Board Boot (TBB)`_ document.
23*53e75cfaSDivin Raj
24*53e75cfaSDivin RajBuild Procedure (TF-A only)
25*53e75cfaSDivin Raj~~~~~~~~~~~~~~~~~~~~~~~~~~~
26*53e75cfaSDivin Raj
27*53e75cfaSDivin Raj-  Obtain `Arm toolchain`_ and set the CROSS_COMPILE environment variable to
28*53e75cfaSDivin Raj   point to the toolchain folder.
29*53e75cfaSDivin Raj
30*53e75cfaSDivin Raj-  Build TF-A:
31*53e75cfaSDivin Raj
32*53e75cfaSDivin Raj   .. code:: shell
33*53e75cfaSDivin Raj
34*53e75cfaSDivin Raj      make \
35*53e75cfaSDivin Raj      PLAT=rd1ae \
36*53e75cfaSDivin Raj      MBEDTLS_DIR=<mbedtls_dir> \
37*53e75cfaSDivin Raj      ARCH=aarch64 \
38*53e75cfaSDivin Raj      CREATE_KEYS=1 \
39*53e75cfaSDivin Raj      GENERATE_COT=1 \
40*53e75cfaSDivin Raj      TRUSTED_BOARD_BOOT=1 \
41*53e75cfaSDivin Raj      COT=tbbr \
42*53e75cfaSDivin Raj      ARM_ROTPK_LOCATION=devel_rsa \
43*53e75cfaSDivin Raj      ROT_KEY=plat/arm/board/common/rotpk/arm_rotprivk_rsa.pem \
44*53e75cfaSDivin Raj      BL33=<path to u-boot binary> \
45*53e75cfaSDivin Raj
46*53e75cfaSDivin Raj*Copyright (c) 2024, Arm Limited. All rights reserved.*
47*53e75cfaSDivin Raj
48*53e75cfaSDivin Raj.. _Arm Toolchain: https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/downloads
49*53e75cfaSDivin Raj.. _rd1ae: https://developer.arm.com/Tools%20and%20Software/Arm%20Reference%20Design-1%20AE
50*53e75cfaSDivin Raj.. _Trusted Board Boot (TBB): https://trustedfirmware-a.readthedocs.io/en/latest/design/trusted-board-boot.html
51