* 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 0:00 how to halt m8xx? xiaogeng_jin
@ 2003-01-29 8:57 ` Steven Scholz
2003-01-29 12:21 ` Leonardo Pereira Santos
1 sibling, 0 replies; 4+ messages in thread
From: Steven Scholz @ 2003-01-29 8:57 UTC (permalink / raw)
To: xiaogeng_jin; +Cc: linuxppc-embedded
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: how to halt m8xx?
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
1 sibling, 0 replies; 4+ messages in thread
From: Leonardo Pereira Santos @ 2003-01-29 12:21 UTC (permalink / raw)
To: xiaogeng_jin, 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.
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/
^ 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).