LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: E B <eranpublic@yahoo.com>
To: linuxppc-embedded@ozlabs.org
Subject: board hangs during reboot
Date: Sun, 9 Jul 2006 07:01:08 -0700 (PDT)	[thread overview]
Message-ID: <20060709140108.33871.qmail@web61326.mail.yahoo.com> (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 

             reply	other threads:[~2006-07-09 14:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-09 14:01 E B [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-07-09 13:46 board hangs during reboot Eran Ben-Avi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060709140108.33871.qmail@web61326.mail.yahoo.com \
    --to=eranpublic@yahoo.com \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox