Re: [HELP] Barebox porting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Seraphim,

On Fri, Jan 18, 2019 at 06:01:28PM +0300, Seraphim Dolbilov wrote:
> Dear friends, 
> I faced a strange problem with serial ports on my board. I have 4 imx-uart's enabled with DT,
> and barebox console is available on all of them even when:
> - CONFIG_CONSOLE_ACTIVATE_FIRST is set Y,
> - CONFIG_CONSOLE_ACTIVATE_ALL is set N
> - `chosen` section of my DTS contains `stdout-path = &uart1;` string.
> 
> Is it a bug or an expected behaviour?

No, this shouldn't happen.

Note for device tree based boards you should turn off
CONFIG_CONSOLE_ACTIVATE_FIRST as the console will be activated by the
/chosen/stdout-path property. With CONFIG_CONSOLE_ACTIVATE_FIRST
enabled it can happen that the first to be registered console gets
activated by this option and another one from the /chosen/stdout-path
property. Maybe this is your problem already or are really all four
consoles activated?

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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux