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.

Sponsored Recommendations

Board-Mount DC/DC Converters in Medical Applications

March 27, 2024
AC/DC or board-mount DC/DC converters provide power for medical devices. This article explains why isolation might be needed and which safety standards apply.

Use Rugged Multiband Antennas to Solve the Mobile Connectivity Challenge

March 27, 2024
Selecting and using antennas for mobile applications requires attention to electrical, mechanical, and environmental characteristics: TE modules can help.

Out-of-the-box Cellular and Wi-Fi connectivity with AWS IoT ExpressLink

March 27, 2024
This demo shows how to enroll LTE-M and Wi-Fi evaluation boards with AWS IoT Core, set up a Connected Health Solution as well as AWS AT commands and AWS IoT ExpressLink security...

How to Quickly Leverage Bluetooth AoA and AoD for Indoor Logistics Tracking

March 27, 2024
Real-time asset tracking is an important aspect of Industry 4.0. Various technologies are available for deploying Real-Time Location.

Comments

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