qidechun
cb17fa50ed
feat: 给开发者提供系统信息导出Hidumper工具。
...
给开发者提供系统信息DUMP机制,帮助开发者观察系统功能状态,发现潜在问题。
Close #I3NN7D
Signed-off-by: qidechun <qidechun@huawei.com>
2021-07-14 14:49:58 +08:00
openharmony_ci
a531da901d
!426 【DFX子系统】【BBoxDetector】LiteOS_A死机重启维测框架
...
Merge pull request !426 from pcwlno1/upload1
2021-07-14 02:18:05 +00:00
qidechun
a195aac9fb
feat: add blackbox for liteos_a
...
1、在内核增加BlackBox核心框架,对外提供模块回调接口注册和故障处理接口。
2、增加默认的系统模块适配层,处理通用内核态和用户态故障日志抓取和保存。
3、BBOX特性默认关闭,若想使用此特性,请在内核配置文件中增加如下编译选项:
LOSCFG_BLACKBOX=y
LOSCFG_SAVE_EXCINFO=y
LOSCFG_SAVE_EXCINFO可以帮助抓取更多的故障日志。
4、若已经打开BBOX特性,想快速验证此特性,请添加如下编译选项:
LOSCFG_HIDUMPER=y
Close #I406NP
Signed-off-by: qidechun <qidechun@huawei.com>
2021-07-14 09:37:35 +08:00
openharmony_ci
0056b4ade5
!380 修复了杀死掉hilog进程后SecurityCapability门禁用例无法通过的问题
...
Merge pull request !380 from phchang/fixhilog
2021-07-13 08:21:41 +00:00
openharmony_ci
78a50aff99
!396 修复signal中的关于pipe部分的用例问题
...
Merge pull request !396 from phchang/fix_pipebug
2021-07-13 08:21:28 +00:00
openharmony_ci
7240fe3bd4
!405 修复mqueue_unittest用例存在偶尔无法通过的问题
...
Merge pull request !405 from phchang/fix_mq
2021-07-13 08:20:38 +00:00
vcbchang
e7c4b1963a
test: 修复mqueue_unittest全量用例ItPosixQueue075与ItPosixQueue097,冒烟用例 ItPosixQueue053用例存在偶尔无法通过的问题
...
【背景】mqueue_unittest用例ItPosixQueue075、ItPosixQueue053 与ItPosixQueue097用例存在偶尔无法通过的问题,现在将其修复
【修改方案】ItPosixQueue075中原来是通过延时来实现线程同步,现在更改为静态全局变量实现; ItPosixQueue097中的关于g_testCount利用延时来置标志位,实现线程同步。这里通过延时来期望线程调度,写的不合理,这里更改为等待标志位来实现线程同步。
re #I3Z9H9
Signed-off-by: vcbchang <vcbchang@qq.com>
Change-Id: Ib1bb945a5393cb03f4d92e4332e20acd82eb1845
2021-07-13 11:56:50 +08:00
vcbchang
fd6f91bc9f
test: 修复signal中的关于pipe部分的用例问题
...
【背景】signal模块中的pipe用例存在无法通过测试的问题,经查找,pipe用例存在多处bug,这里做以修复
【修改方案】
1 ItPosixPipe002用例存在pipe存在在父进程中没有关闭写端,父进程判断处有编码问题等
2 删掉了一些用例多余的close函数,精简了用例的结构
3 原来用例主子进程依靠延时来实现进程同步,这里更改为使用共享内存的方法来实现
re #I3YPQ8
Signed-off-by: vcbchang <vcbchang@qq.com>
Change-Id: Ic0d0ab20521c9af5e5f1d75e76e047162d978464
2021-07-13 11:52:57 +08:00
openharmony_ci
390159f58a
!428 kconfig配置文件跟随产品
...
Merge pull request !428 from Caoruihong/defconfig
2021-07-12 03:25:28 +00:00
openharmony_ci
d8be8aad65
!377 perf: assign '-1' to uninitialized variable: ret
...
Merge pull request !377 from Joker2770/master
2021-07-12 00:55:51 +00:00
Caoruihong
6d948a42bb
chore: place .config files under config dir of products
...
place .config files under config dir of products
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I80c6641ae462d4888a6f3124f92b4c9d7fa1567b
2021-07-10 19:36:44 +08:00
openharmony_ci
72d9aa1bcb
!414 内核Kconfig与芯片配置解耦
...
Merge pull request !414 from Caoruihong/kconfig
2021-07-09 09:33:50 +00:00
openharmony_ci
8390738de5
!414 内核Kconfig与芯片配置解耦
...
Merge pull request !414 from Caoruihong/kconfig
2021-07-09 09:33:50 +00:00
openharmony_ci
ee54cd8b7e
!356 修复内核vfat用例
...
Merge pull request !356 from Far/test
2021-07-09 08:38:39 +00:00
openharmony_ci
f523d7a98c
!339 修复了文件系统中jffs的全量用例和压测用例中出现的问题
...
Merge pull request !339 from phchang/fixjffs
2021-07-09 08:38:01 +00:00
openharmony_ci
d7387508e3
!402 消除编译告警
...
Merge pull request !402 from x_xiny/master
2021-07-09 08:37:20 +00:00
x_xiny
e4ff04586f
fix:消除编译告警
...
【背景】
消除编译告警
【修改方案】
消除编译告警
re #I3ZC1R
Change-Id: I594d0f57e4cbbdb246a6bef1c978a38228123a34
Signed-off-by: x-xiny <1301913191@qq.com>
Change-Id: I1d75cdcdcf9d06ec28e541cdfea77300da7c6bb1
2021-07-08 20:30:33 +08:00
Caoruihong
8784694686
feat: using kconfiglib instead of kconfig
...
kconfiglib support the kconfig macro language,
we need this feature to handle product related
Kconfig configuration.
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I6bb521e93aab6c67b8bc3ac664b64f5e52089a45
2021-07-08 15:44:47 +08:00
openharmony_ci
b29d9d88ab
!412 fix: mksh compile bug fix
...
Merge pull request !412 from MGY917/fix_waitpid
2021-07-08 03:25:08 +00:00
Guangyao Ma
d8263b1e91
fix: mksh compile bug fix
...
编译框架整改,需要所有交叉编译指定sysroot以及arch相关的编译选项,用来在编译链
接过程中在指定的sysroot路径下,寻找符合arch要求的依赖库。往往,sysroot选项和
arch选项需要同时出现在编译链接选项中。
close #I3ZMR7
Signed-off-by: Guangyao Ma <guangyao.ma@outlook.com>
Change-Id: If2249721e0e35615b95f5525e57241aae910c212
2021-07-08 10:48:39 +08:00
openharmony_ci
9304a683ad
!397 修复内核access chmod chown接口
...
Merge pull request !397 from JING/kernel
2021-07-08 02:36:56 +00:00
openharmony_ci
78906f4a6c
!406 修正最小编译时的错误
...
Merge pull request !406 from Caoruihong/qemu_mini
2021-07-07 08:29:28 +00:00
openharmony_ci
ee7eb89354
!409 回退 'Pull Request !401 : 【DFX子系统】【BBoxDetector】LiteOS_A死机重启维测框架'
...
Merge pull request !409 from give-me-five/revert-merge-401-master
2021-07-07 03:06:14 +00:00
Denny
55e5e29005
回退 'Pull Request !401 : 【DFX子系统】【BBoxDetector】LiteOS_A死机重启维测框架'
2021-07-07 10:29:43 +08:00
Caoruihong
ac8c2c6d5b
fix: minimal compile
...
fix compile errors in minimal compilation
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I48f4f7b27c684e2c747c1949776c5c4f9e383dec
2021-07-07 00:26:33 +08:00
openharmony_ci
feae60c8fe
!401 【DFX子系统】【BBoxDetector】LiteOS_A死机重启维测框架
...
Merge pull request !401 from pcwlno1/upload10
2021-07-06 08:15:48 +00:00
qidechun
425975e481
feat: add blackbox for liteos_a
...
1、在内核增加BlackBox核心框架,对外提供模块回调接口注册和故障处理接口。
2、增加默认的系统模块适配层,处理通用内核态和用户态故障日志抓取和保存。
Close #I3NN7V
Signed-off-by: qidechun <qidechun@huawei.com>
2021-07-06 07:49:59 +08:00
openharmony_ci
cc731d1e69
!391 add vibrator liteos defined
...
Merge pull request !391 from kevin/0625_maste
2021-07-05 12:29:56 +00:00
chenjing
56a95b9ec9
fix: 修复内核access chmod chown接口
...
1、修复内核的access chmod chown功能;
2、此三个接口的syscall直接调用内核态接口执行操作。
close #I3Z5L6
Signed-off-by: chenjing <chenjing139@huawei.com>
Change-Id: I301f00fb341252b697b04b9970db86f0e7f978df
2021-07-05 16:03:16 +08:00
kevin
3e7622ca78
Merge branch '0625_maste' of https://gitee.com/Kevin-Lau/kernel_liteos_a into 0625_maste
2021-07-05 14:55:57 +08:00
kevin
b1b4ddcc7d
feat:add hdf vibrator liteos definition
...
Change-Id: I0a73f0de3c25e427362fe9d96547c4d847448dda
Signed-off-by: kevin <liufeihu@huawei.com>
2021-07-05 14:53:43 +08:00
kevin
23fd4e55a3
add vibrator liteos defined
...
Signed-off-by: kevin <liufeihu@huawei.com>
Change-Id: I0a73f0de3c25e427362fe9d96547c4d847448dda
2021-07-01 20:24:46 +08:00
vcbchang
e57dc7762b
test: 修复了文件系统中jffs的全量用例和压测用例中出现的问题
...
【背景】当前的fs中的jffs用例存在运行不通过的问题,现将其一一修复。
【修改方案】
1. 默认storage文件夹没有文件,如果存在,删除后测试
2. BUG中存在判断不通过的情况,可能是移植过程中出现的变量判断错误,修改变量名正确通过
3. 移植过程中没有考虑现在falsh的大小,有时会出现写入量过多而容量不够的情况,则通过减少写入量来解决问题。
4. 为了尽量减少修改的内容,这里主要以更改全局宏大小或者在代码中修改变量的初始值。
【影响】
主要是jffs用例的写入flash的大小发生变化,其余没有影响。
Signed-off-by: vcbchang <vcbchang@qq.com>
Change-Id: I878fe3ad855e0e430bf7f36e066120893f756828
2021-07-01 18:07:51 +08:00
openharmony_ci
003810284c
!384 对内核中menuconfig开关的宏使用#ifdef/#ifndef来做预编译判断
...
Merge pull request !384 from boxi/upload
2021-07-01 07:11:13 +00:00
openharmony_ci
379d602ab6
!376 使能QEMU arm-virt平台的FAT配置选项
...
Merge pull request !376 from laokz/blk
2021-07-01 06:05:57 +00:00
openharmony_ci
bf7b2c0a3e
!386 支持单独编译内核
...
Merge pull request !386 from Caoruihong/build_alone
2021-07-01 02:41:01 +00:00
boxi
4e4f2d6d7e
refactor: 对LiteOS_a内核中menuconfig开关的宏使用#ifdef/#ifndef做预编译处理
...
LiteOS_a中有部分配置宏进行了重复冗余定义,导致当头文件未被包含时,极易引入错误,
故对menuconfig配置宏进行统一处理,均使用#ifdef/#ifndef作为预编译判断方式
Close #I3YEGS
Change-Id: Ife6db770cc66de1d6199a4f3ba3950e9bfd0e71a
Signed-off-by: boxi <lewis.liulei@huawei.com>
2021-07-01 09:08:18 +08:00
Caoruihong
d7672d47f2
chore: make liteos_a can be built alone
...
in the liteos_a directory, we used to use `make clean all` command
to build liteos_a kernel for test.
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I5ca689c1c44052f7de937d7faa9e4d3534d97380
2021-06-30 18:44:46 +08:00
openharmony_ci
abbeca1cb2
!359 sysroot和CPU架构参数通过BUILD.gn传递给Make
...
Merge pull request !359 from Caoruihong/sysroot
2021-06-29 08:14:54 +00:00
openharmony_ci
50c8abc521
!371 fix: 修复kill进程时,liteipc阻塞的进程无法退出问题
...
Merge pull request !371 from zhushengle/p_kill
2021-06-29 05:27:08 +00:00
openharmony_ci
0469e5b849
!378 修复了FATFS设置卷标的功能
...
Merge pull request !378 from Far/master
2021-06-29 05:13:41 +00:00
openharmony_ci
dfea902a08
!379 fix: 修复内核c库的makefile中被优化函数替换的高频函数依然参与了编译的问题
...
Merge pull request !379 from Zhaotianyu/0628libc_fix
2021-06-29 04:50:15 +00:00
openharmony_ci
339c467e71
!375 基于汇编实现内核对用户态内存清零的功能
...
Merge pull request !375 from Harylee/mem
2021-06-29 04:41:02 +00:00
vcbchang
455e42e5b9
test: 修复了杀死掉hilog进程后SecurityCapability门禁用例无法通过的问题
...
【背景】如果操作系统先执行kill hilog进程,然后再执行SecurityCapability,那么门禁用例将无法通过,原因是该用例先获取了hilog进程的id,但hilog进程已经杀掉了,所以报错
【修改方案】
1. 增加kill 0与错误码判断,如果发现进程已经被干掉的话将不执行相关内容
【影响】
无其它影响。
Signed-off-by: vcbchang <vcbchang@qq.com>
Change-Id: Icdf357800175eff19acf1f92426469642a697386
2021-06-28 20:31:28 +08:00
arvinzzz
6f6dc4f24c
fix: 修复内核c库的makefile中被优化函数替换的高频函数依然参与了编译的问题
...
1. 更正makefile过滤时被替换函数的不正确路径
2. 防止LOCAL_SRCS再直接+= /*/*.c添加回来
close: #I3XGM8
Signed-off-by: arvinzzz <zhaotianyu9@huawei.com>
Change-Id: I3aff2a60c5a48f2d6c174afa04d30fa6f5514d7e
2021-06-28 17:34:08 +08:00
Caoruihong
9e45086d19
chore: pass sysroot and arch related cflags by BUILD.gn
...
sysroot and arch related cflags are pass by BUILD.gn now.
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: Ia6000dd7ed8a8a37e935ace49d8460a919a16566
2021-06-28 16:31:02 +08:00
Far
9515d53dcc
fix: 恢复了FATFS设置卷标的功能
...
Liteos_a FATFS需要提供格式化时设置卷标的功能,该功能在当前系统中缺失。
现在恢复该功能,使用方法与原来一致。即使用set_label设置卷标文本后,调用format对设备格式化。
Close #I3Y5G8
Signed-off-by: Far <yesiyuan2@huawei.com>
2021-06-28 15:43:15 +08:00
Joker2770
e0a27badde
perf: assign '-1' to uninitialized variable: ret
...
Signed-off-by: Joker2770 <1214220480@qq.com>
2021-06-28 09:33:29 +08:00
laokz
49856dc1e0
feat(QEMU_ARM_VIRT_CA7): 使能FAT文件系统编译选项
...
Signed-off-by: laokz <laokz@foxmail.com>
Change-Id: I0eece39921292498243bd017f168f953a437731c
2021-06-26 18:11:15 +08:00
openharmony_ci
43bdf2f1d3
!372 信号管道用例ItPosixPipe005由于偶现性问题暂时下线
...
Merge pull request !372 from phchang/fix_pipe
2021-06-26 10:00:22 +00:00