linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Murray Jensen <Murray.Jensen@csiro.au>
To: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Serial console ports on systems with no console connected.
Date: Wed, 10 Jul 2002 16:47:28 +1000	[thread overview]
Message-ID: <2088.1026283648@msa.cmst.csiro.au> (raw)
In-Reply-To: Message from Arun Dharankar <ADharankar@ATTBI.Com> of "Tue, 09 Jul 2002 19:45:19 -0400." <200207091945.19620.ADharankar@ATTBI.Com>


On Tue, 9 Jul 2002 19:45:19 -0400, Arun Dharankar <ADharankar@ATTBI.Com> writes:
>Also have the serial port speed set at 115200,  I
>dont believe this is buffer overrun issue.

If you want to go faster than about than about 38400, you need to get a
different clock source for your baud rate generators (Tom Rini has a patch
from me to add support for an external clock source for BRGs on the 8260
in linuxppc_2_4_devel). By default, the SCCs and SMCs use a clock source that
won't divide cleanly at the higher baud rates - the error becomes so large
that it simply stops working - which is what you are getting by the looks of it.

Try running the serial ports at 19200 and see if that works. Cheers!
								Murray...

PS: the patch Tom has is trivial - you still need to hack the 8260 uart driver
to use the new code (also trivial), plus your hardware needs an external clock
source (distinctly non-trivial if your board design doesn't include one already
- our hymod board has a 3686400Hz clock source wired appropriately, which allows
up to 230400bps if you use 16x oversampling)

PPS: ppcboot already has support for external BRG clock sources - see
include/config_hymod.h for an example of how to configure it.
--
Murray Jensen, CSIRO Manufacturing Sci & Tech,         Phone: +61 3 9662 7763
Locked Bag No. 9, Preston, Vic, 3072, Australia.         Fax: +61 3 9662 7853
Internet: Murray.Jensen@csiro.au

Hymod project: http://www.msa.cmst.csiro.au/projects/Hymod/


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2002-07-10  6:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-09 22:08 Serial console ports on systems with no console connected Richard Williams
2002-07-09 23:45 ` Arun Dharankar
2002-07-10  6:47   ` Murray Jensen [this message]
2002-07-10 11:41   ` Jerry Van Baren
2002-07-11  1:53     ` Arun Dharankar
2002-07-21 19:10       ` Arun Dharankar
2002-07-22  7:03         ` Wolfgang Denk
     [not found] <ADharankar@ATTBI.Com>
     [not found] ` <200207252058.04074.ADharankar@ATTBI.Com>
2002-07-26  2:22   ` Murray Jensen
  -- strict thread matches above, loose matches on Subject: below --
2002-07-09  1:27 Arun Dharankar
2002-07-09  5:14 ` Wolfgang Denk
2002-07-09 12:08   ` Arun Dharankar

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=2088.1026283648@msa.cmst.csiro.au \
    --to=murray.jensen@csiro.au \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /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;
as well as URLs for NNTP newsgroup(s).