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