summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp/conf/machine
diff options
context:
space:
mode:
authorSandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>2023-01-12 15:33:01 -0700
committerMark Hatle <mark.hatle@amd.com>2023-04-10 09:03:22 -0700
commite053aff1585e91eeefd14df2af7e30a266d2cec5 (patch)
tree7e1abaf7d85fe8177873e8b5edf8cd3dd20a4f2b /meta-xilinx-bsp/conf/machine
parent84e209dfca2fd72d8ebc44a4c4a9faba5671d159 (diff)
downloadmeta-xilinx-e053aff1585e91eeefd14df2af7e30a266d2cec5.tar.gz
microblazeel: Update kc705 machine conf file using gen-machineconf tool
1. Update below microblazeel eval board machine conf file using gen-machineconf tool by parsing respective xsa. 2. Move variables which changes based on xsa before required inclusion file to handle pre-expansion values. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> 3. Remove kc705-bitstream, use standard bitstream-extraction now Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-bsp/conf/machine')
-rw-r--r--meta-xilinx-bsp/conf/machine/kc705-microblazeel.conf50
1 files changed, 43 insertions, 7 deletions
diff --git a/meta-xilinx-bsp/conf/machine/kc705-microblazeel.conf b/meta-xilinx-bsp/conf/machine/kc705-microblazeel.conf
index fa80b568..d312c07f 100644
--- a/meta-xilinx-bsp/conf/machine/kc705-microblazeel.conf
+++ b/meta-xilinx-bsp/conf/machine/kc705-microblazeel.conf
@@ -1,14 +1,50 @@
1#@TYPE: Machine 1#@TYPE: Machine
2#@NAME: kc705-microblazeel 2#@NAME: kc705-microblazeel
3#@DESCRIPTION: Machine support for Xilinx KC705 Embedded Kit. 3#@DESCRIPTION: Machine configuration for the KC705 evaluation board.
4#
5 4
6TUNE_FEATURES:tune-microblaze ?= "microblaze v11.0 barrel-shift reorder pattern-compare multiply-high divide-hard" 5#### Preamble
6MACHINEOVERRIDES =. "${@['', 'kc705-microblazeel:']['kc705-microblazeel' !='${MACHINE}']}"
7#### Regular settings follow
7 8
8require conf/machine/microblaze-generic.conf 9# Variables that changes based on hw design or board specific requirement must be
10# defined before calling the required inclusion file else pre-expansion value
11# defined in microblazeel-generic.conf will be set.
12
13# Yocto device-tree variables
14YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "axi_uartlite_0"
15YAML_MAIN_MEMORY_CONFIG:pn-device-tree ?= "MIG_7SERIES_0"
16DT_PADDING_SIZE:pn-device-tree ?= "0x1000"
17DTC_FLAGS:pn-device-tree ?= ""
18XSCTH_PROC:microblaze:pn-device-tree ?= "microblaze_0"
19YAML_DT_BOARD_FLAGS ?= "{BOARD template}"
20
21# Yocto FS-Boot variables
22YAML_SERIAL_CONSOLE_STDIN:pn-fs-boot ?= "axi_uartlite_0"
23YAML_SERIAL_CONSOLE_STDOUT:pn-fs-boot ?= "axi_uartlite_0"
24YAML_MAIN_MEMORY_CONFIG:pn-fs-boot ?= "MIG_7SERIES_0"
25YAML_FLASH_MEMORY_CONFIG:pn-fs-boot ?= "axi_emc_0"
26XSCTH_PROC:pn-fs-boot ?= "microblaze_0"
27
28# Yocto KERNEL Variables
29UBOOT_ENTRYPOINT ?= "0x80000000"
30UBOOT_LOADADDRESS ?= "0x80000000"
9 31
10USE_VT = "" 32# Set DDR Base address for u-boot-xlnx-scr variables
33DDR_BASEADDR ?= "0x80000000"
34SKIP_APPEND_BASEADDR ?= "0"
35
36# kc705-microblazeel Serial Console
37SERIAL_CONSOLES ?= "115200;ttyUL0"
38YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200"
39
40# Required generic machine inclusion
41require conf/machine/microblaze-generic.conf
11 42
12MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" 43# This machine conf file uses kc705-microblazeel xsa as reference input.
44# User can override with kc705 custom xsa using HDF_BASE and HDF_PATH variables
45# from local.conf.
46HDF_MACHINE = "kc705-microblazeel"
13 47
14EXTRA_IMAGEDEPENDS += "virtual/bitstream virtual/bootloader" 48#### No additional settings should be after the Postamble
49#### Postamble
50PACKAGE_EXTRA_ARCHS:append = "${@['', 'kc705_microblazeel']['kc705-microblazeel' != '${MACHINE}']}"