[U-Boot-Users] I have some problem when booting Intel Xscale PXA263 CPU...

Jacob Chan jacob_chan at so-net.net.tw
Thu Oct 30 09:51:49 CET 2003


Dear Wolfgang,
In my board, there are 32MB Flash memory and 128MB SDRAM.
The memory map is 
0x00000000 ~ 0x01FFFFFF CS0 -->32MB Flash memory
0xa0000000 ~ 0xa3FFFFFF SDCS0 --> 64MB SDRAM
0xa4000000 ~ 0xa7FFFFFF SDCS0 --> 64MB SDRAM
I set 
TEXT_BASE = 0xa0300000
#define CFG_LOAD_ADDR 0xa2000000
#define CFG_MALLOC_LEN          (1024*1024)
#define CONFIG_STACKSIZE        (1024*1024)
and the console output is
U-Boot 0.4.8 (Oct 30 2003 - 16:25:25)

U-Boot code: A0300000 -> A0314874  BSS: -> A0315D84
DRAM Configuration:
Bank #0: a0000000 64 MB
Bank #1: a4000000 64 MB
Flash: 32 MB
into env_flash.c --> env_relocate_spec...
Exit env_flash.c --> env_relocate_spec...
End of env_relocate() 
Setting IP Address
End of Setting IP Address.
devices_init...
Into common/lists.c --> ListCreate
Into common/lists.c --> NewHandle             <--- It hangs.

Now I still trace into NewHandle function.
I find it hangs in malloc() function.
I am confuse that the function malloc in common folder.
I think the malloc function can work correctly in the Lubbock board.
Why it can't work in my target board?
Is my CPU Memory Register setting wrong???
I am confuse.

Thanks.

Best regards,

Jacob Chan



-----Original Message-----
From: u-boot-users-admin at lists.sourceforge.net
[mailto:u-boot-users-admin at lists.sourceforge.net] On Behalf Of Wolfgang Denk
Sent: Thursday, October 30, 2003 3:56 PM
To: Jacob Chan
Cc: u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] I have some problem when booting Intel Xscale
PXA263 CPU... 

In message
<!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA+PVBMbpkMUqKhq9Dwhg2eMKAAAAQ
AAAAuygPQmiC9US32sCPMkBnRAEAAAAA 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 ...

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
The light at the end of the tunnel is usually a "No Exit" sign.


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: System.map
Type: application/octet-stream
Size: 10433 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20031030/2a3471fc/attachment.obj 


More information about the U-Boot mailing list