
I'm pretty sure TEXT_BASE should be set to the beginning of U-Boot. I am assuming that you are running from Flash. The TEXT_BASE you have set is 132 MB from the start of flash, which is only 2 MB. So I'm not sure what you are hitting at 0x08400000 (depends on your memory map). So I would set TEXT_BASE to wherever you are programming u-boot.bin to. For example in my system I have 128 MB of flash residing at 0xf8000000. I program U-Boot starting at 0xfff80000. So my TEXT_BASE is set to 0xfff80000.
Hope it helps!
Jeff Stevens
--- Sam Song samsongshu@yahoo.com.cn wrote:
Zhu Yong zhu.mm.yong@gmail.com wrote��
Because I set TEXT_BASE to 0x08400000, I dumped
data
from flash as well as RAM (from 0x08400000) with length equal to the size of u-boot.bin, the two file are totally different.
Seems wrong to me.
#define CFG_FLASH_BASE 0x00000000 /* SyncFlash on
CSD1 */
#define FLASH_BANK_SIZE 0x00200000 /* 2 MB Total
*/
You should set TEXT_BASE in the scope of 0x200000, one address which reset vector locates in FLASH according to your hardware configuration.
Read the DOC Wolfgang suggested and search some related threads in this maillist archive and try:-)
Good Luck!
===== Best regards,
Sam
_________________________________________________________
Do You Yahoo!? 150����MP3����ѣ������������ֵ��� http://music.yisou.com/ ��Ů����Ӧ�о��У��ѱ���ͼ����ͼ�Ϳ�ͼ http://image.yisou.com 1G����1000�ף��Ż������������ݣ�
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1...
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users
__________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com