Hi Liu,
 
please try this..
 
     u32 msr;
     
     volatile immap_t *immap = (immap_t *) IMAP_ADDR;
     
     
     /* Interrupts and MachineCheck off */
     __asm__ __volatile__ ("mfmsr    %0":"=r" (msr):);
     
     msr &= ~(MSR_ME | MSR_EE);
     __asm__ __volatile__ ("mtmsr    %0"::"r" (msr)); 
     
     immap->im_clkrst.car_rmr = 1;    /* Checkstop Reset enable */

     immap->resxxx = 0;        /* please find one immap illegal address
                                   access it, trig reset */
     for (;;);



________________________________

        From: linuxppc-embedded-bounces+daveliu=freescale.com at ozlabs.org
[mailto:linuxppc-embedded-bounces+daveliu=freescale.com at ozlabs.org] On
Behalf Of Zhimin (Jimmy) Liu
        Sent: Friday, August 18, 2006 1:00 AM
        To: linuxppc-embedded at ozlabs.org
        Subject: reboot on PQ2FADS board.
        
        

        Did you sovlve the problem? I have same issue for the  PQ2FADS
board. 

        jimmy 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20060818/968e753a/attachment.htm
 

Reply via email to