14efdc488SMichal SimekXilinx Versal NET 24efdc488SMichal Simek================= 34efdc488SMichal Simek 44efdc488SMichal SimekTrusted Firmware-A implements the EL3 firmware layer for Xilinx Versal NET. 54efdc488SMichal SimekThe platform only uses the runtime part of TF-A as Xilinx Versal NET already 64efdc488SMichal Simekhas a BootROM (BL1) and PMC FW (BL2). 74efdc488SMichal Simek 84efdc488SMichal SimekBL31 is TF-A. 94efdc488SMichal SimekBL32 is an optional Secure Payload. 104efdc488SMichal SimekBL33 is the non-secure world software (U-Boot, Linux etc). 114efdc488SMichal Simek 124efdc488SMichal SimekTo build: 134efdc488SMichal Simek```bash 144efdc488SMichal Simekmake RESET_TO_BL31=1 CROSS_COMPILE=aarch64-none-elf- PLAT=versal_net bl31 154efdc488SMichal Simek``` 164efdc488SMichal Simek 1741b5a23cSPrasad KummariTo build bl32 TSP you have to rebuild bl31 too 1841b5a23cSPrasad Kummari```bash 1941b5a23cSPrasad Kummarimake CROSS_COMPILE=aarch64-none-elf- PLAT=versal_net SPD=tspd RESET_TO_BL31=1 bl31 bl32 2041b5a23cSPrasad Kummari``` 2141b5a23cSPrasad Kummari 2230e8bc36SAkshay BelsareTo build TF-A for JTAG DCC console: 2330e8bc36SAkshay Belsare```bash 2430e8bc36SAkshay Belsaremake RESET_TO_BL31=1 CROSS_COMPILE=aarch64-none-elf- PLAT=versal_net VERSAL_NET_CONSOLE=dcc bl31 2530e8bc36SAkshay Belsare``` 2630e8bc36SAkshay Belsare 274efdc488SMichal SimekXilinx Versal NET platform specific build options 284efdc488SMichal Simek------------------------------------------------- 294efdc488SMichal Simek 304efdc488SMichal Simek* `VERSAL_NET_ATF_MEM_BASE`: Specifies the base address of the bl31 binary. 314efdc488SMichal Simek* `VERSAL_NET_ATF_MEM_SIZE`: Specifies the size of the memory region of the bl31 binary. 324efdc488SMichal Simek* `VERSAL_NET_BL32_MEM_BASE`: Specifies the base address of the bl32 binary. 334efdc488SMichal Simek* `VERSAL_NET_BL32_MEM_SIZE`: Specifies the size of the memory region of the bl32 binary. 344efdc488SMichal Simek 354efdc488SMichal Simek* `VERSAL_NET_CONSOLE`: Select the console driver. Options: 3630e8bc36SAkshay Belsare - `pl011`, `pl011_0`: ARM pl011 UART 0 (default) 374efdc488SMichal Simek - `pl011_1` : ARM pl011 UART 1 3830e8bc36SAkshay Belsare - `dcc` : JTAG Debug Communication Channel(DCC) 394efdc488SMichal Simek 404efdc488SMichal Simek* `TFA_NO_PM` : Platform Management support. 414efdc488SMichal Simek - 0 : Enable Platform Management (Default) 424efdc488SMichal Simek - 1 : Disable Platform Management 43*ade92a64SJay Buddhabhatti 44*ade92a64SJay Buddhabhatti* `CPU_PWRDWN_SGI`: Select the SGI for triggering CPU power down request to 45*ade92a64SJay Buddhabhatti secondary cores on receiving power down callback from 46*ade92a64SJay Buddhabhatti firmware. Options: 47*ade92a64SJay Buddhabhatti 48*ade92a64SJay Buddhabhatti - `0` : SGI 0 49*ade92a64SJay Buddhabhatti - `1` : SGI 1 50*ade92a64SJay Buddhabhatti - `2` : SGI 2 51*ade92a64SJay Buddhabhatti - `3` : SGI 3 52*ade92a64SJay Buddhabhatti - `4` : SGI 4 53*ade92a64SJay Buddhabhatti - `5` : SGI 5 54*ade92a64SJay Buddhabhatti - `6` : SGI 6 (Default) 55*ade92a64SJay Buddhabhatti - `7` : SGI 7 56