diff options
author | Mark Hatle <mark.hatle@xilinx.com> | 2020-04-03 15:10:09 -0700 |
---|---|---|
committer | Mark Hatle <mark.hatle@xilinx.com> | 2020-04-03 16:00:19 -0700 |
commit | d3cf037a30a4597d53077989c53fb7d0112be165 (patch) | |
tree | 03417f2984be8ebdfa773a4207bd53203d883687 | |
parent | d06d3f5e42254a9e9aee9d36f08d63dbe3abb9e4 (diff) | |
download | meta-xilinx-d3cf037a30a4597d53077989c53fb7d0112be165.tar.gz |
machines: Remove default SERIAL_CONSOLES_CHECK
By default the machines should not check and remove declared consoles
that are not available on first boot. It's up to the user to add this
to their build configuration.
The recommended user behavior is:
SERIAL_CONSOLES_CHECK = ${SERIAL_CONSOLES}
but the side effect of this is that if the device configuration changes
after the first boot, the additional devices will not be available.
(Note, this may result in warning messages with getty unable to connect
to certain devices.)
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
17 files changed, 0 insertions, 17 deletions
diff --git a/meta-xilinx-bsp/conf/machine/ultra96-zynqmp.conf b/meta-xilinx-bsp/conf/machine/ultra96-zynqmp.conf index 6a0babfa..045e9422 100644 --- a/meta-xilinx-bsp/conf/machine/ultra96-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/ultra96-zynqmp.conf | |||
@@ -13,7 +13,6 @@ SPL_BINARY ?= "spl/boot.bin" | |||
13 | 13 | ||
14 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 14 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
15 | 15 | ||
16 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
17 | 16 | ||
18 | KERNEL_DEVICETREE = "xilinx/zynqmp-zcu100-revC.dtb" | 17 | KERNEL_DEVICETREE = "xilinx/zynqmp-zcu100-revC.dtb" |
19 | 18 | ||
diff --git a/meta-xilinx-bsp/conf/machine/v350-versal.conf b/meta-xilinx-bsp/conf/machine/v350-versal.conf index ea60f9a2..6741e2f3 100644 --- a/meta-xilinx-bsp/conf/machine/v350-versal.conf +++ b/meta-xilinx-bsp/conf/machine/v350-versal.conf | |||
@@ -10,7 +10,6 @@ MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" | |||
10 | UBOOT_MACHINE ?= "xilinx_versal_virt_defconfig" | 10 | UBOOT_MACHINE ?= "xilinx_versal_virt_defconfig" |
11 | 11 | ||
12 | SERIAL_CONSOLES ?= "115200;ttyAMA0" | 12 | SERIAL_CONSOLES ?= "115200;ttyAMA0" |
13 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
14 | 13 | ||
15 | EXTRA_IMAGEDEPENDS += " \ | 14 | EXTRA_IMAGEDEPENDS += " \ |
16 | arm-trusted-firmware \ | 15 | arm-trusted-firmware \ |
diff --git a/meta-xilinx-bsp/conf/machine/vc-p-a2197-00-versal.conf b/meta-xilinx-bsp/conf/machine/vc-p-a2197-00-versal.conf index 9fec0686..cb33065e 100644 --- a/meta-xilinx-bsp/conf/machine/vc-p-a2197-00-versal.conf +++ b/meta-xilinx-bsp/conf/machine/vc-p-a2197-00-versal.conf | |||
@@ -11,7 +11,6 @@ MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" | |||
11 | UBOOT_MACHINE ?= "xilinx_versal_virt_defconfig" | 11 | UBOOT_MACHINE ?= "xilinx_versal_virt_defconfig" |
12 | 12 | ||
13 | SERIAL_CONSOLES ?= "115200;ttyAMA0" | 13 | SERIAL_CONSOLES ?= "115200;ttyAMA0" |
14 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
15 | 14 | ||
16 | # Default SD image build onfiguration, use qemu-sd to pad | 15 | # Default SD image build onfiguration, use qemu-sd to pad |
17 | IMAGE_CLASSES += "image-types-xilinx-qemu" | 16 | IMAGE_CLASSES += "image-types-xilinx-qemu" |
diff --git a/meta-xilinx-bsp/conf/machine/vck-sc-zynqmp.conf b/meta-xilinx-bsp/conf/machine/vck-sc-zynqmp.conf index 8181a5ec..6a453a2c 100644 --- a/meta-xilinx-bsp/conf/machine/vck-sc-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/vck-sc-zynqmp.conf | |||
@@ -12,7 +12,6 @@ UBOOT_MACHINE ?= "xilinx_zynqmp_virt_defconfig" | |||
12 | SPL_BINARY ?= "spl/boot.bin" | 12 | SPL_BINARY ?= "spl/boot.bin" |
13 | 13 | ||
14 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 14 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
15 | SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}" | ||
16 | 15 | ||
17 | # PMU instance args | 16 | # PMU instance args |
18 | PMU_FIRMWARE_DEPLOY_DIR ?= "${TOPDIR}/pmutmp/deploy/images/zynqmp-pmu" | 17 | PMU_FIRMWARE_DEPLOY_DIR ?= "${TOPDIR}/pmutmp/deploy/images/zynqmp-pmu" |
diff --git a/meta-xilinx-bsp/conf/machine/vck190-versal.conf b/meta-xilinx-bsp/conf/machine/vck190-versal.conf index d90d7e7c..e431b9c5 100644 --- a/meta-xilinx-bsp/conf/machine/vck190-versal.conf +++ b/meta-xilinx-bsp/conf/machine/vck190-versal.conf | |||
@@ -11,7 +11,6 @@ MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" | |||
11 | UBOOT_MACHINE ?= "xilinx_versal_virt_defconfig" | 11 | UBOOT_MACHINE ?= "xilinx_versal_virt_defconfig" |
12 | 12 | ||
13 | SERIAL_CONSOLES ?= "115200;ttyAMA0" | 13 | SERIAL_CONSOLES ?= "115200;ttyAMA0" |
14 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
15 | 14 | ||
16 | # Default SD image build onfiguration, use qemu-sd to pad | 15 | # Default SD image build onfiguration, use qemu-sd to pad |
17 | IMAGE_CLASSES += "image-types-xilinx-qemu" | 16 | IMAGE_CLASSES += "image-types-xilinx-qemu" |
diff --git a/meta-xilinx-bsp/conf/machine/versal-generic.conf b/meta-xilinx-bsp/conf/machine/versal-generic.conf index 4f8bc6ab..8178a722 100644 --- a/meta-xilinx-bsp/conf/machine/versal-generic.conf +++ b/meta-xilinx-bsp/conf/machine/versal-generic.conf | |||
@@ -13,7 +13,6 @@ EXTRA_IMAGEDEPENDS += "libyaml-native python3-cython-native python3-pyyaml-nativ | |||
13 | UBOOT_MACHINE ?= "xilinx_versal_virt_defconfig" | 13 | UBOOT_MACHINE ?= "xilinx_versal_virt_defconfig" |
14 | 14 | ||
15 | SERIAL_CONSOLES ?= "115200;ttyAMA0" | 15 | SERIAL_CONSOLES ?= "115200;ttyAMA0" |
16 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
17 | 16 | ||
18 | # Default SD image build onfiguration, use qemu-sd to pad | 17 | # Default SD image build onfiguration, use qemu-sd to pad |
19 | IMAGE_CLASSES += "image-types-xilinx-qemu" | 18 | IMAGE_CLASSES += "image-types-xilinx-qemu" |
diff --git a/meta-xilinx-bsp/conf/machine/vmk180-versal.conf b/meta-xilinx-bsp/conf/machine/vmk180-versal.conf index 5c24d2fe..99379c66 100644 --- a/meta-xilinx-bsp/conf/machine/vmk180-versal.conf +++ b/meta-xilinx-bsp/conf/machine/vmk180-versal.conf | |||
@@ -11,7 +11,6 @@ MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" | |||
11 | UBOOT_MACHINE ?= "xilinx_versal_virt_defconfig" | 11 | UBOOT_MACHINE ?= "xilinx_versal_virt_defconfig" |
12 | 12 | ||
13 | SERIAL_CONSOLES ?= "115200;ttyAMA0" | 13 | SERIAL_CONSOLES ?= "115200;ttyAMA0" |
14 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
15 | 14 | ||
16 | EXTRA_IMAGEDEPENDS += " \ | 15 | EXTRA_IMAGEDEPENDS += " \ |
17 | arm-trusted-firmware \ | 16 | arm-trusted-firmware \ |
diff --git a/meta-xilinx-bsp/conf/machine/zc1254-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zc1254-zynqmp.conf index 2ff418c6..3bdb215d 100644 --- a/meta-xilinx-bsp/conf/machine/zc1254-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/zc1254-zynqmp.conf | |||
@@ -15,7 +15,6 @@ SPL_BINARY ?= "spl/boot.bin" | |||
15 | 15 | ||
16 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 16 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
17 | 17 | ||
18 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
19 | 18 | ||
20 | KERNEL_DEVICETREE = "xilinx/zynqmp-zc1254-revA.dtb" | 19 | KERNEL_DEVICETREE = "xilinx/zynqmp-zc1254-revA.dtb" |
21 | 20 | ||
diff --git a/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf index 41f8dc8a..edd932cd 100644 --- a/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf | |||
@@ -17,7 +17,6 @@ IMAGE_FSTYPES += "wic.qemu-sd" | |||
17 | WKS_FILES ?= "sdimage-bootpart.wks" | 17 | WKS_FILES ?= "sdimage-bootpart.wks" |
18 | 18 | ||
19 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 19 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
20 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
21 | 20 | ||
22 | KERNEL_DEVICETREE = "xilinx/zynqmp-zcu102-rev1.0.dtb" | 21 | KERNEL_DEVICETREE = "xilinx/zynqmp-zcu102-rev1.0.dtb" |
23 | 22 | ||
diff --git a/meta-xilinx-bsp/conf/machine/zcu104-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zcu104-zynqmp.conf index 26f59ef1..17a677fe 100644 --- a/meta-xilinx-bsp/conf/machine/zcu104-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/zcu104-zynqmp.conf | |||
@@ -15,7 +15,6 @@ SPL_BINARY ?= "spl/boot.bin" | |||
15 | 15 | ||
16 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 16 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
17 | 17 | ||
18 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
19 | 18 | ||
20 | KERNEL_DEVICETREE = "xilinx/zynqmp-zcu104-revC.dtb" | 19 | KERNEL_DEVICETREE = "xilinx/zynqmp-zcu104-revC.dtb" |
21 | 20 | ||
diff --git a/meta-xilinx-bsp/conf/machine/zcu106-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zcu106-zynqmp.conf index 5de3004b..27ab2a98 100644 --- a/meta-xilinx-bsp/conf/machine/zcu106-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/zcu106-zynqmp.conf | |||
@@ -13,7 +13,6 @@ UBOOT_MACHINE = "xilinx_zynqmp_virt_defconfig" | |||
13 | SPL_BINARY ?= "spl/boot.bin" | 13 | SPL_BINARY ?= "spl/boot.bin" |
14 | 14 | ||
15 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 15 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
16 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
17 | 16 | ||
18 | KERNEL_DEVICETREE = "xilinx/zynqmp-zcu106-revA.dtb" | 17 | KERNEL_DEVICETREE = "xilinx/zynqmp-zcu106-revA.dtb" |
19 | 18 | ||
diff --git a/meta-xilinx-bsp/conf/machine/zcu111-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zcu111-zynqmp.conf index 8e337d94..24e96ad6 100644 --- a/meta-xilinx-bsp/conf/machine/zcu111-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/zcu111-zynqmp.conf | |||
@@ -15,7 +15,6 @@ SPL_BINARY ?= "spl/boot.bin" | |||
15 | 15 | ||
16 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 16 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
17 | 17 | ||
18 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
19 | 18 | ||
20 | KERNEL_DEVICETREE = "xilinx/zynqmp-zcu111-revA.dtb" | 19 | KERNEL_DEVICETREE = "xilinx/zynqmp-zcu111-revA.dtb" |
21 | 20 | ||
diff --git a/meta-xilinx-bsp/conf/machine/zcu1275-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zcu1275-zynqmp.conf index 8f90343b..2ac4004f 100644 --- a/meta-xilinx-bsp/conf/machine/zcu1275-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/zcu1275-zynqmp.conf | |||
@@ -15,7 +15,6 @@ SPL_BINARY ?= "spl/boot.bin" | |||
15 | 15 | ||
16 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 16 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
17 | 17 | ||
18 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
19 | 18 | ||
20 | KERNEL_DEVICETREE = "xilinx/zynqmp-zcu1275-revB.dtb" | 19 | KERNEL_DEVICETREE = "xilinx/zynqmp-zcu1275-revB.dtb" |
21 | 20 | ||
diff --git a/meta-xilinx-bsp/conf/machine/zcu1285-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zcu1285-zynqmp.conf index e2f91948..d7d41d4d 100644 --- a/meta-xilinx-bsp/conf/machine/zcu1285-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/zcu1285-zynqmp.conf | |||
@@ -15,7 +15,6 @@ SPL_BINARY ?= "spl/boot.bin" | |||
15 | 15 | ||
16 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 16 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
17 | 17 | ||
18 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
19 | 18 | ||
20 | KERNEL_DEVICETREE = "xilinx/zynqmp-zcu1285-revA.dtb" | 19 | KERNEL_DEVICETREE = "xilinx/zynqmp-zcu1285-revA.dtb" |
21 | 20 | ||
diff --git a/meta-xilinx-bsp/conf/machine/zcu208-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zcu208-zynqmp.conf index a66cb33f..c69b5f35 100644 --- a/meta-xilinx-bsp/conf/machine/zcu208-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/zcu208-zynqmp.conf | |||
@@ -15,7 +15,6 @@ SPL_BINARY ?= "spl/boot.bin" | |||
15 | 15 | ||
16 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 16 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
17 | 17 | ||
18 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
19 | 18 | ||
20 | PMU_FIRMWARE_IMAGE_NAME ?= "pmu-firmware-zynqmp-pmu" | 19 | PMU_FIRMWARE_IMAGE_NAME ?= "pmu-firmware-zynqmp-pmu" |
21 | PMU_FIRMWARE_DEPLOY_DIR ?= "${TOPDIR}/pmutmp/deploy/images/zynqmp-pmu" | 20 | PMU_FIRMWARE_DEPLOY_DIR ?= "${TOPDIR}/pmutmp/deploy/images/zynqmp-pmu" |
diff --git a/meta-xilinx-bsp/conf/machine/zcu216-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zcu216-zynqmp.conf index 61d97207..4f07e0ea 100644 --- a/meta-xilinx-bsp/conf/machine/zcu216-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/zcu216-zynqmp.conf | |||
@@ -15,7 +15,6 @@ SPL_BINARY ?= "spl/boot.bin" | |||
15 | 15 | ||
16 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 16 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
17 | 17 | ||
18 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
19 | 18 | ||
20 | PMU_FIRMWARE_IMAGE_NAME ?= "pmu-firmware-zynqmp-pmu" | 19 | PMU_FIRMWARE_IMAGE_NAME ?= "pmu-firmware-zynqmp-pmu" |
21 | PMU_FIRMWARE_DEPLOY_DIR ?= "${TOPDIR}/pmutmp/deploy/images/zynqmp-pmu" | 20 | PMU_FIRMWARE_DEPLOY_DIR ?= "${TOPDIR}/pmutmp/deploy/images/zynqmp-pmu" |
diff --git a/meta-xilinx-bsp/conf/machine/zynqmp-generic.conf b/meta-xilinx-bsp/conf/machine/zynqmp-generic.conf index d53f7e70..7aa01986 100644 --- a/meta-xilinx-bsp/conf/machine/zynqmp-generic.conf +++ b/meta-xilinx-bsp/conf/machine/zynqmp-generic.conf | |||
@@ -22,7 +22,6 @@ IMAGE_FSTYPES += "wic.qemu-sd" | |||
22 | WKS_FILES ?= "sdimage-bootpart.wks" | 22 | WKS_FILES ?= "sdimage-bootpart.wks" |
23 | 23 | ||
24 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 24 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
25 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
26 | 25 | ||
27 | # We need a generic one that works with QEMU... | 26 | # We need a generic one that works with QEMU... |
28 | HDF_MACHINE = "zcu102-zynqmp" | 27 | HDF_MACHINE = "zcu102-zynqmp" |