Include application RTT, OCL for embedded Linux
Submitted by phamelin on Thu, 2011-03-17 13:56 |
2011/3/17 <moktarbouain [..] ...>
> Hi Herman,
> My platform hardware is Digilent-XUP and i used embedded Linux
> (SnapGear).
> I created an application orocos, and I want to integrate into embedded
> Linux.
>
>
>
Since this board is a PPC architecture and Orocos supports it, you can port
your application to the embedded system. We are doing almost the same thing
but on a Xilinx Virtex-5 (PPC440). Unfortunately, this is not a trivial task
since you will have to cross-compile every dependency. If you use Corba, I
strongly suggest to use OmniORB instead of ACE&TAO. It's much smaller and
easy to cross-compile. Here is some links that may help you to cross-compile
dependencies:
http://goodliffe.blogspot.com/2008/05/cross-compiling-boost.html
http://www.omniorb-support.com/omniwiki/CrossCompiling
For cross-compiling Orocos, I suggest to use the CMake approach:
http://www.cmake.org/Wiki/CMake_Cross_Compiling
Philippe
Thank you Philippe,For more
Thank you Philippe,
For more detail:i used Leon3 ,SPARC architecture, for Virtex-2Pro FPGA. I know we must use a cross compiler. But how to install the application on the target platform? and what are the tools we need to install the application OROCOS in the target?
Thank you Philippe,For more
On Thu, 17 Mar 2011, moktarbouain [..] ... wrote:
> For more detail:i used Leon3 ,SPARC architecture, for Virtex-2Pro FPGA.
> I know we must use a cross compiler. But how to install the application on the target platform? and what are the tools we need to install the application OROCOS in the target?
Maybe you can check the recent posts by Zhang Lin, who just succeeded in
running an Orocos application on a Virtex FPGA. It's a PPC architecture,
but the worlflow and toolchain for such cross-platform development is
rather similar between platforms. The essential thing is to find decent
Linux kernel for your hardware.
Herman
Hi PhilippeI like to know
Hi Philippe
I like to know what is the problem.The architecture SPARC of my processor Leon3?or something else?
Hi PhilippeI like to know
2011/3/17 <moktarbouain [..] ...>
> Hi Philippe
>
> I like to know what is the problem.The architecture SPARC of my
> processor Leon3?or something else?
>
In Orocos, there's atomic operations (mostly assembly code) for each
architecture that it supports. Since SPARC isn't actually a supported
architecture, you will have to modify the orocos library to support SPARC.
Philippe
Thank you PhilippeWhere i
Thank you Philippe
Where i find a document explaining the changes?and the result is guaranteed?
Thank you PhilippeWhere i
2011/3/17 <moktarbouain [..] ...>
> Thank you Philippe
>
>
> Where i find a document explaining the changes?and the result is
> guaranteed?
>
To my knowledge, there's no official document that explain how to port
Orocos to a new architecture. However, you will find some useful information
by searching in the forum. What do you mean by "result is guaranteed" ? If
you mean feasible, yes, it's surely feasible but the amount of work to get
there may varies.
Philippe
Yes i mean feasible.Thank
Yes i mean feasible.
Thank you very much.
Thank you Philippe,For more
2011/3/17 <moktarbouain [..] ...>
> Thank you Philippe,
>
> For more detail:i used Leon3 ,SPARC architecture, for Virtex-2Pro FPGA.
> I know we must use a cross compiler. But how to install the application on
> the target platform? and what are the tools we need to install the
> application OROCOS in the target?
>
This is not an orocos-specific question, but rather a general question about
embedded linux system development. Depending on the build system of the
application, there's different ways to cross-compiling an application
(CMake, Autotools). You should start by teaching yourself how to write a
single hello world application for your target system before trying to port
orocos to this architecture. As far as I know, Orocos doesn't actually
support SPARC architecture, so you will have to implement some atomic
operations to make it work (e.g. http://www.orocos.org/node/377).
Philippe
Thank you Philippe,For more
2011/3/17 Philippe Hamelin <philippe [dot] hamelin [..] ...>
> 2011/3/17 <moktarbouain [..] ...>
>
> Thank you Philippe,
>>
>> For more detail:i used Leon3 ,SPARC architecture, for Virtex-2Pro FPGA.
>>
>
Is this a "virtual FPGA emulated" processor ? The VIIpro are equiped with 2
(real) PPC405 swimming into the FPGA gates, I am surprised you are not using
them.
> I know we must use a cross compiler. But how to install the application on
>> the target platform? and what are the tools we need to install the
>> application OROCOS in the target?
>>
>
> This is not an orocos-specific question, but rather a general question
> about embedded linux system development. Depending on the build system of
> the application, there's different ways to cross-compiling an application
> (CMake, Autotools). You should start by teaching yourself how to write a
> single hello world application
>
I push up this, for having played with the xilinx suite, it's a long way
before setting up a bare metal application.
Are you trying to use Orocos as a bare metal application (I think it doesn't
work but I am not competent to answer) or have you an OS on the board ?
> for your target system before trying to port orocos to this architecture.
> As far as I know, Orocos doesn't actually support SPARC architecture, so you
> will have to implement some atomic operations to make it work (e.g.
> http://www.orocos.org/node/377).
>
> Philippe
>
>
>
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>
>