[U-Boot-Users] what is wrong when calloc return bogus?

Wolfgang Denk wd at denx.de
Fri Aug 15 21:50:56 CEST 2003


In message <FD2AC9A020DDD51194710008C7089B200BEE22B6 at dlee17.itg.ti.com> you wrote:
> The heap area is not being setup properly.  It appears that all of the ARM
> boards cpu.c and start.S were from the same root. In cpu.c _armboot_real_end
> is set up such that the malloc init in lib_arm/board.c's should work... It
> appears that the pxa's start.S diverged from the way the other ARMs did the
> relocation and ended up breaking this aspect of the init.
> 
> So, the PXA and could change to be like the other ARM boards or ... I recall
> that part of a patch to board.c someone posted should result in this working

If the PXA is broken, then it should be fixed, but NOT by  making  it
like  the  other  ARM boards which are (IMHO) broken by design. [It's
just that we didn't have enough free resources (or volunteers???)  to
fix the ARM memory layout.]

ARM still suffers from the many things ARMBoot did differently.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
"In Christianity neither morality nor religion come into contact with
reality at any point."                          - Friedrich Nietzsche




More information about the U-Boot mailing list