[U-Boot-Users] BDI2000 stop debug in board.c for ARM

Fan, Xin (GE Healthcare) XinFan at ge.com
Mon Apr 28 11:22:56 CEST 2008


When I debug the board SMDK2410 using the BDI2000, I got an error puzzle
me a lot.
 
Debug in start.s is okay, when get into the file board.c following
instruction in " for (init_fnc_ptr = init_sequence; *init_fnc_ptr;
++init_fnc_ptr) {" cycle, there is an notification appear in the ddd
debugger. "Further execution is probably impossible."  And then uboot go
back to "monitor_flash_len = _bss_start - _armboot_start; "
 
I don't know why. Can anybody tell me what happen here?
Thanks a lot,
 
Fan
 
.......
 gd = (gd_t*)(_armboot_start - CFG_MALLOC_LEN - sizeof(gd_t));
 /* compiler optimization barrier needed for GCC >= 3.4 */
 __asm__ __volatile__("": : :"memory");
 
 memset ((void*)gd, 0, sizeof (gd_t));
 gd->bd = (bd_t*)((char*)gd - sizeof(bd_t));
 memset (gd->bd, 0, sizeof (bd_t));
 
 monitor_flash_len = _bss_start - _armboot_start;
 
 for (init_fnc_ptr = init_sequence; *init_fnc_ptr; ++init_fnc_ptr) {
  if ((*init_fnc_ptr)() != 0) {
   hang ();
  }
 }
 
.......
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080428/472d3d45/attachment.htm 


More information about the U-Boot mailing list