Return-Path: To: "Debora Liu" From: Wolfgang Denk Mime-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 In-reply-to: Your message of "Thu, 04 Aug 2005 17:29:09 +0800." <20050804092525.15A4A67EBC@ozlabs.org> Date: Thu, 04 Aug 2005 12:18:41 +0200 Sender: wd@denx.de Message-Id: <20050804101841.6E06B352B36@atlas.denx.de> Cc: Linuxppc-embedded Subject: Re: MPC8245 reboot List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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_