[U-Boot] question: multiple serial

Albert ARIBAUD albert.aribaud at free.fr
Fri Feb 25 07:38:46 CET 2011


Hi Ran,

Le 24/02/2011 21:53, Ran Shalit a écrit :
> Hello,
>
> I try to understand what is the right way in U-Boot to configure multiple
> serials. I use in my board more 3 UART's , one of them is the console.
> Should I define config_serial_multi ? 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 simplest way I see is to inspect the code and trace back from the 
error message to see what exactly triggers this error and why.

One possible way would be to take the command line that results in this 
error and remplace compiler options to just output preprocessed source 
code instead of object code; you'll be able to see if the .h that 
contains the default console is included, and what parts of it are 
compiled exactly.

> Thank you very much,
>
> Ran

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list