随笔分类 -  鸿蒙 OpenHarmony

摘要:1. init程序编译完后部署在 /bin/init 2. init程序的启动配置文件为 /system/etc/init.cfg 看一下内容与格式:直达 https://gitee.com/openharmony/startup_init/blob/OpenHarmony-v4.1.1-Relea 阅读全文
posted @ 2024-10-14 16:06 秦舒云 阅读(262) 评论(0) 推荐(0) 编辑
摘要:1. rk3568的startup配置 配上init component以后,系统就会编译集成这个组件。 vendor/hihope/rk3568/config.json { "subsystem": "startup", "components": [ { "component": "init", 阅读全文
posted @ 2024-09-24 17:33 秦舒云 阅读(95) 评论(0) 推荐(0) 编辑
摘要:0. 编译命令 我们知道鸿蒙系统的编译命令如下 ./build.sh --product-name rk3568 1. 通过 product-name 找到编译明细目录 vendor/hihope/rk3568 编译系统默认vendor目录是这样组织的 vendor/厂商名称/产品名称,那么通过编译 阅读全文
posted @ 2024-09-24 16:41 秦舒云 阅读(193) 评论(0) 推荐(0) 编辑
摘要:鸿蒙系统对Linux内核的使用方式对于传统的Linux内核和驱动开发者来说已经发生了很大的变化,首先就是内核config选项的配置方式。 传统上,我们直接进入到linux内核目录进行 make menuconfig就可以了,最终会生成1个.config文件,但是鸿蒙不是这样子的。 为了解决传统的一平 阅读全文
posted @ 2024-09-24 11:30 秦舒云 阅读(222) 评论(0) 推荐(0) 编辑
摘要:1. 源码下载 官方源码下载指南 我们采用下载源码包的方式得到源码 https://gitee.com/link?target=https%3A%2F%2Frepo.huaweicloud.com%2Fopenharmony%2Fos%2F4.1-Release%2Fcode-v4.1-Releas 阅读全文
posted @ 2024-09-18 23:03 秦舒云 阅读(358) 评论(0) 推荐(0) 编辑