Hi all,I use advanced_boot_copier of Altera, I try to make software image with make_flash_image_script. I put make_flash_image_script.sh, make_header.pl, read_flash_image.pl files into the same folder as elf file and run script from Nios2 Command Shell GCC 4 (Version 15.0, build 145). But there is no srec file after script executing. The text of warning: BFD: factory.elf.tmp.elf: warning: Empty loadable segment detected, is this intentional? ./make_flash_image_script.sh: line 156: conv: command not found. I have no idea how i can resolve this. Please, help.
this file uses an outdatet gcc3 function "conv".
I changed the code from:
conv -D $fake_copier ;
iconv -c -s $fake_copier ;
Now it will use a function from gcc4 and should work well for your purpose.