[U-Boot-Users] 8555EP malloc trouble

Wolfgang Denk wd at denx.de
Sun Dec 17 17:44:37 CET 2006


In message <A590D28B5042C041BCC880094CB6172E33DC64 at mail1irv.inside.istor.com> you wrote:
> I'm trying to get the Embedded Planet 8555 board running with u-boot-1.1.6. It has been running with 1.1.4. The current issue seems to the the av_ arrays in dlmalloc.c. Somehow, the first element (av_[0]->prev_size is initialized with gd->reloc_off and 
> not zero as I believe it should be.

This code is completely hardeware-independent. If there are problems,
then in yoiur own code.

> Can someone tell me how or where any elements of the mbinptr array
> are manipulated before the calls to mem_malloc_init and
> malloc_bin_reloc in lib_ppc/board.c.

By memory corruption.

> There must be some other subroutine writing into this memory array
> area and I need a bit more understanding of what routines from
> board_init_f before malloc_bin_reloc might be involved.

This is not done by code (unless you seriously misconfigured your
board), but most probably by memory errors. See the FAQ.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Wish not to seem, but to be, the best."                  - Aeschylus




More information about the U-Boot mailing list