mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Console not work with CONFIG_CONSOLE_ACTIVATE_FIRST
@ 2016-05-20  8:09 Alexander Shiyan
  2016-05-20 10:02 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Shiyan @ 2016-05-20  8:09 UTC (permalink / raw)
  To: barebox

Hello.

Patch 05261801e9cde103b3c4df843472027c007531da changes input subsystem.
If the CONFIG_CONSOLE_ACTIVATE_FIRST is set and barebox config contain
one serial console and one input device (GPIO buttons, for example), the console stops working.
Currently I haven't found a solution for this, but the CONFIG_CONSOLE_ACTIVATE_ALL
solve the problem.

Thanks.

---
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Console not work with CONFIG_CONSOLE_ACTIVATE_FIRST
  2016-05-20  8:09 Console not work with CONFIG_CONSOLE_ACTIVATE_FIRST Alexander Shiyan
@ 2016-05-20 10:02 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2016-05-20 10:02 UTC (permalink / raw)
  To: Alexander Shiyan; +Cc: barebox

Hi Alexander,

On Fri, May 20, 2016 at 11:09:06AM +0300, Alexander Shiyan wrote:
> Hello.
> 
> Patch 05261801e9cde103b3c4df843472027c007531da changes input subsystem.
> If the CONFIG_CONSOLE_ACTIVATE_FIRST is set and barebox config contain
> one serial console and one input device (GPIO buttons, for example), the console stops working.
> Currently I haven't found a solution for this, but the CONFIG_CONSOLE_ACTIVATE_ALL
> solve the problem.

The GPIO buttons is registered at device_initcall time whereas the UART
console devices are normally registered at console_initcall time. I
assume either your UART driver or the corresponding device is registered
from a device_initcall when it should be from console_initcall.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-20 10:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-20  8:09 Console not work with CONFIG_CONSOLE_ACTIVATE_FIRST Alexander Shiyan
2016-05-20 10:02 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox