1 Star 1 Fork 5.3K

Dragon / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
kernel-standard-patch.md 985 Bytes
一键复制 编辑 原始数据 按行查看 历史
duangavin123 提交于 2021-07-20 22:06 . update 导入OpenHarmony工程

Guidelines for Using Patches on OpenHarmony Development Boards

The 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.

To use the patch of a specific chip platform driver, you need to merge the required kernel patch into the kernel code.

Merge the corresponding patches for different chip platforms.

The following uses Hi3516D V300 as an example:

patch -p1 < device/hisilicon/hi3516dv300/sdk_linux/open_source/linux/hisi_linux-4.19_hos_l2.patch 

NOTICE: 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.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hbu-dragon/docs.git
git@gitee.com:hbu-dragon/docs.git
hbu-dragon
docs
docs
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891