summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2018-11-13 08:06:30 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-14 11:18:18 +0000
commit81e48b24dd9c97a3bdda3b4140f8e2bda29d24da (patch)
tree93ba5e0e52a25e2542abc4afeeb4f6323f1ee4ce
parent490bca81c31983a95854bd6970f7ac0edb5a3955 (diff)
downloadpoky-81e48b24dd9c97a3bdda3b4140f8e2bda29d24da.tar.gz
poky-81e48b24dd9c97a3bdda3b4140f8e2bda29d24da.tar.bz2
poky-81e48b24dd9c97a3bdda3b4140f8e2bda29d24da.zip
meta-yocto-bsp: beaglebone-yocto.conf: support 8250 serial driver
it is possible to use the beagleboneblack with the 8250 serial driver or with the deprecated omap serial driver. Unfortunately serial console get different names (ttyS0 with 8250 driver and ttyO0 with omap driver) So set SERIAL_CONSOLES to SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0" (intentionally with "?=" so it is overwriteable) and activate SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" with that on the first boot the correct value is picked up automatically. (From meta-yocto rev: ffd224382af6fe1f5eeae32d7b28cc975acdde05) Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta-yocto-bsp/conf/machine/beaglebone-yocto.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf b/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
index e911e75004..69e11eca59 100644
--- a/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
+++ b/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
@@ -20,7 +20,8 @@ WKS_FILE ?= "beaglebone-yocto.wks"
IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage"
do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
-SERIAL_CONSOLES = "115200;ttyO0"
+SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0"
+SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
PREFERRED_VERSION_linux-yocto ?= "4.18%"