[U-Boot] [PATCH] 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.
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" \

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

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!
participants (3)
-
Adam Ford
-
Peter Robinson
-
Tom Rini