Nios® V Processor Software Developer Handbook

ID 743810
Date 10/12/2024
Public
Document Table of Contents

16.2.3.7. elf-query

Description

A simple ELF 'querying' tool used to extract metadata inserted into an ELF intended for the Nios® V processor. The tool's main purpose is to allow downstream tools to extract information from an ELF that was inserted using elf-insert. The main goal is to make the ELF file the single handoff file that all downstream embedded tools can use.

For example, you can use elf-insert to insert CPU name, System ID and other information into the ELF file during development. Later, implement elf-query to extract the information for design identification or process connectivity.

The first argument is the ELF filename: (elf-query <filename>).

Valid Additional Arguments

--qsys 
--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 
--thread_model 

Advanced Options

--jvm-max-heap-size=<value>

Optional. You can use the maximum memory size for allocations when running this tool. Specify the value as <size><unit> where the unit can be m (or M) for multiples of megabytes or g (or G) for multiples of gigabytes. The default value is 512 m.