RE: [U-Boot-Users] how to set the cfg_flash base, monitor base an d TEXT_BASE

Hello All, Thanks a lot everyone for all the inputs regarding my earlier query on CFG_FLASH_BASE, CFG_MONITOR_BASE< TEXT_BASE. I have changed the value of mt TEXT_BASE to 0xFFF00000 as suggested and it works. But there is another problem now. While debugging myu customised U-boot code for 8266 based PMC card i am able to jump from the first instruction in start.S i.e "li r21, BOOTFLAG_COLD" to the second instruction "nop".But after the "nop" instruction the program counter starts decrementing and goes backward into unknown memory locations. Can anyone tell me why this is happening and how i can correct it.
Thanks & regards, Apoorv Sangal.
-----Original Message----- From: wd@denx.de [mailto:wd@denx.de] Sent: Monday, January 03, 2005 2:28 AM To: Apoorv_Sangal Cc: 'u-boot-users@lists.sourceforge.net' Subject: Re: [U-Boot-Users] how to set the cfg_flash base, monitor base and TEXT_BASE
In message 3D9FDCA910DD4445896A0BE5ECF009D42238D8@bla.satyam.com you wrote:
Can anyone please let me know how to set the following parameters:-
Our boot flash is 512kb and its base address will be 0xFFF80000. We are using HRCW = 0x04023644. (Boot address = 0xFFF00100)
1.How to set the cfg_flash base. 2.How to set the cfg_monitor base
Run a text editor, open include/configs/<your_bord_name>.h, edit the #defines for CFG_FLASH_BASE and CFG_MONITOR_BASE, save the new file, exit the editor.
3.How to set the TEXT_BASE in config.mk
Run a text editor, open board/<your_bord_name>/config.mk, edit the line that reads "TEXT_BASE = ...", save the new file, exit the editor.
What exactly was the part of this actions you had problems with?
Best regards,
Wolfgang Denk

Apoorv_Sangal Apoorv_Sangal@satyam.com wrote:
Can anyone tell me why this is happening and how i can correct it.
IMHO, it's the problem of your register setting. Well, have you seen any serial output so far? If there is a boot loader like PlanetCore on your target, you could refer to those workable parameter value for your start. If not, pls prepare to look into your hardware configuration more and 8266 registers to figure out these settings.
===== 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...
participants (2)
-
Apoorv_Sangal
-
Sam Song