[ELDK] Unable to boot Linux Kernel 2.6.24 into MPC5200 (lite5200b)
Wolfgang Grandegger
wg at grandegger.com
Tue Jul 13 21:15:48 CEST 2010
On 07/13/2010 09:02 PM, Peter Kunnemann ITB wrote:
...
>> I wrote "with a recent kernel version". It will not work with 2.6.24.
>> As
>> recommended, please use recent 2.6.34.x kernel from kernel.org.
>
> Thanks, that helped but I am planning to install Xenomai as well
> on that box and I hope I'll find a matching patch. :-) Anyhow I
> will try to get a vanilla kernel working first.
No problem, just choose a mainline kernel which is supported by Xenomai
which currently is 2.6.34.
...
> Fine, the latest version did build the cuImage with:
>
> $ make cuImage.lite5200b
>
> But I was unable to boot that either. All sorts of traps or errors.
> I am not really keen to pursue that further.
Well, if at all, it's rarely used.
...
> I managed to update uBoot and was able to run in RAM even though it may
> not be designed that way.
> I was able to issue the bootm command and the kernel loaded. I could see
> Nfs connection being made to the nfs server but there was no console
> Messages at all.
>
> fdtaddr=600000
> dtbfile=/tftpboot/lite5200b.dtb
> kernel_ram_addr=800000
> bootfile=/tftboot/uImage
> ...
> net_nfs=tftp $(fdtaddr) $(dtbfile);tftp $(kernel_ram_addr) \
> $(bootfile);run nfsargs addip;
> printenv bootargs;bootm $(kernel_ram_addr) - $(fdtaddr)
>
> It did load the fd but stopped after the 'uncompressing OK'
> message.
>
> ....
>
>> If
>> you are lucky, the cuImage is building and working. I can't tell.
>>
>
> I builds but does not boot properly. I changed Load Address from 0x40000
> to 0x0 as well but that did not help also.
That's wrong. The above addresses look save to me.
> I would really like to stay with the recent kernel image but that seems
> to having problems talking to the console. It stops talking after the
> Msg:
>
> Uncompressing Kernel Image ... OK
>
> bootargs=console=tty0 console=ttyS0,115200 root=/dev/nfs rw
> nfsroot=192.168.1.171:/opt/eldk/ppc_6xxx
> ip=192.168.1.244:192.168.1.171:192.168.1.2:255.255.255.0::eth0:off
You should use "console=ttyPSC0,115200" !!!
> Thanks very much for your patience
Hope it helps.
Wolfgang.
More information about the eldk
mailing list