reboot on PQ2FADS board.

Lei Sun leisun124 at gmail.com
Thu Jul 20 12:45:06 EST 2006


On 7/19/06, Mathieu Deschamps <mathieu.deschamps at com2gether.net> wrote:
> 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;

That address was in the code before for warm-reset. It didn't work, I
tried the CheckStop approach, it didn't work either.

thanks
lei



More information about the Linuxppc-embedded mailing list