Forum Discussion

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

Nios2-elf need to match the elf image every time

Is there any way to omit the time stamp from the elf image generation every time so we can match the image for every compile? is the nios-elf limited in the functionality then gcc elf.

2 Replies

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

    Hi, do you mean "match the software to the hardware ?"

    Are you using QSYS/SOPC ?

    It is not a good idea to omit timestamp. But you can, either by unticking the option in nios2 programmer GUI or by omitting the option in nios2-programmer command line.

    I had troubles like you (you are not precise) when the QSYS component was not at the root project directory. If so Rebuild your QSYS and save it to the root project directory
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Hi, do you mean "match the software to the hardware ?"

    Are you using QSYS/SOPC ?

    It is not a good idea to omit timestamp. But you can, either by unticking the option in nios2 programmer GUI or by omitting the option in nios2-programmer command line.

    I had troubles like you (you are not precise) when the QSYS component was not at the root project directory. If so Rebuild your QSYS and save it to the root project directory

    --- Quote End ---

    No I am working on a firmware which pulls in the bsp SOPC is not part of the firmware. and I am only try to match firmware build everytime. along with BSP I am also brining in the ucosii.