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