public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: djantzen <djantzen@stevens.edu>
To: u-boot@lists.denx.de
Subject: [U-Boot] Question about baud rate
Date: Thu, 17 Nov 2011 13:12:16 -0500	[thread overview]
Message-ID: <2dd51a0f2a27d2e09f887ca0bc497804@stevens.edu> (raw)
In-Reply-To: <m2d3cqprjn.fsf@ohwell.denx.de>

> Why doe you want to setup this parameters "from the outside"?  Really
> only the serial device used for a console needs to be setup by
> firmware.  All other serial devices should be initialized by the user
> space programs using them.

I would like my startup script to cat messages to ttyS1, as well as to 
the console (ttyS0). Basically for the purpose of informing users that 
the firmware cannot execute for some reason (we don't like to give 
access to the console). I was trying to avoid including stty or 
setserial, but if this is the accepted way to configure the serial port 
it's not a big deal ;-)

>> For each of the three uarts, the device tree has the following line:
>>
>> current-speed = <0>; /* Filled in by U-Boot */
>
> Checking current U-Boot code, I believe this comment is simply wrong. 
> I
> cannot see any part in the canyonlands / or generic 4xx 
> infrastructure
> that fixes up these properties.  Maybe Stefan can comment on this
> though.
>

Interesting...I also tried manually entering a value here, but it 
didn't seem to have any effect. Maybe it just isn't used?

>> Sorry for the silly question!
>
> I don;t think its a silly question, but I also think that you do not
> need the configuration ;)
>
> Cheers
>   Detlev

Thanks for your response!

Regards,
Dan

  reply	other threads:[~2011-11-17 18:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-14 17:55 [U-Boot] Question about baud rate djantzen
2011-11-17 17:50 ` Detlev Zundel
2011-11-17 18:12   ` djantzen [this message]
2011-11-17 20:11     ` Detlev Zundel

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=2dd51a0f2a27d2e09f887ca0bc497804@stevens.edu \
    --to=djantzen@stevens.edu \
    --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