[ELDK] Unable to boot Linux Kernel 2.6.24 into MPC5200 (lite5200b)
Peter Kunnemann ITB
itb.pkue at googlemail.com
Wed Jul 14 11:23:57 CEST 2010
Dear Wolfgang
Many thanks for your advise, I got it working! It boots and
I can login and work properly. Only problem left is as strange
Message:
[ 1638.234348] ttyPSC0: 1 input overrun(s)
when I enter console keystrokes. I think it may have to do
with handshaking!? Will pursue further but I think we can
close this thread.
Summary:
* Use recent kernel source !
* Use recent U-Boot that hat bootm command that supports fdt
* I was able to boot the recent U-Boot into RAM at 0x3800000
tftp 3800000 '/tftpboot/u-boot.bin';go 3800100
which helped me to overcome the fear of bricking the the
box by burning an updated U-Boot. Will wait for a BDI Box
to update UBoot
* use "console=ttyPSC0,115200" !!!
* bootargs:
bootargs=console=tty0 console=ttyPSC0,115200 \
root=/dev/nfs rw \ nfsroot=192.168.1.171:/opt/eldk/ppc_6xxip=\
192.168.1.244:192.168.1.171:192.168.1.2:255.255.255.0::eth0:off panic=1
> -----Original Message-----
> From: Wolfgang Grandegger [mailto:wg at grandegger.com]
> Sent: Tuesday, July 13, 2010 9:16 PM
...
> 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" !!!
That did the trick!
>
> > Thanks very much for your patience
>
> Hope it helps.
>
> Wolfgang.
More information about the eldk
mailing list