Skip to contentSkip to conversation

Help with Device tree setup and booting kernel

DISCUSSION Nick 2 participants 2 messages Sep 28, 2007

lore
Share & tools
lore

Nick

author
#0 lore raw

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

#1 lore raw
Quoted 21 lines · Nick

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

Quoted 3 lines

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

Quoted 14 lines

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
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Signature · 2 lines
Jon Smirl
[email protected]