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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux