Thread (1 message) 1 message, 1 author, 2015-10-21

Which is better to specify console, "console= " or "stdout-path" ?

From: Sudeep Holla <hidden>
Date: 2015-10-21 08:58:14
Also in: linux-devicetree, linux-serial


On 21/10/15 06:09, Masahiro Yamada wrote:
Hi.


I think there exist two ways to specify the console port and baudrate.


[1] Specify console in bootargs

   chosen {
         bootargs = "console=ttyS0,115200";
   };


[2] Specify stdout-path

    chosen {
          stdout-path = "serial0:115200n8";
This will work for even early/boot console, so this is better than
option [1]

-- 
Regards,
Sudeep
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help