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
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

running application on linux system on eval board

Altera_Forum
Honored Contributor II
1,242 Views

I have difficulty in running the application on nios2 system. 

The process followed is: 

> Built application project hell with c file hello.c 

> the generated .exe - hello.exe added to filesystem project created earlier - hello.exe copied to  

target/bin folder of filesystem project 

> Filesystem project built again 

> Filesystem proj uploaded  

 

Now, my kernel proj(done earlier) and filesystem proj are  

uploaded (i.e. they are into Flash- which location?) 

Now to runthis perticular hello.exe what I am supposed to do. 

 

*Am I supposed to download the .sof for this linux_1c20 system and then how the hello.exe will run. 

After conf FPGA with the .sof 7 seg LED display counter and some pattern runs on LEDs 

 

My concern is how to run this .exe in filesystem 

 

Please guide on this 

 

Thanks and Regards
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
502 Views

Hi 

 

All you do is browse to the directory where the hallo.exe file is located and type# ./hallo.exe 

this should run the program. 

From other location ,assuming the hallo.exe is in the /bin directory type# ./bin/hallo.exe (I think) 

 

Good luck 

 

Rual
0 Kudos
Altera_Forum
Honored Contributor II
502 Views

 

--- Quote Start ---  

originally posted by rual@Oct 26 2005, 07:51 PM 

hi 

 

all you do is browse to the directory where the hallo.exe file is located and type# ./hallo.exe 

this should run the program. 

from other location ,assuming the hallo.exe is in the /bin directory type# ./bin/hallo.exe  (i think) 

 

good luck 

 

rual 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=10599) 

--- quote end ---  

 

--- Quote End ---  

 

I think I need to do this from nios2 terminal 

but when I am giving nios2-terminal  

then user name as nios and password as uClinux as mentioned in reference guide 

its giving incorrect login 

 

Pl clarify: FPGA should be configured with .sof? 

 

 

Thanks and Regards
0 Kudos
Altera_Forum
Honored Contributor II
502 Views

 

--- Quote Start ---  

originally posted by rau+oct 26 2005, 07:56 pm--><div class='quotetop'>quote (rau @ oct 26 2005, 07:56 pm)</div> 

--- quote start ---  

<!--quotebegin-rual@Oct 26 2005, 07:51 PM 

hi 

 

all you do is browse to the directory where the hallo.exe file is located and type# ./hallo.exe 

this should run the program. 

from other location ,assuming the hallo.exe is in the /bin directory type# ./bin/hallo.exe  (i think) 

 

good luck 

 

rual 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=10599) 

--- quote end ---  

 

--- Quote End ---  

 

I think I need to do this from nios2 terminal 

but when I am giving nios2-terminal  

then user name as nios and password as uClinux as mentioned in reference guide 

its giving incorrect login 

 

Pl clarify: FPGA should be configured with .sof? 

 

 

Ok able to do it 

 

Thanks every body 

Thanks Rual 

 

 

Thanks and Regards 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=10600)</div> 

[/b] 

--- Quote End ---  

0 Kudos
Reply