| Author |
Message |
Eric
Guest
|
Posted:
Tue Dec 20, 2005 9:15 am Post subject:
software application on the virtex-ii pro |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
 |
|
|
|
|