Thread (2 messages) read the whole thread 2 messages, 2 authors, 2006-07-18

board hangs during reboot

From: Eran Ben-Avi <hidden>
Date: 2006-07-09 13:47:14


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=3D0xfff00100;
	u32 defaultmsr=3DMSR_IP;

	_disable_interrupts();

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


I'm using IBM750Gl cpu .

Does anyone familiar with this ?

Regards,

Eran.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help