Problem dtb file booting Kernel 2.6.32

Scott Wood scottwood at freescale.com
Fri Jan 15 08:44:57 EST 2010


Andres F Marquez wrote:
> Hello,
> 
> I am working on a MPC8265 board which I have successfully ported Linux
> Kernel 2.6.25 to. I am trying to upgrade the Kernel but have not got
> good results (I am able to compile the Kernel for my powerpc, but not to
> boot it). The problem appears to be something related to the interaction
> between the dtb and the Kernel. I am not sure if the syntax for the dts
> file may have changed from Kernel 2.6.25 to newer versions (I have tried
> 2.6.27.43 - 2.6.32.2 and 2.6.31.11 getting very similar results).

Can you bisect between 2.6.25 and 2.6.27 to see which commit may have 
broken it?

What sort of changes did you make to get 2.6.25 to work?

> When I build the dtb file from the /arch/powerpc/boot/dts/MPC8272ADS.dts
> file that comes with the new Kernel, the booting process gets stuck
> after trying to load the device tree:
> 
> 	## Booting image at ff810000 ...
>    		Image Name:   Linux-2.6.27.43
>    		Image Type:   PowerPC Linux Kernel Image (gzip  
> 			compressed)
> 		Data Size:    1365263 Bytes =  1.3 MB
>    		Load Address: 00000000
>    		Entry Point:  00000000
>    		Verifying Checksum ... OK
>    		Uncompressing Kernel Image ... OK
>    		Booting using the fdt at 0xff802000
>    		Loading Device Tree to 007fc000, end 007fefff ... OK
> 
> 
>    However, when I boot the new Kernel with the old compiled dtb file
> (the one that works with the Kernel 2.6.25) the process moves forward
> but stops at a time when displaying information about IRQ 40 line
> (related to the Programmable Interrup Controller (PIC)):

Decompile that device tree blob using dtc -I dtb -O dts, and look for 
differences.

-Scott


More information about the Linuxppc-dev mailing list