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

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

From: arnd@arndb.de (Arnd Bergmann)
Date: 2015-10-21 07:43:43
Also in: linux-devicetree, linux-serial

On Wednesday 21 October 2015 14:09:42 Masahiro Yamada wrote:
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";
   };



Now I have both in my DTS, but it is redundant.

So, I want to select either [1] or [2].


Which is a preferable way?
stdout-path is better. It took us a while to get that implemented
on arm32, but now that it works, we should all use it.

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