Commit Graph

38 Commits

Author SHA1 Message Date
chenjinxiang3 bddfc11772 fix: add md_stop_writes patch kvm_fix.patch reference to kernel.mk
Signed-off-by: chenjinxiang3 <chenjinxiang3@huawei.com>
2026-06-01 20:23:20 +08:00
openharmony_ci 1461f26a9c fix: add md_stop_writes patch reference to kernel.mk
The __md_stop_writes() function in drivers/md/md.c was partially updated
with newer kernel API calls (mddev_is_dm, md_bitmap_enabled 2-arg version,
bitmap_ops member) that don't exist in linux-6.6, causing 6 compilation
errors. This adds the MD_STOP_WRITES_PATCH_FILE reference to kernel.mk so
the fix patch is applied during kernel build.

Change-Id: I5309af8051b0492d07a72516e7d7a582c9d7f727

Co-Authored-By: Agent
Signed-off-by: handyohos <zhangxiaotian@huawei.com>
Change-Id: I00c702c71a491d673f8e2633222e35689e9c78d8
2026-06-01 09:55:43 +08:00
chenjinxiang3 2062aa4a12 更新文件 kernel.mk
Signed-off-by: chenjinxiang3 <chenjinxiang3@huawei.com>
2026-05-21 11:58:00 +08:00
chenjinxiang3 09e681c3c1 更新文件 kernel.mk
Signed-off-by: chenjinxiang3 <chenjinxiang3@huawei.com>
2026-05-21 11:46:39 +08:00
chenjinxiang3 1f6666e208 更新文件 kernel.mk
Signed-off-by: chenjinxiang3 <chenjinxiang3@huawei.com>
2026-05-21 11:27:19 +08:00
chenjinxiang3 f979b4753d #125 Isolate LOADADDR config to qemu-arm-linux-min product only
Remove unconditional KERNEL_LOADADDR from ARM arch block.
Add product-specific KERNEL_LOADADDR only for qemu-arm-linux-min.
Make LOADADDR conditional in KERNEL_MAKE via ifdef.

Co-Authored-By: Agent
Signed-off-by: chenjinxiang3 <chenjinxiang3@huawei.com>
Change-Id: I3ce30e4fd317622835446690f161db0a77d2171f
2026-05-21 03:23:26 +00:00
chenjinxiang3 f7d93fda70 [qemu-arm64-linux-min] Add KVM fix patch application in kernel.mk
Add KVM_FIX_PATCH_FILE variable and patch application logic.
Fixes kvm_iodevice_destructor visibility issue in coalesced_mmio.c
on ARM64 architecture where the static function cannot be called
from another translation unit.

Co-Authored-By: Agent
Signed-off-by: chenjinxiang3 <chenjinxiang3@huawei.com>
Change-Id: I83555585fc1af8f83c47e3d6d8908484243556b2
2026-05-21 02:21:17 +00:00
chenjinxiang3 a86f2b9f6c #121 Fix qemu-arm-linux-min compilation for linux-6.6 kernel
Add OH_HEADERS_PATCH_FILE to apply device-specific headers patch
only for qemu-arm-linux device, fixing missing OH headers and
PAGEFLAG_FALSE macro issues.

Co-Authored-By: Agent
Signed-off-by: chenjinxiang3 <chenjinxiang3@huawei.com>
Change-Id: If73e07f465270481cb089d356298cf794a39402f
2026-05-19 13:48:04 +00:00
handyohos a8c38dc76a #119 Update kernel.mk build configuration
- Set LOADADDR for ARM uImage generation (0x40008000)
- Add linux-6.6 kernel support with multiple security modules
- Apply CED, XPM, DEC, code_sign, hideaddr patches
- Apply OpenHarmony specific headers for linux-6.6
- Apply watchdog compatibility patch for qemu-arm-linux
- Clean both KERNEL_SRC_TMP_PATH and KERNEL_OBJ_TMP_PATH

