blob: 95029cc3dd76650c5cd1e2ccfaeeebe12c38c0f6 [file] [log] [blame]
Sandrine Bailleux6af3d382020-04-15 11:13:38 +02001Broadcom Stingray
2=================
3
Sheetal Tigadoli415696e2020-03-21 00:12:50 +05304Description
Sandrine Bailleux6af3d382020-04-15 11:13:38 +02005-----------
Sheetal Tigadoli415696e2020-03-21 00:12:50 +05306Broadcom's Stingray(BCM958742t) is a multi-core processor with 8 Cortex-A72 cores.
7Trusted Firmware-A (TF-A) is used to implement secure world firmware, supporting
Sandrine Bailleux6af3d382020-04-15 11:13:38 +02008BL2 and BL31 for Broadcom Stingray SoCs.
Sheetal Tigadoli415696e2020-03-21 00:12:50 +05309
10On Poweron, Boot ROM will load bl2 image and Bl2 will initialize the hardware,
11then loads bl31 and bl33 into DDR and boots to bl33.
12
13Boot Sequence
Sandrine Bailleux6af3d382020-04-15 11:13:38 +020014-------------
Sheetal Tigadoli415696e2020-03-21 00:12:50 +053015
16Bootrom --> TF-A BL2 --> TF-A BL31 --> BL33(u-boot)
17
18Code Locations
Sandrine Bailleux6af3d382020-04-15 11:13:38 +020019~~~~~~~~~~~~~~
Sheetal Tigadoli415696e2020-03-21 00:12:50 +053020- Trusted Firmware-A:
Sandrine Bailleux6af3d382020-04-15 11:13:38 +020021 `link <https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/>`__
Sheetal Tigadoli415696e2020-03-21 00:12:50 +053022
23How to build
Sandrine Bailleux6af3d382020-04-15 11:13:38 +020024------------
Sheetal Tigadoli415696e2020-03-21 00:12:50 +053025
26Build Procedure
Sandrine Bailleux6af3d382020-04-15 11:13:38 +020027~~~~~~~~~~~~~~~
Sheetal Tigadoli415696e2020-03-21 00:12:50 +053028
29- Prepare AARCH64 toolchain.
30
31- Build u-boot first, and get the binary image: u-boot.bin,
32
33- Build TF-A
34
35 Build fip:
36
Sandrine Bailleux6af3d382020-04-15 11:13:38 +020037 .. code:: shell
Sheetal Tigadoli415696e2020-03-21 00:12:50 +053038
39 make CROSS_COMPILE=aarch64-linux-gnu- PLAT=stingray BOARD_CFG=bcm958742t all fip BL33=u-boot.bin
40
41Deploy TF-A Images
Sandrine Bailleux6af3d382020-04-15 11:13:38 +020042~~~~~~~~~~~~~~~~~~
Sheetal Tigadoli415696e2020-03-21 00:12:50 +053043The u-boot will be upstreamed soon, this doc will be updated once they are ready, and the link will be posted.