Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

ELF -> What's the .jdi section?

Hiya

Just looking at an .objdump, comparing to a build from a previous version of the NIOS-II build tools, and noticed a new sizeable section called ".jdi" at the end of the sections.

What's its purpose, and is there an option to exclude it?

I note there's a --jdi option set at the end of the linker command line. Manual says:

--- Quote Start ---

&#9632; --jdi <filename>: The location of the JTAG Debugging Information File (.jdi)

generated by the Quartus® II software. The .jdi file specifies the name-to-node

mappings for the JTAG chain elements. The tool inserts the .jdi path in public.mk.

If no .jdi path is specified, the command searches the directory containing the

.sopcinfo file, and uses the first .jdi file found.

--- Quote End ---

..which doesn't tell me very much.

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Cryptic JTAG Names (see jtagconfig -n for example) => SOPC Builder component names.

    EDIT: I'm not sure why it's in the ELF, but there's a nios2-elf-insert, too, so it's likely that the plan is to use the ELF to "carry" a lot of information beyond just software stuff...