Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
All support for Intel NUC 7 - 13 systems has transitioned to ASUS. Read latest update.
12578 Discussions

make_flash_image_script.sh error

Altera_Forum
Honored Contributor II
1,821 Views

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 II
805 Views

I found a solution. 

It's working with gcc3. I use Command Shell of Quartus 11.1 and script works.
0 Kudos
IMS
Novice
759 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.

0 Kudos
Reply