xref: /rk3399_ARM-atf/docs/plat/qti/chrome.rst (revision 1c63cd61495542b0b52e1b6e484c59ce5c26e0d2)
1*368a1dd3SSumit GargQualcomm Chrome Targets
2*368a1dd3SSumit Garg=======================
3*368a1dd3SSumit Garg
4*368a1dd3SSumit GargTrusted Firmware-A (TF-A) implements the EL3 firmware layer for QTI SC7180,
5*368a1dd3SSumit GargSC7280 and QCS615.
6*368a1dd3SSumit Garg
7*368a1dd3SSumit GargBoot Trace
8*368a1dd3SSumit Garg-------------
9*368a1dd3SSumit Garg
10*368a1dd3SSumit GargBootrom --> BL1/BL2 --> BL31 --> BL33 --> Linux kernel
11*368a1dd3SSumit Garg
12*368a1dd3SSumit GargBL1/2 and BL33 can currently be supplied from Coreboot + Depthcharge
13*368a1dd3SSumit Garg
14*368a1dd3SSumit GargHow to build
15*368a1dd3SSumit Garg------------
16*368a1dd3SSumit Garg
17*368a1dd3SSumit GargCode Locations
18*368a1dd3SSumit Garg~~~~~~~~~~~~~~
19*368a1dd3SSumit Garg
20*368a1dd3SSumit Garg-  Trusted Firmware-A:
21*368a1dd3SSumit Garg   `link <https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git>`__
22*368a1dd3SSumit Garg
23*368a1dd3SSumit GargBuild Procedure
24*368a1dd3SSumit Garg~~~~~~~~~~~~~~~
25*368a1dd3SSumit Garg
26*368a1dd3SSumit GargQTI SoC expects TF-A's BL31 to get integrated with other boot software
27*368a1dd3SSumit GargCoreboot, so only bl31.elf need to get build from the TF-A repository.
28*368a1dd3SSumit Garg
29*368a1dd3SSumit GargThe build command looks like
30*368a1dd3SSumit Garg
31*368a1dd3SSumit Garg    make CROSS_COMPILE=aarch64-linux-gnu- PLAT=sc7180 COREBOOT=1
32*368a1dd3SSumit Garg
33*368a1dd3SSumit GargUpdate value of CROSS_COMPILE argument with your cross-compilation toolchain.
34*368a1dd3SSumit GargUpdate the value of PLAT to be either of sc7180, sc7280_chrome or qcs615
35*368a1dd3SSumit Garg
36*368a1dd3SSumit GargAdditional QTISECLIB_PATH=<path to qtiseclib> can be added in build command.
37*368a1dd3SSumit Gargif QTISECLIB_PATH is not added in build command stub implementation of qtiseclib
38*368a1dd3SSumit Gargis picked. qtiseclib with stub implementation doesn't boot device. This was
39*368a1dd3SSumit Gargadded to satisfy compilation.
40*368a1dd3SSumit Garg
41*368a1dd3SSumit GargQTISELIB for SC7180 is available at
42*368a1dd3SSumit Garg`link <https://github.com/coreboot/qc_blobs/blob/master/sc7180/qtiseclib/libqtisec.a?raw=true>`__
43*368a1dd3SSumit GargQTISELIB for SC7280 is available at
44*368a1dd3SSumit Garg`link <https://github.com/coreboot/qc_blobs/blob/master/sc7280/qtiseclib/libqtisec.a?raw=true>`__
45*368a1dd3SSumit GargQTISECLIB for QCS615 is not available yet and currently compile with stubs only.
46