Linux booting problem on powerpc 440
Josh Boyer
jwboyer at gmail.com
Thu Aug 20 03:35:05 EST 2009
On Wed, Aug 19, 2009 at 01:01:16PM +0000, Sumesh Kaana wrote:
>
>
>
>Hi all,
>I am trying to boot linux kernel (2.6.30) on a custom built board.I am using simple ppc platform and attached are my dts file and boot log..
>I've 16Mb of RAM,UART and UIC with powerpc 440x5 processor.Kernel Image size is less than 1 mb.
>i am not using any bootloaders such as U-boot
>i have a small program on reset vector which will copy linux bin image from flash to 4mb (Link Address as per wrapper script), after that execution starts from link address.
How large of an initial TLB are you setting up for all of this in your simple
bootloader?
>the problem that i face is kernel crashes in different places while booting for different linux images, but always mentioned that
>TASK = 'swapper'
>
>Can anyone tell what would be the problem..?
I won't quote the file itself since your email is terribly word-wrapped, but
the #address-cells = <1> in the root node looks incorrect for a 440 based CPU.
It should be 2, as 440 does 36-bit addressing. Similarly for the PLB node.
You would need to fix the memory reg property for this.
The CPU node should probably have #size-cells = <0>, though I don't think that
matters much.
The serial port appears to be at an odd address for a 440 based SoC, but I
have no idea if that is correct or not.
Outside of those issues, I can't think of anything off the top of my head that
would cause the panic you are seeing.
josh
More information about the Linuxppc-dev
mailing list