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