Skip to contentSkip to conversation

configs/beaglebone_defconfig: use default console device

PATCH New yegorslists at googlemail.com 3 participants 3 messages Sep 30, 2019 – Oct 1, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs/beaglebone_defconfig: use default console device

From: Yegor Yefremov <[email protected]>

OMAP kernels use 8250 driver by default. Hence the name of the console device is not /dev/ttyO0 but /dev/ttyS0. Use /dev/console in order to handle the console independently of the selected driver.

Tested in BeagleBone Black board.

---
 configs/beaglebone_defconfig | 1 -
 1 file changed, 1 deletion(-)
configs/beaglebone_defconfig +0 -1
index b4f152fd69..fbb259f577 100644
@@ -2,7 +2,6 @@ BR2_arm=y
 BR2_cortex_a8=y
 BR2_GLOBAL_PATCH_DIR="board/beaglebone/patches"
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y
-BR2_TARGET_GENERIC_GETTY_PORT="ttyO0"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/beaglebone/post-image.sh"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_GIT=y
Signature · 1 line
2.17.0
#1 lore raw

PATCH 1/1 configs/beaglebone_defconfig: use default console device

Quoted 7 lines · On Mon, 30 Sep 2019 08:04:47 +0200 yegorslists at googlemail.com wrote:

From: Yegor Yefremov <[email protected]>

OMAP kernels use 8250 driver by default. Hence the name of the console device is not /dev/ttyO0 but /dev/ttyS0. Use /dev/console in order to handle the console independently of the selected driver.

Quoted 6 lines

Tested in BeagleBone Black board.

---
 configs/beaglebone_defconfig | 1 -
 1 file changed, 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 configs/beaglebone_defconfig: use default console device

In reply to yegorslists at googlemail.com
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"yegorslists" == yegorslists <[email protected]> writes:

From: Yegor Yefremov <[email protected]> OMAP kernels use 8250 driver by default. Hence the name of the console device is not /dev/ttyO0 but /dev/ttyS0. Use /dev/console in order to handle the console independently of the selected driver.

Tested in BeagleBone Black board.

Committed to 2019.02.x, 2019.05.x and 2019.08.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard