Finaly I got the Clue how to get my NIOS into a jic for our factory ...
It took quite a while and I'm wondering why so few people have this issue ... anyway ...
1.) Start the flash-programmer in the NIOS-IDE (we need the flash file, you may just run the sh-script as well ...)
2.) Start nios command shell and switch to the Release Directory
3.) Copy the fpga.flash and the software.flash -srec into one single srec-file ...
[NiosII EDS]$cat Quartus_Project_Revison.flash >merge.flash
[NiosII EDS]$cat epcs_controller.flash >>merge.flash
3.) convert it to intel-hex for programming file convertor in Quartus
[NiosII EDS]$ nios2-elf-objcopy.exe -I srec -O ihex -v emerge.flash merge.hex
4.) Use Quartus -> File -> Convert Programming File ...
select output: *.jic , select your epsc, outputfilename,
select flash-loader for your device
remove sof-entry
add hex file (merge.hex, absolute)
Generate ...
5.)programm with the quartus-programmer :-)
PS:
Girls&Boys from Altera: INCLUDE THIS SCRIPT SOMEWHERE IN 9.1 !!!
I would like to automaticaly integrate this into the Build/Flash Progress, ...