xref: /arm-trusted-firmware/docs/plat/xilinx-versal-net.rst (revision 91f16700b400a8c0651d24a598fc48ee2997a0d7)
1*91f16700SchasingluluXilinx Versal NET
2*91f16700Schasinglulu=================
3*91f16700Schasinglulu
4*91f16700SchasingluluTrusted Firmware-A implements the EL3 firmware layer for Xilinx Versal NET.
5*91f16700SchasingluluThe platform only uses the runtime part of TF-A as Xilinx Versal NET already
6*91f16700Schasingluluhas a BootROM (BL1) and PMC FW (BL2).
7*91f16700Schasinglulu
8*91f16700SchasingluluBL31 is TF-A.
9*91f16700SchasingluluBL32 is an optional Secure Payload.
10*91f16700SchasingluluBL33 is the non-secure world software (U-Boot, Linux etc).
11*91f16700Schasinglulu
12*91f16700SchasingluluTo build:
13*91f16700Schasinglulu```bash
14*91f16700Schasinglulumake RESET_TO_BL31=1 CROSS_COMPILE=aarch64-none-elf- PLAT=versal_net bl31
15*91f16700Schasinglulu```
16*91f16700Schasinglulu
17*91f16700SchasingluluTo build bl32 TSP you have to rebuild bl31 too
18*91f16700Schasinglulu```bash
19*91f16700Schasinglulumake CROSS_COMPILE=aarch64-none-elf- PLAT=versal_net SPD=tspd RESET_TO_BL31=1 bl31 bl32
20*91f16700Schasinglulu```
21*91f16700Schasinglulu
22*91f16700SchasingluluTo build TF-A for JTAG DCC console:
23*91f16700Schasinglulu```bash
24*91f16700Schasinglulumake RESET_TO_BL31=1 CROSS_COMPILE=aarch64-none-elf- PLAT=versal_net VERSAL_NET_CONSOLE=dcc bl31
25*91f16700Schasinglulu```
26*91f16700Schasinglulu
27*91f16700SchasingluluXilinx Versal NET platform specific build options
28*91f16700Schasinglulu-------------------------------------------------
29*91f16700Schasinglulu
30*91f16700Schasinglulu*   `VERSAL_NET_ATF_MEM_BASE`: Specifies the base address of the bl31 binary.
31*91f16700Schasinglulu*   `VERSAL_NET_ATF_MEM_SIZE`: Specifies the size of the memory region of the bl31 binary.
32*91f16700Schasinglulu*   `VERSAL_NET_BL32_MEM_BASE`: Specifies the base address of the bl32 binary.
33*91f16700Schasinglulu*   `VERSAL_NET_BL32_MEM_SIZE`: Specifies the size of the memory region of the bl32 binary.
34*91f16700Schasinglulu
35*91f16700Schasinglulu*   `VERSAL_NET_CONSOLE`: Select the console driver. Options:
36*91f16700Schasinglulu    -   `pl011`, `pl011_0`: ARM pl011 UART 0 (default)
37*91f16700Schasinglulu    -   `pl011_1`         : ARM pl011 UART 1
38*91f16700Schasinglulu    -   `dcc`             : JTAG Debug Communication Channel(DCC)
39*91f16700Schasinglulu
40*91f16700Schasinglulu*   `TFA_NO_PM` : Platform Management support.
41*91f16700Schasinglulu    -    0 : Enable Platform Management (Default)
42*91f16700Schasinglulu    -    1 : Disable Platform Management
43