
Hi,
I am using u-boot as Bootloader for my PPC440 core based hardware board.
I am trying to run the u-boot code from Context RAM (Size 4 MB) instead of DDR and I am successful in it.
But I am observing a machine check exception error while doing board hard reset (by pressing the reset key on board).
When I do the Core reset or Chip reset using BDI3000 debugger, I am not getting any exception error.
But when I press the reset key on board, I am getting an machine check exception error and my board reboots always and continue to generate the exception error.
One thing I noted that, when I shutdown the board system and again restarts the board, then everything is fine and this time I am not getting the exception error.
I am little bit confused because of this abnormal behavior. I believe this issue might be relevant with memory allocation.
I am getting error after this statement mem_malloc_init (), in lib_ppc/board.c file
Code snippet (lib_ppc/board.c) | |
asm ("sync ; isync");
/* initialize malloc() area */
*mem_malloc_init ();*
malloc_bin_reloc ();
#if !defined(CONFIG_SYS_NO_FLASH) puts ("FLASH: "); | |
If anyone has faced this kind of problem earlier, please share your experience.
Thanks & Regards,
Prakash