From: Timur Tabi <timur@freescale.com>
To: Bruce_Leonard@selinc.com
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Who's the maintainer for the freescale MPC8349ITX board?
Date: Thu, 18 Jan 2007 14:02:19 -0600 [thread overview]
Message-ID: <45AFD24B.5070608@freescale.com> (raw)
In-Reply-To: <OF27AFB204.D453295B-ON88257267.0011100B-88257267.00158710@selinc.com>
Bruce_Leonard@selinc.com wrote:
>>> anything in the source. I don't want to clutter up the mailing
>>> list with
>>> newbie questions so I'd like to get in touch with the person who
I'm the maintainer.
> Well, okay. I hate taking up bandwidth for something that's no doubt
> trivial to most of you, but here goes. I'm trying to bring up the
> 2.6.19.1 kernel using u-boot 1.1.6 on the MPC8349ITX board and I'm having
1.1.6 does not support the MPC8349ITX. Try 1.2.0. My name is listed as the
maintainer for this board in the U-Boot MAINTAINERS file.
> problems with the open firmware part of it (which I am TOTALLY new to).
> Short version, I don't think the *.dts file for this board is correct and
> I'm wondering if anyone might have a newer version or good documentation
> as to the formatting of the *.dts files?
>
> Long version: While booting the kernel it seems to hang in the do_div()
> call on line 933 of .../arch/powerpc/kernel/time.c (yes I know it's not
> really a call but inline assembly) because ppc_tb_freq is zero. The
> get_freq() calls in generic_calibrate_decr() find the 'timebase-frequency'
> and 'clock-frequency' entries in the device tree, but the value is zero
> and thus ppc_tb_freq is zero.
>
> Digging through the u-boot code, I found ft_setup() which is supposed to
> add some stuff to the device tree passed in on the bootm command line. One
> of the things it's supposed to do is fill in the 'timebase-frequency'
> portion of the device tree. When it calls ft_get_prop() to find the
> 'timebase-frequency' node it passes in the path
> '/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.
> So I'm guessing the my problem is either the *.dts file or dtc, but I'm
Hmmm, it could be the DTC.
--
Timur Tabi
Linux Kernel Developer @ Freescale
next prev parent reply other threads:[~2007-01-18 20:02 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 [this message]
2007-01-22 21:05 ` Benjamin Herrenschmidt
[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=45AFD24B.5070608@freescale.com \
--to=timur@freescale.com \
--cc=Bruce_Leonard@selinc.com \
--cc=linuxppc-embedded@ozlabs.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).