Commit Graph

13 Commits

Author SHA1 Message Date
YOUR_NAME b1be50cdb9 [Desc] Support to close syscall.
Change-Id: I6f7c469e96da9cc89c5c33bf7a9afe19625e175f
2021-03-26 20:12:50 +08:00
zhangfanfan2 885f349192 内核c++编译使用-fno-omit-frame-pointer, 方便异常栈回溯 2021-03-16 16:23:02 +08:00
mamingshuai 73a7b66116 update openharmony 1.0.1 2021-03-11 18:43:57 +08:00
laokz 9404c9971d add QEMU arm 'virt' CFI flash support, enable rootfs and user-space app 2021-02-05 23:10:05 +08:00
Zbigniew Bodek 7797f017a2 Disable LTO only for Qemu ARM build
Keep flag enabled for HiSi cameras whereas
LTO will be disabled for Qemu as a workaround.

Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Change-Id: Iad7295d108dfea0928537281f87eb46836ee6681
2020-12-31 19:28:58 +08:00
Zbigniew Bodek 0403820b22 Change path to Qemu ARM platform's config and init
Change "vendor" to "device" where the latest
version of MR puts stuff related to Qemu ARM Virt.

Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
2020-12-31 00:54:47 +08:00
Zbigniew Bodek f0990f3b92 Update configuration files after HRTIMER option
Update only those configuration files that are used
during build (clang and clang+debug).

Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Change-Id: I5639b0074e8c4e0fef4e21d9f3b8c1582bb038d5
2020-12-31 00:54:42 +08:00
Zbigniew Bodek 5400ef180a Introduce Qemu ARM Virt CA7 platform debug configuration file
Minimal system configuration for Qemu ARM Virtual platform
based on Cortex-A7, with GICv2.

Some debugging options are enabled to allow for shell bring-up,
hence debug configuration type.

Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Change-Id: Ifa01cd44733fd0154044013f45772d178e19e78e
2020-11-17 23:07:01 +08:00
Zbigniew Bodek e0406e3df7 Fix various build problems when building for non-HiSi config
Mainly adding missing headers, removing redundant headers that
induce undefined symbols or rearranging existing headers
according to dependencies betheen them.
Also add missing include paths to makefiles and make configs.

Note: direct inclusion of pthread.h in disk.h is caused by the
latter being used almost everywhere, including third_party libraries.
Putting pthread.h there releases us from affecting more code.

Basically fixes build for anything that is not default HiSi
configuration.

Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Change-Id: Icdcb0874d9fed34d01fa282d33bd2e041c2ac436
2020-11-17 23:07:01 +08:00
Zbigniew Bodek 669221b620 Workaround undefined __stack_chk_guard by disabling LTO
Disable LTO to avoid undefined __stack_chk_guard symbol
problem. "externally_visible" attribute could be a fix for
that but it is not known to our LLVM.

Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Change-Id: I39e0ccaee5897c696a7a9a235e433cf9113853ce
2020-11-17 23:07:01 +08:00
Zbigniew Bodek 450f63d7b0 Add Qemu ARM virtual platform to build configuration files
Remove some dependencies on HiSilicon and add new platform to build.

Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Change-Id: I8504bcc9a1bf1756e1e20694986d7774156f8b8e
2020-11-17 23:07:01 +08:00
Caoruihong 63bd69267a drop unnecessary executable file permission mode
Change-Id: Ia6c1f6302407a707b3ec9b805f4c92d8a7970b86
2020-10-13 16:37:25 +08:00
wenjun 6df931fc98 add OpenHarmony 1.0 baseline 2020-09-08 17:22:24 +08:00