console prints garbage during boot process

2 messages, 2 authors, 2001-11-19 · open the first message on its own page

console prints garbage during boot process

From: Shie Erlich <hidden>
Date: 2001-11-18 17:47:37

during the initial boot process (right after start_kernel calls
console_init), the kernel
starts to blurt garbage to the screen. since i needed a temporary hack to
get me going
i made console_init() init the serial console with {9600, 8n1, no flow
control ...).
although this is the correct setup (since minicom "talks" to the bootrom on
these settings)
i still get garbage. i thought that serial_console_setup() has something to
do with it, but apparently not.

any ideas ?


		thanks,
			Shie Erlich

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: console prints garbage during boot process

From: Phillip Lougher <hidden>
Date: 2001-11-19 00:06:56

On Sun, 18 Nov 2001, Shie Erlich wrote:
during the initial boot process (right after start_kernel calls
console_init), the kernel
starts to blurt garbage to the screen. since i needed a temporary hack to
get me going
i made console_init() init the serial console with {9600, 8n1, no flow
control ...).
although this is the correct setup (since minicom "talks" to the bootrom on
these settings)
i still get garbage. i thought that serial_console_setup() has something to
do with it, but apparently not.

any ideas ?
Without more info it's rather difficult to say.

Do you only get garbage, or do you get some expected text plus garbage?

What I'd do in this situation, is to write a routine that directly prints to the
serial port registers (I daresay it's a 16550 lookalike?).  In that way, you'd
pin-point whether the hardware's not setup/memory mapped correctly, or if
it's problem with the kernel console/printk stuff.

Phillip

----
Phillip Lougher
Zarlink Semiconductor, Wales.
		thanks,
			Shie Erlich

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help