Linuxppc-embedded Digest, Vol 5, Issue 52
Hi Alex,
I wouldn't suspect the serial driver because it printed 3 characters correctly. It might be better to look at where the kernel is being loaded. I guess somehow the image is getting corrupted. Maybe you could move it farther away.
Regards,
Srini.
Quoted 39 lines
ATTACHMENT part 3.2 message/rfc822
From: "Povolotsky, Alexander" <[email protected]>
To: "'[email protected]'" <[email protected]>,
"'[email protected]'" <[email protected]>
Date: Thu, 27 Jan 2005 21:07:26 -0500
Subject:console_init()questionQuoted 2 lines
Hi,
I am struggling with bringing up the MPC 880 board on Linux 2.6-10.rc3 ... I could see that only 3 characters (see below) from the
linux_bannerare printed
in__initstart_kernel()(init/main.c) upon booting.
Then a lot of garbage is outputted and eventually kernel hangs ...
...
after gunzip
done.
Now booting the kernel LinÿÿÿÿÿÿÿÿÀÿÿÿÿÿÿÿÿÀ8ÀÿÿÿÿÿÿÿÿÀXÀÿÿÿÿÿÿÿÿÀxÀÿÿÿÿÿÿÿÿÀ~ÀÿÿÿÿÿÿÿÿÀ¸ÀÿÿÿÿÿÿÿÿÀ ØÀÿÿ
<more garbage>
<hangs> ...
...Very laborious debugging (without BDM and soft reset button - but with great help) shows that the hang is caused by the console
serial driver at about (or just soon after)console_drivers = console;statement in
register_console(struct console * console)function (in
kernel/printk.c)I can not find (so far ) any specific error in values supplied vi
bd_infofrom the ("custom" modified pSOS bootloader) causing above problem.Quoted 1 line
Quoted 14 lines
The debug output showing my serial settings was saved into log buffer and read at "bootloader time" after
"software stimulated" "soft reboot" - it is listed here.
Could someone kindly spare 5 min examining supplied debug output from bothcpm_uart_set_termios()Quoted 2 lines
(in
drivers/serial/cpm_uart/cpm_uart_core.c) andcpm_setbrg()(inarch/ppc/8xx_io/commproc.c) and tellme what is wrong there ?
Quoted 6 lines
The output is supplied at the end of my e-mail after the listings of functions (with my print statements)
Thanks,
Alex
__________________________________
Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250