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. > ATTACHMENT part 3.2 message/rfc822 > From: "Povolotsky, Alexander" <Alexander.Povolotsky at marconi.com> > To: "'linuxppc-dev at lists.linuxppc.org'" <linuxppc-dev at > lists.linuxppc.org>, > "'linuxppc-embedded at ozlabs.org'" <linuxppc-embedded at ozlabs.org> > Date: Thu, 27 Jan 2005 21:07:26 -0500 > Subject: console_init() question > > > 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_banner are > printed > in __init start_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_info > from the ("custom" modified pSOS bootloader) causing above problem. > > > 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 both > cpm_uart_set_termios() > > (in drivers/serial/cpm_uart/cpm_uart_core.c) and cpm_setbrg() (in > > arch/ppc/8xx_io/commproc.c) and tell > me what is wrong there ? > > 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