Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12437 Discussions

make_flash_image_script.sh error

Altera_Forum
Honored Contributor II
1,407 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
391 Views

I found a solution. 

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