Choose linux or wince

Source: Internet
Author: User
Choose linux or wince-general Linux technology-Linux programming and kernel information. The following is a detailed description. Recently, I plan to introduce the embedded operating system into development and switch to the ARM9. You can choose between linux and wince.

The selection was painful, and I checked the information. There are different arguments. In fact, we have to look at our actual situation at the end.

Read the following article:

Let's analyze and evaluate the advantages and disadvantages of Linux and Windows.

1. Support for multiple hardware platforms
Due to the diversity of hardware platforms of embedded devices and the fast update of CPU chips, embedded operating systems must support commonly used embedded CPUs, such as X86, ARM, MIPS, and POWERPC, and has good portability. You also need to support a wide range of external devices. Linux supports almost all of the above mainstream chips and is constantly being transplanted to new chips. In this regard, WinCE is obviously far behind.

2. occupy a small amount of hardware resources
Because most embedded systems are cost-sensitive, the processor speed is low, and the memory space is small, the embedded OS size is small and the speed is fast. The Linux architecture is flexible and easy to cut. It can be as small as 2 M flash and 4 m ram. WinCE has higher requirements on resources.

3. highly customizable
Because different embedded applications have different requirements on the system, the embedded OS must be highly customizable and function modules can be conveniently added and reduced as needed. This is critical to the embedded field. Linux, because the graphics system is not in the kernel and supports the module mechanism, can add or remove features as needed. Its Peripheral tools have many options, and are highly customizable because the source code can be modified freely. Windows and Windows cannot achieve this.

4. Real-time processing capability
Real-time applications are classified into two categories: hard real-time and Soft Real-time. The embedded OS needs to determine whether real-time applications are supported and which type of real-time applications are supported. The response time for the worst case scenario must be long. Real-time applications were not taken into account in the initial design of Linux and Windows. However, many real-time Linux projects have provided Linux with hard real-time and soft real-time processing capabilities, while RT-Linux and RTAI are available in hard-time scenarios, in addition, 2.6, the core can be preemptible, enabling Linux to provide soft real-time processing capabilities. In addition, real-time Linux implementations such as Timsys and Montavista are also included. The advantages of the Linux free development mode are fully reflected. Although some third parties provide real-time functions similar to RT-linux, Windows is rarely used in the real-time field because Microsoft does not provide such support and Windows reliability cannot meet the requirements. However, RT-linux has been widely used by the US Aerospace department and the Indian military. There are also many successful cases in Real-Time Linux of monavista and Timsys.

5. Powerful network functions
Nowadays, more and more embedded devices need to have network functions. This requires that the embedded OS supports common network protocols and reliable network functions. Linux's network functions have been improved several times, and their efficiency and functions are all outstanding. It has many network tools and supports almost all common network protocols. These make Linux popular among network devices. Many firewalls and low-end routers use Linux. However, I have never heard of windows or windows.

6. high security and reliability
Embedded devices often have high requirements on security and reliability, which requires that the embedded OS, as the basic software, has high security and high reliability. Such as the vro and vswitch of the backbone network. The reliability of Linux has been tested in practice and further developed to the high end, impacting the market of Vxworks and Unix. In terms of security, Linux has very few viruses and many security enhancements. Some security enhancements in Linux have reached the B1 level (the Red Flag RFSOS passed the National GB17859 Level 3, equivalent to the TCSEC B1 level ). Windows has a large number of viruses and vulnerabilities. Although Microsoft vigorously promotes that it has passed the CC standard EAL4, it must be noted that, EAL4 only shows how much Windows meets its security goals. Obviously, it is more important to know what this goal is. In fact, it passes through the EAL4 level of CAPP, it is still equivalent to TCSEC C2. The reliability of Win2000 is significantly improved compared with 98, but it is not enough to impact the high-end. Its security problems will also greatly affect its reliability, the two are closely related and cannot be discussed in isolation.

7. Complete embedded GUI and embedded browser
User-oriented embedded terminal devices, such as Smart Phone, all require the embedded OS to have sophisticated functions, rich embedded GUI controls, and support a powerful embedded browser. In this regard, WinCE has a complete solution, and Linux also has Embedded browsers such as QT/Embedded GUI and Opera, with many options.

8. Embedded Log File System with power-off protection.
These functions are available in both Linux and Windows.

9. provides a complete set of development tools.
There are many development tools in Linux, but they are not as easy as Windows development tools. However, Windows development tools are not designed for the embedded field and are not fully functional.

10. Quick Start
The startup speed is similar, but many embedded devices do not need a graphical interface. Because Linux has source code, it can be accelerated when the hardware is fixed, in this case, Linux is much faster than Windows or Windows.

Through the above analysis, we can clearly see that Linux has obvious advantages over Windows and Windows in the embedded field. Because of this, embedded Linux is more widely used than WinCE/Windows. The advantage of WinCE is PC derivative products, such as Pocket PC and high-end PDA. But in many other embedded fields, WinCE is not suitable.

If it is for learning and fun, I select linux. If there is a development team around me, I select linux.

If I am single-stick or have limited personnel, I can develop products as soon as possible.

When selecting an operating system, we mainly look at several indicators. The most important thing is the real-time response. The real-time information about the two is different.

In fact, there is always a standard in the final choice according to your own situation.

1 practical
Everyone in linux is very enthusiastic about free software. Non-commercial services are not suitable for commercial environments because they do not have professional institutional support. Therefore, a professional team is required, at least one team.

Wince is a Microsoft product that collects money. With the support of specialized organizations, the professional development is always faster than the amateur development.

2. Your own situation
No linux. I can say that every time I have been in touch with it, I have to start from scratch. People around me can say that they do not.

Wince is at least a Windows system.

New things can be tried, but it depends on the situation. When you choose, you have always been hesitant, online consulting, and inquiring about acquaintances. In fact, other people cannot do their own things, and you have to analyze them by yourself, it is necessary to develop the habit of analyzing problems, diligently thinking, and daring to choose.

Each person can make a choice for you.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.