diff options
author | Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> | 2023-07-18 16:13:41 -0600 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2023-07-20 11:56:40 -0500 |
commit | 5f973d214a9a82b8532818b7dbc73097a064ba0b (patch) | |
tree | 1aeee545202db8ef38e407f075cbdeb261917828 /meta-xilinx-core/conf | |
parent | 74b1f643806f2e8462f39561c24926781532ae56 (diff) | |
download | meta-xilinx-5f973d214a9a82b8532818b7dbc73097a064ba0b.tar.gz |
machine: Add SERIAL_CONSOLES_CHECK for sysvinit only
SERIAL_CONSOLES_CHECK is supported only for sysvinit and default INIT
Manager is systemd, hence move this variable from machine conf files
to machine-xilinx-default inclusion and set only if DISTRO_FEATURES is
sysvinit.
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')
5 files changed, 3 insertions, 4 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 4a4384a1..16aa1316 100644 --- a/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc +++ b/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc | |||
@@ -128,3 +128,6 @@ def get_default_image_boot_files(d): | |||
128 | XSERVER_EXT ?= "" | 128 | XSERVER_EXT ?= "" |
129 | 129 | ||
130 | FPGA_MNGR_RECONFIG_ENABLE ?= "1" | 130 | FPGA_MNGR_RECONFIG_ENABLE ?= "1" |
131 | |||
132 | # This variable is supported only with SysVinit. | ||
133 | SERIAL_CONSOLES_CHECK = "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '${SERIAL_CONSOLES}', '', d)}" | ||
diff --git a/meta-xilinx-core/conf/machine/microblaze-generic.conf b/meta-xilinx-core/conf/machine/microblaze-generic.conf index 9b811aa5..ac785a17 100644 --- a/meta-xilinx-core/conf/machine/microblaze-generic.conf +++ b/meta-xilinx-core/conf/machine/microblaze-generic.conf | |||
@@ -45,7 +45,6 @@ KERNEL_EXTRA_ARGS += "UIMAGE_LOADADDR=${UBOOT_ENTRYPOINT}" | |||
45 | 45 | ||
46 | # Microblaze Serial Console settings | 46 | # Microblaze Serial Console settings |
47 | SERIAL_CONSOLES ?= "115200;ttyUL0" | 47 | SERIAL_CONSOLES ?= "115200;ttyUL0" |
48 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
49 | YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200" | 48 | YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200" |
50 | 49 | ||
51 | require conf/machine/include/soc-tune-include.inc | 50 | require conf/machine/include/soc-tune-include.inc |
diff --git a/meta-xilinx-core/conf/machine/versal-generic.conf b/meta-xilinx-core/conf/machine/versal-generic.conf index 3bf38b23..f87dc140 100644 --- a/meta-xilinx-core/conf/machine/versal-generic.conf +++ b/meta-xilinx-core/conf/machine/versal-generic.conf | |||
@@ -33,7 +33,6 @@ UBOOT_LOADADDRESS ?= "0x200000" | |||
33 | 33 | ||
34 | # Versal Serial Console | 34 | # Versal Serial Console |
35 | SERIAL_CONSOLES ?= "115200;ttyAMA0" | 35 | SERIAL_CONSOLES ?= "115200;ttyAMA0" |
36 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
37 | YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200" | 36 | YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200" |
38 | 37 | ||
39 | require conf/machine/include/soc-versal.inc | 38 | require conf/machine/include/soc-versal.inc |
diff --git a/meta-xilinx-core/conf/machine/zynq-generic.conf b/meta-xilinx-core/conf/machine/zynq-generic.conf index 0409e4ba..e97be2ff 100644 --- a/meta-xilinx-core/conf/machine/zynq-generic.conf +++ b/meta-xilinx-core/conf/machine/zynq-generic.conf | |||
@@ -32,7 +32,6 @@ KERNEL_EXTRA_ARGS += "UIMAGE_LOADADDR=${UBOOT_ENTRYPOINT}" | |||
32 | 32 | ||
33 | # Zynq-7000 Serial Console settings | 33 | # Zynq-7000 Serial Console settings |
34 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 34 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
35 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
36 | YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200" | 35 | YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200" |
37 | 36 | ||
38 | require conf/machine/include/soc-zynq.inc | 37 | require conf/machine/include/soc-zynq.inc |
diff --git a/meta-xilinx-core/conf/machine/zynqmp-generic.conf b/meta-xilinx-core/conf/machine/zynqmp-generic.conf index 5faa3095..b60014df 100644 --- a/meta-xilinx-core/conf/machine/zynqmp-generic.conf +++ b/meta-xilinx-core/conf/machine/zynqmp-generic.conf | |||
@@ -44,7 +44,6 @@ UBOOT_LOADADDRESS ?= "0x200000" | |||
44 | 44 | ||
45 | # ZynqMP Serial Console | 45 | # ZynqMP Serial Console |
46 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 46 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
47 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
48 | YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200" | 47 | YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200" |
49 | 48 | ||
50 | require conf/machine/include/soc-zynqmp.inc | 49 | require conf/machine/include/soc-zynqmp.inc |