Uart(lite)/ELDK 4.1 section mismatch -> ML403

Rob Schalken rob.schalken at
Thu Mar 20 01:01:54 EST 2008

I want to Port the Linux to the ML403 board.  I tried some
different configurations:



After changing some defines and creating some symbolic link, the simple
boot loader seems to

Work. My kernel also starts because when I read the memory (using XMD),
I could read the _log_buf and

Some information was put in. I used the kernel command line:
console=ttyUL0 ip=off root=/dev/ram rw.  

But I did not get any kernel message on my serial console! When I
enabled the early boot text over

Serial port, the compiler gives some errors (gen550_init, RS_TABLE_SIZE,


**16550 Uart

After my disaster with the Uartlite, I started to use the 16550 uart.
But I immediately get the following


arch/ppc/boot/common/ns16550.c:22: error: 'RS_TABLE_SIZE' undeclared
here (not in a function)

arch/ppc/boot/common/ns16550.c:24: error: 'SERIAL_PORT_DFNS' undeclared
here (not in a function)

make[2]: *** [arch/ppc/boot/common/ns16550.o] Error 1

make[1]: *** [arch/ppc/boot/common] Error 2

make: *** [zImage] Error 2


I use ELDK 4.1 toolchain, which result in the following section mismatch

WARNING: vmlinux.o(.text+0x223c): Section mismatch: reference to
.init.text:earl y_init (between 'start_here' and 'initial_mmu')

WARNING: vmlinux.o(.text+0x2254): Section mismatch: reference to
.init.text:mach ine_init (between 'start_here' and 'initial_mmu')

WARNING: vmlinux.o(.text+0x2258): Section mismatch: reference to
.init.text:MMU_ init (between 'start_here' and 'initial_mmu')

WARNING: vmlinux.o(.text+0x22b2): Section mismatch: reference to
.init.text:star t_kernel (between 'start_here' and 'initial_mmu')

WARNING: vmlinux.o(.text+0x22b6): Section mismatch: reference to
.init.text:star t_kernel (between 'start_here' and 'initial_mmu')


By the way, the hardware is working, this has been tested!!


Could someone help to get a uart work! I only want to receive a message
from the kernel!!!! 



This email has been scanned by the MessageLabs Email Security System.
For more information please visit 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Linuxppc-embedded mailing list