linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Help with Device tree setup and booting kernel
@ 2007-09-28 16:51 Nick
  2007-09-28 18:06 ` Jon Smirl
  0 siblings, 1 reply; 2+ messages in thread
From: Nick @ 2007-09-28 16:51 UTC (permalink / raw)
  To: linuxppc-embedded

Hi everyone,

I am having trouble booting a 2.6.23-rc6 kernel with a device tree.  My 
board is a MPC5200b base board with 128 Megs of DDR memeory.
My UBoot (1.3.0-rc2)seems to be doing what is should be doing.  I 
download the .dtb file to 00800000 and the uImage to 00200000
I get the following:

=> bootm 00200000 - 00800000
## Booting image at 00200000 ...
  Image Name:   Linux-2.6.23-rc6-gea60adb5-dirty
  Created:      2007-09-28   9:49:16 UTC
  Image Type:   PowerPC Linux Kernel Image (gzip compressed)
  Data Size:    1212342 Bytes =  1.2 MB
  Load Address: 00000000
  Entry Point:  00000000
  Verifying Checksum ... OK
  Uncompressing Kernel Image ... OK
  Booting using the fdt at 0x800000
  Loading Device Tree to 007fc000, end 007fefff ... OK

My board is now hung, with no more output to the console.  My board does 
work.  I have been running 2.6.19 for more than a year but I had to 
upgrade.

I used the latest kernel code from DENX.  Is this a good distribution or 
is there a better one somewhere else?  I can send my dts file and the 
kernel .config file if anyone is willing to help

Thanks in advance,

Nick

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

* Re: Help with Device tree setup and booting kernel
  2007-09-28 16:51 Help with Device tree setup and booting kernel Nick
@ 2007-09-28 18:06 ` Jon Smirl
  0 siblings, 0 replies; 2+ messages in thread
From: Jon Smirl @ 2007-09-28 18:06 UTC (permalink / raw)
  To: Nick; +Cc: linuxppc-embedded

On 9/28/07, Nick <ndroogh@rogers.com> wrote:
> Hi everyone,
>
> I am having trouble booting a 2.6.23-rc6 kernel with a device tree.  My
> board is a MPC5200b base board with 128 Megs of DDR memeory.
> My UBoot (1.3.0-rc2)seems to be doing what is should be doing.  I
> download the .dtb file to 00800000 and the uImage to 00200000
> I get the following:
>
> => bootm 00200000 - 00800000
> ## Booting image at 00200000 ...
>   Image Name:   Linux-2.6.23-rc6-gea60adb5-dirty
>   Created:      2007-09-28   9:49:16 UTC
>   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
>   Data Size:    1212342 Bytes =  1.2 MB
>   Load Address: 00000000
>   Entry Point:  00000000
>   Verifying Checksum ... OK
>   Uncompressing Kernel Image ... OK
>   Booting using the fdt at 0x800000
>   Loading Device Tree to 007fc000, end 007fefff ... OK
>
> My board is now hung, with no more output to the console.  My board does
> work.  I have been running 2.6.19 for more than a year but I had to
> upgrade.

Does the machine name in the root of your device tree match the name
the code in arch/powerpc/platforms/52xx/whatever.c? You get what you
are seeing if the names don't match.

You also get this error if the kernel is looking someplace where the
device tree isn't.
Do these need to match? 007fc000 and 00800000

>
> I used the latest kernel code from DENX.  Is this a good distribution or
> is there a better one somewhere else?  I can send my dts file and the
> kernel .config file if anyone is willing to help
>
> Thanks in advance,
>
> Nick
>
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>


-- 
Jon Smirl
jonsmirl@gmail.com

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

end of thread, other threads:[~2007-09-28 18:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-28 16:51 Help with Device tree setup and booting kernel Nick
2007-09-28 18:06 ` Jon Smirl

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