1*91f16700SchasingluluQualcomm Technologies, Inc. 2*91f16700Schasinglulu=========================== 3*91f16700Schasinglulu 4*91f16700SchasingluluTrusted Firmware-A (TF-A) implements the EL3 firmware layer for QTI SC7180, 5*91f16700SchasingluluSC7280. 6*91f16700Schasinglulu 7*91f16700SchasingluluBoot Trace 8*91f16700Schasinglulu------------- 9*91f16700Schasinglulu 10*91f16700SchasingluluBootrom --> BL1/BL2 --> BL31 --> BL33 --> Linux kernel 11*91f16700Schasinglulu 12*91f16700SchasingluluBL1/2 and BL33 can currently be supplied from Coreboot + Depthcharge 13*91f16700Schasinglulu 14*91f16700SchasingluluHow to build 15*91f16700Schasinglulu------------ 16*91f16700Schasinglulu 17*91f16700SchasingluluCode Locations 18*91f16700Schasinglulu~~~~~~~~~~~~~~ 19*91f16700Schasinglulu 20*91f16700Schasinglulu- Trusted Firmware-A: 21*91f16700Schasinglulu `link <https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git>`__ 22*91f16700Schasinglulu 23*91f16700SchasingluluBuild Procedure 24*91f16700Schasinglulu~~~~~~~~~~~~~~~ 25*91f16700Schasinglulu 26*91f16700SchasingluluQTI SoC expects TF-A's BL31 to get integrated with other boot software 27*91f16700SchasingluluCoreboot, so only bl31.elf need to get build from the TF-A repository. 28*91f16700Schasinglulu 29*91f16700SchasingluluThe build command looks like 30*91f16700Schasinglulu 31*91f16700Schasinglulu make CROSS_COMPILE=aarch64-linux-gnu- PLAT=sc7180 COREBOOT=1 32*91f16700Schasinglulu 33*91f16700Schasingluluupdate value of CROSS_COMPILE argument with your cross-compilation toolchain. 34*91f16700Schasinglulu 35*91f16700SchasingluluAdditional QTISECLIB_PATH=<path to qtiseclib> can be added in build command. 36*91f16700Schasingluluif QTISECLIB_PATH is not added in build command stub implementation of qtiseclib 37*91f16700Schasingluluis picked. qtiseclib with stub implementation doesn't boot device. This was 38*91f16700Schasingluluadded to satisfy compilation. 39*91f16700Schasinglulu 40*91f16700SchasingluluQTISELIB for SC7180 is available at 41*91f16700Schasinglulu`link <https://github.com/coreboot/qc_blobs/blob/master/sc7180/qtiseclib/libqtisec.a?raw=true>`__ 42*91f16700SchasingluluQTISELIB for SC7280 is available at 43*91f16700Schasinglulu`link <https://github.com/coreboot/qc_blobs/blob/master/sc7280/qtiseclib/libqtisec.a?raw=true>`__ 44