Sandrine Bailleux | 6af3d38 | 2020-04-15 11:13:38 +0200 | [diff] [blame] | 1 | Broadcom Stingray |
| 2 | ================= |
| 3 | |
Sheetal Tigadoli | 415696e | 2020-03-21 00:12:50 +0530 | [diff] [blame] | 4 | Description |
Sandrine Bailleux | 6af3d38 | 2020-04-15 11:13:38 +0200 | [diff] [blame] | 5 | ----------- |
Sheetal Tigadoli | 415696e | 2020-03-21 00:12:50 +0530 | [diff] [blame] | 6 | Broadcom's Stingray(BCM958742t) is a multi-core processor with 8 Cortex-A72 cores. |
| 7 | Trusted Firmware-A (TF-A) is used to implement secure world firmware, supporting |
Sandrine Bailleux | 6af3d38 | 2020-04-15 11:13:38 +0200 | [diff] [blame] | 8 | BL2 and BL31 for Broadcom Stingray SoCs. |
Sheetal Tigadoli | 415696e | 2020-03-21 00:12:50 +0530 | [diff] [blame] | 9 | |
| 10 | On Poweron, Boot ROM will load bl2 image and Bl2 will initialize the hardware, |
| 11 | then loads bl31 and bl33 into DDR and boots to bl33. |
| 12 | |
| 13 | Boot Sequence |
Sandrine Bailleux | 6af3d38 | 2020-04-15 11:13:38 +0200 | [diff] [blame] | 14 | ------------- |
Sheetal Tigadoli | 415696e | 2020-03-21 00:12:50 +0530 | [diff] [blame] | 15 | |
| 16 | Bootrom --> TF-A BL2 --> TF-A BL31 --> BL33(u-boot) |
| 17 | |
| 18 | Code Locations |
Sandrine Bailleux | 6af3d38 | 2020-04-15 11:13:38 +0200 | [diff] [blame] | 19 | ~~~~~~~~~~~~~~ |
Sheetal Tigadoli | 415696e | 2020-03-21 00:12:50 +0530 | [diff] [blame] | 20 | - Trusted Firmware-A: |
Sandrine Bailleux | 6af3d38 | 2020-04-15 11:13:38 +0200 | [diff] [blame] | 21 | `link <https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/>`__ |
Sheetal Tigadoli | 415696e | 2020-03-21 00:12:50 +0530 | [diff] [blame] | 22 | |
| 23 | How to build |
Sandrine Bailleux | 6af3d38 | 2020-04-15 11:13:38 +0200 | [diff] [blame] | 24 | ------------ |
Sheetal Tigadoli | 415696e | 2020-03-21 00:12:50 +0530 | [diff] [blame] | 25 | |
| 26 | Build Procedure |
Sandrine Bailleux | 6af3d38 | 2020-04-15 11:13:38 +0200 | [diff] [blame] | 27 | ~~~~~~~~~~~~~~~ |
Sheetal Tigadoli | 415696e | 2020-03-21 00:12:50 +0530 | [diff] [blame] | 28 | |
| 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 Bailleux | 6af3d38 | 2020-04-15 11:13:38 +0200 | [diff] [blame] | 37 | .. code:: shell |
Sheetal Tigadoli | 415696e | 2020-03-21 00:12:50 +0530 | [diff] [blame] | 38 | |
| 39 | make CROSS_COMPILE=aarch64-linux-gnu- PLAT=stingray BOARD_CFG=bcm958742t all fip BL33=u-boot.bin |
| 40 | |
| 41 | Deploy TF-A Images |
Sandrine Bailleux | 6af3d38 | 2020-04-15 11:13:38 +0200 | [diff] [blame] | 42 | ~~~~~~~~~~~~~~~~~~ |
Sheetal Tigadoli | 415696e | 2020-03-21 00:12:50 +0530 | [diff] [blame] | 43 | The u-boot will be upstreamed soon, this doc will be updated once they are ready, and the link will be posted. |