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++
12654 Discussions

.entry section and reset address

Altera_Forum
Honored Contributor II
1,004 Views

Hi, 

 

I'm using eCos for Nios-II 1.1 on a custom board. 

The reset address is in the epcs controller boot ROM. 

The eCos startup type is set to ROMRAM. 

 

The elf .entry section appears to be associated with the reset address ... always 

... regardless if it makes sense or not. When testing via nios2-download it's a 

minor annoyance ;-) 

 

I'm currently just relocating .entry with objcopy -- not a big deal ... but I'd rather 

find a convenient setting via the configtool. Is there such a setting? 

 

 

Regards, 

--Scott
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
294 Views

When using Nios II download from Nios II 1.1 it shouldn't matter that you have this extra section. It will try and write the .entry section to the boot address (i.e. the location of the EPCS) and ignore the fact it can't. However if you have upgraded to Nios II 5.0, then you will start to see problems. If this is the case then you should also upgrade eCos to the Nios II 5.0 version. This updated version will not generate the .entry section for a ROMRAM configuration.

0 Kudos
Reply