Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12420 Discussions

What are the steps to create an ELF file for project in command-line?

New Contributor II

The Nios II application is first compiled into an ELF file and then this is combined with SOF to create POF which is then downloaded into the FPGA. All this is well and good. 

I want to know, the specific applications and steps to use to do this process through command-line. My main confusion is related to the very first step.

In order to create an ELF, I shall have to first create a bsp and then compile the BSP files together with the Nios II program source files to create the final ELF file output. How do I do all of this through command-line? The documents I have looked at gives such a long list or programs and mentioned "make" that I am totally confused. I would be grateful if someone can make this simple for me. Or maybe there is a course on Intel website that I am not aware of yet.

0 Kudos
1 Reply

You may run below: