ti-k3.rst 1.4 KB

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