beaglebone: Fix serial console device node
PATCH v2 1/1 beaglebone: Fix serial console device node
The serial console on BBB is now on /dev/ttyS0 , not /dev/ttyO0, which comes from legacy omap-serial driver. Support both options using SERIAL_CONSOLES.
For details of the change to /dev/ttyS0, see Linux kernel commit 61929cf0169d91366fd3f30d6ee60681b037bc19
Author: Sebastian Andrzej Siewior <[email protected]> Date: Mon Sep 29 20:06:39 2014 +0200
tty: serial: Add 8250-core based omap driver
...
The device name is ttyS based instead of ttyO. If a ttyO based node name is required please ask udev for it. If both driver are activated (this and omap-serial) then this serial driver will take control over the device due to the link order
Signed-off-by Marek Vasut <[email protected]>
Cc Joshua Lock <[email protected]>
Cc Richard Purdie <[email protected]>
---
V2: Use SERIAL_CONSOLES to handle both old and new variant of the
serial console node used.
--- meta-yocto-bsp/conf/machine/beaglebone-yocto.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-yocto-bsp/conf/machine/beaglebone-yocto.conf +1 -1
@@ -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_CONSOLES = "115200;ttyS0 115200;ttyO0" PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" PREFERRED_VERSION_linux-yocto ?= "4.12%"
Signature · 1 line
2.11.0