What are main issues while porting VxWorks code to Linux?

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
Porting VxWorks code to Linux, How hard it is?. The VxWorks cdoe is
task based, Does Linux has any such kind?. Also how to take cars
ISR's?.

Appreciated for some info on porting from VxWorks to Linux. Thanks in
advance.


Re: What are main issues while porting VxWorks code to Linux?
Quoted text here. Click to load it

Moderately hard.


Yes.


I googled "Linux interrupt routines" and a large number of hits came up.
Why can't you do the same ?

Re: What are main issues while porting VxWorks code to Linux?
snipped-for-privacy@yahoo.com writes:

Quoted text here. Click to load it

http://www.ucdot.org/article.pl?sid05%/02/21/1139205&mode=thread
"Hi all, VxWorks-to-Linux migration kits are offered by a number of
companies, including MapuSoft, LynuxWorks, MontaVista, and TimeSys."

Porting VxWorks Applications to Linux
http://www.timesys.com/_content/media/docs/whitepapers/Porting%20VxWorks%20Applications%20to%20Linux.pdf

MontaVista Offers Easy VxWorks-To-Linux Transition; VxWorks 'virtual
machine' runs legacy embedded code on Linux platform
http://www.businesswire.com/webbox/bw.120700/203420332.htm

MontaVista aims tool at the heart of market leader, Wind River
http://www.linuxdevices.com/news/NS4335718546.html
"The new VxWorks-to-Linux tool kit presents applications with a
VxWorks "virtual machine" that emulates key system calls and behaviors
of the VxWorks kernel on a standard Linux platform. Basically, a
library of translations converts VxWorks application program
interfaces (APIs) into functions that are compatible with
Linux. MontaVista claims that source code utilizing VxWorks APIs can
often be recompiled and run on Linux after little or no modification,
other than minor changes to header files. According to Ready,
"programmers should be able to convert VxWorks-based applications into
ones that run on Hard Hat Linux in a handful of weeks."
Emulating and/or translating all of the approximately 1500 API
(application program interface) functions of VxWorks would have
presented a severe challenge. However, MontaVista developers
determined that it would be sufficient to limit their focus to roughly
fifty of the most commonly used VxWorks APIs."

Legacy2Linux - Porting Legacy RTOS Applications
http://legacy2linux.sourceforge.net/
"Legacy2Linux project provides emulation environments which implement
most of the core features of selected legacy RTOS kernels on a
standard Linux platform. The 'virtual machines' provided by these
emulation environments allow companies to test their existing legacy
code in an emulation environment, and provide a basis upon which to
build successful Linux ports of these applications."
There are kits available for both Wind River pSOS (R) and
Wind River VxWorks (R).

--
Tomi Engdahl (http://www.iki.fi/then /)
Take a look at my electronics web links and documents at
We've slightly trimmed the long signature. Click to see the full one.
Re: What are main issues while porting VxWorks code to Linux?

Quoted text here. Click to load it
RTAI has a VxWorks skin, that should take more or less unmodified VxWorks
code and compile it.
I have not tried this myself, but take alook at rtai.org (RTAI HP) or
rtai.dk (RTAI wiki).

--
Med venlig hilsen/mojn/regards
Martin Hansen
We've slightly trimmed the long signature. Click to see the full one.

Site Timeline