[U-Boot-Users] 8555EP malloc trouble

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

In message A590D28B5042C041BCC880094CB6172E33DC64@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
participants (2)
-
Charles Krinke
-
Wolfgang Denk