From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.libertysurf.net (mx-out.libertysurf.net [213.36.80.91]) by ozlabs.org (Postfix) with ESMTP id 9C70B67B89 for ; Thu, 20 Jul 2006 02:39:16 +1000 (EST) From: Mathieu Deschamps To: "Lei Sun" Subject: Re: reboot on PQ2FADS board. Date: Wed, 19 Jul 2006 18:41:46 +0200 References: <4879B0C6C249214CBE7AB04453F84E4D050B0F@zch01exm20.fsl.freescale.net> <20060719063317.86A66352681@atlas.denx.de> In-Reply-To: MIME-Version: 1.0 Message-Id: <200607191833.32693.mathieu.deschamps@com2gether.net> Content-Type: text/plain; charset="iso-8859-1" Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi, On Wednesday 19 July 2006 16:12, Lei Sun wrote: > Hi : > I tried your approach last ight, (in fact I copied part of the > do_reboot() code from u-boot and put it in m8260_restart() function in > the kernel). The only difference is the first line, > volatile immap_t *immap = (immap_t *) IMAP_ADDR; > in my case it is > volatile immap_t * immap = cpm2_immr; > I am using different source tree. > it simply hangs, rather then reset. > [...] Give a try to : startaddr = 0xff000104; -- Mathieu Deschamps Com2gether Design Center Electronic and Embedded Engineering Services www.com2gether.net