Re: how to use head_fsl_booke.S:abort to restart

2008-03-26 Thread Philippe De Muyter
Hi Haiying, On Tue, Mar 25, 2008 at 04:48:23PM -0400, Haiying Wang wrote: > Ok, I see the problem here. For 8540/60 which has e500 v1 core, it > doesn't use RSTCR to assert HRESET_REQ signal to reset the whole system. > We probably need to add abort() in fsl_rstcr_restart() for those > silicons: >

Re: how to use head_fsl_booke.S:abort to restart

2008-03-25 Thread Haiying Wang
Ok, I see the problem here. For 8540/60 which has e500 v1 core, it doesn't use RSTCR to assert HRESET_REQ signal to reset the whole system. We probably need to add abort() in fsl_rstcr_restart() for those silicons: diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c index 2c

Re: how to use head_fsl_booke.S:abort to restart

2008-03-25 Thread Philippe De Muyter
Hi Haiying, On Tue, Mar 25, 2008 at 12:34:55PM -0400, Haiying Wang wrote: > 8540 doesn't have RSTCR register. You should not use fsl_rstcr_restart > for reboot your 8540 board. > That's what I was thinking also (see my Post-Scriptum below), but current linux/powerpc sources use fsl_rstcr_restart

Re: how to use head_fsl_booke.S:abort to restart

2008-03-25 Thread Haiying Wang
8540 doesn't have RSTCR register. You should not use fsl_rstcr_restart for reboot your 8540 board. Haiying On Tue, 2008-03-25 at 17:15 +0100, Philippe De Muyter wrote: > Hi all, > > I have a mpc8540 board that could reboot when driven by a ARCH=ppc linux, > but that hangs now in arch/powerpc/sys

how to use head_fsl_booke.S:abort to restart

2008-03-25 Thread Philippe De Muyter
Hi all, I have a mpc8540 board that could reboot when driven by a ARCH=ppc linux, but that hangs now in arch/powerpc/sysdev/fsl_soc.c:fsl_rstcr_restart when asked to reboot with a ARCH=powerpc linux. I have found that if I call arch/powerpc/kernel/head_fsl_booke.S:abort from there, my board reboo