I specified that when the bootloader calls the kernel and I did see that
the baudrate is correct and I have some messages but when the system is
crashing I cannot see printk messages. For instance, I step with JTAG
and I can see that printk(KERNEL_WARNING "unable to open initial
console") is called but on the terminal I cannot see the message. The
same, die() is called but there is no messages on UART terminal.
From: Sergei Shtylyov [mailto:firstname.lastname@example.org]
Sent: Thursday, November 18, 2010 2:21 PM
To: Ardelean, Andrei
Subject: Re: The new "real" console doesn't display printk() messages
like "early" console!
Ardelean, Andrei wrote:
> I am porting MIPS Linux on a new platform and my kernel crashes after
> console is switched from early console to the new real console
> I see messages displayed using the new console like "Freeing prom
> memory: 956k freed" (this is the last message I have) so the new
> is up and running.
> My problem is that the new console doesn't display printk() messages.
> The early console displays all printk() messages.
> What do I need to set at compiling time that the new console to
> printk() messages like early console?
Have you specified "console=ttyS<n>,<baudrate> as the kernel