Skip to contentSkip to conversation

omap3_logic: Change console from ttyO0 to ttyS0

PATCH In review Adam Ford 3 participants 3 messages Jun 15, 2018 – Jul 11, 2018

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 omap3_logic: Change console from ttyO0 to ttyS0

Newer kernels have moved from ttyO0 to ttyS0, and when booting it drops a notice:

WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0' This ensures that you still see kernel messages. Please update your kernel commandline.

This patch updates the console to use ttyS0 and eliminate the chatter.

include/configs/omap3_logic.h +1 -1
index cde61f2fd7..7b8f402e14 100644
@@ -92,7 +92,7 @@
 			"fi; " \
 		"else run defaultboot; fi\0" \
 	"defaultboot=run mmcramboot\0" \
-	"consoledevice=ttyO0\0" \
+	"consoledevice=ttyS0\0" \
 	"setconsole=setenv console ${consoledevice},${baudrate}n8\0" \
 	"dump_bootargs=echo 'Bootargs: '; echo $bootargs\0" \
 	"rotation=0\0" \
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 omap3_logic: Change console from ttyO0 to ttyS0

Quoted 2 lines · Adam Ford

Newer kernels have moved from ttyO0 to ttyS0, and when booting it drops a notice:

This will break on older kernels or kernels that haven't made the move from the omap-serial to the 8250_omap kernel.

Quoted 29 lines

WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0' This ensures that you still see kernel messages. Please update your kernel commandline.

This patch updates the console to use ttyS0 and eliminate the chatter.

include/configs/omap3_logic.h +1 -2
index cde61f2fd7..7b8f402e14 100644
@@ -92,7 +92,7 @@
                        "fi; " \
                "else run defaultboot; fi\0" \
        "defaultboot=run mmcramboot\0" \
-       "consoledevice=ttyO0\0" \
+       "consoledevice=ttyS0\0" \
        "setconsole=setenv console ${consoledevice},${baudrate}n8\0" \
        "dump_bootargs=echo 'Bootargs: '; echo $bootargs\0" \
        "rotation=0\0" \
--

2.17.1

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
https://lists.denx.de/listinfo/u-boot

#2 lore raw
In reply to Adam Ford

include/configs/omap3_logic.h

Quoted 14 lines · Adam Ford

Newer kernels have moved from ttyO0 to ttyS0, and when booting it drops a notice:

WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0' This ensures that you still see kernel messages. Please update your kernel commandline.

This patch updates the console to use ttyS0 and eliminate the chatter.

include/configs/omap3_logic.h +0 -0
index cde61f2fd7..7b8f402e14 100644

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180711/42d05ec7/attachment.sig>