public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* x86 - Boot hangs at Calibrating delay loop on AMD SC520
@ 2010-03-17 12:42 Graeme Russ
  2010-03-20  1:22 ` [Fixed] " Graeme Russ
  0 siblings, 1 reply; 2+ messages in thread
From: Graeme Russ @ 2010-03-17 12:42 UTC (permalink / raw)
  To: LKML

I now have U-Boot booting 2.6.33 (abandoned 32-bit Boot Protocol and got a
pseudo BIOS working)

During boot I was getting a warning at arch/x86/kernel/rtc.c:125 and the
kernel hung at Calibrating delay loop... Also, all boot messages have a
zero time-stamp.

I have tried a 2.4.37.9 kernel and get the same freeze calibrating the
delay loop.

I have tried with and without the AMD Elan Extended (non-PC) x86 platform

I first assumed that the RTC is not working - I wasn't initially doing
anything relating to the SC520 RTC in U-Boot. I have added initialisation
code (as per the ÉlanTMSC520 Microcontroller User’s Manual Order #22004B)
and confirmed that the RTC is working in the SC520.

If traced back how the delay loop is performed and that has led me to
arch/x86/lib/delay.c where I promptly got very lost.

Any ideas?


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Fixed] x86 - Boot hangs at Calibrating delay loop on AMD SC520
  2010-03-17 12:42 x86 - Boot hangs at Calibrating delay loop on AMD SC520 Graeme Russ
@ 2010-03-20  1:22 ` Graeme Russ
  0 siblings, 0 replies; 2+ messages in thread
From: Graeme Russ @ 2010-03-20  1:22 UTC (permalink / raw)
  To: LKML

Graeme Russ wrote:
> 
> During boot I was getting a warning at arch/x86/kernel/rtc.c:125 and the
> kernel hung at Calibrating delay loop... Also, all boot messages have a
> zero time-stamp.
> 

> I have tried with and without the AMD Elan Extended (non-PC) x86 platform
> 

I tracked down the problem - The SC520 has allows interrupts sources to be
routed to practically any IRQ (it even has a third interrupt controller
providing more IRQ lines). I have been using the more advanced programmable
timer available in the SC520 and had routed its interrupt output to IRQ0.
There are a few other timer and interrupt related configurations which also
need to be set 'just right' as well. Basically, you need to make the SC520
fully PC/AT compatible for Linux to work. I'll be posting all my
development work onto the U-Boot mailing list, so you should be able to use
to the U-Boot source for future reference.

I know have a fully functional boot loader and Linux kernel to the point of
looking for /sbin/init - Now to create a JFSS2 file system and get a fully
functional GNU/Linux system up and running.

I just want to say a huge thanks to all the Linux Kernel developers for
their generous donations of time, knowledge and skill such that others like
myself can learn. You are the real drivers of innovation, not just because
you come up with new ideas, but you allow everyone the _see_ how those
ideas are implemented - This gives us all the tools to realise our own ideas.

Thanks,

Graeme

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-20  1:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-17 12:42 x86 - Boot hangs at Calibrating delay loop on AMD SC520 Graeme Russ
2010-03-20  1:22 ` [Fixed] " Graeme Russ

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox