
Dear =?GBK?B?09q74Q==?=,
Please do not hijack existing mail threads!!
Start a new thread, and make sure to chose a proper subject.
Please make sure to use a line length of 70 characters or so.
And never post HTML to that list.
In message 7eb125f4.fad0.12d0964185c.Coremail.henrybenyu@163.com you wrote:
1). First, I am useing JTAG to download image to SDRAM, base address 0x40000000, (32M) so I confused with "CONFIG_SYS_TEXT_BASE", I think this this the relocate address, I am right? Could you please help me choose a address for me can working. (I choose 0x41F00000, at last crash on relocate: copy_loop)
No, CONFIG_SYS_TEXT_BASE is NOT the relocation address. The relocation address gets dynamically computed and may vary. CONFIG_SYS_TEXT_BASE is the base address of the text segment when linking the U-Boot image.
2). Second, CONFIG_SYS_INIT_SP_ADDR address is also obscure, I choose 0x42000000, at last crash on relocate: copy_loop)
As the name attempts to suggest, CONFIG_SYS_INIT_SP_ADDR defines the address of the initial steck pointer in the restricted C runtime environment before relocation.
3). What other thing I should do?
Read the documentation and especially existing code for other, similar boards.
Best regards,
Wolfgang Denk