diff options
author | Mark Hatle <mark.hatle@amd.com> | 2024-08-17 15:09:17 -0600 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2024-09-13 07:13:30 -0600 |
commit | 8e79e44a070c51a19ce815ec3f7069f9538276cc (patch) | |
tree | 0f30f701e60d38384c10006123f2dd024a560490 /meta-xilinx-core/conf | |
parent | d61b27238a4b5bc0b2c22b0152f3be193a171405 (diff) | |
download | meta-xilinx-8e79e44a070c51a19ce815ec3f7069f9538276cc.tar.gz |
meta-xilinx-core: Move generic machines to be firmware-less
Generic machines no longer depend on firmware (ESW) components. Thus they
will now build a full Linux system, where possible, without XSCT or SDT
modes.
It is up to the specific machine.conf files to enable the correct build
flow and that will enable the necessary firmware dependencies for the SoC.
This also means HDF_MACHINES is no longer required.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core/conf')
6 files changed, 0 insertions, 93 deletions
diff --git a/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc b/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc index e7ef39a3..cf890a51 100644 --- a/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc +++ b/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc | |||
@@ -1,5 +1,3 @@ | |||
1 | # HDF_MACHINE should be set _AFTER_ this has been loaded | ||
2 | HDF_MACHINE_PRIOR := "${HDF_MACHINE}" | ||
3 | INHERIT += "xilinx-vars" | 1 | INHERIT += "xilinx-vars" |
4 | INHERIT += "xilinx-deprecated" | 2 | INHERIT += "xilinx-deprecated" |
5 | 3 | ||
diff --git a/meta-xilinx-core/conf/machine/microblaze-generic.conf b/meta-xilinx-core/conf/machine/microblaze-generic.conf index 7beb6a7e..39059511 100644 --- a/meta-xilinx-core/conf/machine/microblaze-generic.conf +++ b/meta-xilinx-core/conf/machine/microblaze-generic.conf | |||
@@ -14,21 +14,6 @@ DEFAULTTUNE ?= "microblaze" | |||
14 | # defined before calling the required inclusion file else pre-expansion value | 14 | # defined before calling the required inclusion file else pre-expansion value |
15 | # defined in local.conf without machine override will not be reflected. | 15 | # defined in local.conf without machine override will not be reflected. |
16 | 16 | ||
17 | # Yocto Microblaze device-tree variables | ||
18 | YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "axi_uartlite_0" | ||
19 | YAML_MAIN_MEMORY_CONFIG:pn-device-tree ?= "DDR4_0" | ||
20 | DT_PADDING_SIZE:pn-device-tree ?= "0x1000" | ||
21 | DTC_FLAGS:pn-device-tree ?= "" | ||
22 | XSCTH_PROC:pn-device-tree ?= "microblaze_0" | ||
23 | YAML_DT_BOARD_FLAGS ?= "{BOARD kcu105}" | ||
24 | |||
25 | # Yocto Microblaze FS-Boot variables | ||
26 | YAML_SERIAL_CONSOLE_STDIN:pn-fs-boot ?= "axi_uartlite_0" | ||
27 | YAML_SERIAL_CONSOLE_STDOUT:pn-fs-boot ?= "axi_uartlite_0" | ||
28 | YAML_MAIN_MEMORY_CONFIG:pn-fs-boot ?= "DDR4_0" | ||
29 | YAML_FLASH_MEMORY_CONFIG:pn-fs-boot ?= "axi_quad_spi_0" | ||
30 | XSCTH_PROC:pn-fs-boot ?= "microblaze_0" | ||
31 | |||
32 | # Yocto Microblaze u-boot-xlnx variables | 17 | # Yocto Microblaze u-boot-xlnx variables |
33 | UBOOT_MACHINE ?= "microblaze-generic_defconfig" | 18 | UBOOT_MACHINE ?= "microblaze-generic_defconfig" |
34 | UBOOT_INITIAL_ENV = "" | 19 | UBOOT_INITIAL_ENV = "" |
@@ -41,7 +26,6 @@ KERNEL_EXTRA_ARGS += "UIMAGE_LOADADDR=${UBOOT_ENTRYPOINT}" | |||
41 | 26 | ||
42 | # Microblaze Serial Console settings | 27 | # Microblaze Serial Console settings |
43 | SERIAL_CONSOLES ?= "115200;ttyUL0" | 28 | SERIAL_CONSOLES ?= "115200;ttyUL0" |
44 | YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200" | ||
45 | 29 | ||
46 | require conf/machine/include/soc-tune-include.inc | 30 | require conf/machine/include/soc-tune-include.inc |
47 | require conf/machine/include/machine-xilinx-default.inc | 31 | require conf/machine/include/machine-xilinx-default.inc |
@@ -55,11 +39,6 @@ MB_MACHINE_ARCH = "${@[d.getVar('TUNE_PKGARCH'), d.getVar('TUNE_PKGARCH') + '-ge | |||
55 | 39 | ||
56 | MACHINE_ARCH = "${@['${MB_MACHINE_ARCH}', '${DEF_MACHINE_ARCH}']['microblaze-generic' != "${MACHINE}"]}" | 40 | MACHINE_ARCH = "${@['${MB_MACHINE_ARCH}', '${DEF_MACHINE_ARCH}']['microblaze-generic' != "${MACHINE}"]}" |
57 | 41 | ||
58 | # microblaze-generic.conf uses kcu105-microblazeel xsa as reference input. | ||
59 | # User can override with custom xsa using HDF_BASE and HDF_PATH variables from | ||
60 | # local.conf. | ||
61 | HDF_MACHINE = "kcu105-microblazeel" | ||
62 | |||
63 | MACHINE_FEATURES = "" | 42 | MACHINE_FEATURES = "" |
64 | 43 | ||
65 | KERNEL_IMAGETYPE ?= "linux.bin.ub" | 44 | KERNEL_IMAGETYPE ?= "linux.bin.ub" |
diff --git a/meta-xilinx-core/conf/machine/versal-generic.conf b/meta-xilinx-core/conf/machine/versal-generic.conf index 67c145c4..70f5bbd3 100644 --- a/meta-xilinx-core/conf/machine/versal-generic.conf +++ b/meta-xilinx-core/conf/machine/versal-generic.conf | |||
@@ -10,12 +10,6 @@ MACHINEOVERRIDES =. "${@['', 'versal-generic:']['versal-generic' != '${MACHINE}' | |||
10 | # defined before calling the required inclusion file else pre-expansion value | 10 | # defined before calling the required inclusion file else pre-expansion value |
11 | # defined in local.conf without machine override will not be reflected. | 11 | # defined in local.conf without machine override will not be reflected. |
12 | 12 | ||
13 | # Yocto Versal device-tree variables | ||
14 | YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "CIPS_0_pspmc_0_psv_sbsauart_0" | ||
15 | DT_PADDING_SIZE:pn-device-tree ?= "0x1000" | ||
16 | DTC_FLAGS:pn-device-tree ?= "-@" | ||
17 | YAML_DT_BOARD_FLAGS ?= "{BOARD versal-vck190-reva-x-ebm-01-reva}" | ||
18 | |||
19 | # Yocto Versal u-boot-xlnx variables | 13 | # Yocto Versal u-boot-xlnx variables |
20 | UBOOT_MACHINE ?= "xilinx_versal_virt_defconfig" | 14 | UBOOT_MACHINE ?= "xilinx_versal_virt_defconfig" |
21 | BOOTMODE ?= "generic.root" | 15 | BOOTMODE ?= "generic.root" |
@@ -23,27 +17,17 @@ BOOTMODE ?= "generic.root" | |||
23 | # Yocto Versal arm-trusted-firmware(TF-A) variables | 17 | # Yocto Versal arm-trusted-firmware(TF-A) variables |
24 | TFA_BL33_LOAD ?= "0x8000000" | 18 | TFA_BL33_LOAD ?= "0x8000000" |
25 | 19 | ||
26 | # Yocto Versal PLM variables | ||
27 | YAML_SERIAL_CONSOLE_STDIN:pn-plm-firmware ?= "CIPS_0_pspmc_0_psv_sbsauart_0" | ||
28 | YAML_SERIAL_CONSOLE_STDOUT:pn-plm-firmware ?= "CIPS_0_pspmc_0_psv_sbsauart_0" | ||
29 | |||
30 | # Yocto Versal KERNEL Variables | 20 | # Yocto Versal KERNEL Variables |
31 | UBOOT_ENTRYPOINT ?= "0x200000" | 21 | UBOOT_ENTRYPOINT ?= "0x200000" |
32 | UBOOT_LOADADDRESS ?= "0x200000" | 22 | UBOOT_LOADADDRESS ?= "0x200000" |
33 | 23 | ||
34 | # Versal Serial Console | 24 | # Versal Serial Console |
35 | SERIAL_CONSOLES ?= "115200;ttyAMA0" | 25 | SERIAL_CONSOLES ?= "115200;ttyAMA0" |
36 | YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200" | ||
37 | 26 | ||
38 | require conf/machine/include/soc-versal.inc | 27 | require conf/machine/include/soc-versal.inc |
39 | require conf/machine/include/machine-xilinx-default.inc | 28 | require conf/machine/include/machine-xilinx-default.inc |
40 | require conf/machine/include/machine-xilinx-qemu.inc | 29 | require conf/machine/include/machine-xilinx-qemu.inc |
41 | 30 | ||
42 | # versal-generic.conf uses vck190-versal xsa as reference input. | ||
43 | # User can override with custom xsa using HDF_BASE and HDF_PATH variables from | ||
44 | # local.conf. | ||
45 | HDF_MACHINE = "vck190-versal" | ||
46 | |||
47 | MACHINE_FEATURES += "rtc ext2 ext3 vfat usbhost" | 31 | MACHINE_FEATURES += "rtc ext2 ext3 vfat usbhost" |
48 | 32 | ||
49 | # Default SD image build onfiguration, use qemu-sd to pad | 33 | # Default SD image build onfiguration, use qemu-sd to pad |
diff --git a/meta-xilinx-core/conf/machine/versal-net-generic.conf b/meta-xilinx-core/conf/machine/versal-net-generic.conf index 849a5a1f..7ea5a00f 100644 --- a/meta-xilinx-core/conf/machine/versal-net-generic.conf +++ b/meta-xilinx-core/conf/machine/versal-net-generic.conf | |||
@@ -10,12 +10,6 @@ MACHINEOVERRIDES =. "${@['', 'versal-net-generic:']['versal-net-generic' != '${M | |||
10 | # defined before calling the required inclusion file else pre-expansion value | 10 | # defined before calling the required inclusion file else pre-expansion value |
11 | # defined in local.conf without machine override will not be reflected. | 11 | # defined in local.conf without machine override will not be reflected. |
12 | 12 | ||
13 | # Yocto Versal device-tree variables | ||
14 | YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "psx_wizard_0_psxl_0_psx_sbsauart_0" | ||
15 | DT_PADDING_SIZE:pn-device-tree ?= "0x1000" | ||
16 | DTC_FLAGS:pn-device-tree ?= "-@" | ||
17 | YAML_DT_BOARD_FLAGS ?= "{BOARD versal-net-vn-p-b2197-00-reva}" | ||
18 | |||
19 | # Yocto Versal u-boot-xlnx variables | 13 | # Yocto Versal u-boot-xlnx variables |
20 | UBOOT_MACHINE ?= "xilinx_versal_net_virt_defconfig" | 14 | UBOOT_MACHINE ?= "xilinx_versal_net_virt_defconfig" |
21 | BOOTMODE ?= "generic.root" | 15 | BOOTMODE ?= "generic.root" |
@@ -23,27 +17,17 @@ BOOTMODE ?= "generic.root" | |||
23 | # Yocto Versal arm-trusted-firmware(TF-A) variables | 17 | # Yocto Versal arm-trusted-firmware(TF-A) variables |
24 | TFA_BL33_LOAD ?= "0x8000000" | 18 | TFA_BL33_LOAD ?= "0x8000000" |
25 | 19 | ||
26 | # Yocto Versal PLM variables | ||
27 | YAML_SERIAL_CONSOLE_STDIN:pn-plm-firmware ?= "psx_wizard_0_psxl_0_psx_sbsauart_0" | ||
28 | YAML_SERIAL_CONSOLE_STDOUT:pn-plm-firmware ?= "psx_wizard_0_psxl_0_psx_sbsauart_0" | ||
29 | |||
30 | # Yocto Versal KERNEL Variables | 20 | # Yocto Versal KERNEL Variables |
31 | UBOOT_ENTRYPOINT ?= "0x200000" | 21 | UBOOT_ENTRYPOINT ?= "0x200000" |
32 | UBOOT_LOADADDRESS ?= "0x200000" | 22 | UBOOT_LOADADDRESS ?= "0x200000" |
33 | 23 | ||
34 | # Versal Serial Console | 24 | # Versal Serial Console |
35 | SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;ttyAMA1" | 25 | SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;ttyAMA1" |
36 | YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200" | ||
37 | 26 | ||
38 | require conf/machine/include/soc-versal-net.inc | 27 | require conf/machine/include/soc-versal-net.inc |
39 | require conf/machine/include/machine-xilinx-default.inc | 28 | require conf/machine/include/machine-xilinx-default.inc |
40 | require conf/machine/include/machine-xilinx-qemu.inc | 29 | require conf/machine/include/machine-xilinx-qemu.inc |
41 | 30 | ||
42 | # versal-net-generic.conf uses a qemu only xsa as reference input. | ||
43 | # User can override with custom xsa using HDF_BASE and HDF_PATH variables from | ||
44 | # local.conf. | ||
45 | HDF_MACHINE = "versal-net-generic" | ||
46 | |||
47 | MACHINE_FEATURES += "rtc ext2 ext3 vfat usbhost" | 31 | MACHINE_FEATURES += "rtc ext2 ext3 vfat usbhost" |
48 | 32 | ||
49 | # Default SD image build onfiguration, use qemu-sd to pad | 33 | # Default SD image build onfiguration, use qemu-sd to pad |
diff --git a/meta-xilinx-core/conf/machine/zynq-generic.conf b/meta-xilinx-core/conf/machine/zynq-generic.conf index f7eef778..8442e4e3 100644 --- a/meta-xilinx-core/conf/machine/zynq-generic.conf +++ b/meta-xilinx-core/conf/machine/zynq-generic.conf | |||
@@ -10,21 +10,10 @@ MACHINEOVERRIDES =. "${@['', 'zynq-generic:']['zynq-generic' != '${MACHINE}']}" | |||
10 | # defined before calling the required inclusion file else pre-expansion value | 10 | # defined before calling the required inclusion file else pre-expansion value |
11 | # defined in local.conf without machine override will not be reflected. | 11 | # defined in local.conf without machine override will not be reflected. |
12 | 12 | ||
13 | # Yocto Zynq-7000 device-tree variables | ||
14 | YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "ps7_uart_1" | ||
15 | YAML_MAIN_MEMORY_CONFIG:pn-device-tree ?= "PS7_DDR_0" | ||
16 | DT_PADDING_SIZE:pn-device-tree ?= "0x1000" | ||
17 | DTC_FLAGS:pn-device-tree ?= "-@" | ||
18 | YAML_DT_BOARD_FLAGS ?= "{BOARD zc702}" | ||
19 | |||
20 | # Yocto Zynq-7000 u-boot-xlnx variables | 13 | # Yocto Zynq-7000 u-boot-xlnx variables |
21 | UBOOT_MACHINE ?= "xilinx_zynq_virt_defconfig" | 14 | UBOOT_MACHINE ?= "xilinx_zynq_virt_defconfig" |
22 | BOOTMODE ?= "generic.root" | 15 | BOOTMODE ?= "generic.root" |
23 | 16 | ||
24 | # Yocto Zynq-7000 FSBL variables | ||
25 | YAML_SERIAL_CONSOLE_STDIN:pn-fsbl-firmware ?= "ps7_uart_1" | ||
26 | YAML_SERIAL_CONSOLE_STDOUT:pn-fsbl-firmware ?= "ps7_uart_1" | ||
27 | |||
28 | # Yocto KERNEL Variables | 17 | # Yocto KERNEL Variables |
29 | UBOOT_ENTRYPOINT ?= "0x200000" | 18 | UBOOT_ENTRYPOINT ?= "0x200000" |
30 | UBOOT_LOADADDRESS ?= "0x200000" | 19 | UBOOT_LOADADDRESS ?= "0x200000" |
@@ -32,17 +21,11 @@ KERNEL_EXTRA_ARGS += "UIMAGE_LOADADDR=${UBOOT_ENTRYPOINT}" | |||
32 | 21 | ||
33 | # Zynq-7000 Serial Console settings | 22 | # Zynq-7000 Serial Console settings |
34 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 23 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
35 | YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200" | ||
36 | 24 | ||
37 | require conf/machine/include/soc-zynq.inc | 25 | require conf/machine/include/soc-zynq.inc |
38 | require conf/machine/include/machine-xilinx-default.inc | 26 | require conf/machine/include/machine-xilinx-default.inc |
39 | require conf/machine/include/machine-xilinx-qemu.inc | 27 | require conf/machine/include/machine-xilinx-qemu.inc |
40 | 28 | ||
41 | # zynq-generic.conf uses zc702-zynq7 xsa as reference input. | ||
42 | # User can override with custom xsa using HDF_BASE and HDF_PATH variables from | ||
43 | # local.conf. | ||
44 | HDF_MACHINE = "zc702-zynq7" | ||
45 | |||
46 | MACHINE_FEATURES += "rtc ext2 ext3 vfat usbhost usbgadget" | 29 | MACHINE_FEATURES += "rtc ext2 ext3 vfat usbhost usbgadget" |
47 | 30 | ||
48 | EXTRA_IMAGEDEPENDS += " \ | 31 | EXTRA_IMAGEDEPENDS += " \ |
diff --git a/meta-xilinx-core/conf/machine/zynqmp-generic.conf b/meta-xilinx-core/conf/machine/zynqmp-generic.conf index a64e7348..6aa24af8 100644 --- a/meta-xilinx-core/conf/machine/zynqmp-generic.conf +++ b/meta-xilinx-core/conf/machine/zynqmp-generic.conf | |||
@@ -10,13 +10,6 @@ MACHINEOVERRIDES =. "${@['', 'zynqmp-generic:']['zynqmp-generic' != '${MACHINE}' | |||
10 | # defined before calling the required inclusion file else pre-expansion value | 10 | # defined before calling the required inclusion file else pre-expansion value |
11 | # defined in local.conf without machine override will not be reflected. | 11 | # defined in local.conf without machine override will not be reflected. |
12 | 12 | ||
13 | # Yocto device-tree variables | ||
14 | YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "psu_uart_0" | ||
15 | YAML_MAIN_MEMORY_CONFIG:pn-device-tree ?= "PSU_DDR_0" | ||
16 | DT_PADDING_SIZE:pn-device-tree ?= "0x1000" | ||
17 | DTC_FLAGS:pn-device-tree ?= "-@" | ||
18 | YAML_DT_BOARD_FLAGS ?= "{BOARD zcu102-rev1.0}" | ||
19 | |||
20 | # Yocto ZynqMP u-boot-xlnx variables | 13 | # Yocto ZynqMP u-boot-xlnx variables |
21 | UBOOT_MACHINE ?= "xilinx_zynqmp_virt_defconfig" | 14 | UBOOT_MACHINE ?= "xilinx_zynqmp_virt_defconfig" |
22 | BOOTMODE ?= "generic.root" | 15 | BOOTMODE ?= "generic.root" |
@@ -30,31 +23,17 @@ SPL_BINARY ?= "" | |||
30 | # Yocto ZynqMP arm-trusted-firmware(TF-A) variables | 23 | # Yocto ZynqMP arm-trusted-firmware(TF-A) variables |
31 | TFA_BL33_LOAD ?= "0x8000000" | 24 | TFA_BL33_LOAD ?= "0x8000000" |
32 | 25 | ||
33 | # Yocto ZynqMP PMUFW variables | ||
34 | YAML_SERIAL_CONSOLE_STDIN:pn-pmu-firmware ?= "psu_uart_0" | ||
35 | YAML_SERIAL_CONSOLE_STDOUT:pn-pmu-firmware ?= "psu_uart_0" | ||
36 | |||
37 | # Yocto ZynqMP FSBL variables | ||
38 | YAML_SERIAL_CONSOLE_STDIN:pn-fsbl-firmware ?= "psu_uart_0" | ||
39 | YAML_SERIAL_CONSOLE_STDOUT:pn-fsbl-firmware ?= "psu_uart_0" | ||
40 | |||
41 | # Yocto ZynqMP KERNEL Variables | 26 | # Yocto ZynqMP KERNEL Variables |
42 | UBOOT_ENTRYPOINT ?= "0x200000" | 27 | UBOOT_ENTRYPOINT ?= "0x200000" |
43 | UBOOT_LOADADDRESS ?= "0x200000" | 28 | UBOOT_LOADADDRESS ?= "0x200000" |
44 | 29 | ||
45 | # ZynqMP Serial Console | 30 | # ZynqMP Serial Console |
46 | SERIAL_CONSOLES ?= "115200;ttyPS0 115200;ttyPS1" | 31 | SERIAL_CONSOLES ?= "115200;ttyPS0 115200;ttyPS1" |
47 | YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200" | ||
48 | 32 | ||
49 | require conf/machine/include/soc-zynqmp.inc | 33 | require conf/machine/include/soc-zynqmp.inc |
50 | require conf/machine/include/machine-xilinx-default.inc | 34 | require conf/machine/include/machine-xilinx-default.inc |
51 | require conf/machine/include/machine-xilinx-qemu.inc | 35 | require conf/machine/include/machine-xilinx-qemu.inc |
52 | 36 | ||
53 | # zynqmp-generic.conf uses zcu102-zynqmp xsa as reference input. | ||
54 | # User can override with custom xsa using HDF_BASE and HDF_PATH variables from | ||
55 | # local.conf. | ||
56 | HDF_MACHINE = "zcu102-zynqmp" | ||
57 | |||
58 | # Machine features must result in a superset | 37 | # Machine features must result in a superset |
59 | # Basic features: | 38 | # Basic features: |
60 | MACHINE_FEATURES += "rtc ext2 ext3 vfat usbhost usbgadget wifi bluetooth" | 39 | MACHINE_FEATURES += "rtc ext2 ext3 vfat usbhost usbgadget wifi bluetooth" |