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

Sudeep Holla sudeep.holla at arm.com
Wed Oct 21 01:58:14 PDT 2015



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



More information about the linux-arm-kernel mailing list