Forum Discussion

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

running application on linux system on eval board

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

3 Replies

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

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- 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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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