Commit Graph

124 Commits

Author SHA1 Message Date
huangkai8 2cd4e4e3f9 Wrong start and end values would make dead cycle. Exchange the values when start value is bigger than end value. 2026-04-20 15:11:28 +08:00
openvela-robot 5915bb2de3 mtd_config_fs: Default select MTD_CONFIG_NAMED config
Signed-off-by: Shoukui Zhang <zhangshoukui@xiaomi.com>
2026-04-20 15:11:27 +08:00
openvela-robot a0e4851d15 lv_porting/dcache: move the D-Cache init to disp
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 15:11:27 +08:00
openvela-robot 0330f3f37e testing/cmocka:add a patch.
cmocka modification upload Nuttx community preparation: upload a patch with recent changes for cmocka source code.

Signed-off-by: yangjiao <yangjiao@xiaomi.com>
2026-04-20 15:11:25 +08:00
openvela-robot eea0a1c145 examples: Change unionfs_mount to mount
since unionfs_mount isn't exported through syscall

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:11:24 +08:00
openvela-robot 80b90dcfe3 builtin: uid and gid configuration for builtin app
File uid and gid configuration for builtin fs, if set-user-ID bit is set
in the file permissions, then the euid of process set as file uid. Use
the confiuration to emulate builtin app set.

MODE must octal number and use similar with linux chmod OCTAL-MODE FILE
UID  = 2000
GID  = 3000
MODE = 06555

Signed-off-by: fangxinyong <fangxinyong@xiaomi.com>
2026-04-20 15:11:23 +08:00
openvela-robot 3c3505ad8e ofloader: to avoid implicit boardctl call error
Signed-off-by: wanggang26 <wanggang26@xiaomi.com>
2026-04-20 15:11:22 +08:00
openvela-robot 6d5160a3db mbedtls: add nuttx crypto alternative implementation in mbedtls
(1)add dev_alt to manage /dev/crypto
(2)add sha_alt to alternate sha1 algorithm
(3)use new mbedtls_config.h to admin configs of mbedtls
Signed-off-by: makejian <makejian@xiaomi.com>
2026-04-20 15:11:21 +08:00
openvela-robot 8dfe87c85b examples/watcher: get the thread name using pthread_getname_np
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2026-04-20 15:11:16 +08:00
openvela-robot e2899b8468 example/poll: add delay for poll testcase
for should setup the fifo firstly

Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-04-20 15:11:12 +08:00
openvela-robot d9f8ac9db9 Revert "tools/Wasm.mk: Take optimization flags from native build"
This reverts commit 2725c6ae5c9bfb38b1560cb41aad112db2283246.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2026-04-20 15:11:07 +08:00
openvela-robot 5f9171080b nxcamera: Solve compilation errors caused by type mismatch
CC:  nxcamera.c nxcamera.c: In function 'show_image':
nxcamera.c:85:20: error: initialization of 'uint32_t *' {aka 'unsigned int *'} from incompatible pointer type 'uint8_t *' {aka 'unsigned char *'} [-Werror=incompatible-pointer-types]
   85 |   uint32_t *pbuf = pcam->bufs[buf->index];
      |                    ^~~~
cc1: all warnings being treated as errors

Signed-off-by: yangsen5 <yangsen5@xiaomi.com>
2026-04-20 15:11:05 +08:00
openvela-robot b725c1b2f8 apps/graphics/lvgl: add LV_USE_V9 config for wms
Signed-off-by: yanxiaowei <yanxiaowei@xiaomi.com>
2026-04-20 15:11:04 +08:00
openvela-robot 44fdc1d510 watchdog:test watchdog not depend on fs.
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>
2026-04-20 15:11:02 +08:00
openvela-robot 79ec58024e cmake:migrate apps CMakeLists for [audioutils benchmarks]
audioutils
  ├── fmsynth
  ├── mml_parser
  └── nxaudio
 benchmarks
  └── coremark

Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2026-04-20 15:11:01 +08:00
openvela-robot 6a000f5baa system: dd: add standalone dd command
enabling SYSTEM_DD will disable nsh_dd by selecting NSH_DISABLE_DD

Signed-off-by: chenxiaoyi <chenxiaoyi@xiaomi.com>
2026-04-20 15:11:00 +08:00
openvela-robot 35ae73e206 fdt: use CONFIG_DTC_VERSION to identify the version of tools
Signed-off-by: liaoao <liaoao@xiaomi.com>
2026-04-20 15:10:59 +08:00
openvela-robot f30b7e4e5d drivertest_rtc:fix RTC_HAVE_SET_TIME is false.
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
2026-04-20 15:10:57 +08:00
openvela-robot 9611ec57f0 add mbedtls sha256/sha512 alternative implementation
Signed-off-by: makejian <makejian@xiaomi.com>
2026-04-20 15:10:57 +08:00
openvela-robot 6b291be420 apps/examples: fix fb example show error
For screens with transparency, the alpha value should be set to 0xFF

Signed-off-by: rongyichang <rongyichang@xiaomi.com>
2026-04-20 15:10:55 +08:00
openvela-robot 91ddee3e68 graphics/libyuv: refine patching logic
Only stable branch need custom patch, main is fixed by upstream

Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2026-04-20 15:10:55 +08:00
openvela-robot 363a34b84c testing/ostest: add test case for task priority change with locked scheduler
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2026-04-20 15:10:54 +08:00
openvela-robot 464a2ca7f7 gpu: Add config for disable fallback to sw draw.
Signed-off-by: huxiandong <huxiandong@xiaomi.com>
2026-04-20 15:10:53 +08:00
openvela-robot 8342123526 toywasm: bump the version to v31 2026-04-20 15:10:51 +08:00
openvela-robot 3bf6c94f7b lv_porting/img_cache: add static memory support
1. Separated from the main heap memory address, it is convenient to capture the heap mixed use problem.

2. In the future, if the GPU can only access the memory area at the specified address, you can specify the cache_mem section in the link script.

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 15:10:50 +08:00
openvela-robot a7ccf98748 fix memory leak in aesctr test case
Signed-off-by: makejian <makejian@xiaomi.com>
2026-04-20 15:10:48 +08:00
openvela-robot 6096200370 memorystress:Fix some warnings and make the index randomized.
Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2026-04-20 15:10:48 +08:00
openvela-robot 4504d753e0 usrsocktest: correct the parameter when pthread_kill is called
When the value of the signal is modified, the function will be faulty

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2026-04-20 15:10:46 +08:00
openvela-robot 8c70d6657d ltp/makefile: nuttx on github download ltp code failed fix
Fix github download ltp code error:
Cloning into 'ltp'...
*** Please tell me who you are.
Run
  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got 'root@33ba2a4a6fc5.(none)')

Signed-off-by: yanghuatao <yanghuatao@xiaomi.com>
2026-04-20 15:10:46 +08:00
openvela-robot 88245dc3be mcuboot: update mcuboot to support swap using move
Older versions of mcuboot did not support swap using move and therefore
the build would have failed CONFIG_MCUBOOT_SWAP_USING_MOVE=y.

Newer mcuboot contains initial support of swap using move for NuttX. Also
Makefile was updated to as some bootutil files were removed from mcuboot.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2026-04-20 15:10:44 +08:00
openvela-robot 15a6b0318c gpu_manager: add stricter parameter checking
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 15:10:43 +08:00
openvela-robot 961a042479 fix ostest sigprocmask testcase
problem: ostest may fail at procmask test, because signals:sigkill/sigstop should not be added in signal mask
solution: skip checking whether sigkill/sigstop are in signal mask

Signed-off-by: guanyi <guanyi@xiaomi.com>
2026-04-20 15:10:40 +08:00
openvela-robot 9166c27b0d tools: Raise error if wasm module build failed
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2026-04-20 15:10:40 +08:00
openvela-robot 221481b902 nshlib: add print negative number support for echo command
Fix issue that "echo -1" will give "argument invalid" error

