Home  >  Article  >  Operation and Maintenance  >  What is the difference between embedded linux and linux

What is the difference between embedded linux and linux

WBOY
WBOYOriginal
2022-01-10 10:15:4310226browse

Difference: 1. Embedded Linux is generally Mips, ARM platform, desktop Linux is generally x86 platform; 2. Embedded Linux generally uses UBIFS, yaffs2, jffs2 root file system, desktop Linux generally uses ext3 root file system.

What is the difference between embedded linux and linux

#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.

What is the difference between embedded linux and linux

linux:

Linux is a free and open source There are many different Linux versions of Unix-like operating systems, but they all use the Linux kernel. Linux can be installed on a variety of computer hardware devices, such as cell phones, tablets, routers, video game consoles, desktop computers, mainframes, and supercomputers. Linux is a leading operating system. The 10 fastest supercomputers in the world all run Linux operating system. Strictly speaking, the word Linux itself only refers to the Linux kernel, but in fact people are accustomed to using Linux to describe the entire operating system based on the Linux kernel and using various tools and databases of the GNU Project.

Linux is a set of Unix-like operating systems that are free to use and freely disseminated. It is a multi-user, multi-task, multi-threading and multi-CPU operating system based on POSIX and UNIX. It can run major UNIX software tools, applications and network protocols. It supports 32-bit and 64-bit hardware. Linux inherits the network-centric design philosophy of Unix and is a multi-user network operating system with stable performance. It is mainly used on computers based on Intel x86 series CPUs. This system is designed and implemented by thousands of programmers around the world. Its purpose is to create Unix-compatible products that are not restricted by the copyright of any commercial software and can be freely used around the world.

Linux is famous for its efficiency and flexibility. The modular design structure of Linux allows it to run on expensive workstations and realize all Unix features on cheap PCs. Multi-tasking and multi-user capabilities. Linux is freely available under the GNU Public License and is a POSIX-compliant operating system. The Linux operating system software package not only includes the complete Linux operating system, but also includes application software such as text editors and high-level language compilers. It also includes the X-Windows graphical user interface with multiple window managers, just like we use Windows NT, allowing us to operate the system using windows, icons, and menus.

Embedded linux:

The embedded Linux system utilizes many of Linux's own characteristics and applies it to embedded systems. With the emergence of microprocessors, low-cost, compact CPUs and peripheral connections provide a stable and reliable hardware architecture, so the bottleneck that limits the development of embedded systems is prominently in the software aspect. Although some embedded operating systems have appeared since the late 1980s, the more famous ones are Vxwork, pSOS, Neculeus and Windows CE. However, these dedicated operating systems are commercial products, and their high prices prohibit many small companies with low-end products; moreover, the closed source code also greatly limits the enthusiasm of developers. In addition, combined with the domestic reality, the current strong support of the country for independent operating systems also provides broad development prospects for the promotion of open source LINUX. Also, for upper-level application developers, embedded systems need an operating system that is highly concise, user-friendly, reliable, widely used, easy to develop, multi-tasking, and low-priced. In the near future, everything from refrigerators to radios will have built-in processors. Because of Linux's openness, many people believe that Linux is well suited for most Internet devices. They believe that Linux can support different devices and different configurations.

The advantages of Linux for embedded use are, first of all, Linux is open source and there is no black box technology. Many Linux enthusiasts all over the world provide strong technical support to Linux developers; secondly, the Linux kernel is small , high efficiency, and the kernel update speed is very fast; third, Linux is a free OS and is extremely competitive in price.

Linux also has many features required by embedded operating systems. What stands out is that Linux is adaptable to a variety of CPUs and hardware platforms, and is a cross-platform system. So far, it can support twenty or thirty types of CPUs. Moreover, the performance is stable, the tailorability is very good, and it is easy to develop and use. Many CPUs, including chips in the home appliance industry, have begun porting Linux platforms. The speed of porting far exceeds that of the Java development environment. In other words, if you use the Linux environment to develop products today, you will not have trouble changing the CPU in the future. At the same time, the structure of the Linux kernel is very complete in terms of network. Linux has the most complete support for the TCP/IP protocol, which is the most commonly used in the network. It provides support for 10M, 100M, and Gigabit Ethernet networks, as well as wireless networks, Toker ring, optical fiber, and even satellites. Therefore, Linux is very suitable for the development of information appliances.

There are also more and more developers using Linux to develop wireless connection products. Linux has a very important advantage in the rapidly growing field of wireless connection applications, which is its fast enough development speed. This is because LInux has many tools and Linux is familiar to many programmers. Therefore, we want to use Linux operating system in embedded systems.

Linux is the right size for an embedded operating system—Linux’s inherent modularity, adaptability, and configurability make this easy. In addition, the practicality of Linux source code and the eagerness of thousands of programmers to use it in countless embedded application software have led to the emergence of many embedded Linux, including: Embedix, ETLinux, LEM, Linux Router Project, LOAF , uCLinux, muLinux, ThinLinux, FirePlug, Linux and PizzaBox Linux.

Main differences

1. Hardware platform:

Embedded Linux is generally Mips, ARM platform,

Desktop Linux is generally x86 platform.

2. Root file system

Embedded Linux generally uses UBIFS, yaffs2, jffs2.

Desktop Linux generally uses ext3.

3. The shell is different

Busybox is generally used for embedded Linux.

Bash is generally used for desktop Linux.

Related recommendations:《Linux Video tutorial

The above is the detailed content of What is the difference between embedded linux and linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn