command bootu to start kernel

Baruch Siach baruch at tkos.co.il
Fri Oct 29 04:34:51 EDT 2010


Hi Belisko,

On Fri, Oct 29, 2010 at 10:20:46AM +0200, Belisko Marek wrote:
> I have 2.6.32 kernel but early_printk isn't available and I enable
> lowlevel debugging but
> don't get nothing else on console. Anyway thanks.

Try this patch to see the low level console output:

commit 5c31454464ed655401c31c68c895b16eafd2bde5
Author: Baruch Siach <baruch at tkos.co.il>
Date:   Mon Jan 19 10:41:47 2009 +0200

    arm, printk: the famous printascii() hack

diff --git a/kernel/printk.c b/kernel/printk.c
index 5052b54..d685f8a 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);
+	}
 
 
 	/*

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -



More information about the barebox mailing list