linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* PCC440GX custom board configuration
@ 2005-06-30 11:26 David Grab
  2005-06-30 17:54 ` Eugene Surovegin
  2005-07-04 18:41 ` Ralph Siemsen
  0 siblings, 2 replies; 3+ messages in thread
From: David Grab @ 2005-06-30 11:26 UTC (permalink / raw)
  To: linuxppc-embedded

Hello,

i have a custom PPC 440 GX board which should run linux 2.6.11.6 kernel. I
initialized the board with u-boot getting boot console on UART1 to start the
kernel with bootm command.

Hardware details:
PPC 440 GX CPU
2 * 256 MB RAM
2 * 8 MB Flash
EM Marvin RTC V3020 (seems not supported by linux?)

Now i want to configure Linux to match my custom board. I ported my board
based on ocotea board configuration files and excluded all the stuff i don´t
need. My kernel seems to load but get stuck on calibrating delay loop and
loops between update_proces_times and __delay (at address 0xC0003400) until
it reboots. Seems like i didn´t match the BogoMips calculation. Actually i
don´t use the RTC (i comment out all TODC functions). I think this cause the
problem. So what i have to do to boot without RTC or has someone my RTC
running with linux?

Thanks for advice,

David

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

* Re: PCC440GX custom board configuration
  2005-06-30 11:26 PCC440GX custom board configuration David Grab
@ 2005-06-30 17:54 ` Eugene Surovegin
  2005-07-04 18:41 ` Ralph Siemsen
  1 sibling, 0 replies; 3+ messages in thread
From: Eugene Surovegin @ 2005-06-30 17:54 UTC (permalink / raw)
  To: David Grab; +Cc: linuxppc-embedded

On Thu, Jun 30, 2005 at 01:26:52PM +0200, David Grab wrote:
> Hello,
> 
> i have a custom PPC 440 GX board which should run linux 2.6.11.6 kernel. I
> initialized the board with u-boot getting boot console on UART1 to start the
> kernel with bootm command.
> 
> Hardware details:
> PPC 440 GX CPU
> 2 * 256 MB RAM
> 2 * 8 MB Flash
> EM Marvin RTC V3020 (seems not supported by linux?)
> 
> Now i want to configure Linux to match my custom board. I ported my board
> based on ocotea board configuration files and excluded all the stuff i don?t
> need. My kernel seems to load but get stuck on calibrating delay loop and
> loops between update_proces_times and __delay (at address 0xC0003400) until
> it reboots. Seems like i didn?t match the BogoMips calculation. Actually i
> don?t use the RTC (i comment out all TODC functions). I think this cause the
> problem. So what i have to do to boot without RTC or has someone my RTC
> running with linux?

Most likely, you have incorrectly setup serial console, so you don't 
see any messages. Then some other error happens and kernel panics, 
it'll wait for 3min and then reboots. Try accessing printk buffer 
through BDI or other hw debugger.

Also, RTC isn't required for Linux ti run.

-- 
Eugene

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

* Re: PCC440GX custom board configuration
  2005-06-30 11:26 PCC440GX custom board configuration David Grab
  2005-06-30 17:54 ` Eugene Surovegin
@ 2005-07-04 18:41 ` Ralph Siemsen
  1 sibling, 0 replies; 3+ messages in thread
From: Ralph Siemsen @ 2005-07-04 18:41 UTC (permalink / raw)
  To: David Grab; +Cc: linuxppc-embedded

David Grab wrote:

> Now i want to configure Linux to match my custom board. I ported my board
> based on ocotea board configuration files and excluded all the stuff i don´t
> need. My kernel seems to load but get stuck on calibrating delay loop and
> loops between update_proces_times and __delay (at address 0xC0003400) until
> it reboots. Seems like i didn´t match the BogoMips calculation. Actually i
> don´t use the RTC (i comment out all TODC functions). I think this cause the
> problem. So what i have to do to boot without RTC or has someone my RTC
> running with linux?

You are most likely not passing the clock speed from bootloader 
correctly.  You can set it forcibly in the beginning of ocotea.c, or 
else fixup the structure passed between bootloader and kernel so that 
both sides match.  Doing the latter will fix a lot of other troubles 
that you will encounter later on as well.  See also:

http://www.denx.de/twiki/bin/view/DULG/LinuxHangsAfterUncompressingKernel

-R

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

end of thread, other threads:[~2005-07-04 18:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-30 11:26 PCC440GX custom board configuration David Grab
2005-06-30 17:54 ` Eugene Surovegin
2005-07-04 18:41 ` Ralph Siemsen

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).