Hi Christian,

Christian Gieseler wrote:
we are using a custom board based on the SenTec Cobra 5329 Board. So far it is 
running with kernel 2.6.17 and we want to switch to uClinux-dist-20080808 
release.
It compiles fine, but when i want to boot the Kernel by going to the base address after downloading the image with dbug, i get no output. Not one single character. Since i use the same boot parameters as bevore (console=ttyS0,115200) i had a look at the serial drivers an noticed that there have been some changes. So far i was not able to find out what i have to change to get the console output running. Does anybody have a hint what i have to change, to get the console working? Or has anybody had the same behaviour and it was caused by something else?
Thanks for any help
Are you able to see that the device is actually coming up, e.g. kernel is starting up correctly? Maybe by initialization of an LCD screen, or any LEDs on the board?

I seem to remember that there is different behavior between older kernels and newer when it comes to machine/cpu detection, and you might be tripping over it. One this you might want to try is enabling CONFIG_DEBUG_LL in the kernel configuration, this enables debug reporting on early kernel initialization.

If that still fails, you could try the following patch (with DEBUG_LL still enabled):

diff --git a/kernel/printk.c b/kernel/printk.c
index b4d97b5..d041345 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -685,6 +685,10 @@ asmlinkage int vprintk(const char *fmt, va_list args)
       /* Emit the output into the temporary buffer */
       printed_len += vscnprintf(printk_buf + printed_len,
sizeof(printk_buf) - printed_len, fmt, args);
+       {
+               extern void printascii(const char*);
+               printascii(printk_buf);
+       }


       p = printk_buf;

This makes all printk() output come out directly, instead of waiting for the kernel to initialize far enough to setup the console.

Hope any of this helps!

Ithamar Adema
http://www.team-embedded.nl

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to