* How to disable console late?
@ 2014-06-25 16:22 Holger Schurig
2014-06-26 5:52 ` Sascha Hauer
2014-07-04 7:51 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 2 replies; 3+ messages in thread
From: Holger Schurig @ 2014-06-25 16:22 UTC (permalink / raw)
To: barebox
On my i.MX6 I have CONFIG_CONSOLE_FULL and CONSOLE_ACTIVATE_NONE
defined. But still my serial is automatically activated as a console.
barebox:/ devinfo cs0
Bus: platform
Parameters:
baudrate: 115200
active: ioe
I'd rather active the serial port as a console only if a key is
pressed during power on. Based on the help text of
CONFIG_ACTIVATE_NONE, I actually thought that this would happen.
Any hints?
I could remove chosen/stdout-path from my DTS and put it in
on-the-fly? This sounds a bit ugly ...
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to disable console late?
2014-06-25 16:22 How to disable console late? Holger Schurig
@ 2014-06-26 5:52 ` Sascha Hauer
2014-07-04 7:51 ` Jean-Christophe PLAGNIOL-VILLARD
1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2014-06-26 5:52 UTC (permalink / raw)
To: Holger Schurig; +Cc: barebox
On Wed, Jun 25, 2014 at 06:22:04PM +0200, Holger Schurig wrote:
> On my i.MX6 I have CONFIG_CONSOLE_FULL and CONSOLE_ACTIVATE_NONE
> defined. But still my serial is automatically activated as a console.
>
> barebox:/ devinfo cs0
> Bus: platform
> Parameters:
> baudrate: 115200
> active: ioe
>
> I'd rather active the serial port as a console only if a key is
> pressed during power on. Based on the help text of
> CONFIG_ACTIVATE_NONE, I actually thought that this would happen.
>
> Any hints?
>
>
> I could remove chosen/stdout-path from my DTS and put it in
> on-the-fly? This sounds a bit ugly ...
Indeed you have to remove the stdout-path property from DTS. You don't
have to add it back, 'cs0.active=ioe' should do it. Note we currently
don't have persistent names for the console devices which means that
cs0 is whatever is probed first.
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] 3+ messages in thread
* Re: How to disable console late?
2014-06-25 16:22 How to disable console late? Holger Schurig
2014-06-26 5:52 ` Sascha Hauer
@ 2014-07-04 7:51 ` Jean-Christophe PLAGNIOL-VILLARD
1 sibling, 0 replies; 3+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2014-07-04 7:51 UTC (permalink / raw)
To: Holger Schurig; +Cc: barebox
On Jun 26, 2014, at 12:22 AM, Holger Schurig <holgerschurig@gmail.com> wrote:
>
> On my i.MX6 I have CONFIG_CONSOLE_FULL and CONSOLE_ACTIVATE_NONE
> defined. But still my serial is automatically activated as a console.
>
> barebox:/ devinfo cs0
> Bus: platform
> Parameters:
> baudrate: 115200
> active: ioe
>
> I'd rather active the serial port as a console only if a key is
> pressed during power on. Based on the help text of
> CONFIG_ACTIVATE_NONE, I actually thought that this would happen.
>
> Any hints?
I need to check in my local tree but I’ve done this for input not output
For the secure boot support
Best Regards,
J.
>
>
> I could remove chosen/stdout-path from my DTS and put it in
> on-the-fly? This sounds a bit ugly ...
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-07-04 7:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-25 16:22 How to disable console late? Holger Schurig
2014-06-26 5:52 ` Sascha Hauer
2014-07-04 7:51 ` Jean-Christophe PLAGNIOL-VILLARD
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox