Lines Matching refs:kernel
5 …hird-party chip platform by using the existing capabilities of the Linux kernel of the third-party…
17 …kernel mode layer is the OpenHarmony kernel layer \(purple part in the figure\). It consists of th…
19 The user mode layer includes other parts except the OpenHarmony kernel layer. It consists of the sy…
21 …kernel and HDF at the kernel mode layer are closely coupled with the third-party chip platform and…
25 The OpenHarmony kernel mode layer can be further divided as follows:
27 OpenHarmony kernel mode layer = OpenHarmony Linux kernel + OpenHarmony kernel-mode features \(manda…
29 OpenHarmony Linux kernel = Standard LTS Linux kernel + Third-party SoC platform code + OpenHarmony …
31 Therefore, the OpenHarmony kernel mode layer includes the following:
33 - Standard LTS Linux kernel
35 - OpenHarmony basic kernel-mode code
36 - OpenHarmony kernel-mode features, such as HDF
40 …ndard LTS Linux kernel and third-party SoC chip platform code constitute the basis of a third-part…
42 - OpenHarmony kernel mode layer = Third-party Linux kernel + OpenHarmony basic kernel-mode code +…
44 …se, the OpenHarmony kernel mode layer consists of the third-party Linux kernel and OpenHarmony bas…
47 - OpenHarmony kernel mode layer = OpenHarmony Linux kernel + OpenHarmony kernel-mode features \(s…
49 …n this case, the OpenHarmony kernel mode layer consists of OpenHarmony kernel and features. Howeve…
52 In the following, we elaborate how to port OpenHarmony that uses with the third-party Linux kernel.
58 1. Prepare the build environment, including copying the existing kernel code of the third-party ch…
59 2. Port the OpenHarmony basic kernel-mode code.
60 3. Port OpenHarmony mandatory kernel-mode features \(such as HDF\).
68 1. Copy the third-party kernel code to the OpenHarmony build environment.
70 …Build the standard Hi3516D V300 kernel, clone the Raspberry Pi kernel source code, and copy it to …
74 git clone https://gitee.com/xfan1024/oh-rpi3b-kernel.git
75 cp -r oh-rpi3b-kernel $PROJ_ROOT/out/KERNEL_OBJ/kernel/src_tmp/linux-rpi3b
78 2. Configure the Raspberry Pi kernel build environment.
81 # Go to the Raspberry Pi kernel directory.
82 cd out/KERNEL_OBJ/kernel/src_tmp/linux-rpi3b
84 …ld environment, and use clang provided by the project to build the Raspberry Pi kernel source code.
92 …In the **PROJ\_ROOT/out/KERNEL\_OBJ/kernel/src\_tmp/linux-rpi3b/arch/arm/Makefile** file, comment …
101 Currently, the basic kernel-mode code of OpenHarmony is related to the log service. The lightweight…
108 …he preceding code from the **kernel/linux/linux-4.19/drivers/staging** directory of OpenHarmony to…
110 Add the following code to the third-party kernel file **Kconfig** in the **drivers/staging** direct…
117 Add the following code to the third-party kernel file **Makefile** in the **drivers/staging** direc…
124 Enable the CONFIG macros **CONFIG\_HILOG** and **CONFIG\_HIEVENT** in the kernel **config** section.
147 # Go to the Raspberry Pi kernel directory.
150 …PROJ_ROOT/out/KERNEL_OBJ/kernel/src_tmp/linux-rpi3b # Specify the kernel directory for applying th…
151 PROJ_ROOT/kernel/linux/patches/linux-4.19 # Kernel patch patch.\
178 # Modify the HDF kernel configuration.
200 …tions of the HDF framework and peripherals. This document describes the HDF kernel-mode test cases.
205 - The standard Hi3516D V300 kernel is built completely.