qti.rst 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. Qualcomm Technologies, Inc.
  2. ===========================
  3. Trusted Firmware-A (TF-A) implements the EL3 firmware layer for QTI SC7180,
  4. SC7280 and QCS615.
  5. Boot Trace
  6. -------------
  7. Bootrom --> BL1/BL2 --> BL31 --> BL33 --> Linux kernel
  8. BL1/2 and BL33 can currently be supplied from Coreboot + Depthcharge
  9. How to build
  10. ------------
  11. Code Locations
  12. ~~~~~~~~~~~~~~
  13. - Trusted Firmware-A:
  14. `link <https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git>`__
  15. Build Procedure
  16. ~~~~~~~~~~~~~~~
  17. QTI SoC expects TF-A's BL31 to get integrated with other boot software
  18. Coreboot, so only bl31.elf need to get build from the TF-A repository.
  19. The build command looks like
  20. make CROSS_COMPILE=aarch64-linux-gnu- PLAT=sc7180 COREBOOT=1
  21. Update value of CROSS_COMPILE argument with your cross-compilation toolchain.
  22. Update the value of PLAT to be either of sc7180, sc7280 or qcs615
  23. Additional QTISECLIB_PATH=<path to qtiseclib> can be added in build command.
  24. if QTISECLIB_PATH is not added in build command stub implementation of qtiseclib
  25. is picked. qtiseclib with stub implementation doesn't boot device. This was
  26. added to satisfy compilation.
  27. QTISELIB for SC7180 is available at
  28. `link <https://github.com/coreboot/qc_blobs/blob/master/sc7180/qtiseclib/libqtisec.a?raw=true>`__
  29. QTISELIB for SC7280 is available at
  30. `link <https://github.com/coreboot/qc_blobs/blob/master/sc7280/qtiseclib/libqtisec.a?raw=true>`__
  31. QTISECLIB for QCS615 is not available yet and currently compile with stubs only.