Gustav Bergquist

Kernel compile (linux) for MPC5200B Lite board

Discussion created by Gustav Bergquist on May 28, 2006
Latest reply on Aug 4, 2006 by Alban Rampon
Hi!
 
I've downloaded the ltib package and installed it.
some problems with one line tho. I installed the newest debian directly from the net on my machine and sed couldn't find any of the standard library because of the line
 
if [ 'uname -m' != 'x86_64' ]; then
 LD_ASSUME_KERNEL=2.2.5
export LD_ASSUME_KERNEL=2.2.5
fi
 
in one of the ltib/dist/lfs-5.1/ files
by replacing assume_kernel=2.2.5 to the actual kernel version I managed to fix this.
 
But now to my problem.
I've built a few kernels now and I get a uImage
but the u-Boot complains on inflate() which returns -3
So I decreased the compression to gzip -1 vmlinux.bin
then made the image my self with
/opt/freescale/ltib/usr/bin/mkimage -A ppc -O linux -T kernel -a 00000000 -e 00000000 -n 'Linux-2.6.11-7-ppc' -d vmlinux.bin.gz uImage
 
works fine, u-Boot says that the checksum is ok and extraction is ok but then the serial link dies or something. I don't get anything more, I think the watchdog kicks in after a while and resets the cpu
 
Obviously I'm doing something wrong, but what? :smileyhappy:
I've used kernel boot commands:
console=/dev/ttyS0 root=/dev/nfs rw
and
console=ttyS0 root=/dev/nfs rw
 
Anyone who could give me some links to previous posts/documents/etc to help me out?

Thanks in advance
/Gustav Bergquist, KTHRacing - Head of mechatronics

Outcomes