- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello all š.
To run the bare-metal application on Altera Cyclone V using HPS from SD-card., some steps need to be done, i have a problem in this step:
Create simple app in DS-5, compile it and obtain test.axf then convert it to test.bin using fromelf command and then convert it in test.img with mkimage tool.
how and where should i use this fromelf command?
Thanks in advance.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
āI just include it in the post-build steps (under Build Steps tab in the C/C++ Build Settings):
fromelf --bincombined ${ProjName}.axf --output=${ProjName}.bin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you very much for your answer, it is very nice solution, what did you then to convert .bin to .img?
Thanks in Advance.
LG, Billel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
āI issue the mkimage command from outside the DS-5 tool as a manual post-build step.
I do this from a SoC EDS command shell.
If someone knows the way to get this step completed from the DS-5 tool I'd be happy to hear about it !

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page