diff mbox series

[U-Boot] omap3_logic: Change console from ttyO0 to ttyS0

Message ID 20180615131202.27179-1-aford173@gmail.com
State Accepted
Commit e745782c25aa00fb74801303413fbcc92dc45b35
Delegated to: Tom Rini
Headers show
Series [U-Boot] omap3_logic: Change console from ttyO0 to ttyS0 | expand

Commit Message

Adam Ford June 15, 2018, 1:12 p.m. UTC
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.

Signed-off-by: Adam Ford <aford173@gmail.com>

Comments

Peter Robinson June 15, 2018, 1:19 p.m. UTC | #1
On Fri, Jun 15, 2018 at 2:12 PM, Adam Ford <aford173@gmail.com> wrote:
> 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.

>   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.
>
> Signed-off-by: Adam Ford <aford173@gmail.com>
>
> diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h
> index cde61f2fd7..7b8f402e14 100644
> --- a/include/configs/omap3_logic.h
> +++ b/include/configs/omap3_logic.h
> @@ -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@lists.denx.de
> https://lists.denx.de/listinfo/u-boot
Tom Rini July 11, 2018, 12:42 p.m. UTC | #2
On Fri, Jun 15, 2018 at 08:12:02AM -0500, Adam Ford wrote:

> 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.
> 
> Signed-off-by: Adam Ford <aford173@gmail.com>
> 
> diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h
> index cde61f2fd7..7b8f402e14 100644

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h
index cde61f2fd7..7b8f402e14 100644
--- a/include/configs/omap3_logic.h
+++ b/include/configs/omap3_logic.h
@@ -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" \