[U-Boot] question: multiple serial

Stefano Babic
2011-02-25T07:40:02Z

On 02/24/2011 09:53 PM, Ran Shalit wrote:
> Hello,
>
> I try to understand what is the right way in U-Boot to configure multiple
> serials.

That is correct.

> I use in my board more 3 UART's , one of them is the console.
> Should I define config_serial_multi ?

Yes

> when I did try to do so, I got
> "#error No default console" though UART2 is defined as console. Could it be
> that da850evm does not support configuration of multiple serials ?

The da850evm uses the NS16550 driver, and multiple uarts are supported.
It seems to me you have not set CONFIG_CONS_INDEX in your config file.

Best regards,
Stefano Babic

--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================