Newsgroups: comp.os.linux.embedded
Subject: Re: What are main issues while porting VxWorks code to Linux?
References: <[email protected]>
[email protected] writes:

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

http://www.ucdot.org/article.pl?sid=05/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 
http://www.epanorama.net/