Commit Graph

124 Commits

Author SHA1 Message Date
huangkai8 210f10a9aa Wrong start and end values would make dead cycle. Exchange the values when start value is bigger than end value. 2025-12-15 18:21:59 +08:00
openvela-robot 8a06dfa6d1 mtd_config_fs: Default select MTD_CONFIG_NAMED config
Signed-off-by: Shoukui Zhang <zhangshoukui@xiaomi.com>
2025-12-15 18:21:58 +08:00
openvela-robot 334d798eca lv_porting/dcache: move the D-Cache init to disp
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2025-12-15 18:21:57 +08:00
openvela-robot f68333c6a8 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>
2025-12-15 18:21:55 +08:00
openvela-robot b81165dd3f examples: Change unionfs_mount to mount
since unionfs_mount isn't exported through syscall

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2025-12-15 18:21:52 +08:00
openvela-robot aa16f7f3f7 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>
2025-12-15 18:21:51 +08:00
openvela-robot 3bd525d9a5 ofloader: to avoid implicit boardctl call error
Signed-off-by: wanggang26 <wanggang26@xiaomi.com>
2025-12-15 18:21:50 +08:00
openvela-robot 1eedacb26f 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>
2025-12-15 18:21:46 +08:00
openvela-robot f588e145a0 examples/watcher: get the thread name using pthread_getname_np
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2025-12-15 18:21:42 +08:00
openvela-robot 98e2fe5dbe example/poll: add delay for poll testcase
for should setup the fifo firstly

Signed-off-by: ligd <liguiding1@xiaomi.com>
2025-12-15 18:21:29 +08:00
openvela-robot 64242bb089 Revert "tools/Wasm.mk: Take optimization flags from native build"
This reverts commit 2725c6ae5c9bfb38b1560cb41aad112db2283246.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2025-12-15 18:21:28 +08:00
openvela-robot a9af2de79a 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>
2025-12-15 18:21:26 +08:00
openvela-robot 20a6949ea2 apps/graphics/lvgl: add LV_USE_V9 config for wms
Signed-off-by: yanxiaowei <yanxiaowei@xiaomi.com>
2025-12-15 18:21:24 +08:00
openvela-robot e1397dcc46 watchdog:test watchdog not depend on fs.
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>
2025-12-15 18:21:20 +08:00
openvela-robot 13b0cf4162 cmake:migrate apps CMakeLists for [audioutils benchmarks]
audioutils
  ├── fmsynth
  ├── mml_parser
  └── nxaudio
 benchmarks
  └── coremark

Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2025-12-15 18:21:18 +08:00
openvela-robot 63c21b9094 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>
2025-12-15 18:21:14 +08:00
openvela-robot 9d5f9e6290 fdt: use CONFIG_DTC_VERSION to identify the version of tools
Signed-off-by: liaoao <liaoao@xiaomi.com>
2025-12-15 18:21:13 +08:00
openvela-robot 96e99d18bb drivertest_rtc:fix RTC_HAVE_SET_TIME is false.
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
2025-12-15 18:21:10 +08:00
openvela-robot 9424cc207a add mbedtls sha256/sha512 alternative implementation
Signed-off-by: makejian <makejian@xiaomi.com>
2025-12-15 18:21:08 +08:00
openvela-robot 77691fbdfc 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>
2025-12-15 18:21:06 +08:00
openvela-robot 3630e30e86 graphics/libyuv: refine patching logic
Only stable branch need custom patch, main is fixed by upstream

Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2025-12-15 18:21:04 +08:00
openvela-robot 6a60f6ff2d testing/ostest: add test case for task priority change with locked scheduler
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2025-12-15 18:21:02 +08:00
openvela-robot 126c941e47 gpu: Add config for disable fallback to sw draw.
Signed-off-by: huxiandong <huxiandong@xiaomi.com>
2025-12-15 18:21:00 +08:00
openvela-robot 0c825efa1d toywasm: bump the version to v31 2025-12-15 18:20:57 +08:00
openvela-robot 13d0291d16 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>
2025-12-15 18:20:55 +08:00
openvela-robot ec8008347f fix memory leak in aesctr test case
Signed-off-by: makejian <makejian@xiaomi.com>
2025-12-15 18:20:52 +08:00
openvela-robot 2439b52dcf memorystress:Fix some warnings and make the index randomized.
Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2025-12-15 18:20:51 +08:00
openvela-robot 6618ba05ec 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>
2025-12-15 18:20:48 +08:00
openvela-robot b3c6333ede 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>
2025-12-15 18:20:47 +08:00
openvela-robot c629b68985 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>
2025-12-15 18:20:45 +08:00
openvela-robot 34850a71c5 gpu_manager: add stricter parameter checking
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2025-12-15 18:20:42 +08:00
openvela-robot e49c4d36bd 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>
2025-12-15 18:20:38 +08:00
openvela-robot 448bdfbb09 tools: Raise error if wasm module build failed
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2025-12-15 18:20:36 +08:00
openvela-robot d42b6529f7 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>
2025-12-15 18:20:33 +08:00
openvela-robot 3ac8f64307 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>
2025-12-15 18:20:31 +08:00
openvela-robot 909da1578d examples/sotest: remove unnecessary config
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2025-12-15 18:20:28 +08:00
openvela-robot a510b43798 ofloader: add open flash loader support [1/2]
Signed-off-by: wanggang26 <wanggang26@xiaomi.com>
2025-12-15 18:20:27 +08:00
openvela-robot ae1a46d773 system/uorb: Support frequency less than 1hz
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2025-12-15 18:20:23 +08:00
openvela-robot c17ca90637 add testcase for regulator set mode and auto pm
Signed-off-by: dulibo1 <dulibo1@xiaomi.com>
2025-12-15 18:20:20 +08:00
openvela-robot b41b8b91a1 testing/mm: add maxsize parameter
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2025-12-15 18:20:18 +08:00
openvela-robot 5a5e82079e fix libsodium compile warning
Signed-off-by: makejian <makejian@xiaomi.com>
2025-12-15 18:20:15 +08:00
openvela-robot 39a00dcdf8 Revert "toywasm: disable tail call and explain why"
This reverts commit fcda92ebc7e77b5d302c322d202a85044713dd0d.

because it isn't necessary for the latest versions of toywasm.
2025-12-15 18:20:12 +08:00
openvela-robot 12df9fb2c5 gpu_manager: add lvgl draw buffer adaptation
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2025-12-15 18:20:10 +08:00
openvela-robot 7aa9536860 Move Wasm.mk to end of file since it need definition from Application.mk itself.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2025-12-15 18:20:08 +08:00
openvela-robot 90b52c7353 examples: Build both native app and wasm app for hello to pass CI test
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2025-12-15 18:20:07 +08:00
openvela-robot a34a5bc912 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 specific producte 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 specific producte 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>
2025-12-15 18:20:05 +08:00
openvela-robot 4765aa32c2 apps/graphics: fix gradient draw error with flush count
Signed-off-by: rongyichang <rongyichang@xiaomi.com>
2025-12-15 18:20:03 +08:00
openvela-robot a106339556 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.
2025-12-15 18:20:01 +08:00
openvela-robot f7ddf4f061 add md5/sha1/sha256/sha512 testcases
Signed-off-by: makejian <makejian@xiaomi.com>
2025-12-15 18:20:00 +08:00
openvela-robot 79aa91b8f6 ostest: Skip test_dev_null when CONFIG_DEV_NULL isn't enabled
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2025-12-15 18:19:57 +08:00