software application on the virtex-ii pro
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
software application on the virtex-ii pro

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> FPGA
Author Message
Eric
Guest





Posted: Tue Dec 20, 2005 9:15 am    Post subject: software application on the virtex-ii pro Reply with quote

Hi All,

I have Linux up running for PPC on the virtex-ii pro board (XUPV2P).
I'm new to embedded system design. Anyhow, I'm hoping to run software
applications on the board. I'm familiar with adding software to the
standalone system using EDK. But with an OS on it, what modifications
do I need to make before the executables (.elf) can be run? Is there
any reference? Thanks plenty.

-Eric
Back to top
clemens fischer
Guest





Posted: Tue Dec 20, 2005 5:15 pm    Post subject: Re: software application on the virtex-ii pro Reply with quote

Eric in <1135052719.226464.50920@f14g2000cwb.googlegroups.com>:

Quote:
I have Linux up running for PPC on the virtex-ii pro board (XUPV2P).
I'm new to embedded system design. Anyhow, I'm hoping to run software
applications on the board. I'm familiar with adding software to the
standalone system using EDK. But with an OS on it, what modifications
do I need to make before the executables (.elf) can be run? Is there
any reference? Thanks plenty.

shouldn't static binaries run without any modifications? when building
the application, the link step should specify the `-static' flag.

clemens
Back to top
Peter Ryser
Guest





Posted: Tue Dec 20, 2005 11:56 pm    Post subject: Re: software application on the virtex-ii pro Reply with quote

To compile and run applications on top of Linux for Virtex-II Pro and
Virtex-4 based boards you have two options:

1. Cross-compile the application on your host. For that you need a
cross-development environment which you probably already have since you
compiled the kernel.
2. Natively use the PPC in the FPGA to compile your target application
from within Linux.

Personally, I believe that the second option is the easier (but slower)
way to go.

- Peter


Eric wrote:
Quote:
Hi All,

I have Linux up running for PPC on the virtex-ii pro board (XUPV2P).
I'm new to embedded system design. Anyhow, I'm hoping to run software
applications on the board. I'm familiar with adding software to the
standalone system using EDK. But with an OS on it, what modifications
do I need to make before the executables (.elf) can be run? Is there
any reference? Thanks plenty.

-Eric
Back to top
Peter Ryser
Guest





Posted: Wed Dec 21, 2005 1:16 am    Post subject: Re: software application on the virtex-ii pro Reply with quote

Eric,

while it might or might not work I'd rather not do that. The EDK and
Linux compilers for the PPC405 use different programming models.

- Peter


Eric wrote:

Quote:
Thanks for the response, Peter. I have thought about those methods as
well. But, is it possible to use the compiler in EDK for software
applications running on the top of Linux? Thanks!

-Eric


Peter Ryser wrote:


To compile and run applications on top of Linux for Virtex-II Pro and
Virtex-4 based boards you have two options:

1. Cross-compile the application on your host. For that you need a
cross-development environment which you probably already have since you
compiled the kernel.
2. Natively use the PPC in the FPGA to compile your target application
from within Linux.

Personally, I believe that the second option is the easier (but slower)
way to go.

- Peter


Eric wrote:


Hi All,

I have Linux up running for PPC on the virtex-ii pro board (XUPV2P).
I'm new to embedded system design. Anyhow, I'm hoping to run software
applications on the board. I'm familiar with adding software to the
standalone system using EDK. But with an OS on it, what modifications
do I need to make before the executables (.elf) can be run? Is there
any reference? Thanks plenty.

-Eric







Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> FPGA All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB