Click here to learn
about this Sponsor:
Home  |  News  |  Articles  |  Forum

  Home arrow Linux For Devices Articles arrow Linux + Microwindows: challenger to WinCE

Linux + Microwindows: challenger to WinCE
By Rick Lehrbaum

Rate This Article: Add This Article To:

Linux vs. Windows. It's a battle fought on many fronts. While a worldwide legion of Linux developers has successfully mounted a frontal attack on Microsoft's WinNT in the servers, routers, firewalls, and telecommunications markets, the open-source community has quietly set its sites on another of Microsoft's three OSes: WinCE -- the Windows operating system for handheld and embedded devices.



Two challenges

Taking on WinCE posed two distinct challenges. First, it was necessary to strip Linux down to a size that fits the constrained resources of embedded systems. Fortunately, this was easy thanks to the inherent modularity, flexibility, and configurability of Linux. Add to that, the availability of Linux source code and thousands of programmers eager to apply it to the requirements of a myriad of embedded applications. The result is a wide range of "small footprint" embedded Linux implementations, which include: Embedix, ETLinux, LEM, Linux Router Project, LOAF, uCLinux, muLinux, ThinLinux, FirePlug Linux, and PizzaBox Linux (see www.linuxdevices.com/links/).

The second challenge for Linux to overcome, to successfully grab the embedded market away from WinCE, was the need for an easy-to-use and easy-to-embed graphical user interface (GUI). Until now, a truly embeddable full-function open-source GUI for Linux just wasn't available. But all that is now changing, as a result of the growing functionality and availability of Microwindows -- an open-source project aimed at bringing the features of modern graphical windowing environments to Linux based embedded devices.

Greg Haerr, principal developer of Microwindows, says "it's an engine that allows you to build any API on top of it." "The goal in developing Microwindows was to develop a modern set of software functions that can do what you need in small systems," continues Haerr. In short, Microwindows -- being small footprint and open-source -- is an ideal companion for the small footprint embedded configurations of Linux. A good team to take on Windows CE.

Two APIs for the price of one

And it gets even better (for Linux, that is). Microwindows now sports a high degree of application program interface (API) graphics compatibility with WinCE -- the so-called "Win32 GDI API". As a result, it's getting easier and easier for programmers experienced with Windows 98/NT/CE to migrate their existing and new applications to Microwindows/Linux. Developers experienced in programming under a Windows OS should have a very short learning in curve getting started with Microwindows. On the other hand, for developers who prefer the high-end, highly respected Linux X Window System API, Microwindows offers Nano-X, an alternative API that resembles X11's Xlib. Together, this flexibility of having a choice of two APIs (Win32-like and X-like) combined with the fact that it's open-source (and therefore highly customizable) makes Microwindows an ideal graphics environment for small and embedded devices.

Ready for action?

Is Microwindows ready for action? Haerr says "Microwindows is already being designed into a wide variety of 32-bit applications on quite a few embedded microprocessors, including MIPS, StrongARM, SH3, and Intel CPUs -- real applications, in handheld and embedded products that will come to market within the next six months." "We've also got it running on several small Linux PDA's like the Everex Freestyle and the Vadem Clio," adds Haerr.

Is Microwindows finished? "Definitely not," according to Haerr. "It's not a drop-in replacement for WinCE at this point, by any means, but on the other hand it has plenty of functionality to satisfy the needs of the specialized non-desktop embedded systems that require a sophisticated, reliable GUI." "Since Microwindows is open-source," continues Haerr, "you can easily modify it to make it do what you want." Good luck doing that with WinCE.

What's not completed? "Lots," explains Haerr: "Although much of the GDI API is implemented, the work completed with Microwindows is still very low level, with much remaining to be done. For instance, Microwindows currently supports clipping, line drawing, rectangle filling, polygons, circles, ellipses, text and fonts, the full RGB color model, windows, child windows, messages, palettes, 1, 2, 4, 8, 16 and 32bpp framebuffers, blitting, title bars, close boxes, etc. It doesn't yet support the zillions of src/dest blit ropcodes, dashed line drawing, patterns, stretchblit, and a number of options within the implemented API. A huge issue is that I haven't yet ported all the custom controls that WinCE uses, like menus, checkboxes, comboboxes, listboxes, tree controls, etc. These will be required to actually run most applications. Microwindows offers the advantage that the application can be compiled under Linux and emulated exactly on the X desktop, without having to actually run on the target device until required. We've got drivers for X11, framebuffer, PC VGA, as well as raw hardware for a variety of devices."

Help welcomed from the open-source community

The original intent of the project was to attract the legions of Win32 programmers to Linux, by producing an open-source WinCE replacement capable of running recompiled Windows applications. Judging by the rapid pace of Microwindows project progress, it's a goal that can be expected to be achieved sooner, rather than later.

For further information, visit the Microwindows project web page, at http://microwindows.org and the LinuxDevices.com Microwindows link, * here *.



Discuss Linux + Microwindows: challenger to WinCE
 
>>> Be the FIRST to comment on this article!
 
 
 
>>> More Linux For Devices Articles Articles          >>> More By Rick Lehrbaum
 



FUEL Database on MontaVista Linux
Whether building a mobile handset, a car navigation system, a package tracking device, or a home entertainment console, developers need capable software systems, including an operating system, development tools, and supporting libraries, to gain maximum benefit from their hardware platform and to meet aggressive time-to-market goals.

Breaking New Ground: The Evolution of Linux Clustering
With a platform comprising a complete Linux distribution, enhanced for clustering, and tailored for HPC, Penguin Computing¿s Scyld Software provides the building blocks for organizations from enterprises to workgroups to deploy, manage, and maintain Linux clusters, regardless of their size.

Data Monitoring with NightStar LX
Unlike ordinary debuggers, NightStar LX doesn¿t leave you stranded in the dark. It¿s more than just a debugger, it¿s a whole suite of integrated diagnostic tools designed for time-critical Linux applications to reduce test time, increase productivity and lower costs. You can debug, monitor, analyze and tune with minimal intrusion, so you see real execution behavior. And that¿s positively illuminating.

Virtualizing Service Provider Networks with Vyatta
This paper highlights Vyatta's unique ability to virtualize networking functions using Vyatta's secure routing software in service provider environments.

High Availability Messaging Solution Using AXIGEN, Heartbeat and DRBD
This white paper discusses a high-availability messaging solution relying on the AXIGEN Mail Server, Heartbeat and DRBD. Solution architecture and implementation, as well as benefits of using AXIGEN for this setup are all presented in detail.

Understanding the Financial Benefits of Open Source
Will open source pay off? Open source is becoming standard within enterprises, often because of cost savings. Find out how much of a financial impact it can have on your organization. Get this methodology and calculator now, compliments of JBoss.

Embedded Hardware and OS Technology Empower PC-Based Platforms
The modern embedded computer is the jack of all trades appearing in many forms.

Data Management for Real-Time Distributed Systems
This paper provides an overview of the network-centric computing model, data distribution services, and distributed data management. It then describes how the SkyBoard integration and synchronization service, coupled with an implementation of the OMG¿s Data Distribution Service (DDS) standard, can be used to create an efficient data distribution, storage, and retrieval system.

7 Advantages of D2D Backup
For decades, tape has been the backup medium of choice. But, now, disk-to-disk (D2D) backup is gaining in favor. Learn why you should make the move in this whitepaper.

Got a HOT tip?   please tell us!
Free weekly newsletter
Enter your email...
PLATINUM SPONSORS
 
 
 
 
 
 

GOLD SPONSORS


(Become a sponsor)

(Become a sponsor)

ADVERTISEMENT
(Advertise here)

Check out the latest Linux powered...

Mobile phones!

MIDs, UMPCs
& tablets

Mobile devices

Other cool
gadgets

Resource Library

• Unix, Linux Uptime and Reliability Increase: Patch Management Woes Plague Windows Yankee Group survey finds IBM AIX Unix is highest in ...
• Scalable, Fault-Tolerant NAS for Oracle - The Next Generation For several years NAS has been evolving as a storage ...
• Managing Software Intellectual Property in an Open Source World This whitepaper draws on the experiences of the Black Duck ...
• Open Source Security Myths Dispelled Is it risky to trust mission-critical infrastructure to open source ...
• Bringing IT Operations Management to Open Source & Beyond Download this IDC analyst report to learn how open source ...


BREAKING NEWS

• NAS system houses 2.5-inch drives for up to 6TB
• Atom SBC boasts special low-power mode
• Android leaps to rugged handheld, and more phones
• Simulator runs Android apps on Ubuntu
• Fanless industrial PC taps Atom
• Router platform runs OpenWRT Linux
• Feature-packed UMPC survives four-foot drops
• UMPC pioneer gives up the ghost
• Biodegradable, solar-powered netbook runs Linux
• Hypervisor rev'd for higher reliability
• Eurotech spins Atom development kits
• Home media server to demo on Intel Atom platform
• Atom boards feature fanless DC operation
• Low-cost pluggable NAS adds Linux support
• Taiwan open source conference sets agenda


Most popular stories -- past 90 days:
• Linux boots in 2.97 seconds
• Tiniest Linux system, yet?
• Linux powers "cloud" gaming console
• Report: T-Mobile sells out first 1.5 million G1s
• Open set-top box ships
• E17 adapted to Linux devices, demo'd on Treo650
• Android debuts
• First ALP Linux smartphone?
• Cortex-A8 gaming handheld runs Linux
• Ubuntu announces ARM port


DesktopLinux headlines:
• Simulator runs Android apps on Ubuntu
• Hypervisor rev'd for higher reliability
• Pluggable NAS now supports Linux desktops
• Moblin v2 beta targets netbooks
• Linux-ready netbook touted as "Student rugged"
• USB display technology heading for Linux
• Ubuntu One takes baby step to the cloud
• Game over for Linux netbooks?
• Linux Foundation relaunches Linux web site
• Dell spins lower-cost netbook


Also visit our sister site:


Sign up for LinuxForDevices.com's...

news feed


Or, follow us on Twitter...