Caoruihong
66764e48fb
chore: compiler's std include as a system include path
...
use -isystem cflags to use compiler's std include
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: If1f8e5d3bb8090397885fa1f35ae893e5d212565
2021-07-28 17:22:50 +08:00
openharmony_ci
def22d3fd1
!467 将public config中的configs改为不受module_switch影响
...
Merge pull request !467 from Caoruihong/decouple_hdf_config
2021-07-28 03:40:55 +00:00
openharmony_ci
08878bd99f
!462 为hispark_taurus启用ADC及测试用例
...
Merge pull request !462 from 王亚枫/master
2021-07-27 09:24:46 +00:00
openharmony_ci
468c47b6b1
!466 构建脚本中去除安装kconfiglib有关的步骤
...
Merge pull request !466 from Caoruihong/kconfiglib
2021-07-27 09:23:20 +00:00
Caoruihong
f3beb4b273
feat: don't apply module_swith on configs of config
...
optimize the public config template
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I0275b9a945ee87ca7893f8da6f30f9f5f65fa9ae
2021-07-27 16:46:30 +08:00
yafeng_wang
c71ec9d7e8
feat: Open macro for ADC moudule
2021-07-27 16:15:12 +08:00
Caoruihong
787fae2eec
chore: remove kconfiglib related building steps
...
kconfiglib will be install by installing ohos-build
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I49a946fcea259155f3019ac6b6b3319c3a4cec47
2021-07-27 16:02:58 +08:00
openharmony_ci
875c46290b
!458 OHOS_Image改为GN编译生成
...
Merge pull request !458 from Caoruihong/default_gn
2021-07-27 04:05:00 +00:00
wcc
09d5bcc22d
Merge branch 'master' of gitee.com:openharmony/kernel_liteos_a into misc
2021-07-27 01:40:59 +00:00
Caoruihong
abf4d8fb25
feat: build OHOS_Image from kernel
...
using OHOS_Image as liteos default name
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I00bcc9a6747ffde0f07f3d243150055a644df02f
2021-07-27 01:20:46 +08:00
openharmony_ci
0dc79479ff
!436 toybox升级_内核依赖
...
Merge pull request !436 from wangchen/toybox
2021-07-23 11:21:45 +00:00
openharmony_ci
0dfa58ca5a
!454 toybox update
...
Merge pull request !454 from Kiita/toybox_update
2021-07-23 11:21:44 +00:00
teamol
4427142d73
fix: fix mq function by enable mq_notify api
...
1.modifications:
modified: compat/posix/include/mqueue.h
modified: compat/posix/src/mqueue.c
modified: syscall/ipc_syscall.c
modified: syscall/los_syscall.h
modified: syscall/syscall_lookup.h
modified: testsuites/unittest/posix/mqueue/posix_mqueue_test.cpp
2.add 5 testcases:
It_posix_queue_205.cpp
It_posix_queue_206.cpp
It_posix_queue_207.cpp
It_posix_queue_208.cpp
It_posix_queue_209.cpp
3.influence:
none
Signed-off-by: teamol <28105285@qq.com>
2021-07-23 16:52:21 +08:00
openharmony_ci
a531bcf389
!456 fix: nanosleep 接口的rmtp参数被错误清零
...
Merge pull request !456 from zhushengle/nanosleep
2021-07-23 06:24:31 +00:00
zhushengle
9458de9ac6
fix: nanosleep 接口的rmtp参数被错误清零
...
posix/linux 标准:
nanosleep 使线程进入到了可被信号中断的状态,当线程睡眠被信号
中断,线程回复运行态时,若rmtp不为NULL,则会将sleep剩余的时间
记录在rmtp参数中返回,但是如果线程sleep过程中未被信号唤醒,
则忽略该参数。
由于鸿蒙中nanosleep是不可被打断的,即rmtp应该被忽略,而不是清零。
Close #I41U0R
Signed-off-by: zhushengle <zhushengle@huawei.com>
Change-Id: I6622eb43d6782c2b53b99d9df5cfff5f5e1ed79c
2021-07-23 10:38:05 +08:00
Kiita
76f45b3fb2
fix: toybox命令升级
...
【背景】liteos_a toybox 命令升级升级
【修改方案】
1、help命令列表不支持命令删除。
2、cp命令和mv命令拷贝文件失败和文件损坏等问题修复。
3、修复du命令统计nfs文件大小为0问题修复。
4、修复ls命令nfs文件时间打印信息有误问题。
5、更新命令不支持入参列表。
re #I41N2A
Signed-off-by: yansira <yansira@hotmail.com>
Change-Id: I5f5b82e33ba9193ae06e9547182d5b7bac0a3b44
2021-07-22 23:40:40 +08:00
openharmony_ci
aaa9018acf
!455 内核二进制生成到target_out_dir中,避免误打包到rootfs中
...
Merge pull request !455 from Caoruihong/target_out_dir
2021-07-22 11:56:12 +00:00
Caoruihong
3b5268f02a
chore: output liteos binaries to target_out_dir
...
liteos binaries no need pack to rootfs.
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: Iba650c9d09302902c108760163eca55b4ec40221
2021-07-22 18:52:24 +08:00
openharmony_ci
fa056ce246
!445 toybox支持reboot命令
...
Merge pull request !445 from Kiita/toybox_cmd_reboot
2021-07-22 08:44:53 +00:00
openharmony_ci
0ad91713f6
!449 确保BBOX抓取的故障日志落盘
...
Merge pull request !449 from pcwlno1/bugfix_log_write
2021-07-22 05:44:10 +00:00
openharmony_ci
9e9c7b28d4
!448 fix: Ctrl-C move out of LOS_MAGIC_KEY_ENABLE
...
Merge pull request !448 from MGY917/Ctrl-C_support
2021-07-22 02:51:05 +00:00
pcwlno1
8f6a1dd33c
fix: 修改某些平台保存bbox日志失败的问题
...
1、在日志写如完成之后执行fsync确保落盘。
Close #I41UTP
Signed-off-by: qidechun <qidechun@huawei.com>
2021-07-22 10:19:31 +08:00
openharmony_ci
77270dd783
!429 删除无用的失效的符号链接文件
...
Merge pull request !429 from Caoruihong/remove_unused_files
2021-07-22 01:51:25 +00:00
openharmony_ci
8755dc9d35
!443 从Make编译切换到GN编译
...
Merge pull request !443 from Caoruihong/build_gn
2021-07-22 01:50:19 +00:00
Caoruihong
a8805a65aa
feat: add support for gn build system
...
add BUILD.gn for all kernel modules
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I018446427bf64615f2596d47862b219659b58b34
2021-07-21 15:52:40 +08:00
openharmony_ci
4adc15e630
!446 init进程收到子进程退出信号后,调用fork重新拉起进程,会导致系统卡死
...
Merge pull request !446 from zhangfanfan2/master
2021-07-21 07:39:31 +00:00
openharmony_ci
d9774e016e
!447 chore: fix function and variable name spell issues
...
Merge pull request !447 from kenneth/chore
2021-07-21 05:29:07 +00:00
openharmony_ci
c610578d73
!433 fix: 修改默认窗口宽度到400
...
Merge pull request !433 from MGY917/change_winsz
2021-07-21 05:21:00 +00:00
openharmony_ci
3b9e3f8471
!438 解决shm接口死锁问题
...
Merge pull request !438 from JerryH/shm
2021-07-21 01:50:28 +00:00
kenneth
58d4366e1d
chore: fix function and variable name spell issues
...
fix some spell issues in files under folder kernel/base/core:
change Recyle to Recycle, ilde to idle and Porcess to Process
close #I3R28X
Signed-off-by: kenneth <zhushangyuan@huawei.com>
2021-07-21 08:52:18 +08:00
openharmony_ci
650d2b91cd
!442 feat: support .mkshrc
...
Merge pull request !442 from MGY917/mkshrc
2021-07-20 22:55:52 +00:00
YOUR_NAME
35a2f3af33
fix: init进程收到子进程退出信号后,调用fork重新拉起进程,会导致系统卡死
...
问题原因:init进程执行信号时,线程栈底预留了部分空间给信号上下文使用,
从而导致处理信号时线程栈底比线程控制块里面记录的大,这样在fork的过程中内核
从init线程栈底copy线程上下文给新进程时,copy的不是实际运行的栈底,以致于
新进程的线程上下文不对,在实际运行时跑飞,引发系统卡死。
解决方案:在fork过程copy线程上下文时,判断是否预留了信号上下文空间,如果预留
了,则copy的栈底要基于预留后的栈底去copy线程上下文。
close: #I41HOY
Signed-off-by: zff <zhangfanfan2@huawei.com>
Change-Id: I61cb05183c78919730e3a68c1c85b72fa1decd16
2021-07-20 21:11:12 +08:00
wangchen
2ff44c4938
fix: L1 toybox 命令功能实现
...
【背景】
解决toybox已支持命令的遗留问题,新增命令功能。
【修改方案】
1. 在内核态对toybox的系统调用进行支持。
【影响】
对现有的产品编译不会有影响。
re #I41N2A
Signed-off-by: wangchen <253227059@qq.com>
2021-07-20 20:56:35 +08:00
openharmony_ci
7b7d64cc87
!404 mount接口支持MS_RDONLY flag
...
Merge pull request !404 from Far/master
2021-07-20 12:47:43 +00:00
openharmony_ci
70c18b4a75
!444 【WIP】修改OsGetArgsAddr所在头文件
...
Merge pull request !444 from JING/bootargs
2021-07-20 12:19:10 +00:00
chenjing
14bd753aa8
fix: OsGetArgsAddr声明所在头文件不正确
...
close #I41MWM
Signed-off-by: chenjing <chenjing139@huawei.com>
Change-Id: Iad136b3b8b63fed63fa69c594ec39bd90d5513b7
2021-07-20 19:30:04 +08:00
Far
8729f6ee57
feat: 增加mount的MS_RDONLY标志的支持
...
增加mount的MS_RDONLY标志的支持,并修改vfs主要接口相关支持。
1. fatfs lseek接口在分区以MS_RDONLY方式和文件以只读打开时不再能够扩大文件的大小。
2. 直接在镜像中创建storage目录,而不是在挂载根文件系统时创建storage目录。
3. 增加了MS_RDONLY的测试用例。
Close #I3Z1W6
Signed-off-by: Far <yesiyuan2@huawei.com>
2021-07-20 16:21:08 +08:00
Guangyao Ma
51a50c95b4
feat: support .mkshrc
...
close #I3Y5KE
Signed-off-by: Guangyao Ma <guangyao.ma@outlook.com>
Change-Id: Iea3cfe4da572b1a4e250f90cea24efa2c27ceddb
2021-07-20 14:37:30 +08:00
openharmony_ci
9d3e872454
!441 bootargs解析与rootfs挂载解耦,并支持自定义bootargs参数
...
Merge pull request !441 from JING/bootargs
2021-07-20 06:17:33 +00:00
chenjing
80473f0975
fix: bootargs解析与rootfs挂载解耦,并支持自定义bootargs参数
...
1、bootargs解析与rootfs挂载进行解耦;
2、支持开发者自定义bootargs参数,内核存储bootargs中所有参数;
3、开发者可获取bootargs中的参数内容,并自行解析。
close #I41CL8
Change-Id: If384476714854ba0cf64eb70b785eb26737dd3d2
Signed-off-by: chenjing <chenjing139@huawei.com>
2021-07-20 11:48:31 +08:00
JerryH1011
7a6e4c8155
fix:修复共享内存shmat和shmdt接口之间存在的死锁问题
...
close #I40QOM
Change-Id: Ib3783f5d6b1095bf2100ab024fe0235a64355823
Signed-off-by: JerryH1011 <huangjieliang@huawei.com>
2021-07-19 14:55:47 +08:00
openharmony_ci
c40e1464b9
!431 修复FATFS中不同内部接口不支持FAT12/FAT16 FAT表结标志
...
Merge pull request !431 from Far/fatfs
2021-07-19 06:08:09 +00:00
openharmony_ci
700c3415c4
!435 fix:修复llvm编译环境下内核态内存调测调用栈信息解析有误的问题
...
Merge pull request !435 from Harylee/mem
2021-07-19 01:42:47 +00:00
openharmony_ci
0973004870
!430 A核 告警清零
...
Merge pull request !430 from wangchen/xxx
2021-07-17 07:01:18 +00:00
wcc0
c9d69e2d1b
fix: add capability and amend smoke testcase
...
add setrlimit,gethostname,gethostid and capability
Change-Id: I0d5f23cb87ec2731fb79e7c5cfbe1ce109ac158a
2021-07-16 09:24:44 +08:00
openharmony_ci
d79fd50693
!313 feat: active mksh & toybox
...
Merge pull request !313 from MGY917/toybox_active
2021-07-15 12:40:12 +00:00
Haryslee
9547133e64
fix:修复llvm编译环境下内核态内存调测调用栈信息解析有误的问题
...
背景:内核态内存调测调用栈信息在gcc编译环境下是准确的,但是llvm
编译环境下是错误的,分析知,gcc和llvm编译环境下fp和lr的对应关系
是有区别的。
修复:增加llvm编译环境下对lr解析的逻辑,并用编译宏控制。
close #I40TQS
Signed-off-by: Haryslee <lihao189@huawei.com>
Change-Id: If2a7b7a286d91e78dcff2bdeb136fda71e656a79
2021-07-15 19:35:04 +08:00
wjj
2d31aed27b
test: 支持互斥锁的强壮性属性,测试用例
...
支持互斥锁强壮性标志,添加加解锁函数对robust链表的处理
2021-07-15 10:41:54 +08:00
openharmony_ci
d9ed4b4bf6
!427 fix: 修复lwip2.0 增强在futex中异常挂死问题
...
Merge pull request !427 from zhushengle/futex
2021-07-15 01:54:41 +00:00
openharmony_ci
60bf2fc517
!432 【DFX子系统】LiteOS_A系统信息dump工具
...
Merge pull request !432 from pcwlno1/upload_hidumper
2021-07-14 07:48:10 +00:00