* RFI doesn't branch off?
@ 2004-08-24 14:24 Amit Shah
2004-08-25 10:20 ` Amit Shah
0 siblings, 1 reply; 3+ messages in thread
From: Amit Shah @ 2004-08-24 14:24 UTC (permalink / raw)
To: linuxppc-embedded
Hi all,
I have a strange issue with a custom board running a 750GX on a
Marvell 64360 bridge. I transferred control to the uImage via u-boot
(which I had to modify for my board-specific UART and SDRAM inits,
also disabling PCI).
Using the UART that's initialized by u-boot, I put some putchar()s in
head.S to figure out where the kernel was freezing. It seems 'rfi' in
mmu_off doesn't jump off to '__after_mmu_off' as expected. I also put
some pattern into SDRAM before an after mmu_off. I just see the
pattern (via a PCI interface) put before mmu_off.
The contents of SRR0 correctly point to __after_mmu_off just before
the 'rfi'. However, the 'rfi' documentation says the value of SRR0 is
concatenated with '0x0b00'. I don't think this should be done.
Anyways, since this code is supposed to work, I'm not sure why it
isn't working.
Can any u-boot initializations be causing this? I guess not, I've not
touched any CPU-specific settings in u-boot.
Can anyone give me some pointers?
Thanks,
Amit.
--
Amit Shah
http://amitshah.nav.to/
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: RFI doesn't branch off?
2004-08-24 14:24 RFI doesn't branch off? Amit Shah
@ 2004-08-25 10:20 ` Amit Shah
0 siblings, 0 replies; 3+ messages in thread
From: Amit Shah @ 2004-08-25 10:20 UTC (permalink / raw)
To: linuxppc-embedded
Amit Shah wrote:
>
> Hi all,
>
> I have a strange issue with a custom board running a 750GX on a
> Marvell 64360 bridge. I transferred control to the uImage via u-boot
> (which I had to modify for my board-specific UART and SDRAM inits,
> also disabling PCI).
>
> Using the UART that's initialized by u-boot, I put some putchar()s in
> head.S to figure out where the kernel was freezing. It seems 'rfi' in
> mmu_off doesn't jump off to '__after_mmu_off' as expected. I also put
> some pattern into SDRAM before an after mmu_off. I just see the
> pattern (via a PCI interface) put before mmu_off.
>
> The contents of SRR0 correctly point to __after_mmu_off just before
> the 'rfi'. However, the 'rfi' documentation says the value of SRR0 is
> concatenated with '0x0b00'. I don't think this should be done.
> Anyways, since this code is supposed to work, I'm not sure why it
> isn't working.
If I keep the DR enabled in MSR, the RFI goes back properly... disabling DR
causes some randomness.
>
> Can any u-boot initializations be causing this? I guess not, I've not
> touched any CPU-specific settings in u-boot.
>
> Can anyone give me some pointers?
--
Amit Shah
http://amitshah.nav.to/
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* RFI doesn't branch off?
@ 2005-12-05 17:34 Saari, James
0 siblings, 0 replies; 3+ messages in thread
From: Saari, James @ 2005-12-05 17:34 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 2249 bytes --]
I am chasing a very similar problem. Did you ever find resolution to
your problem? Can you share what you did to get past this?
Thanks.
--
Amit Shah shahamit at gmail.com
<mailto:linuxppc-embedded%40ozlabs.org?Subject=RFI%20doesn%27t%20branch%
20off%3F&In-Reply-To=>
Wed Aug 25 20:20:33 EST 2004
* Previous message: RFI doesn't branch off?
<http://ozlabs.org/pipermail/linuxppc-embedded/2004-August/015393.html>
* Next message: value of XIP? and whether it works with 2.6
kernel?
<http://ozlabs.org/pipermail/linuxppc-embedded/2004-August/015394.html>
* Messages sorted by: [ date ]
<http://ozlabs.org/pipermail/linuxppc-embedded/2004-August/date.html#154
10> [ thread ]
<http://ozlabs.org/pipermail/linuxppc-embedded/2004-August/thread.html#1
5410> [ subject ]
<http://ozlabs.org/pipermail/linuxppc-embedded/2004-August/subject.html#
15410> [ author ]
<http://ozlabs.org/pipermail/linuxppc-embedded/2004-August/author.html#1
5410>
_____
Amit Shah wrote:
>
> Hi all,
>
> I have a strange issue with a custom board running a 750GX on a
> Marvell 64360 bridge. I transferred control to the uImage via u-boot
> (which I had to modify for my board-specific UART and SDRAM inits,
> also disabling PCI).
>
> Using the UART that's initialized by u-boot, I put some putchar()s in
> head.S to figure out where the kernel was freezing. It seems 'rfi' in
> mmu_off doesn't jump off to '__after_mmu_off' as expected. I also put
> some pattern into SDRAM before an after mmu_off. I just see the
> pattern (via a PCI interface) put before mmu_off.
>
> The contents of SRR0 correctly point to __after_mmu_off just before
> the 'rfi'. However, the 'rfi' documentation says the value of SRR0 is
> concatenated with '0x0b00'. I don't think this should be done.
> Anyways, since this code is supposed to work, I'm not sure why it
> isn't working.
If I keep the DR enabled in MSR, the RFI goes back properly... disabling
DR
causes some randomness.
>
> Can any u-boot initializations be causing this? I guess not, I've not
> touched any CPU-specific settings in u-boot.
>
> Can anyone give me some pointers?
--
Amit Shah
http://amitshah.nav.to/
[-- Attachment #2: Type: text/html, Size: 10929 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-12-05 17:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-24 14:24 RFI doesn't branch off? Amit Shah
2004-08-25 10:20 ` Amit Shah
-- strict thread matches above, loose matches on Subject: below --
2005-12-05 17:34 Saari, James
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).