ti-k3.rst 1.42 KB
Newer Older
1
2
Texas Instruments K3
====================
3
4
5
6
7
8

Trusted Firmware-A (TF-A) implements the EL3 firmware layer for Texas Instruments K3 SoCs.

Boot Flow
---------

9
10
11
::

   R5(U-Boot) --> TF-A BL31 --> BL32(OP-TEE) --> TF-A BL31 --> BL33(U-Boot) --> Linux
12
                                                       \
13
14
                                                   Optional direct to Linux boot
                                                           \
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
                                                           --> BL33(Linux)

Texas Instruments K3 SoCs contain an R5 processor used as the boot master, it
loads the needed images for A53 startup, because of this we do not need BL1 or
BL2 TF-A stages.

Build Instructions
------------------

https://github.com/ARM-software/arm-trusted-firmware.git

TF-A:

.. code:: shell

30
    make CROSS_COMPILE=aarch64-linux-gnu- PLAT=k3 SPD=opteed all
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57

OP-TEE:

.. code:: shell

    make ARCH=arm CROSS_COMPILE64=aarch64-linux-gnu- PLATFORM=k3 CFG_ARM64_core=y all

R5 U-Boot:

.. code:: shell

    make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am65x_evm_r5_defconfig
    make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- SYSFW=<path to SYSFW>

A53 U-Boot:

.. code:: shell

    make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- am65x_evm_a53_defconfig
    make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- ATF=<path> TEE=<path>

Deploy Images
-------------

.. code:: shell

    cp tiboot3.bin tispl.bin u-boot.img /sdcard/boot/