Introduction of domestic RTOS, localization requirements for domestic RTOS

The US Department of Commerce coincided with the ban on ZTE, prohibiting the sale of hardware and software to it. Over the past few days, various news and analysis have changed the entire Internet. Even the mothers who are buying food are discussing the U.S. ban on ZTE and Chinese semiconductors.

Of all the topics that are concerned, most of the topics are domestic chips, all kinds of remarks, angry Chinese semiconductors, indiscriminate policies, and sigh of social turmoil.

But in addition to the chip level, the software aspect is worth our attention.

In the past two days, he brushed an article in the “Circumstances about domestically produced chips and operating systems” in the circle of friends, describing the history of China’s development of domestically produced chips and operating systems for the past 20 years. Specific people can read the original text. In this paper, there is a point of view: when you wrap around Intel, you can't bypass Microsoft. It can be seen that the ecological construction of the system is difficult. However, we still do not have a complete ecological operating system until today!

However, in the embedded field, we still have some choices.

Domestic RTOS Introduction

Let's list the domestic embedded operating system first (the following information is from the official website of each company, and some of the introduction information is less).

RT-Thread - open source, free, follow GPLv2 + protocol (RTOS kernel and all open source components can be used free of charge in commercial products, do not need to publish application source code, there is no potential business risk.). Since its development in 2006, it has been developed by Mr. Xiong Peixiang and gathered the strengths of the open source community. RT-Thread is also a complete, rich, highly scalable, easy to develop, ultra-low power, and high-security Internet of Things operating system. RT-Thread has all the key components needed for an IoT OS platform, such as GUIs, network stacks, secure transports, low-power components, and more. Support all mainstream compiling tools on the market such as GCC, Keil, IAR, etc.; support various standard interfaces such as POSIX, CMSIS, C++ application environment, Javascript execution environment, etc.; support all mainstream MCU architectures such as ARM Cortex-M/R/ A, MIPS, X86, Xtensa, C-Sky, RISC-V, almost all mainstream MCU and Wi-Fi chips on the market. Widely used in energy, automotive, medical, consumer electronics and other industries.

Djyos- is an open source operating system embedded real-time operating system hosted by Changyuan Shenrui Jibao Automation Co., Ltd. (abbreviated as Shenrui) and adopts the BSD protocol (Allows users to modify and redistribute code, but also allows the use of or in the BSD code On the development of commercial software distribution and sales), the djyos operating system is based on the event as the core of scheduling, this scheduling strategy allows programmers to be based on the habits of human cognitive things rather than computer habits to program.

Alios Things- is a lightweight IoT embedded operating system for the IoT domain under the AliOS family. Follow the Apache protocol (no need for open source code, just mention the original source of the code), AliOS Things will focus on building cloud-integrated IoT infrastructure, with extreme performance, minimal development, cloud integration, rich components, Security protection and other key capabilities, and support terminal equipment connected to Alibaba Cloud Link.

Huawei LiteOS-Huawei LiteOS is Huawei's unified Internet of Things operating system and middleware software platform for the IoT space. It complies with the BSD protocol (allows users to modify and republish code, and also allows or develops commercials on BSD code. Software release and sales) provide developers with a "one-stop" complete software platform with key capabilities such as lightweight, low power, fast startup, interconnection, and security.

For developers, the basic difference between the RTOS kernel is not the personal use habits and OS components, protocol support.

In general, the above-mentioned several RTOSs are relatively loose in the license agreement, and all of them are free for commercial use. Basically, there is no difference.

Another point to mention is that behind the djyos, AliosThings, and Huawei LiteOS, gold owners are supporting development with their own aura. DJyos is Changyuan Shenrui Automation Co., Ltd., Li Ka-shing; AliosThings is supporting Alibaba; Huawei LiteOS is Huawei's support. The operating company behind RT-Thread is Shanghai Ruisaide Electronic Technology Co., Ltd., with no special background. (I hope there will be no prejudice against big companies and small companies. Djyos is acquired; RT-Thread sticks to its development for 12 years, relying on the belief of the founders and the support of the community (this may be unmatched by the previous ones). It should be said that it is natural for the developer to be friendly, although there is no special background, but it wins a neutral position.)

