[Latest progress of Hongmeng OS] Hongmeng kernel liteos-a experience

Hongmeng 2.0 was open sourced last week, and many people would like to experience it for the first time.
Today, Baiwen.com released the Hongmeng IMX6ULL programming tool and the Hongmeng experience manual. Welcome to download and experience.

1. Hongmeng IMX6ULL burning tool & Hongmeng experience manual download:
https://gitee.com/weidongshan/openharmony_for_imx6ull

Last Saturday, Huawei sent me the code I wrote internally. The code was written too hastily and ugly, and I had to modify it before releasing it, otherwise it would be ashamed of the people of the whole country. On September 18th, the live broadcast of how to transplant for electronic enthusiasts began, and the completely revised source code was released on the same day. For impatient students, you can experience it first. Please join the group for discussion and receive information:

QQ group: 869222007

2. Which development boards are currently compatible with Hongmeng?

Both imx6ull pro and imx6ull mini are supported, and STM32MP157 will also be supported later.
Currently for imx6ull, these peripherals are already supported:
serial port, MMU, interrupt, RAM-based Flash simulation, I2C controller, capacitive screen, LCD.
These 2 problems will be gnawed later: EMMC, network card.
(It is already supported in UBOOT, so there must be no problem technically, mainly depending on your interest).

Baiwen.com IMX6ULL development board supports both Hongmeng OS liteos-a system and Linux.

imx6ull mini has a JTAG port, while imx6ull pro does not have a JTAG port.
When learning Hongmeng, if you want to debug with JTAG, then it is recommended to use the imx6ull mini development board.
imx6ull mini, only 299, the lowest cost experience the current hottest Hongmeng OS.

Third, Wei Dongshan Hongmeng OS development video tutorial catalog planning (open source sharing):

1. Live registration:

http://t.elecfans.com/topic/366.html?elecfans_trackid=t_index

2. Live content:

Hongmeng OS kernel liteos-a operating system framework
Hongmeng OS kernel liteos-a framework analysis
Hongmeng OS kernel liteos-a startup process
Hongmeng OS kernel liteos-a transplantation 1: serial port
Hongmeng OS kernel liteos-a transplantation 2: MMU
Hongmeng OS kernel liteos- a Transplant 3: Interrupt system
Hongmeng OS kernel liteos-a Transplant 4: Timer
Hongmeng OS kernel liteos-a Transplant 5: File system
Hongmeng OS kernel liteos-a Transplant 6: The first APP

3. Students who are interested in Hongmeng OS system,

Please add QQ group: 869222007, we will focus on replying your questions in the group.

Summary of common problems

Question 1. What is the difference between liteos-a and Hongmeng 2.0?

answer:

Hongmeng is a huge system, which contains UI subsystem, multimedia subsystem and so on.
Hongmeng supports multiple kernels: Linux, liteos-a.
liteos-a is just one of the cores.
Many people compare Hongmeng with Linux, which is wrong.
Just like Windows is a complete system, it contains both a desktop system and a kernel;
while Linux itself is just a kernel, and ordinary people cannot use it. Various apps must be installed on Linux.
Hongmeng is also a complete operating system, and Linux is just one of the kernels supported by Hongmeng.

Question 2. Is the microkernel such as rtos or uclinux?

answer:

Microkernels are not "tiny kernels". Both freertos and rt-thread are small, but they are not microkernels.
Let me talk about what is a macro kernel: take the example of a file system.
The file system is a "user service" that can be implemented in the kernel: this is the macro kernel; if there is a bug in the file system, the entire system will collapse.
The file system can also be implemented in the user mode. This is the microkernel: even if there is a bug in the file system, only a certain APP crashes, and the entire system does not crash.
In the microkernel, file services are implemented in user mode, which leads to another shortcoming: low efficiency.
Freertos, ucos, uclinux, liteos-a are not microkernels.

Question 3. Hongmeng OS is a lightweight kernel, which feels a bit like the kernel between FreeRTOS, μCOS and Linux, such as μCLinux. Is it a bit difficult to directly target Android, window and iOS?

answer:

liteos-a is indeed a Linux-like kernel, and it is particularly suitable for the Internet of Things. It starts extremely fast, the amount of code is not that big, it saves power, supports process isolation, and supports POSIX interfaces. But liteos-a is not against Android and Windows, Hongmeng is against Android. Hongmeng is a huge system, liteos-a is one of the kernels supported by Hongmeng.

Guess you like

Origin blog.csdn.net/thisway_diy/article/details/108582747