
Now I burn the u-boot.bin into flash.
After reset the board, code stopped after some running. I know that U-boot will copy code from flash to RAM after startup, but how do I know if the data copied correctly?
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.
From Trace32 Data.list, the code from both flash and RAM are valid, which
means don't have any undefined command.
Here is my question: If content in flash and RAM are totally different, does it mean my RAM not initialized correctly? Or they are supposed to be different?
The stop address is ldr pc, _data_abort in start.S
What's the possible reason to stuck at data_abort?
----- Original Message ----- From: "Sam Song" samsongshu@yahoo.com.cn To: "Zhu Yong" zhu.mm.yong@gmail.com; u-boot-users@lists.sourceforge.net Sent: Friday, January 14, 2005 12:36 PM Subject: Re: [U-Boot-Users] starting with u-boot
Zhu Yong zhu.mm.yong@gmail.com wrote:
After compilation, I download the u-boot.bin to 0x08000000 with Trace32 Then set PC to 0x08000000 and run
Pls try to program your u-booot.bin into FLASH and debug from there. The method of loading the image into
RAM to debug isn't recommonded to a newbie of U-Boot.
But how can I know it running ok? The serial port doesn't have any data ( I monitored with oscilloscope)
Well, the method you used made yourself on your own. It shouldn't be surprised.
Pls try to avoid posting HTML message to this list. Only PLAIN TEXT is welcome.
===== 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 g/