xref: /rk3399_ARM-atf/docs/plat/xilinx-versal-net.rst (revision 30e8bc365c1007da97f93c71e5fa16b6be56b679)
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
17*30e8bc36SAkshay BelsareTo build TF-A for JTAG DCC console:
18*30e8bc36SAkshay Belsare```bash
19*30e8bc36SAkshay Belsaremake RESET_TO_BL31=1 CROSS_COMPILE=aarch64-none-elf- PLAT=versal_net VERSAL_NET_CONSOLE=dcc bl31
20*30e8bc36SAkshay Belsare```
21*30e8bc36SAkshay Belsare
224efdc488SMichal SimekXilinx Versal NET platform specific build options
234efdc488SMichal Simek-------------------------------------------------
244efdc488SMichal Simek
254efdc488SMichal Simek*   `VERSAL_NET_ATF_MEM_BASE`: Specifies the base address of the bl31 binary.
264efdc488SMichal Simek*   `VERSAL_NET_ATF_MEM_SIZE`: Specifies the size of the memory region of the bl31 binary.
274efdc488SMichal Simek*   `VERSAL_NET_BL32_MEM_BASE`: Specifies the base address of the bl32 binary.
284efdc488SMichal Simek*   `VERSAL_NET_BL32_MEM_SIZE`: Specifies the size of the memory region of the bl32 binary.
294efdc488SMichal Simek
304efdc488SMichal Simek*   `VERSAL_NET_CONSOLE`: Select the console driver. Options:
31*30e8bc36SAkshay Belsare    -   `pl011`, `pl011_0`: ARM pl011 UART 0 (default)
324efdc488SMichal Simek    -   `pl011_1`         : ARM pl011 UART 1
33*30e8bc36SAkshay Belsare    -   `dcc`             : JTAG Debug Communication Channel(DCC)
344efdc488SMichal Simek
354efdc488SMichal Simek*   `TFA_NO_PM` : Platform Management support.
364efdc488SMichal Simek    -    0 : Enable Platform Management (Default)
374efdc488SMichal Simek    -    1 : Disable Platform Management
38