• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Texas Instruments K3
2====================
3
4Trusted Firmware-A (TF-A) implements the EL3 firmware layer for Texas Instruments K3 SoCs.
5
6Boot Flow
7---------
8
9::
10
11   R5(U-Boot) --> TF-A BL31 --> BL32(OP-TEE) --> TF-A BL31 --> BL33(U-Boot) --> Linux
12                                                       \
13                                                   Optional direct to Linux boot
14                                                           \
15                                                           --> BL33(Linux)
16
17Texas Instruments K3 SoCs contain an R5 processor used as the boot master, it
18loads the needed images for A53 startup, because of this we do not need BL1 or
19BL2 TF-A stages.
20
21Build Instructions
22------------------
23
24https://github.com/ARM-software/arm-trusted-firmware.git
25
26TF-A:
27
28.. code:: shell
29
30    make CROSS_COMPILE=aarch64-linux-gnu- PLAT=k3 SPD=opteed all
31
32OP-TEE:
33
34.. code:: shell
35
36    make ARCH=arm CROSS_COMPILE64=aarch64-linux-gnu- PLATFORM=k3 CFG_ARM64_core=y all
37
38R5 U-Boot:
39
40.. code:: shell
41
42    make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am65x_evm_r5_defconfig
43    make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- SYSFW=<path to SYSFW>
44
45A53 U-Boot:
46
47.. code:: shell
48
49    make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- am65x_evm_a53_defconfig
50    make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- ATF=<path> TEE=<path>
51
52Deploy Images
53-------------
54
55.. code:: shell
56
57    cp tiboot3.bin tispl.bin u-boot.img /sdcard/boot/
58