From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Timur Tabi <timur@freescale.com>
Cc: Bruce_Leonard@selinc.com, linuxppc-embedded@ozlabs.org
Subject: Re: Who's the maintainer for the freescale MPC8349ITX board?
Date: Tue, 23 Jan 2007 08:05:34 +1100	[thread overview]
Message-ID: <1169499934.1582.12.camel@localhost.localdomain> (raw)
In-Reply-To: <45AFD24B.5070608@freescale.com>
> > '/cpus/PowerPC,8349@0/timebase-frequency' as what it's searching for, but 
> > what ft_get_prop() finds is 
> > '///cpus//cpus/PowerPC,8349@0/timebase-frequency', which of course doesn't 
> > match, so it returns NULL to ft_setup() and the 'timebase-frequency' never 
> > gets updated before being passed to the kernel.
> 
> This sounds like a generic bug in the U-Boot OF code, but I'll check it out. 
> The DTS for the 8349ITX is defined just like the other DTSes.
Reminds me we should really look into writing, one of these days, both
for uboot, the zImage wrapper, and the kernel itself, a smarter OF path
parser that can
 - ignore spurrious /
 - handle relative path from a given node
 - handles getting passed the name without the unit address (the @ part)
   when non-ambiguous (when ambiguous, returns one of the nodes matching
   with no guarantee of which one)
 - handles getting passed the unit address without the name
That would make usage of path for "fixing up" properties or looking up
properties easier in many cases.
Any volunteer ? :-)
Ben.
next prev parent reply	other threads:[~2007-01-22 21:05 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-17  6:27 Who's the maintainer for the freescale MPC8349ITX board? Bruce_Leonard
2007-01-17 15:42 ` Kumar Gala
2007-01-18  3:55   ` Bruce_Leonard
2007-01-18  4:23     ` Kumar Gala
2007-01-18 18:33       ` Bruce_Leonard
2007-01-18 18:40         ` Kim Phillips
2007-01-18 22:17           ` Bruce_Leonard
2007-01-19 15:06             ` Grant Likely
2007-01-18  6:20     ` Grant Likely
2007-01-18 20:02     ` Timur Tabi
2007-01-22 21:05       ` Benjamin Herrenschmidt [this message]
     [not found] <mailman.1.1169168402.24872.linuxppc-embedded@ozlabs.org>
2007-01-20  3:06 ` Russell McGuire
2007-01-22  3:12   ` Bruce_Leonard
2007-01-24  8:15   ` Bruce_Leonard
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=1169499934.1582.12.camel@localhost.localdomain \
    --to=benh@kernel.crashing.org \
    --cc=Bruce_Leonard@selinc.com \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=timur@freescale.com \
    /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).