linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Andrei Konovalov <akonovalov@ru.mvista.com>
To: "Garcia Jérémie" <GARCIAJ@3il.fr>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Losing my console messages !!
Date: Mon, 05 Apr 2004 20:50:30 +0400	[thread overview]
Message-ID: <40718E56.9060503@ru.mvista.com> (raw)
In-Reply-To: <85E6ED5B5EC32F439702305CC417E12D9E2A62@email.3il.fr>


Garcia Jérémie wrote:
... skipped ...
> I noticed the presence of two "#define" which seem to be important but it's hard to me to understand how they really act:
> include/asm-ppc/pc_serial.h -->   #define BASE_BAUD ( 1843200 / 16 )
> arch/ppc/boot/common/ns16550.c--> #define SERIAL_BAUD	9600
>

Not sure if you should use pc_serial.h. If you look at include/asm-ppc/serial.h many boards
use their own definitions for this stuff. But probably this is OK for ceder.

Anyway,
#define BASE_BAUD ( 1843200 / 16 )
assumes that you use 1.843200 MHz clock for your UARTs.
As this is not the case for your custom board, you should change BASE_BAUD properly.
For this you could create your own header file and include it from include/asm-ppc/serial.h
(I don't think modifying pc_serial.h is a good idea).

Best regards,
Andrei


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

  reply	other threads:[~2004-04-05 16:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-05 15:54 Losing my console messages !! Garcia Jérémie
2004-04-05 16:50 ` Andrei Konovalov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-04-06  9:28 Garcia Jérémie

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=40718E56.9060503@ru.mvista.com \
    --to=akonovalov@ru.mvista.com \
    --cc=GARCIAJ@3il.fr \
    --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).