Signed-off-by: wanggang26 <wanggang26@xiaomi.com>
2026-04-20 15:10:39 +08:00
openvela-robot b8ddd14b7f lvgldemo:add header file lvgl_test.h
add header file to avoid build failed of lvgldemo when enable some configs

Signed-off-by: duxiaoliang <duxiaoliang@xiaomi.com>
2026-04-20 15:10:37 +08:00
openvela-robot dafc8663d0 examples/sotest: remove unnecessary config
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2026-04-20 15:10:36 +08:00
openvela-robot d3b219bc8e ofloader: add open flash loader support [1/2]
Signed-off-by: wanggang26 <wanggang26@xiaomi.com>
2026-04-20 15:10:35 +08:00
openvela-robot cb574562a5 system/uorb: Support frequency less than 1hz
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2026-04-20 15:10:33 +08:00
openvela-robot 5e359c1924 add testcase for regulator set mode and auto pm
Signed-off-by: dulibo1 <dulibo1@xiaomi.com>
2026-04-20 15:10:32 +08:00
openvela-robot 0e5d9df3b3 testing/mm: add maxsize parameter
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2026-04-20 15:10:30 +08:00
openvela-robot 9090362d3c fix libsodium compile warning
Signed-off-by: makejian <makejian@xiaomi.com>
2026-04-20 15:10:29 +08:00
openvela-robot 0a35926619 Revert "toywasm: disable tail call and explain why"
This reverts commit fcda92ebc7e77b5d302c322d202a85044713dd0d.

because it isn't necessary for the latest versions of toywasm.
2026-04-20 15:10:28 +08:00
openvela-robot 2a71bb0d66 gpu_manager: add lvgl draw buffer adaptation
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 15:10:27 +08:00
openvela-robot f5765f8f9d Move Wasm.mk to end of file since it need definition from Application.mk itself.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2026-04-20 15:10:25 +08:00
openvela-robot ba80f742df examples: Build both native app and wasm app for hello to pass CI test
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2026-04-20 15:10:25 +08:00
openvela-robot f8cfeed546 system/cachespeed:Redesign of the overall test tool.
Compared to the previous version, the following factors have been taken into account in the new version of cachespeed:
1. the user needs to care about getting a piece of available memory (even if this piece of memory may memory stomp during use)
2. High repetition of test code, poor readability, and overall high test coupling
3. Not taking into account the alignment cache line situation
4. When comparing values between different test tools, there is a little error because of the different ways to get the values (different fine reading)
Therefore, in the new version according to the above problems have been improved:
1. Provide a "test_skeleton", which contains the overall testing process
2. The user only needs to execute, not to care about how to get the available memory address, and the memory allocated by the program also ensures the memory security and data accuracy
3. The system to obtain the data required for the test reduces the difficulty of use and the possibility of inaccurate results due to data errors.
4. Provide two kinds of precision data results, which can be configured through Kconfig
5. Optimize the output log, now more intuitive and concise, to help the subsequent data organization and observation
6. New test items for aligned/unaligned cache line
7. Better readability and extensibility, making it easier to add/remove test items

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2026-04-20 15:10:23 +08:00
openvela-robot fc59b0f536 apps/graphics: fix gradient draw error with flush count
Signed-off-by: rongyichang <rongyichang@xiaomi.com>
2026-04-20 15:10:23 +08:00
openvela-robot 006200432b system/nxdiag: Fix race condition during build
This commit fixed a race condition that might happen by only unshallowing the Espressif HAL only after it was completely cloned.
2026-04-20 15:10:21 +08:00
openvela-robot 062599f309 add md5/sha1/sha256/sha512 testcases
Signed-off-by: makejian <makejian@xiaomi.com>
2026-04-20 15:10:21 +08:00
openvela-robot 28153280ad ostest: Skip test_dev_null when CONFIG_DEV_NULL isn't enabled
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:10:19 +08:00