Thread (28 messages) 28 messages, 7 authors, 2015-03-13

Re: [PATCH v3 3/3] of: support passing console options with stdout-path

From: Andrew Lunn <hidden>
Date: 2015-02-26 13:49:53
Also in: linux-arm-kernel, lkml

On Thu, Feb 26, 2015 at 06:55:22AM -0500, Peter Hurley wrote:
On 11/27/2014 12:56 PM, Leif Lindholm wrote:
quoted
Support specifying console options (like with console=ttyXN,<options>)
by appending them to the stdout-path property after a separating ':'.

Example:
        stdout-path = "uart0:115200";
This format breaks DT earlycon because libfdt doesn't recognize ':' as a
path terminator.

It's simple enough to fix this directly in early_init_dt_scan_chosen_serial()
but perhaps it would better to teach fdt_path_offset() to recognize ':'?
Hi Peter

ePAPR says for stdout-path in Chosen:

A string that specifies the full path to the node representing the
device to be used for boot console output. If the character ":" is
present in the value it terminates the path. The value may be an
alias.

So it is probably wise to implement this properly.

   Andrew
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help