Domestic RTOS small survey results

A survey was conducted on domestic RTOS Xiaobian (where djyos was unusually low-key and was not included in the survey). It was aimed at the popularity, usage, and deficiencies of RT-Thread, Alios Things, and Huawei LiteOS. survey. There has been no release of investigations. Let's take this opportunity today.

First of all, the survey is only from some developers feedback from the questionnaire, there may be missed refutation, please refer to, any objections, welcome message comments.

After all, the development of RT-Thread is still very good in popularity. Huawei and Ali’s os release time is short, but their own aura has attracted a lot of attention.

In terms of use, RT-Thread holds the top spot

In the eyes of developers, RT-Thread is still promising

According to the survey, developers are optimistic about the reasons for RT-Thread:

1. Rich components, linux style, support posix (can be embedded in the linux system)

2. Easy to transplant, small kernel, small memory usage.

3. Iterate quickly, you can trim the kernel, the tool is comprehensive, support a wide range of hardware architecture, support more chips, easier migration, and support for domestic chips.

4 easy to use, elegant, compact, and more data

5. Simple, reliable, neutral, close to the people

6. Longest development time, wide application scope, greater usage, large user base

7. Update fast, fit the market, have relevant technical support

The reason why Huawei LiteOS and Alios Things are the most mentioned are the companies themselves (Ali is strong and has a lot of money, but it is totally because of Huawei and Huawei).

Each OS has some deficiencies. The following is a summary of the feedback based on feedback.

RT-Thread

1. Insufficient documentation and tutorials

2. Insufficient promotion

Liteos

1. Lack of many convenient and usable cases and tutorials

2. The code is not open enough

3. Insufficient promotion

Alios Things

1. Tutorial

2. Promote less

3. Still young, the architecture is not mature, and the components are not enough

In general

RT-Thread is in the leading position in domestic embedded operating systems, but it also faces a severe competitive landscape and expects to build stronger ecological barriers on the fierce competition time window.

Alios things and Huawei LiteOS are still in the period of systematic technical improvement

Both Alios things and Huawei LiteOS have their own strong background support. The development of os is also a commanding point in the era of Internet of Things. However, due to the short publishing time and the big company's own strategy, the use of commercial products is still dominated by its own products. Support for developers is still a short board.

The above is feedback from the results of the small survey for your reference.

Localization requirements bring opportunities for domestic RTOS

ZTE event, the author has a doubt whether ucos, FreeRTOS, Zephry and other foreign RTOS can still be used in ZTE products? Hope the insider talks.

In any case, the ZTE incident does give the practitioners a head start. What if the foreign products (ucos, FreeRTOS, Zephry) are not available to you? Domestic RTOS usher in new opportunities for development!

Product components and system localization rate. The ZTE event, made in China in 2025, will increasingly require localization of product devices and systems. In the past, except for the requirement for the localization rate of devices and systems for military units, it is believed that more and more civilian products will require localization of devices and systems as the ZTE incident stimulates them.

Domestic MCU rises. In the last article, there were more and more domestic MCUs mentioned in the chaos. Various Cortex M0 and M3 MCUs popped up and the price was low. They also borrowed the ecology of ST and believe that the market will grow bigger and bigger. Domestic RTOS will be more supportive to domestic MCU friendly support.

The demand for cloud access is strong. With the outbreak of the Internet of Things market, the demand for product access to the cloud has skyrocketed, and many domestic chip manufacturers have begun to enter the market to launch WiFi SoC. For these vendors, choosing an appropriate RTOS to do the access will be better. Cater to developers and accelerate cloud access development.

Please leave a message

In general, the development of domestic RTOS is still relatively slow. On the one hand, industry reasons, and hope that the domestic chip makers and domestic RTOS support each other to grow bigger (here may want to criticize a chip maker's home flowers may not have to be wild flowers), on the other hand also lies in its own Ecological construction, tutorial materials, application cases, and developers all need to devote more energy. Finally, we expect that the domestic RTOS will achieve extraordinary achievements under new opportunities!

Pliers

Wonke Electric CO.,Ltd. , https://www.wkdq-electric.com