2010-01-06 04:55:15     need info on bootelf or some alternative

Document created by Aaronwu Employee on Sep 25, 2013
Version 1Show Document
  • View in full screen mode

2010-01-06 04:55:15     need info on bootelf or some alternative

V Hemanth Kumar (INDIA)

Message: 84234   

 

Hi,

 

I am working on custom BF527 platform, I have built an fpga programming utility. I have compiled the code using VDSP.

 

I download the fpga.dxe using tftp from u-boot prompt.

 

When I run the image using bootelf the program works absolutely fine, but when the program exits the control does not return back to u-boot command prompt.

 

Is this behaviour correct? Is there a way in which the control can be given back to u-boot prompt?

 

Please let me know some alternatives also.

 

Thanks,

Hemanth Varadha.

QuoteReplyEditDelete

 

 

2010-01-06 09:56:25     Re: need info on bootelf or some alternative

Robin Getz (UNITED STATES)

Message: 84236   

 

Hemanth:

 

This is expected behaviour - once U-Boot boots the elf application (from VDSP) - U-Boot may be gone. You could need to contact the VDSP team to understand what would need to be changed in their crt0 not to clobber things, that U-Boot expects to be resident.

 

Try http://ez.analog.com/community/visualdsp - and don't mention that you are using "U-Boot" (or they might pass you back here) -- just say "second stage bootloader running in a combination of internal and external memory".

 

You need to figure out how to tell your VDSP application that where the "second stage bootloader running in a combination of internal and external memory" is located is off limits (so your VDSP application doesn't clobber it), and to return properly at the end of the VDSP application (execute the RTS instruction), and not to iniatialize things that the bootloader does. (CPLBs, stack, etc).

 

-Robin

Attachments

    Outcomes