[U-Boot-Users] I have some problem when booting Intel Xscale PXA263 CPU...
alarsen at rea.de
Thu Oct 30 10:45:07 CET 2003
Wolfgang Denk <wd at denx.de> schreibt:
><!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA+PVBMbpkMUqKhq9Dwhg2eMKAAAAQAAAAuygPQmiC9US32sCPMkBnRAEAAAAA at so-net.net.tw>
>> 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
>> 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 ...
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...
More information about the U-Boot