LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* board hangs during reboot
@ 2006-07-09 14:01 E B
  0 siblings, 0 replies; 2+ messages in thread
From: E B @ 2006-07-09 14:01 UTC (permalink / raw)
  To: linuxppc-embedded



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 

^ permalink raw reply	[flat|nested] 2+ messages in thread
* board hangs during reboot
@ 2006-07-09 13:46 Eran Ben-Avi
  0 siblings, 0 replies; 2+ messages in thread
From: Eran Ben-Avi @ 2006-07-09 13:46 UTC (permalink / raw)
  To: linuxppc-embedded



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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-09 14:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-09 14:01 board hangs during reboot E B
  -- strict thread matches above, loose matches on Subject: below --
2006-07-09 13:46 Eran Ben-Avi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox