
In message FD2AC9A020DDD51194710008C7089B200BEE22B6@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