diff options
| author | Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> | 2023-07-18 16:13:42 -0600 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2023-07-20 11:56:40 -0500 |
| commit | ca01be9fda6e842753f9aab78bc4430cbdf665f5 (patch) | |
| tree | 8a3e2b5d94a5d254a21a22bd5fb91ef608612cc0 /meta-xilinx-core/conf | |
| parent | 5f973d214a9a82b8532818b7dbc73097a064ba0b (diff) | |
| download | meta-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>
Diffstat (limited to 'meta-xilinx-core/conf')
| -rw-r--r-- | meta-xilinx-core/conf/machine/microblaze-generic.conf | 21 |
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 | ||
| 23 | YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "axi_uartlite_0" | ||
| 24 | YAML_MAIN_MEMORY_CONFIG:pn-device-tree ?= "DDR4_0" | ||
| 25 | DT_PADDING_SIZE:pn-device-tree ?= "0x1000" | ||
| 26 | DTC_FLAGS:pn-device-tree ?= "" | ||
| 27 | XSCTH_PROC:pn-device-tree ?= "microblaze_0" | ||
| 28 | YAML_DT_BOARD_FLAGS ?= "{BOARD kcu105}" | ||
| 29 | |||
| 22 | # Yocto Microblaze FS-Boot variables | 30 | # Yocto Microblaze FS-Boot variables |
| 23 | YAML_SERIAL_CONSOLE_STDIN:pn-fs-boot ?= "axi_uartlite_0" | 31 | YAML_SERIAL_CONSOLE_STDIN:pn-fs-boot ?= "axi_uartlite_0" |
| 24 | YAML_SERIAL_CONSOLE_STDOUT:pn-fs-boot ?= "axi_uartlite_0" | 32 | YAML_SERIAL_CONSOLE_STDOUT:pn-fs-boot ?= "axi_uartlite_0" |
| 25 | YAML_MAIN_MEMORY_CONFIG:pn-fs-boot ?= "DDR4_0" | 33 | YAML_MAIN_MEMORY_CONFIG:pn-fs-boot ?= "DDR4_0" |
| 34 | YAML_FLASH_MEMORY_CONFIG:pn-fs-boot ?= "axi_quad_spi_0" | ||
| 26 | XSCTH_PROC:pn-fs-boot ?= "microblaze_0" | 35 | XSCTH_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" | |||
| 30 | UBOOT_INITIAL_ENV = "" | 39 | UBOOT_INITIAL_ENV = "" |
| 31 | BOOTMODE ?= "generic.root" | 40 | BOOTMODE ?= "generic.root" |
| 32 | 41 | ||
| 33 | # Yocto Microblaze device-tree variables | ||
| 34 | YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "axi_uartlite_0" | ||
| 35 | YAML_MAIN_MEMORY_CONFIG:pn-device-tree ?= "DDR4_0" | ||
| 36 | DT_PADDING_SIZE:pn-device-tree ?= "0x1000" | ||
| 37 | DTC_FLAGS:pn-device-tree ?= "" | ||
| 38 | XSCTH_PROC:pn-device-tree ?= "microblaze_0" | ||
| 39 | YAML_DT_BOARD_FLAGS ?= "{BOARD kcu105}" | ||
| 40 | |||
| 41 | # Yocto Microblaze KERNEL Variables | 42 | # Yocto Microblaze KERNEL Variables |
| 42 | UBOOT_ENTRYPOINT ?= "0x80000000" | 43 | UBOOT_ENTRYPOINT ?= "0x80000000" |
| 43 | UBOOT_LOADADDRESS ?= "0x80000000" | 44 | UBOOT_LOADADDRESS ?= "0x80000000" |
| @@ -72,8 +73,8 @@ KERNEL_IMAGETYPES = "" | |||
| 72 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "${PREFERRED_PROVIDER_virtual/dtb}" | 73 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "${PREFERRED_PROVIDER_virtual/dtb}" |
| 73 | 74 | ||
| 74 | IMAGE_BOOT_FILES += " \ | 75 | IMAGE_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 | ||
| 78 | EXTRA_IMAGEDEPENDS += " \ | 79 | EXTRA_IMAGEDEPENDS += " \ |
| 79 | libyaml-native \ | 80 | libyaml-native \ |
