Open-Source Libraries Ease Migration From VxWorks And pSOS To Linux

Jan. 22, 2001
Linux is hosting an ever-growing number of embedded applications. The migration of embedded applications from VxWorks and pSOS real-time Linux distributions, like Hard Hat Linux, is now a lot easier with the help of open-source porting libraries...

Linux is hosting an ever-growing number of embedded applications. The migration of embedded applications from VxWorks and pSOS real-time Linux distributions, like Hard Hat Linux, is now a lot easier with the help of open-source porting libraries from MontaVista of Sunnyvale, Calif.

Company president and CEO Jim Ready says these libraries are designed to streamline a migration to Linux, but not automate it. They provide compatible application programming interfaces (APIs) for their respective operating systems. Migration, then, is basically a recompilation process.

VxWorks has over 1500 functions. The new Linux libraries address about 50 of these, including multitasking and scheduling functions. But standard libraries addressed by various POSIX standards already support a vast majority of the VxWorks functions. So, the number of functions Linux doesn't cover is relatively small.

Many of the VxWorks functions not included by the Linux libraries cover details that are unnecessary under Linux, such as VxWorks initialization. Since they tend to be used in a limited fashion, it's easier to make changes for migration with them than with functions that are more commonly used. The pSOS libraries similarly support migrating pSOS applications to Linux. pSOS doesn't have as many functions as VxWorks, yet the migration task will still be comparable, as it lacks 100% coverage.

The popularity of VxWorks and pSOS is well documented. But both are single-process, multithreaded operating systems where a memory management unit (MMU) is optional. Linux is a multiple-process, multithreaded operating system that normally requires an MMU. The multiple-process environment can bring up other migration issues, but this type of environment is obviously desirable in many cases. In fact, Wind River has an enhanced operating system known as VxWorks AE that's a superset of VxWorks. Many VxWorks developers will prefer the VxWorks AE approach. Others may prefer migration to Linux using these open-source libraries.

Designers may consider migration to Linux when moving applications to a new platform, especially given the preponderance of 32- and 64-bit processors being used in embedded applications. Existing platforms also are targets for a potential migration, as many 32-bit processors have been used with VxWorks and pSOS where the MMU support hasn't been fully utilized. Wind River has done an excellent job supporting and improving VxWorks and supporting pSOS, but developers now have another choice.

For more details, point your browser to www.mvista.com.

About the Author

William G. Wong | Senior Content Director - Electronic Design and Microwaves & RF

I am Editor of Electronic Design focusing on embedded, software, and systems. As Senior Content Director, I also manage Microwaves & RF and I work with a great team of editors to provide engineers, programmers, developers and technical managers with interesting and useful articles and videos on a regular basis. Check out our free newsletters to see the latest content.

You can send press releases for new products for possible coverage on the website. I am also interested in receiving contributed articles for publishing on our website. Use our template and send to me along with a signed release form. 

Check out my blog, AltEmbedded on Electronic Design, as well as his latest articles on this site that are listed below. 

You can visit my social media via these links:

I earned a Bachelor of Electrical Engineering at the Georgia Institute of Technology and a Masters in Computer Science from Rutgers University. I still do a bit of programming using everything from C and C++ to Rust and Ada/SPARK. I do a bit of PHP programming for Drupal websites. I have posted a few Drupal modules.  

I still get a hand on software and electronic hardware. Some of this can be found on our Kit Close-Up video series. You can also see me on many of our TechXchange Talk videos. I am interested in a range of projects from robotics to artificial intelligence. 

Sponsored Recommendations

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!