
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