[U-Boot] Getting Exception Error while running u-boot from Context-RAM

prakash bedge prakash.bedge at gmail.com
Thu May 27 12:39:17 CEST 2010


Hi All,

Can I expect a reply from seniors who might have faced this kind of issue?

If anyone have faced this kind of issue earlier. Please reply.

Thanks in advance.

Regards,
Prakash

On Tue, May 25, 2010 at 12:45 PM, prakash bedge <praka
sh.bedge at gmail.com> wrote:

> 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
>


More information about the U-Boot mailing list