From: ran shalit <ranshalit@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] question: multiple serial
Date: Sun, 27 Feb 2011 10:27:57 -0800 (PST) [thread overview]
Message-ID: <31026374.post@talk.nabble.com> (raw)
In-Reply-To: <4D675CD2.1020903@denx.de>
Stefano Babic wrote:
>
> 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
> =====================================================================
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
>
Hello Stafno,
Thank you for the reply.
The strange thing is that although the OMAP L138 have the ability for using
more then one UART, it seems that in the u-boot, it is not well supported:
Only if I add in /common/serial.c the following line:
line 45: || defined (CONFIG_MACH_DAVINCI_DA850EVM), and same include in
/common/serial.h
then compiler error is solved. it is as if this file support several cpu's
but the OMAP is not one of them. Is It correct to add this flags in order to
support multiple serials in OMAP L138 EVM ? I tried to ask in TI forum, but
got no reply yet.
Thank you very much,
Ran
--
View this message in context: http://old.nabble.com/-U-Boot--question%3A-multiple-serial-tp31007796p31026374.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
next prev parent reply other threads:[~2011-02-27 18:27 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
2011-02-25 7:40 ` Stefano Babic
2011-02-27 18:27 ` ran shalit [this message]
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=31026374.post@talk.nabble.com \
--to=ranshalit@gmail.com \
--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