All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew McClintock <msm@freescale.com>
To: Fredrik Roubert <roubert@df.lth.se>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: How to move from /ppc/ to /powerpc/
Date: Mon, 25 Sep 2006 13:59:23 -0500	[thread overview]
Message-ID: <1159210763.5485.10.camel@localhost> (raw)
In-Reply-To: <20060925174101.GC21204@igloo.df.lth.se>

On Mon, 2006-09-25 at 19:41 +0200, Fredrik Roubert wrote:

> Now I'm back to the state of last Thursday (except for getting rid of
> the unnecessary chosen node and getting bootargs passed nicely), which
> means that the serial console initially works, but stops working after
> the call to console_init() in start_kernel().

Do you have all the other OF related defines in your u-boot config
file? 

#define OF_CPU                  "PowerPC,8540@0"
#define OF_SOC                  "soc8540@e0000000"
#define OF_TBCLK                (bd->bi_busfreq / 8)
#define OF_STDOUT_PATH          "/soc8540@e0000000/serial@4500"

Maybe you are not properly setting up entries in the flat device tree
passed to the kernel. So when the kernel takes over and re-initializes
the serial port the speed is all messed up.

Can you verify the flat device tree passed to the kernel is correct?
Specifically these properties:

                timebase-frequency = <0>;       // from bootloader
                bus-frequency = <0>;            // from bootloader
                clock-frequency = <0>;          // from bootloader

-Matthew

  reply	other threads:[~2006-09-25 18:59 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-12 15:33 How to move from /ppc/ to /powerpc/ Fredrik Roubert
2006-09-12 15:58 ` Kim Phillips
2006-09-12 16:03   ` Jon Loeliger
2006-09-13 13:28   ` Fredrik Roubert
2006-09-13 14:46     ` Jon Loeliger
2006-09-13 17:07     ` Matthew McClintock
2006-09-21 16:08     ` Fredrik Roubert
2006-09-25 16:49       ` Matthew McClintock
2006-09-25 17:17         ` Fredrik Roubert
2006-09-25 17:20           ` Matthew McClintock
2006-09-25 17:41             ` Fredrik Roubert
2006-09-25 18:59               ` Matthew McClintock [this message]
2006-09-27 14:49                 ` Fredrik Roubert
2006-09-27 15:51     ` Fredrik Roubert
2006-09-12 16:20 ` Vitaly Bordug
  -- strict thread matches above, loose matches on Subject: below --
2006-09-13  6:58 Claus Gindhart
2006-09-13 13:30 ` Fredrik Roubert
2006-09-13 14:07 Claus Gindhart
2006-09-25 16:56 Joakim Tjernlund

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=1159210763.5485.10.camel@localhost \
    --to=msm@freescale.com \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=roubert@df.lth.se \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.