how to halt m8xx?

3 messages, 3 authors, 2003-01-29 · open the first message on its own page

how to halt m8xx?

From: <hidden>
Date: 2003-01-29 00:00:45

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/

Re: how to halt m8xx?

From: Steven Scholz <hidden>
Date: 2003-01-29 08:57:19

xiaogeng_jin@agilent.com schrieb:
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.
How about a

	while(1);

  ???

It worked fo me!

Steven


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

Re: how to halt m8xx?

From: Leonardo Pereira Santos <hidden>
Date: 2003-01-29 12:21:30


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.

On Tuesday 28 January 2003 22:00, xiaogeng_jin@agilent.com wrote:
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.
- --
This is Linux country.
On a quiet night, you can hear Windows reboot.

Leonardo Pereira Santos
Engenheiro de Projetos
PD3 Tecnologia
av. Pará 330/202
(51) 3337 1237

Today Fortune tells us:
The problem with graduate students, in general, is that they have
to sleep every few days.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help