public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.aribaud@free.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot] question: multiple serial
Date: Fri, 25 Feb 2011 07:38:46 +0100	[thread overview]
Message-ID: <4D674E76.30506@free.fr> (raw)
In-Reply-To: <AANLkTikW7Cwni23+FENC_AZ5hFJ4mJDX43kqKCyVTD_D@mail.gmail.com>

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.

  reply	other threads:[~2011-02-25  6:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-24 20:53 [U-Boot] question: multiple serial Ran Shalit
2011-02-25  6:38 ` Albert ARIBAUD [this message]
2011-02-25  7:40 ` Stefano Babic
2011-02-27 18:27   ` ran shalit
2011-02-27 21:34     ` Stefano Babic
2011-02-28  6:11       ` ran shalit
2011-02-27 21:40     ` Graeme Russ

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D674E76.30506@free.fr \
    --to=albert.aribaud@free.fr \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox