* Virtex4FX12LC hangs in calibrating delay loop
@ 2007-06-21 15:15 Thomas Glanzmann
2008-04-29 8:53 ` wangyanlong
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Glanzmann @ 2007-06-21 15:15 UTC (permalink / raw)
To: linuxppc-embedded
Hello,
I used the HEAD secretlabs kernel and used ml403 defconfig. I still see
no serial output from the _kernel_ on the serial console. But I do see
output from the in kernel embedded boot loader "load_kernel". I typed in
stop in xmd and got an instruction pointer which points to:
c00045a0 <__delay>:
c00045a0: 2c 03 00 00 cmpwi r3,0
c00045a4: 7c 69 03 a6 mtctr r3
c00045a8: 4d 82 00 20 beqlr
c00045ac: 42 00 00 00 bdnz- c00045ac <__delay+0xc> <<<<<<<<
c00045b0: 4e 80 00 20 blr
So I guess it is the calibrating delay loop and I am not sure. I can reproduce
this. It is always in this function. Now I wonder is my board missing
timer interrupts? What could be the reason for this. And of course one
much more important question:
- Is the serial console initialized before or after the
calibrating delay loop?
Is there a way to get a backtrace out of this? If that is the case what
do I have to do? Recompile the Kernel with frame pointers and attach
gdb?
Thomas
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Virtex4FX12LC hangs in calibrating delay loop
2007-06-21 15:15 Virtex4FX12LC hangs in calibrating delay loop Thomas Glanzmann
@ 2008-04-29 8:53 ` wangyanlong
2008-04-29 15:47 ` Stephen Neuendorffer
0 siblings, 1 reply; 3+ messages in thread
From: wangyanlong @ 2008-04-29 8:53 UTC (permalink / raw)
To: linuxppc-embedded
I meet the same problem as yours , have you fix your problem now ??? I am
keep trying !!!!
Thomas Glanzmann wrote:
>
> Hello,
> I used the HEAD secretlabs kernel and used ml403 defconfig. I still see
> no serial output from the _kernel_ on the serial console. But I do see
> output from the in kernel embedded boot loader "load_kernel". I typed in
> stop in xmd and got an instruction pointer which points to:
>
> c00045a0 <__delay>:
> c00045a0: 2c 03 00 00 cmpwi r3,0
> c00045a4: 7c 69 03 a6 mtctr r3
> c00045a8: 4d 82 00 20 beqlr
> c00045ac: 42 00 00 00 bdnz- c00045ac <__delay+0xc>
> <<<<<<<<
> c00045b0: 4e 80 00 20 blr
>
> So I guess it is the calibrating delay loop and I am not sure. I can
> reproduce
> this. It is always in this function. Now I wonder is my board missing
> timer interrupts? What could be the reason for this. And of course one
> much more important question:
>
> - Is the serial console initialized before or after the
> calibrating delay loop?
>
> Is there a way to get a backtrace out of this? If that is the case what
> do I have to do? Recompile the Kernel with frame pointers and attach
> gdb?
>
> Thomas
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
>
--
View this message in context: http://www.nabble.com/Virtex4FX12LC-hangs-in-calibrating-delay-loop-tp11235297p16955743.html
Sent from the linuxppc-embedded mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Virtex4FX12LC hangs in calibrating delay loop
2008-04-29 8:53 ` wangyanlong
@ 2008-04-29 15:47 ` Stephen Neuendorffer
0 siblings, 0 replies; 3+ messages in thread
From: Stephen Neuendorffer @ 2008-04-29 15:47 UTC (permalink / raw)
To: wangyanlong, linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 2364 bytes --]
I think I've seen this happen when the boot code doesn't have the workarounds for the cache errata. I'm not sure if that code ever made
it into grant's git server, but it's definitely is in the xilinx git tree at git.xilinx.com.
Steve
-----Original Message-----
From: linuxppc-embedded-bounces+stephen=neuendorffer.name@ozlabs.org on behalf of wangyanlong
Sent: Tue 4/29/2008 1:53 AM
To: linuxppc-embedded@ozlabs.org
Subject: Re: Virtex4FX12LC hangs in calibrating delay loop
I meet the same problem as yours , have you fix your problem now ??? I am
keep trying !!!!
Thomas Glanzmann wrote:
>
> Hello,
> I used the HEAD secretlabs kernel and used ml403 defconfig. I still see
> no serial output from the _kernel_ on the serial console. But I do see
> output from the in kernel embedded boot loader "load_kernel". I typed in
> stop in xmd and got an instruction pointer which points to:
>
> c00045a0 <__delay>:
> c00045a0: 2c 03 00 00 cmpwi r3,0
> c00045a4: 7c 69 03 a6 mtctr r3
> c00045a8: 4d 82 00 20 beqlr
> c00045ac: 42 00 00 00 bdnz- c00045ac <__delay+0xc>
> <<<<<<<<
> c00045b0: 4e 80 00 20 blr
>
> So I guess it is the calibrating delay loop and I am not sure. I can
> reproduce
> this. It is always in this function. Now I wonder is my board missing
> timer interrupts? What could be the reason for this. And of course one
> much more important question:
>
> - Is the serial console initialized before or after the
> calibrating delay loop?
>
> Is there a way to get a backtrace out of this? If that is the case what
> do I have to do? Recompile the Kernel with frame pointers and attach
> gdb?
>
> Thomas
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
>
--
View this message in context: http://www.nabble.com/Virtex4FX12LC-hangs-in-calibrating-delay-loop-tp11235297p16955743.html
Sent from the linuxppc-embedded mailing list archive at Nabble.com.
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
[-- Attachment #2: Type: text/html, Size: 4076 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-04-29 15:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-21 15:15 Virtex4FX12LC hangs in calibrating delay loop Thomas Glanzmann
2008-04-29 8:53 ` wangyanlong
2008-04-29 15:47 ` Stephen Neuendorffer
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).