From: Scott Wood <scottwood@freescale.com>
To: skepper@ukf.net
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Early boot problem with MPC8247 and Linux 2.6.26
Date: Tue, 26 Aug 2008 12:24:18 -0500 [thread overview]
Message-ID: <48B43C42.5040407@freescale.com> (raw)
In-Reply-To: <Pine.LNX.4.62.0808261742270.5064@chara.vm.bytemark.co.uk>
Chris Skepper wrote:
> On Tue, 26 Aug 2008, Scott Wood wrote:
>
>> On Tue, Aug 26, 2008 at 01:00:05PM +0100, Chris Skepper wrote:
>>
>>> I'm triggering an LED which is connected to port A. Are you saying that
>>> wouldn't work once the caching is enabled?
>>
>> It's quite possible. What other registers are in the same cache line as
>> the LED, and are any of them non-memory-like?
>
> There are some ethernet signals, a compact flash card detect, other LEDs
> and a push button also on port A. Are those what you'd call
> non-memory-like?
Would any of them object to spurious reads, and writebacks of the value
that was read?
>> It's usually easiest to just trust that that part of the code works (in
>> my experience, that's rarely where a hang actually occurs when bringing
>> up a new board), and resume tracing after the MMU is on and you've
>> inserted a caching-inhibited BAT entry.
>
> Where can I find out how to do that? Since I have this board working
> with the old ARCH=ppc, can I copy anything from there?
See setup_cpm_bat in arch/powerpc/kernel/head_32.S.
> Also, where would be a good place in the code to resume tracing?
As soon as you can set up a BAT -- though first, I would try just
enabling the CPM debug console and see if you get anything from that.
-Scott
next prev parent reply other threads:[~2008-08-26 17:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-22 15:29 Early boot problem with MPC8247 and Linux 2.6.26 Chris Skepper
2008-08-22 17:06 ` Scott Wood
2008-08-26 12:00 ` Chris Skepper
2008-08-26 14:03 ` Scott Wood
2008-08-26 17:09 ` Chris Skepper
2008-08-26 17:24 ` Scott Wood [this message]
2008-08-27 13:30 ` Chris Skepper
2008-08-27 15:01 ` Scott Wood
2008-08-28 17:00 ` Chris Skepper
2008-08-28 17:57 ` Scott Wood
2008-08-27 15:01 ` Scott Wood
[not found] ` <1732780698.20080825104615@epygiarm.am>
2008-08-26 11:17 ` Chris Skepper
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=48B43C42.5040407@freescale.com \
--to=scottwood@freescale.com \
--cc=linuxppc-embedded@ozlabs.org \
--cc=skepper@ukf.net \
/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).