[U-Boot-Users] Porting U-boot to MPC8280 from MPC8260ADS
sudhakar rajashekhara
rsudhakar_blr at yahoo.com
Thu Jan 8 15:25:54 CET 2004
Hi,
I have started porting U-boot to MPC8280 taking the
port on MPC8260ADS as base. I have modified the
MPC8260ADS.h configuration file to include
CONSOLE_ON_SMC, ETHER_ON_FCC, 8260_CLKIN is 100MHz,
FLASH_BASE to be 0xfff00000 and TEXT_BASE to be
0x02000000. I am debugging by booting the U-boot from
RAM. Everything goes well till I reach the following
lines in cpu/mpc8260/serial_smc.c.
######################################################
/* Initialize Tx/Rx parameters. */
while (cp->cp_cpcr & CPM_CR_FLG) /* wait if cp is busy
*/;
cp->cp_cpcr = mk_cr_cmd(CPM_CR_SMC_PAGE,
CPM_CR_SMC_SBLOCK,
0, CPM_CR_INIT_TRX) | CPM_CR_FLG;
while (cp->cp_cpcr & CPM_CR_FLG) /* wait if cp is busy
*/;
######################################################
While executing the above set of lines, it comes to
the third statement and just hangs in that while loop.
Why is it happening so?
Thanks in advance,
regards,
Sudhakar.
__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
More information about the U-Boot
mailing list