marvell kirkwood / openrd-base kernel freeze on bootup with PICe->PCI bridge

Daniel Mack daniel at caiaq.de
Thu Oct 29 04:52:36 EDT 2009


On Thu, Oct 29, 2009 at 10:36:40AM +0200, Dieter Kiermaier wrote:
> ## Booting kernel from Legacy Image at 00800000 ...
>    Image Name:   Linux-2.6.32-rc5-00081-g964fe08-
>    Image Type:   ARM Linux Kernel Image (uncompressed)
>    Data Size:    2390056 Bytes =  2.3 MB
>    Load Address: 00008000
>    Entry Point:  00008000
>    Verifying Checksum ... OK
>    Loading Kernel Image ... OK
> OK
> 
> Starting kernel ...
> 
> Uncompressing Linux............................................................................................................................................................ done.

The problem most probably is that your kernel dies before the console is
enabled, and hence you're not pointed to the actual problem.

Try the patch below - printk() messages are not buffered but sent out
directly to the lowlevel UART functions with this hack. CONFIG_DEBUG_LL
must be enabled for this.

Daniel


diff --git a/kernel/printk.c b/kernel/printk.c
index b4d97b5..7919751 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -686,6 +686,7 @@ asmlinkage int vprintk(const char *fmt, va_list args)
 	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;
 



More information about the linux-arm-kernel mailing list