How to disable console late?

Holger Schurig holgerschurig at gmail.com
Wed Jun 25 09:22:04 PDT 2014


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 ...



More information about the barebox mailing list