diff options
Diffstat (limited to 'meta-xilinx-bsp/conf/machine/zcu1275-zynqmp.conf')
-rw-r--r-- | meta-xilinx-bsp/conf/machine/zcu1275-zynqmp.conf | 51 |
1 files changed, 44 insertions, 7 deletions
diff --git a/meta-xilinx-bsp/conf/machine/zcu1275-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zcu1275-zynqmp.conf index 8ae4e40c..597c05a7 100644 --- a/meta-xilinx-bsp/conf/machine/zcu1275-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/zcu1275-zynqmp.conf | |||
@@ -1,13 +1,50 @@ | |||
1 | #@TYPE: Machine | 1 | #@TYPE: Machine |
2 | #@NAME: zcu1275-zynqmp | 2 | #@NAME: zcu1275-zynqmp |
3 | #@DESCRIPTION: Machine support for ZCU1275 Evaluation Board. | 3 | #@DESCRIPTION: Machine configuration for the ZCU1275 evaluation board. |
4 | # | ||
5 | 4 | ||
6 | SOC_VARIANT = "dr" | 5 | #### Preamble |
6 | MACHINEOVERRIDES =. "${@['', 'zcu1275-zynqmp:']['zcu1275-zynqmp' !='${MACHINE}']}" | ||
7 | #### Regular settings follow | ||
7 | 8 | ||
8 | require conf/machine/zynqmp-generic.conf | 9 | # Yocto device-tree variables |
10 | YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "psu_uart_0" | ||
11 | YAML_MAIN_MEMORY_CONFIG:pn-device-tree ?= "PSU_DDR_0" | ||
12 | YAML_DT_BOARD_FLAGS ?= "{BOARD zcu1275-revb}" | ||
9 | 13 | ||
10 | # Add board compatibility override | 14 | # Yocto arm-trusted-firmware(TF-A) variables |
11 | MACHINEOVERRIDES .= ":zcu1275" | 15 | ATF_CONSOLE_DEFAULT ?= "cadence" |
16 | TFA_BL33_LOAD ?= "0x8000000" | ||
12 | 17 | ||
13 | KERNEL_DEVICETREE = "xilinx/zynqmp-zcu1275-revB.dtb" | 18 | # Yocto PMUFW variables |
19 | YAML_SERIAL_CONSOLE_STDIN:pn-pmu-firmware ?= "psu_uart_0" | ||
20 | YAML_SERIAL_CONSOLE_STDOUT:pn-pmu-firmware ?= "psu_uart_0" | ||
21 | |||
22 | # Yocto FSBL variables | ||
23 | YAML_SERIAL_CONSOLE_STDIN:pn-fsbl-firmware ?= "psu_uart_0" | ||
24 | YAML_SERIAL_CONSOLE_STDOUT:pn-fsbl-firmware ?= "psu_uart_0" | ||
25 | |||
26 | # Yocto KERNEL Variables | ||
27 | UBOOT_ENTRYPOINT ?= "0x200000" | ||
28 | UBOOT_LOADADDRESS ?= "0x200000" | ||
29 | |||
30 | # zcu1275-zynqmp Serial Console | ||
31 | SERIAL_CONSOLES ?= "115200;ttyPS0" | ||
32 | YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200" | ||
33 | |||
34 | # Required generic machine inclusion | ||
35 | # ZCU1275 board uses ZynqMP DR device hence use soc variant based generic machine | ||
36 | # inclusion | ||
37 | require conf/machine/zynqmp-dr-generic.conf | ||
38 | |||
39 | # This eval board machine conf file uses zcu1275-zynqmp xsa as reference input. | ||
40 | # User can override with zcu1275 custom xsa using HDF_BASE and HDF_PATH variables | ||
41 | # from local.conf. | ||
42 | HDF_MACHINE = "zcu1275-zynqmp" | ||
43 | |||
44 | # KERNEL_DEVICETREE is disabled as we use board device tree from DTG to match | ||
45 | # the xsa. User can enable explicitly if required from local.conf. | ||
46 | # KERNEL_DEVICETREE = "xilinx/zynqmp-zcu1275-revB.dtb" | ||
47 | |||
48 | #### No additional settings should be after the Postamble | ||
49 | #### Postamble | ||
50 | PACKAGE_EXTRA_ARCHS:append = "${@['', 'zcu1275_zynqmp']['zcu1275-zynqmp' != '${MACHINE}']}" | ||