xref: /arm-trusted-firmware/docs/plat/brcm-stingray.rst (revision 91f16700b400a8c0651d24a598fc48ee2997a0d7)
1*91f16700SchasingluluBroadcom Stingray
2*91f16700Schasinglulu=================
3*91f16700Schasinglulu
4*91f16700SchasingluluDescription
5*91f16700Schasinglulu-----------
6*91f16700SchasingluluBroadcom's Stingray(BCM958742t) is a multi-core processor with 8 Cortex-A72 cores.
7*91f16700SchasingluluTrusted Firmware-A (TF-A) is used to implement secure world firmware, supporting
8*91f16700SchasingluluBL2 and BL31 for Broadcom Stingray SoCs.
9*91f16700Schasinglulu
10*91f16700SchasingluluOn Poweron, Boot ROM will load bl2 image and Bl2 will initialize the hardware,
11*91f16700Schasingluluthen loads bl31 and bl33 into DDR and boots to bl33.
12*91f16700Schasinglulu
13*91f16700SchasingluluBoot Sequence
14*91f16700Schasinglulu-------------
15*91f16700Schasinglulu
16*91f16700SchasingluluBootrom --> TF-A BL2 --> TF-A BL31 --> BL33(u-boot)
17*91f16700Schasinglulu
18*91f16700SchasingluluCode Locations
19*91f16700Schasinglulu~~~~~~~~~~~~~~
20*91f16700Schasinglulu-  Trusted Firmware-A:
21*91f16700Schasinglulu   `link <https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/>`__
22*91f16700Schasinglulu
23*91f16700SchasingluluHow to build
24*91f16700Schasinglulu------------
25*91f16700Schasinglulu
26*91f16700SchasingluluBuild Procedure
27*91f16700Schasinglulu~~~~~~~~~~~~~~~
28*91f16700Schasinglulu
29*91f16700Schasinglulu-  Prepare AARCH64 toolchain.
30*91f16700Schasinglulu
31*91f16700Schasinglulu-  Build u-boot first, and get the binary image: u-boot.bin,
32*91f16700Schasinglulu
33*91f16700Schasinglulu-  Build TF-A
34*91f16700Schasinglulu
35*91f16700Schasinglulu   Build fip:
36*91f16700Schasinglulu
37*91f16700Schasinglulu   .. code:: shell
38*91f16700Schasinglulu
39*91f16700Schasinglulu       make CROSS_COMPILE=aarch64-linux-gnu- PLAT=stingray BOARD_CFG=bcm958742t all fip BL33=u-boot.bin
40*91f16700Schasinglulu
41*91f16700SchasingluluDeploy TF-A Images
42*91f16700Schasinglulu~~~~~~~~~~~~~~~~~~
43*91f16700SchasingluluThe u-boot will be upstreamed soon, this doc will be updated once they are ready, and the link will be posted.
44