linuxppc-dev.lists.ozlabs.org archive mirror
 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 12:20:51 -0500	[thread overview]
Message-ID: <1159204851.5485.6.camel@localhost> (raw)
In-Reply-To: <20060925171754.GB21204@igloo.df.lth.se>

On Mon, 2006-09-25 at 19:17 +0200, Fredrik Roubert wrote:
> On Mon 25 Sep 18:49 CEST 2006, Matthew McClintock wrote:
> 
> > It looks like you already have your chosen node in your DTS file. With
> > my u-boot patches the appropriate chosen node is added to the flat tree
> > based off the u-boot environment.
> 
> Ah, that's true, in ft_setup(), I didn't see that. Thanks! (I'd been
> thinking about how the command line should be passed from U-Boot, but
> decided to postpone that investigation until I solved the serial console
> problem.)
> 
> However, the code in ft_setup() doesn't assign "linux,stdout-path", so
> if I remove the chosen node from my DTS, then I get no print-out on the
> serial console at all. (But the rest of the system appears to run fine
> and I can log in using SSH.) Can this be a clue to someone as to what
> could be the problem with my serial console?
> 

>From u-boot/common/ft_build.c:

#ifdef OF_STDOUT_PATH
        ft_prop_str(&cxt, "linux,stdout-path", OF_STDOUT_PATH);
#endif

There is a define for adding that to the /chosen node. Add this to your
u-boot include file and the console should show up.

Good Luck.

-Matthew

  reply	other threads:[~2006-09-25 17:21 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 [this message]
2006-09-25 17:41             ` Fredrik Roubert
2006-09-25 18:59               ` Matthew McClintock
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=1159204851.5485.6.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 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).