aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDimitris Papastamos <dimitris.papastamos@arm.com>2018-06-20 16:37:01 +0100
committerGitHub <noreply@github.com>2018-06-20 16:37:01 +0100
commit3caa841d9c756fe58e749dffecebdc328626b1c7 (patch)
tree7b690ea72584a9e302f279e8882f60a4c4557abb /docs
parentbdd33afc107f5fa90499010a518a375a2f3cd39c (diff)
parent8d675153358943c762dab30f241e75672f650b66 (diff)
downloadplatform_external_arm-trusted-firmware-3caa841d9c756fe58e749dffecebdc328626b1c7.tar.gz
platform_external_arm-trusted-firmware-3caa841d9c756fe58e749dffecebdc328626b1c7.tar.bz2
platform_external_arm-trusted-firmware-3caa841d9c756fe58e749dffecebdc328626b1c7.zip
Merge pull request #1403 from glneo/for-upstream-k3
TI K3 platform support
Diffstat (limited to 'docs')
-rw-r--r--docs/plat/ti-k3.rst55
1 files changed, 55 insertions, 0 deletions
diff --git a/docs/plat/ti-k3.rst b/docs/plat/ti-k3.rst
new file mode 100644
index 000000000..6515c644d
--- /dev/null
+++ b/docs/plat/ti-k3.rst
@@ -0,0 +1,55 @@
+Trusted Firmware-A for Texas Instruments K3 SoCs
+================================================
+
+Trusted Firmware-A (TF-A) implements the EL3 firmware layer for Texas Instruments K3 SoCs.
+
+Boot Flow
+---------
+
+R5(U-Boot) --> TF-A BL31 --> BL32(OP-TEE) --> TF-A BL31 --> BL33(U-Boot) --> Linux
+ \
+ Optional direct to Linux boot
+ \
+ --> 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
+
+ make CROSS_COMPILE=aarch64-linux-gnu- PLAT=k3 SPD=opteed all
+
+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/