[ELDK] Unable to boot Linux Kernel 2.6.24 into MPC5200 (lite5200b)

Wolfgang Grandegger wg at grandegger.com
Thu Jul 8 21:58:14 CEST 2010


Hello,

On 07/08/2010 09:06 PM, Peter Kuennemann wrote:
> Hi Folks, I am seeking for some advise to get my lite5200b board up and 
> running with a linux kernel.
> I installed the most recent eldk version from iso image ppc-2008-04-01, 
> run a kernel config with
> 
> $ make  52xx/lite5200b_defconfig 
> $ make uImage
> (Environment has been set to: CROSS_COMPILE="ppc_6xx-" and ARCH="powerpc")

You need to build a flat device tree blob as well. With recent kernel
version just type:

  $ make lite5200b.dtb

and copy this file to the boot location.

> I followed the eldk documentation and advices and got compile and link run
> without any problem but the image does not boot at all with uboot.

See also http://www.denx.de/wiki/view/DULG/BootingEmbeddedLinux

> An existing 2.4 Kernel does boot (I do not have a change to rebuild it), 
> also the binary image that is delivered by  Freescale in their board 
> support package do boot, all with almost identical uboot arguments.
> 
> I have played with several bootargs settings, used console=ttyS0 and 
> console=ttyPSC0. Boot always stops after:
> -----------------------
> => run tftp_nfs
> Using FEC ETHERNET device
> TFTP from server 192.168.1.171; our IP address is 192.168.1.244
> Filename '/tftpboot/uImage'.
> Load address: 0x200000
> Loading: #################################################################
>          #################################################################
>          ##########################################
> done
> Bytes transferred = 879851 (d6ceb hex)
> ## Booting image at 00200000 ...
>    Image Name:   Linux-2.6.24.2-ipipe
>    Created:      2010-07-08  17:28:20 UTC
>    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
>    Data Size:    879787 Bytes = 859.2 kB
>    Load Address: 00000000
>    Entry Point:  00000000
>    Verifying Checksum ... OK
>    Uncompressing Kernel Image ... OK
> 

Loading of the FDT blob seems to be missing?

> I have checked the net for advise and tried a lot but nothing helped. I
> assume
> That there must be something very generic wrong.
> 
> Any advises are higly welcome.

How does your net_nfs command look like? It seems not to support booting
Linux with a FDT blob? Also, your boot loader needs support for FDT.

And the lite5200b is supported by a recent mainline kernel. No reason to
waste time with very old kernel versions.

Wolfgang.


More information about the eldk mailing list