Re: [PATCH v2] console: Don't prefer first registered if DT specifies stdout-path

2 messages, 2 authors, 2016-10-17 · open the first message on its own page

Re: [PATCH v2] console: Don't prefer first registered if DT specifies stdout-path

From: Andreas Schwab <hidden>
Date: 2016-10-16 18:07:28

On Aug 09 2016, Paul Burton [off-list ref] wrote:
Fix this by not automatically preferring the first registered console if
one is specified by the device tree. This allows consoles to be
registered but not enabled, and once the driver for the console selected
by stdout-path calls of_console_check() the driver will be added to the
list of preferred consoles before any other console has been enabled.
When that console is then registered via register_console() it will be
enabled as expected.
This breaks the console on PowerMac.  There is no output and it panics
eventually.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Re: [PATCH v2] console: Don't prefer first registered if DT specifies stdout-path

From: Paul Burton <hidden>
Date: 2016-10-17 10:34:13

On Sunday, 16 October 2016 20:07:18 BST Andreas Schwab wrote:
On Aug 09 2016, Paul Burton [off-list ref] wrote:
quoted
Fix this by not automatically preferring the first registered console if
one is specified by the device tree. This allows consoles to be
registered but not enabled, and once the driver for the console selected
by stdout-path calls of_console_check() the driver will be added to the
list of preferred consoles before any other console has been enabled.
When that console is then registered via register_console() it will be
enabled as expected.
This breaks the console on PowerMac.  There is no output and it panics
eventually.

Andreas.
Hi Andreas,

Could you share the device tree from your system?

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