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

Masahiro Yamada yamada.masahiro at socionext.com
Tue Oct 20 22:09:42 PDT 2015


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?


Best Regards
Masahiro Yamada

More information about the linux-arm-kernel mailing list