diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2024-06-06 09:40:27 -0600 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2024-06-06 11:41:43 -0600 |
| commit | 2bbe53c463daf01de661a905e08461231b6ad8f1 (patch) | |
| tree | 89a1333afb570524da6ab2b151fc9767386ece76 /meta-xilinx-bsp | |
| parent | 1601779783bfcd0da237f98b4ee23f6cbf15b669 (diff) | |
| parent | 77eba12b28e4258e1f6a8e613902c1b084a170e1 (diff) | |
| download | meta-xilinx-2bbe53c463daf01de661a905e08461231b6ad8f1.tar.gz | |
Merge remote-tracking branch 'origin/rel-v2024.1' into langdale
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-bsp')
4 files changed, 119 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/conf/machine/sp701-microblazeel.conf b/meta-xilinx-bsp/conf/machine/sp701-microblazeel.conf new file mode 100644 index 00000000..e3df1d26 --- /dev/null +++ b/meta-xilinx-bsp/conf/machine/sp701-microblazeel.conf | |||
| @@ -0,0 +1,52 @@ | |||
| 1 | #@TYPE: Machine | ||
| 2 | #@NAME: sp701-microblazeel | ||
| 3 | #@DESCRIPTION: Machine configuration for the SP701 boards. | ||
| 4 | |||
| 5 | #### Preamble | ||
| 6 | MACHINEOVERRIDES =. "${@['', 'sp701-microblazeel:']['sp701-microblazeel' !='${MACHINE}']}" | ||
| 7 | #### Regular settings follow | ||
| 8 | |||
| 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 | ||
| 14 | YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "axi_uartlite_0" | ||
| 15 | YAML_MAIN_MEMORY_CONFIG:pn-device-tree ?= "MIG_7SERIES_0" | ||
| 16 | DT_PADDING_SIZE:pn-device-tree ?= "0x1000" | ||
| 17 | DTC_FLAGS:pn-device-tree ?= "" | ||
| 18 | XSCTH_PROC:pn-device-tree ?= "microblaze_0" | ||
| 19 | YAML_DT_BOARD_FLAGS ?= "{BOARD sp701-rev1.0}" | ||
| 20 | |||
| 21 | # Yocto u-boot-xlnx variables | ||
| 22 | |||
| 23 | # Yocto FS-Boot variables | ||
| 24 | YAML_SERIAL_CONSOLE_STDIN:pn-fs-boot ?= "axi_uartlite_0" | ||
| 25 | YAML_SERIAL_CONSOLE_STDOUT:pn-fs-boot ?= "axi_uartlite_0" | ||
| 26 | YAML_MAIN_MEMORY_CONFIG:pn-fs-boot ?= "MIG_7SERIES_0" | ||
| 27 | YAML_FLASH_MEMORY_CONFIG:pn-fs-boot ?= "axi_quad_spi_0" | ||
| 28 | XSCTH_PROC:pn-fs-boot ?= "microblaze_0" | ||
| 29 | |||
| 30 | # Yocto KERNEL Variables | ||
| 31 | UBOOT_ENTRYPOINT ?= "0x80000000" | ||
| 32 | UBOOT_LOADADDRESS ?= "0x80000000" | ||
| 33 | |||
| 34 | # xilinx-sp701 Serial Console | ||
| 35 | SERIAL_CONSOLES ?= "115200;ttyUL0" | ||
| 36 | YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200" | ||
| 37 | |||
| 38 | # Set DDR Base address for u-boot-xlnx-scr variables | ||
| 39 | DDR_BASEADDR ?= "0x80000000" | ||
| 40 | SKIP_APPEND_BASEADDR ?= "0" | ||
| 41 | |||
| 42 | # Required generic machine inclusion | ||
| 43 | require conf/machine/microblaze-generic.conf | ||
| 44 | |||
| 45 | # This machine conf file uses sp701-microblazeel xsa as reference input. | ||
| 46 | # User can override with kc705 custom xsa using HDF_BASE and HDF_PATH variables | ||
| 47 | # from local.conf. | ||
| 48 | HDF_MACHINE = "sp701-microblazeel" | ||
| 49 | |||
| 50 | #### No additional settings should be after the Postamble | ||
| 51 | #### Postamble | ||
| 52 | PACKAGE_EXTRA_ARCHS:append = "${@['', ' sp701_microblazeel']['sp701-microblazeel' != '${MACHINE}']}" | ||
diff --git a/meta-xilinx-bsp/conf/machine/vck5000-versal.conf b/meta-xilinx-bsp/conf/machine/vck5000-versal.conf new file mode 100644 index 00000000..1e9125a2 --- /dev/null +++ b/meta-xilinx-bsp/conf/machine/vck5000-versal.conf | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | #@TYPE: Machine | ||
| 2 | #@NAME: vck500-versal | ||
| 3 | #@DESCRIPTION: Machine configuration for the VCK5000 evaluation board. | ||
| 4 | |||
| 5 | #### Preamble | ||
| 6 | MACHINEOVERRIDES =. "${@['', 'vck5000-versal:']['vck5000-versal' !='${MACHINE}']}" | ||
| 7 | #### Regular settings follow | ||
| 8 | |||
| 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 versal-generic.conf will be set. | ||
| 12 | |||
| 13 | # Yocto device-tree variables | ||
| 14 | YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "versal_cips_0_pspmc_0_psv_sbsauart_0" | ||
| 15 | YAML_DT_BOARD_FLAGS ?= "{BOARD versal-vck5000-reva}" | ||
| 16 | |||
| 17 | # Yocto arm-trusted-firmware(TF-A) variables | ||
| 18 | ATF_CONSOLE ?= "pl011" | ||
| 19 | TFA_BL33_LOAD ?= "0x8000000" | ||
| 20 | |||
| 21 | # Yocto PLM variables | ||
| 22 | YAML_SERIAL_CONSOLE_STDIN:pn-plm-firmware ?= "versal_cips_0_pspmc_0_psv_sbsauart_0" | ||
| 23 | YAML_SERIAL_CONSOLE_STDOUT:pn-plm-firmware ?= "versal_cips_0_pspmc_0_psv_sbsauart_0" | ||
| 24 | |||
| 25 | # Yocto KERNEL Variables | ||
| 26 | UBOOT_ENTRYPOINT ?= "0x200000" | ||
| 27 | UBOOT_LOADADDRESS ?= "0x200000" | ||
| 28 | |||
| 29 | # vck5000-versal Serial Console | ||
| 30 | SERIAL_CONSOLES ?= "115200;ttyAMA0" | ||
| 31 | YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200" | ||
| 32 | |||
| 33 | # Required generic machine inclusion | ||
| 34 | # VCK5000 board uses Versal AI Core device hence use soc variant based generic | ||
| 35 | # machine inclusion | ||
| 36 | require conf/machine/versal-ai-core-generic.conf | ||
| 37 | |||
| 38 | # This machine conf file uses vck5000-versal xsa as reference input. | ||
| 39 | # User can override with vck5000 custom xsa using HDF_BASE and HDF_PATH variables | ||
| 40 | # from local.conf. | ||
| 41 | HDF_MACHINE = "vck5000-versal" | ||
| 42 | |||
| 43 | #### No additional settings should be after the Postamble | ||
| 44 | #### Postamble | ||
| 45 | PACKAGE_EXTRA_ARCHS:append = "${@['', ' vck5000_versal']['vck5000-versal' != '${MACHINE}']}" | ||
diff --git a/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bbappend b/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bbappend index fa4816af..7acda75e 100644 --- a/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bbappend +++ b/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bbappend | |||
| @@ -5,3 +5,5 @@ COMPATIBLE_MACHINE:qemu-zynq7 = ".*" | |||
| 5 | SRC_URI:append:qemu-zynq7 = " file://qemu-zynq7.dts" | 5 | SRC_URI:append:qemu-zynq7 = " file://qemu-zynq7.dts" |
| 6 | 6 | ||
| 7 | EXTRA_OVERLAYS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'provencore', ' pnc.dtsi', '', d)}" | 7 | EXTRA_OVERLAYS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'provencore', ' pnc.dtsi', '', d)}" |
| 8 | |||
| 9 | EXTRA_OVERLAYS:append:vek280-versal = " system-vek280.dtsi" | ||
diff --git a/meta-xilinx-bsp/recipes-bsp/device-tree/files/system-vek280.dtsi b/meta-xilinx-bsp/recipes-bsp/device-tree/files/system-vek280.dtsi new file mode 100644 index 00000000..0d2ca87d --- /dev/null +++ b/meta-xilinx-bsp/recipes-bsp/device-tree/files/system-vek280.dtsi | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | / { | ||
| 2 | /* Reserve the bad block DDR memory for linux to not touch it, refer:CR-1143646 */ | ||
| 3 | reserved-memory { | ||
| 4 | #address-cells = <2>; | ||
| 5 | #size-cells = <2>; | ||
| 6 | ranges; | ||
| 7 | pl_ddr: buffer@0 | ||
| 8 | { | ||
| 9 | no-map; | ||
| 10 | reg = <0x08 0x00 0x00 0x80000000>; | ||
| 11 | }; | ||
| 12 | |||
| 13 | lpddr_memory: buffer@1 | ||
| 14 | { | ||
| 15 | no-map; | ||
| 16 | reg = <0x500 0x0 0x2 0x0>; | ||
| 17 | }; | ||
| 18 | |||
| 19 | }; | ||
| 20 | }; | ||
