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

Don't want to run exe

Altera_Forum
Honored Contributor II
1,022 Views

I am adding the .exe of application in Filesystem bin directory. 

Then after uploading kernel and fs on nios2-terminal I am running 

this exe giving ./hello (for ex) 

 

When I was not using OS 

POR my FPGA configures with the system h/w image say thru flash/EPCS 

Since reset address is flash the app code from flash gets copied from  

flash to SDRAM be bootcopier and executes immediately. 

 

How to do this under uClinux/OS  

i.e. I don't want to run the exe on terminal if I enter the terminal I should get the o/p immediately. 

 

How to go for this? 

 

Thanks in Advance
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
317 Views

rau, 

 

The executable format for all uCLinux applications is FLT. There should be a bin2flt and/or elf2flt that will help you to produce the correct format. 

 

Regarding your second question, this is really a Linux-specific question and I don't think you really want it to behave as you state. uCLinux will behave the same as any other Linux system, in this respect.  

 

You want a terminal! Initially, it makes sense to run your application via the command line, in the terminal. Once you've tested that it functions, there, you could start it via some sort of initialization script. 

 

Best Regards and Good Luck! 

 

- slacker
0 Kudos
Reply