Hi Marek,

On 2018-01-07 17:16, Marek Vasut wrote:
The serial console on BBB is on /dev/ttyS0 , not /dev/ttyO0 .
This changed again, so fix this.

Signed-off-by: Marek Vasut <ma...@denx.de>
Cc: Joshua Lock <joshua.g.l...@intel.com>
Cc: Richard Purdie <richard.pur...@linuxfoundation.org>
---
  meta-yocto-bsp/conf/machine/beaglebone-yocto.conf | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf 
b/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
index 990c967416..4f6c05f3ea 100644
--- a/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
+++ b/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
@@ -20,7 +20,7 @@ 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_CONSOLE = "115200 ttyO0"
+SERIAL_CONSOLE = "115200 ttyS0"

You can add both to SERIAL_CONSOLES instead:

  SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"

Maybe add a comment with hints about which kernels versions that make the change(s).

OE-core wraps *getty with in script that checks for the existence of the configured devices before starting *getty.

This also makes the recipe work on kernel versions still using ttyO0.

// Martin

  PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
  PREFERRED_VERSION_linux-yocto ?= "4.12%"

--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to