Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

Don't want to run exe

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

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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