Specifications

--sopcinfo <sopcinfoFile>
--jar <jarFile>
--jdi <jdiFile>
--quartus_project_dir <quartusProjectDir>
--sopc_system_name <sopcSystemName>
--profiling_enabled <profilingEnabled>
--simulation_enabled <simulationEnabled>
Description
Inserts metadata into a .elf file for the Nios II processor so that downstream tools can extract that
information. With this added metadata, the .elf file can be the single handoff file for all downstream
embedded tools.
For example, the Nios II SBT uses nios-elf-insert to insert the CPU name and the system ID into the .elf
file at build time. Later on downstream, the Eclipse debugger can use nios2-elf-query to extract this
information and populate all the GUI settings with the correct default values.
If no command-line arguments are specified, this command returns an exit value of 1 and sends a
command description to stderr.
Related Information
nios2-elf-query on page 15-16
nios2-elf-query
Usage
nios2-elf-query <filename> [--cpu_name] [--stderr_dev] [--stdin_dev]
[--stdout_dev] [--sidp] [--id] [--timestamp] [--sof] [--sopcinfo]
[--jar] [--jdi] [--quartus_project_dir] [--sopc_system_name]
[--profiling_enabled] [--simulation_enabled]
Options
<filename>: the .elf filename
--cpu_name
--stderr_dev
--stdin_dev
--stdout_dev
--sidp
--id
--timestamp
--sof
--sopcinfo
--jar
--jdi
--quartus_project_dir
15-16
nios2-elf-query
NII5V2
2015.05.14
Altera Corporation
Nios II Software Build Tools Reference
Send Feedback