linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* how to halt m8xx?
@ 2003-01-29  0:00 xiaogeng_jin
  2003-01-29  8:57 ` Steven Scholz
  2003-01-29 12:21 ` Leonardo Pereira Santos
  0 siblings, 2 replies; 4+ messages in thread
From: xiaogeng_jin @ 2003-01-29  0:00 UTC (permalink / raw)
  To: linuxppc-embedded


Hi,

I found that in m8xx the halt function is the same as the restart function because m8xx_halt() just calls m8xx_restart() in m8xx_setup.c. If I just want to halt the m8xx system but not to restart it automatically, what should I do? Set a few registers and wait for ever? THanks for your thoughts.

Regards,

- Shawn.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE: how to halt m8xx?
@ 2003-01-29 19:30 xiaogeng_jin
  0 siblings, 0 replies; 4+ messages in thread
From: xiaogeng_jin @ 2003-01-29 19:30 UTC (permalink / raw)
  To: lsantos, linuxppc-embedded


> How about power down mode? From the 8xx manual:
> "Power down mode can be used for:
> 	- A software initiated controlled shutdown, with
> optional automatic wakeup,
> 	- (...) "
>
> Isn't what you want?
> Check page 14-24.
Hmmm...probably not. I figured out that the reason why HALT and REBOOT behave exactly the same is because m8xx_halt() calls m8xx_restart(). So now I just changed m8xx_halt() to a forever loop, which fulfills my purpose.

THanks for your time.

- Shawn.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2003-01-29 19:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-29  0:00 how to halt m8xx? xiaogeng_jin
2003-01-29  8:57 ` Steven Scholz
2003-01-29 12:21 ` Leonardo Pereira Santos
  -- strict thread matches above, loose matches on Subject: below --
2003-01-29 19:30 xiaogeng_jin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).