[U-Boot-Users] Debug from SDRAM

Hello,
I've donwloaded the ELF file with the PowerTAP pro, everything works fine. The ELF File directs the PowerTAP download to 0xFFFx.xxxx (Flash Memory)
Is there a possibility to Compile and Link the code in a way the code can run from SDRAM?
Thx Roel

In message NCBBIIOPCEBAMFLLKKBKKECOCGAA.RL@prodrive.nl you wrote:
I've donwloaded the ELF file with the PowerTAP pro, everything works fine. The ELF File directs the PowerTAP download to 0xFFFx.xxxx (Flash Memory)
Is there a possibility to Compile and Link the code in a way the code can run from SDRAM?
Why would you want to do that? It is usually much easier to debug the original code following the designed-in steps of the initialization sequence.
It is actually not difficult to make the code to be startable from RAM, but it requies some modifications, and you have to know exactly what you are doing.
The fact that you have to ask if this is possible suggests that you should better try to get the original code running (from flash). [No offence meant, just speaking from experience.]
Best regards,
Wolfgang Denk

I have a new problem that I am trying to solve - up until now I have not noticed that the timer interrupt has not been working with my 405GPr and u-boot. I just discovered this problem because we recently connected a phy to the 405, and I am now trying to perform a "tftpboot" - I see a message that one ARP packet goes out, and then the board just sits there with no further output - I expected at least a timeout message, and there is indeed a timeout in the code that is supposed to occur if a proper response to the ARP is not recieved within some period of time.
So - the problem I have is trying to figure out what could be wrong with the timer. Could you please advise me as to where I can start?
Thanks
Jerry Walden

I have a new board(the chip is just being made) with flash on its local bus, but the localbus-flash is not working. i modified the code on a few key configs including CFG_RAMBOOT, CFG_ENV_IS_NOWHERE and CFG_NO_FLASH(grep them in u-boot and find their use) to run U-Boot in DDR directly. Of course you need use your debugger to initilize DDR/SDRAM before you download U-Boot to it.
if you have a working flash, you really don't need to do so and it's better to boot from flash and wait for U-Boot to configure your SDRAM instead...
regards,
xianghua
On Wed, 2003-04-09 at 09:09, Roel Loeffen wrote:
Hello,
I've donwloaded the ELF file with the PowerTAP pro, everything works fine. The ELF File directs the PowerTAP download to 0xFFFx.xxxx (Flash Memory)
Is there a possibility to Compile and Link the code in a way the code can run from SDRAM?
Thx Roel
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
participants (4)
-
Jerry Walden
-
Roel Loeffen
-
Wolfgang Denk
-
Xianghua Xiao