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