
Wolfgang Denk wd@denx.de schreibt:
In message !~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA+PVBMbpkMUqKhq9Dwhg2eMKAAAAQAAAAuygPQmiC9US32sCPMkBnRAEAAAAA@so-net.net.tw you wrote:
I am using u-boot-0.4.8 to boot my Intel Xscale PXA263 M/B. After boot, I can see the console out but it hang at common/lists.c
line =
The calloc(size,num) that defined as malloc(size*num). I have no idea to debug it.
First think. Then think again. What's your memory map? How big is the malloc area, the stack, etc. on your board?
Then attach a BDI2000 and fire up GDB ...
Hi Wolfgang,
PXA (XScale) support is broken, remember? lib_arm/board.c uses '_armboot_real_end' to set up the heap, but cpu/pxa/cpu.c does not initialize that variable, thus the crash in the first call to malloc().
It was _your_ decision not to merge the patch that fixes this...
Cheers Anders