Co-Authored-By: Agent <noreply@anthropic.com>
Signed-off-by: handyohos <zhangxiaotian@huawei.com>
Change-Id: I9247b2c310ce81dbc58aa51d5b8c3a6fbfcf3605
2026-05-15 10:29:37 +08:00
Wu Xiaotian f44c4dab39 build for loongarch64 qemu target
Signed-off-by: Wu Xiaotian <wuxiaotian@loongson.cn>
2024-09-11 15:57:10 +08:00
Polyos Project (陈荣) 847b0ad1ed kernel.mk: skip applying device patch if file not found
Signed-off-by: Polyos Project <polyos@iscas.ac.cn>
2024-01-18 08:47:15 +08:00
Polyos Project (陈荣) 39e467913b add riscv64 support
Signed-off-by: Polyos Project <polyos@iscas.ac.cn>
2024-01-18 08:47:04 +08:00
zhouhaifeng ed60f32066 add link to source code directory of unified collection
Signed-off-by: zhouhaifeng <kutcher.zhou@huawei.com>
2023-09-15 20:11:31 +08:00
zhujiaxin fc6b2efabd recover config copy
Signed-off-by: zhujiaxin <zhujiaxin@huawei.com>
2023-05-10 10:46:28 +08:00
zhujiaxin 3118e8292e Linux kernel configuration layered
Signed-off-by: zhujiaxin <zhujiaxin@huawei.com>
2023-05-08 22:42:01 +08:00
yangyanjun 4789c858c8 No rk3568 does not support newip. Delete the newip soft link script
Signed-off-by: yangyanjun <yangyanjun@huawei.com>
2022-11-15 20:19:28 +08:00
Wang Xing b2addad1e8 Add x86_64 kernel build
Change-Id: I9b4d07014597dff6a9f95a522bbe78658832ea81
Signed-off-by: Wang Xing <raymond.wangxing@huawei.com>
2022-09-16 16:31:55 +08:00
yuejianjun 3c99762067 Using clang to compile kernel for hispark_phoenix
Signed-off-by: yuejianjun <yuejianjun1@hisilicon.com>
Change-Id: I48c90d45f383dbbe392fa6e1eb28a25ce6ff68d3
2022-08-22 07:09:20 +00:00
duxbbo 65d36d070a support newip
Signed-off-by: duxbbo <duxiaobo@huawei.com>
Change-Id: I6b38f5c6047a8fff42931cd957fe5c031ac34529
2022-07-15 11:49:11 +00:00
朱佳鑫 67b7dad216 Merge branch 'master' of gitee.com:openharmony/kernel_linux_build into myfeature 2022-07-14 01:38:04 +00:00
zhujiaxin ee428f35b2 kernel common patch
Signed-off-by: zhujiaxin <zhujiaxin@huawei.com>
2022-07-04 10:04:35 +08:00
Neil Chen f25d03157c fix typo and path name for vendor/hisilicon/watchos patches
Signed-off-by: Neil Chen <jingsi.chen@petalmail.com>
2022-06-18 19:41:16 +08:00
yuanbo 07f4eef4bb feat: normalize drivers framework component and repos
Signed-off-by: yuanbo <yuanbo@huawei.com>
2022-06-15 20:00:42 +08:00
kerninfo 100e63c0fd add environment KERNEL_SRC_DIR
Signed-off-by: kerninfo <lijungang@kaihongdigi.com>
2022-05-26 11:25:18 +08:00
libing3@huawei.com 20e55c8c62 del unused product
Signed-off-by: libing3@huawei.com <libing3@huawei.com>
Change-Id: I787d5c13fe040f9710a07cf486aba9deacf29202
2022-04-29 19:29:44 +08:00
libing3@huawei.com 5b528bf43d adapter hispark_phoenix
Signed-off-by: libing3@huawei.com <libing3@huawei.com>
Change-Id: I223444c59d73e9ad92aba49625ba33fc57fe752d
2022-04-28 17:15:24 +08:00
yuejianjun 2e353df02a Build kernel for product Hi3751V350
Signed-off-by: yuejianjun <yuejianjun1@hisilicon.com>
Change-Id: I9a917559d20b43f6082bb312a24a49f85d305fab
2022-04-08 08:41:06 +00:00
linyiyu aded33e632 IssueNo:#I4SEFY
Description:support watchos demo on hi3516dv300
Sig:OTHERS
Feature or Bgfix:Feature
Binary Source: No

Signed-off-by: linyiyu <linyiyu1219@126.com>
2022-01-29 15:34:40 +08:00
Yu Changchun a0fc7ef278 kernel_build: support arm64 build
besides use os_level instead of obsolete ohos_lite
remove redudant clang argument passing

Signed-off-by: Yu Changchun <yuchangchun1@huawei.com>
2022-01-17 10:22:57 +08:00
northking-super a5825de4e8 depend root modify:device structure change
Signed-off-by: northking-super <chenxin100@huawei.com>
2021-12-16 09:26:40 +00:00
yuanbo 09d9bd9386 enable kernel build with external obj output
Signed-off-by: yuanbo <yuanbo@huawei.com>
2021-09-16 17:38:30 +08:00
yuanbo 154a4c779b optimize khdf build process
Signed-off-by: yuanbo <yuanbo@huawei.com>
2021-09-13 16:53:47 +08:00
liangshenglin1 a747488ac3 fix ipc ioctl -22 error
Signed-off-by: liangshenglin1 <liangshenglin1@huawei.com>
2021-09-11 18:11:47 +08:00
Zachery Wu 9d43674f25 adapter hi3516dv300 for linux-5.10
Signed-off-by: Zachery Wu <wuzuoyu@huawei.com>
Change-Id: Ib9c8267d26c2a96eb6e54e83d4aa2c7946ccca68
2021-08-28 19:30:13 +08:00
Zachery Wu 90acadf5b1 modify kernel build path
Signed-off-by: Zachery Wu <wuzuoyu@huawei.com>
2021-08-28 12:02:22 +08:00
Zachery Wu 7846ce4df1 revert bug
Signed-off-by: Zachery Wu <wuzuoyu@huawei.com>
2021-08-28 11:50:44 +08:00
Zachery Wu 3d5a00854a modify kernel build path to kernel/linux/linux-4.19
Signed-off-by: Zachery Wu <wuzuoyu@huawei.com>
2021-08-28 11:01:06 +08:00
Zachery Wu 02161b8e13 modify kernel build fwk
Signed-off-by: Zachery Wu <wuzuoyu@huawei.com>
Change-Id: I5490193530d7a05f14a87f959ea900c7ef6add05
2021-08-26 14:50:46 +08:00