From mboxrd@z Thu Jan 1 00:00:00 1970 From: Madhavi Manchala Date: Sun, 13 Feb 2011 19:52:58 +0530 Subject: [U-Boot] Is it possible to load the uboot.bin file to RAM area instead FLASH? In-Reply-To: References: <20110211165703.9F05A1519FD@gemini.denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Feb 13, 2011 at 7:11 PM, Lei Wen wrote: > On Sun, Feb 13, 2011 at 9:30 PM, Madhavi Manchala > wrote: >> On Fri, Feb 11, 2011 at 10:27 PM, Wolfgang Denk wrote: >>> Dear Lei Wen, >>> >>> In message you wrote: >>>> >>>> If your sdram is large enough, or the uboot code is small enough, you don't need >>>> the dram init. But begin at the TEXT_BASE still is a must. >>> >>> Hugh? ?You _always_ must make sure the RAM has been initialized first. >>> >>> Best regards, >>> >>> Wolfgang Denk >> >> Dear Wolfgang Denk and Lei, >> >> Thanks for your information. >> >> I build one u-boot.bin file for smdk2410 configuration. However, when >> I try to load through JTAG, I am seeing the following error. >> >> invalid download offset u-boot.bin >> >> Am I doing any thing wrong? I set RAM BASE address as 0x00000000 in >> the confiuration file as our board RAM starts from there only. Shall I >> need to modify any thing in the config file? >> > No idea... > That info message should not be printed by your uboot. > Maybe you should refer to someone expert for your jtag to solve this... > > Best regads, > Lei Yes, Lei. I am using J-Link JTAG with J-LinkGDBServer for loading the u-boot.bin file on to the board through a .gdbinit script file. One more thing, when I looked into the config.h file, I found CONFIG_SYS_LOAD_ADDR macro. What is the use of this macro? Is it u-boot load address? I also changed this and tested. But, lo luck. Thanks for your information. Regards, Madhavi M.