[U-Boot-Users] SIGSTOP in m8260_cpm_reset () at commproc.c:43

Vsevolod Mountaniol mountaniol at gmail.com
Thu May 18 11:24:14 CEST 2006


Hello community,
We are porting U-BOOT to new 8247A based board.
We use the last ELDK and u-boot version 1.1.4
The board files created from the scratch.

To debug we use BDI2000 through JTAG.

If I just start u-boot it achieves the function m8260_cpm_reset() and
stop there with message:

Program received signal SIGSTOP, Stopped (signal).
0xfff040e0 in m8260_cpm_reset () at commproc.c:43
/home/seva/tools/u-boot-1.1.4/cpu/mpc8260/commproc.c:43:1207:beg:0xfff040e0
(gdb)

If I trace it step by step then it enters into the loop:

  41         do {                    /* Spin until command processed         */
  42                 __asm__ __volatile__ ("eieio");
  43         } while ((immr->im_cpm.cp_cpcr & CPM_CR_FLG) && ++count < 1000000);

and run inside of this one. The BDI console prints

- TARGET: stepped

endlessly.

If I set breakpoint a line before this loop then it stops without any problem.
Line after - stops with SIGSTOP.

Please advice what may be wrong?


-- 
With Best Regards -
Vsevolod Mountaniol




More information about the U-Boot mailing list