From 41ac224de8698b2fb4201aaec1e6c6bfeb94e5e4 Mon Sep 17 00:00:00 2001 From: Lucien Mueller Date: Mon, 3 Feb 2020 16:20:27 +0100 Subject: [PATCH] machine configuration: Define the SERIAL_CONSOLES parameter. The SERIAL_CONSOLES defaults to ttyS0 and therefore a getty on ttyS0 is opened by systemd. set USE_VT to 0 because we don't have virtual ttys. BugzID: 61141 Signed-off-by: Lucien Mueller --- conf/machine/am335x-nmhw21.conf | 4 ++++ conf/machine/am335x-nmhw24.conf | 4 ++++ conf/machine/am335x-nrhw16.conf | 4 ++++ conf/machine/am335x-nrhw20.conf | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/conf/machine/am335x-nmhw21.conf b/conf/machine/am335x-nmhw21.conf index 57751ac..7fa6745 100644 --- a/conf/machine/am335x-nmhw21.conf +++ b/conf/machine/am335x-nmhw21.conf @@ -14,6 +14,10 @@ KERNEL_IMAGETYPE = "fitImage" PREFERRED_PROVIDER_virtual/bootloader = "u-boot-am335x-nmhw21" +USE_VT = "0" + +SERIAL_CONSOLES ?= "115200;ttyS2" + MACHINE_FEATURES += " \ toby-l2 \ bluetooth \ diff --git a/conf/machine/am335x-nmhw24.conf b/conf/machine/am335x-nmhw24.conf index cf1f3a7..d044000 100644 --- a/conf/machine/am335x-nmhw24.conf +++ b/conf/machine/am335x-nmhw24.conf @@ -14,6 +14,10 @@ KERNEL_IMAGETYPE = "fitImage" PREFERRED_PROVIDER_virtual/bootloader = "u-boot-am335x-nmhw24" +USE_VT = "0" + +SERIAL_CONSOLES ?= "115200;ttyS1" + MACHINE_FEATURES += " \ toby-l2 \ bluetooth \ diff --git a/conf/machine/am335x-nrhw16.conf b/conf/machine/am335x-nrhw16.conf index f4abb3d..80397b7 100644 --- a/conf/machine/am335x-nrhw16.conf +++ b/conf/machine/am335x-nrhw16.conf @@ -17,6 +17,10 @@ KERNEL_IMAGETYPE = "fitImage" PREFERRED_PROVIDER_virtual/bootloader = "u-boot-am335x-nrhw16-v2" +USE_VT = "0" + +SERIAL_CONSOLES ?= "115200;ttyS1" + MACHINE_FEATURES += " \ bluetooth \ tibluetooth \ diff --git a/conf/machine/am335x-nrhw20.conf b/conf/machine/am335x-nrhw20.conf index 680d020..c2ab580 100644 --- a/conf/machine/am335x-nrhw20.conf +++ b/conf/machine/am335x-nrhw20.conf @@ -13,6 +13,10 @@ KERNEL_IMAGETYPE = "fitImage" PREFERRED_PROVIDER_virtual/bootloader = "u-boot-am335x-nrhw20-v1" +USE_VT = "0" + +SERIAL_CONSOLES ?= "115200;ttyS1" + MACHINE_FEATURES += " \ toby-l2 \ bluetooth \