vcbchang
e8037dc56a
style:修改 liteos_a unittest 测试文件的 licence 注释
...
【背景】解除告警
【修改方案】
格式化修改告警文件的文件头注释格式
re #I44497
Signed-off-by: vcbchang <vcbchang@qq.com>
Change-Id: I7a0d31e11603f591a5370e64505879e1a324d72d
2021-08-05 21:51:30 +08:00
openharmony_ci
d2fe0e788b
!498 LiteOS_A BBOX Codex整改
...
Merge pull request !498 from pcwlno1/bbox_codex
2021-08-04 06:53:18 +00:00
pcwlno1
6a5a0326d2
fix: LiteOS_A BBOX Codex整改
...
1、判断安全函数的返回值。
Close #I43RQU
Signed-off-by: pcwlno1 <qidechun@huawei.com>
2021-08-04 08:32:10 +08:00
openharmony_ci
d169cad6b4
!490 内核的配置文件改为放到kernel_configs目录下
...
Merge pull request !490 from Caoruihong/kernel_configs
2021-08-03 07:09:52 +00:00
Caoruihong
4875707b37
chore: puts kernel Kconfig configs in kernel_configs dir
...
for historical reason, the old config dir is used only for hcs_config
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I26f25d5ec81b4b4a0e96c30c3acb3f075107e19e
2021-08-03 11:19:22 +08:00
openharmony_ci
9b4fd13c3c
!485 调整IPC_MSG_DATA_SZ_MAX保持与用户态的IPC_IO_DATA_MAX约束一致
...
Merge pull request !485 from Caoruihong/liteipc_datasize
2021-08-03 03:08:49 +00:00
openharmony_ci
343b92661d
!488 保留未strip的mksh和toybox用于调试
...
Merge pull request !488 from Caoruihong/unstripped_mksh_toybox
2021-08-03 03:07:32 +00:00
openharmony_ci
79982895ec
!479 fix: 去掉冗余的strip操作
...
Merge pull request !479 from MGY917/toybox_strip_twice
2021-08-03 03:01:04 +00:00
openharmony_ci
7f7eb8374f
!473 Revert "fix: 修改默认窗口宽度到400"
...
Merge pull request !473 from MGY917/revert_wz
2021-08-03 02:58:47 +00:00
openharmony_ci
1c8f3b98c9
!473 Revert "fix: 修改默认窗口宽度到400"
...
Merge pull request !473 from MGY917/revert_wz
2021-08-03 02:58:47 +00:00
Caoruihong
8de96bba65
chore: also copy unstripped version of mksh and toybox
...
stripped version used to pack rootfs image, unstripped
used for debug.
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I07673238772d6995426ec8b1cff43f1abfea7049
2021-08-03 00:10:37 +08:00
openharmony_ci
c66681a1f9
!486 lwip_enhanced更改gn编译
...
Merge pull request !486 from 刘建东/master
2021-08-02 11:15:47 +00:00
YOUR_NAME
8696e1c6cb
chore: enable gn build for lwip_enhanced
...
enable gn build for lwip_enhanced
close: #I43GEW
Signed-off-by: liujiandong <liujiandong1@huawei.com>
2021-08-02 14:18:56 +08:00
Caoruihong
4dc421e3de
fix: liteipc max data size too small
...
use IPC_IO_DATA_MAX from liteipc_adapter.h
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I94f2dd2ff148e8a03ffb2c7b38ab06a34a2d2827
2021-08-02 11:58:29 +08:00
openharmony_ci
ce66a234fc
!471 fix: 将用户态内存调测解析脚本移至tools目录下
...
Merge pull request !471 from Harylee/mem
2021-08-02 02:34:11 +00:00
openharmony_ci
f85c27de59
!476 在内核提示No idle TCB时,增加打印当前系统任务信息,以方便问题定位。
...
Merge pull request !476 from zhangfanfan2/master
2021-07-31 09:19:41 +00:00
openharmony_ci
9c291a4361
!481 修复mq_close关闭后仍然占用文件描述符的问题
...
Merge pull request !481 from lnlan/fix_mqueue_0730
2021-07-31 06:07:35 +00:00
openharmony_ci
1722aaa80d
!475 将toybox和mksh加入到gn编译代替其make编译
...
Merge pull request !475 from Caoruihong/gn_build_apps
2021-07-31 03:57:03 +00:00
openharmony_ci
88358ab302
!480 A核代码告警清零
...
Merge pull request !480 from wangchen/a_codex
2021-07-31 03:41:03 +00:00
openharmony_ci
1e5d01360b
!394 fix apis: setrlimit,gethostname,gethostid
...
Merge pull request !394 from wcc/misc
2021-07-31 03:17:22 +00:00
openharmony_ci
a7a25bb0a3
!382 fix mq by enable mq_notify API
...
Merge pull request !382 from guweijie/master
2021-07-31 03:08:14 +00:00
openharmony_ci
1394b3be26
!463 BBOX使用预留物理内存缓存故障日志
...
Merge pull request !463 from pcwlno1/bbox_bugfix_upload2
2021-07-31 01:55:14 +00:00
lnlan
590c7b4e22
fix: 修复mq_close关闭后仍然占用文件描述符的问题
...
【背景】
mqueue用例压力测试中,会出现无法生成xml现象
【修改方案】
1. 确认是mq_close关闭时未清除用户态文件描述符相关位导致的,
添加清除步骤后,问题解决
【影响】
对现有的产品编译不会有影响。
re #I3ZQDA
Signed-off-by: lanleinan <lanleinan@163.com>
Change-Id: I8d467b361465f516ae7105bef38242bfd4805c60
2021-07-30 09:26:22 +00:00
wangchen
698756d1e6
fix: A核代码告警清零
...
【背景】定期A核代码告警清零。
【修改方案】
根据工具扫描结果,对代码告警进行更改。
【影响】
对现有的产品编译不会有影响。
re #I4378T
Signed-off-by: wangchen <253227059@qq.com>
2021-07-30 17:13:55 +08:00
Guangyao Ma
7819d15b36
fix: 去掉冗余的strip操作
...
toybox源码编译时,默认会进行strip操作,如下步骤:
//third_party/toybox/scripts/make.sh:340:
! do_loudly ${CROSS_COMPILE}${STRIP} "$UNSTRIPPED" -o "$OUTNAME"
因此在打包的Makefile中再进行STRIP操作是冗余的。
close #I43767
Change-Id: I10a9861b682eb8e556b7af7519c9109eef0b3a94
Signed-off-by: Guangyao Ma <guangyao.ma@outlook.com>
2021-07-30 16:58:53 +08:00
YOUR_NAME
11a9b00d43
fix: 在内核提示No idle TCB时,增加打印当前系统任务信息,以方便问题定位。
...
close: #I434UC
Signed-off-by: zff <zhangfanfan2@huawei.com>
Change-Id: If6cdb719412375c79356a50113a0efb45c8968f7
2021-07-30 12:52:31 +08:00
pcwlno1
2ad176e587
fix: BBOX使用预留物理内存缓存故障日志
...
1、允许用户自己指定预留物理内存的起始地址和长度。
2、在适配层中增加对预留物理内存的映射。
3、在bbox的Kcondfig中增加有关预留物理内存的编译选项。
4、在bbox的Makefile增加有关内存函数头文件的引用。
Close #I41YIZ
Signed-off-by: pcwlno1 <qidechun@huawei.com>
2021-07-30 11:02:13 +08:00
Caoruihong
c54bfa16e3
feat: enable gn build for toybox and mksh
...
toybox and mksh are built by gn now, and make build
for toybox and mksh are disabled now.
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I46810ab418344d9841ec55cb9f1ad2dc2d15b008
2021-07-30 10:11:02 +08:00
Guangyao Ma
187884937c
Revert "fix: 修改默认窗口宽度到400"
...
之前修改窗口宽度,为了适配流水线。流水线已经完成自适应,建议回退回80宽度。一方
面,shell显示更友好。一方面,在tty完成前,也没有更好的处理方法。
close #I42X9V
This reverts commit 09c491ca1f
.
Change-Id: I17a4f4804c4530ee5b95ebf547771768ef254842
Signed-off-by: Guangyao Ma <guangyao.ma@outlook.com>
2021-07-29 12:54:25 +08:00
openharmony_ci
2d8e59ccf3
!470 编译器标准头文件路径标识为系统路径(-isystem)
...
Merge pull request !470 from Caoruihong/isystem_std_inc
2021-07-28 09:45:53 +00:00
Haryslee
85b4cb7a67
fix: 将用户态内存调测解析脚本移至tools目录下
...
背景:解析脚本之前放在prebuilts目录下,该目录做了调整,该子目录下无合适的目录存放。
方案:将解析脚本移至内核tools目录下。
close #I42T9A
Signed-off-by: Haryslee <lihao189@huawei.com>
Change-Id: I8b4af5df0cc9c9cd740fef8bd3092cf8d2bd1ec7
2021-07-28 17:29:58 +08:00
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