linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: "Debora Liu" <deboralh@fel.com.cn>
Cc: Linuxppc-embedded <Linuxppc-embedded@ozlabs.org>
Subject: Re: MPC8245 reboot
Date: Thu, 04 Aug 2005 12:18:41 +0200	[thread overview]
Message-ID: <20050804101841.6E06B352B36@atlas.denx.de> (raw)
In-Reply-To: Your message of "Thu, 04 Aug 2005 17:29:09 +0800." <20050804092525.15A4A67EBC@ozlabs.org>

In message <20050804092525.15A4A67EBC@ozlabs.org> you wrote:
> 
> If do reboot board by jump address of uboot start address?

Bad idea. That address may not be mapped at all, or not at the  right
physical  address.  Also,  just  jumping to a boot loader entry point
does not cause a hardware reset, so any devices that might  be  stuck
will remain stuck.

You should always try to  cause  a  real  reset;  there  are  several
methods  in  use  for  this,  like  using a watchdog reset, causing a
machine check, etc. Just see existing code.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
All these theories, diverse as they are, have two things  in  common:
they explain the observed facts, and they are completeley and utterly
wrong.                       - Terry Pratchett, _The Light Fantastic_

  reply	other threads:[~2005-08-04 10:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-04  9:29 Re: MPC8245 reboot Debora Liu
2005-08-04 10:18 ` Wolfgang Denk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-08-03  5:40 Daniel Ann
2005-08-03  5:47 ` Kumar Gala
2005-08-03  6:40   ` Daniel Ann
2005-08-03 18:39     ` Mark A. Greer
2005-08-04  0:16       ` Daniel Ann
2005-08-04  0:26         ` Mark A. Greer

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=20050804101841.6E06B352B36@atlas.denx.de \
    --to=wd@denx.de \
    --cc=Linuxppc-embedded@ozlabs.org \
    --cc=deboralh@fel.com.cn \
    /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;
as well as URLs for NNTP newsgroup(s).