Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
1,229 Views

make_flash_image_script.sh error

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.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
213 Views

I found a solution. 

It's working with gcc3. I use Command Shell of Quartus 11.1 and script works.
IMS
Novice
167 Views

Hi,

this file uses an outdatet gcc3 function "conv".

I changed the code from:

conv -D  $fake_copier ;

To:

 iconv -c -s $fake_copier ;

Now it will use a function from gcc4 and should work well for your purpose.

Reply