qti.rst 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. Qualcomm Technologies, Inc.
  2. ===========================
  3. Trusted Firmware-A (TF-A) implements the EL3 firmware layer for QTI SC7180,
  4. SC7280.
  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. Additional QTISECLIB_PATH=<path to qtiseclib> can be added in build command.
  23. if QTISECLIB_PATH is not added in build command stub implementation of qtiseclib
  24. is picked. qtiseclib with stub implementation doesn't boot device. This was
  25. added to satisfy compilation.
  26. QTISELIB for SC7180 is available at
  27. `link <https://github.com/coreboot/qc_blobs/blob/master/sc7180/qtiseclib/libqtisec.a?raw=true>`__
  28. QTISELIB for SC7280 is available at
  29. `link <https://github.com/coreboot/qc_blobs/blob/master/sc7280/qtiseclib/libqtisec.a?raw=true>`__