Skip to contentSkip to conversation

board hangs during reboot

DISCUSSION E B 1 participant 1 message Jul 9, 2006

lore
Share & tools
lore

E B

author
#0 lore raw

Hi,

When I tried to restart the board (using reboot
command), after all services being shut down, the
board hangs .The last printed line is "Restarting
system." .
I implemented the restart api as follows:

        u32 jumpaddr=0xfff00100;
	u32 defaultmsr=MSR_IP;

	_disable_interrupts();

	__asm__ __volatile__("\n\
	mtspr   26, %1  /* SRR0 */
	mtspr   27, %0  /* SRR1 */
	rfi"
	:
	: "r" (defaultmsr), "r" (jumpaddr));
	
            /*
	 * Not reached
	 */

I'm using IBM750Gl cpu .

Does anyone familiar with this ?

Regards,

Eran.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com