[U-Boot-Users] Using SMC1 UART on MPC852T ( AdderII board )
Raghu
raghu_dk at yahoo.com
Mon Jul 28 14:42:16 CEST 2003
Hi All,
I am trying to port u-boot on AdderII card(
analogue-micro ) hosting MPC852T.
Is this already done this before ??
I am trying to configure SMC1 port as a console to get
boot up messages. I have defined
#define CONFIG_8xx_CONS_SMC1 1
I have a assembly listing, I am using BDI to single
step. It complets "serial_init" function and calls
"display_options" func. This in turn calls ..
printf() -> puts() -> serial_putc().
In the serial_putc func, it goes into an endless loop,
here.
while (tbdf->cbd_sc & BD_SC_READY) {
WATCHDOG_RESET ();
__asm__("eieio");
}
The assembly listing is as,
---------------------------------------------------
fe0145b8: 7c 00 06 ac eieio
fe0145bc: a0 0a 00 00 lhz r0,0(r10)
fe0145c0: 70 09 80 00 andi. r9,r0,32768
fe0145c4: 40 82 ff f4 bne+ fe0145b8
<serial_putc+0x68>
----------------------------------------------------
Any clues please ??
Warm Regards
Raghu.
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
More information about the U-Boot
mailing list