• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Guidelines for Using Patches on OpenHarmony Development Boards<a name="EN-US_TOPIC_0000001081980461"></a>
2
3The patch files are stored in the  **kernel/linux/patches/linux-4.19**  source code path of the project. You can obtain the driver patch of a specific chip architecture from this directory.
4
5To use the patch of a specific chip platform driver, you need to merge the required kernel patch into the kernel code.
6
7Merge the corresponding patches for different chip platforms.
8
9The following uses Hi3516D V300 as an example:
10
11```
12patch -p1 < device/hisilicon/hi3516dv300/sdk_linux/open_source/linux/hisi_linux-4.19_hos_l2.patch
13```
14
15>![](../public_sys-resources/icon-notice.gif) **NOTICE:**
16>Because patches are applied after the code environment of  **kernel/linux-4.19**  is copied during compilation and building of the OpenHarmony project, you must retain the original code environment of  **kernel/linux-4.19**  before running the OpenHarmony version-level build command.
17
18