summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>2023-07-18 16:13:42 -0600
committerMark Hatle <mark.hatle@amd.com>2023-07-20 11:56:40 -0500
commitca01be9fda6e842753f9aab78bc4430cbdf665f5 (patch)
tree8a3e2b5d94a5d254a21a22bd5fb91ef608612cc0
parent5f973d214a9a82b8532818b7dbc73097a064ba0b (diff)
downloadmeta-xilinx-ca01be9fda6e842753f9aab78bc4430cbdf665f5.tar.gz
microblaze-generic: Update machine conf file using gen-machineconf tool
1. Update machine conf file using gen-machineconf tool by parsing latest kcu105 xsa and reorder the variables to match the gen-machineconf tool output. 2. Add axi-quad-spi as kcu105 reference xsa has this ip enabled. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r--meta-xilinx-core/conf/machine/microblaze-generic.conf21
1 files changed, 11 insertions, 10 deletions
diff --git a/meta-xilinx-core/conf/machine/microblaze-generic.conf b/meta-xilinx-core/conf/machine/microblaze-generic.conf
index ac785a17..5bf87344 100644
--- a/meta-xilinx-core/conf/machine/microblaze-generic.conf
+++ b/meta-xilinx-core/conf/machine/microblaze-generic.conf
@@ -19,10 +19,19 @@ DEFAULTTUNE ?= "microblaze"
19# defined before calling the required inclusion file else pre-expansion value 19# defined before calling the required inclusion file else pre-expansion value
20# defined in local.conf without machine override will not be reflected. 20# defined in local.conf without machine override will not be reflected.
21 21
22# Yocto Microblaze device-tree variables
23YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "axi_uartlite_0"
24YAML_MAIN_MEMORY_CONFIG:pn-device-tree ?= "DDR4_0"
25DT_PADDING_SIZE:pn-device-tree ?= "0x1000"
26DTC_FLAGS:pn-device-tree ?= ""
27XSCTH_PROC:pn-device-tree ?= "microblaze_0"
28YAML_DT_BOARD_FLAGS ?= "{BOARD kcu105}"
29
22# Yocto Microblaze FS-Boot variables 30# Yocto Microblaze FS-Boot variables
23YAML_SERIAL_CONSOLE_STDIN:pn-fs-boot ?= "axi_uartlite_0" 31YAML_SERIAL_CONSOLE_STDIN:pn-fs-boot ?= "axi_uartlite_0"
24YAML_SERIAL_CONSOLE_STDOUT:pn-fs-boot ?= "axi_uartlite_0" 32YAML_SERIAL_CONSOLE_STDOUT:pn-fs-boot ?= "axi_uartlite_0"
25YAML_MAIN_MEMORY_CONFIG:pn-fs-boot ?= "DDR4_0" 33YAML_MAIN_MEMORY_CONFIG:pn-fs-boot ?= "DDR4_0"
34YAML_FLASH_MEMORY_CONFIG:pn-fs-boot ?= "axi_quad_spi_0"
26XSCTH_PROC:pn-fs-boot ?= "microblaze_0" 35XSCTH_PROC:pn-fs-boot ?= "microblaze_0"
27 36
28# Yocto Microblaze u-boot-xlnx variables 37# Yocto Microblaze u-boot-xlnx variables
@@ -30,14 +39,6 @@ UBOOT_MACHINE ?= "microblaze-generic_defconfig"
30UBOOT_INITIAL_ENV = "" 39UBOOT_INITIAL_ENV = ""
31BOOTMODE ?= "generic.root" 40BOOTMODE ?= "generic.root"
32 41
33# Yocto Microblaze device-tree variables
34YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "axi_uartlite_0"
35YAML_MAIN_MEMORY_CONFIG:pn-device-tree ?= "DDR4_0"
36DT_PADDING_SIZE:pn-device-tree ?= "0x1000"
37DTC_FLAGS:pn-device-tree ?= ""
38XSCTH_PROC:pn-device-tree ?= "microblaze_0"
39YAML_DT_BOARD_FLAGS ?= "{BOARD kcu105}"
40
41# Yocto Microblaze KERNEL Variables 42# Yocto Microblaze KERNEL Variables
42UBOOT_ENTRYPOINT ?= "0x80000000" 43UBOOT_ENTRYPOINT ?= "0x80000000"
43UBOOT_LOADADDRESS ?= "0x80000000" 44UBOOT_LOADADDRESS ?= "0x80000000"
@@ -72,8 +73,8 @@ KERNEL_IMAGETYPES = ""
72MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "${PREFERRED_PROVIDER_virtual/dtb}" 73MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "${PREFERRED_PROVIDER_virtual/dtb}"
73 74
74IMAGE_BOOT_FILES += " \ 75IMAGE_BOOT_FILES += " \
75 ${@bb.utils.contains('PREFERRED_PROVIDER_virtual/dtb', 'device-tree', 'system.dtb', '', d)} \ 76 ${@bb.utils.contains('PREFERRED_PROVIDER_virtual/dtb', 'device-tree', 'system.dtb', '', d)} \
76 " 77 "
77 78
78EXTRA_IMAGEDEPENDS += " \ 79EXTRA_IMAGEDEPENDS += " \
79 libyaml-native \ 80 libyaml-native \