1*54fd6939SJiyong ParkQualcomm Technologies, Inc. 2*54fd6939SJiyong Park=========================== 3*54fd6939SJiyong Park 4*54fd6939SJiyong ParkTrusted Firmware-A (TF-A) implements the EL3 firmware layer for QTI SC7180, 5*54fd6939SJiyong ParkSC7280. 6*54fd6939SJiyong Park 7*54fd6939SJiyong ParkBoot Trace 8*54fd6939SJiyong Park------------- 9*54fd6939SJiyong Park 10*54fd6939SJiyong ParkBootrom --> BL1/BL2 --> BL31 --> BL33 --> Linux kernel 11*54fd6939SJiyong Park 12*54fd6939SJiyong ParkBL1/2 and BL33 can currently be supplied from Coreboot + Depthcharge 13*54fd6939SJiyong Park 14*54fd6939SJiyong ParkHow to build 15*54fd6939SJiyong Park------------ 16*54fd6939SJiyong Park 17*54fd6939SJiyong ParkCode Locations 18*54fd6939SJiyong Park~~~~~~~~~~~~~~ 19*54fd6939SJiyong Park 20*54fd6939SJiyong Park- Trusted Firmware-A: 21*54fd6939SJiyong Park `link <https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git>`__ 22*54fd6939SJiyong Park 23*54fd6939SJiyong ParkBuild Procedure 24*54fd6939SJiyong Park~~~~~~~~~~~~~~~ 25*54fd6939SJiyong Park 26*54fd6939SJiyong ParkQTI SoC expects TF-A's BL31 to get integrated with other boot software 27*54fd6939SJiyong ParkCoreboot, so only bl31.elf need to get build from the TF-A repository. 28*54fd6939SJiyong Park 29*54fd6939SJiyong ParkThe build command looks like 30*54fd6939SJiyong Park 31*54fd6939SJiyong Park make CROSS_COMPILE=aarch64-linux-gnu- PLAT=sc7180 COREBOOT=1 32*54fd6939SJiyong Park 33*54fd6939SJiyong Parkupdate value of CROSS_COMPILE argument with your cross-compilation toolchain. 34*54fd6939SJiyong Park 35*54fd6939SJiyong ParkAdditional QTISECLIB_PATH=<path to qtiseclib> can be added in build command. 36*54fd6939SJiyong Parkif QTISECLIB_PATH is not added in build command stub implementation of qtiseclib 37*54fd6939SJiyong Parkis picked. qtiseclib with stub implementation doesn't boot device. This was 38*54fd6939SJiyong Parkadded to satisfy compilation. 39*54fd6939SJiyong Park 40*54fd6939SJiyong ParkQTISELIB for SC7180 is available at 41*54fd6939SJiyong Park`link <https://github.com/coreboot/qc_blobs/blob/master/sc7180/qtiseclib/libqtisec.a?raw=true>`__ 42*54fd6939SJiyong ParkQTISELIB for SC7280 is available at 43*54fd6939SJiyong Park`link <https://github.com/coreboot/qc_blobs/blob/master/sc7280/qtiseclib/libqtisec.a?raw=true>`__ 44