Ville Juven
a74136d07f
examples/thttpd: Remove TCB_FLAG_CANCEL stuff
...
The flags are removed from kernel side
2026-04-20 15:13:10 +08:00
openvela-robot
5833690cf9
examples/can: TX and RX structs assigned 0 at startup
2026-04-20 15:13:09 +08:00
Ville Juven
2b49a7cc02
examples/thttpd: Remove TCB_FLAG_CANCEL stuff
...
The flags are removed from kernel side
2026-04-20 15:13:08 +08:00
openvela-robot
47496b1a6d
Merge branch 'dev-merge-github-20230228' into dev
2026-04-20 15:12:39 +08:00
openvela-robot
eb01857f39
zlib&libwebsockets: add seperate repo into git ignore
...
Signed-off-by: haopengxiang <haopengxiang@xiaomi.com>
2026-04-20 15:12:38 +08:00
openvela-robot
4f05ad9fe7
libsodium depends on ICS license
2026-04-20 15:12:18 +08:00
openvela-robot
7f37c4d892
testing/gpu: add tiled image test
...
Signed-off-by: Xuxingliang <xuxingliang@xiaomi.com>
Signed-off-by: xinbingnan <xinbingnan@xiaomi.com>
2026-04-20 15:12:17 +08:00
openvela-robot
5b23db4349
mbedtls: use 'getrandom' to get system entropy
...
use getrandom to get system entropy and not dependent on config DEVURANDOM
Signed-off-by: makejian <makejian@xiaomi.com>
2026-04-20 15:12:15 +08:00
openvela-robot
ad54f17af8
Fix coremark/core_util.c:210:17: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:12:14 +08:00
openvela-robot
4d5c354ef7
system/fastboot: Fix command comparation
...
e.g. The command is "reboot-bootloader", but will match and break when
compared with "reboot"
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2026-04-20 15:12:11 +08:00
openvela-robot
686ec3623d
Application.mk:define main entry MAINNAME relatively
...
when a program has multiple MAINSRC for incremental compilation,
the PROGNAME of the compiled file may generate errors
-------------------- compile definition error ---------------------
cc -c -g CFLAGS INCLUDEDIR -Dmain=funA_main funB.c -o funB.c.path.o
^^^^ ^^^^^^ ^^^^
-------------------------------------------------------------------
use the MAINOBJ:PROGNAME mapping variable to define the main entry name
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2026-04-20 15:12:11 +08:00
xuxin19
5e85fa28f6
fix progname do not match issue
...
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2026-04-20 15:12:09 +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
Xiang Xiao
8104a934f2
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:10:35 +08:00
openvela-robot
abdcec40ac
Remove the const cast from the initialization of boardioc_symtab_s::symtab
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:09:53 +08:00
Xiang Xiao
a308519486
Remove the const cast from the initialization of boardioc_symtab_s::symtab
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:09:53 +08:00
openvela-robot
8ca8591007
apps/testing/ltp: remove the -Dfork=vfork option
...
as we provided the fork implementation in nuttx, we do not need this
compile option
Signed-off-by: guoshichao <guoshichao@xiaomi.com>
2026-04-20 15:09:53 +08:00
openvela-robot
7b80f22e2e
add initial cmake build system
...
Co-authored-by: Daniel Agar <daniel@agar.ca>
Signed-off-by: chao an <anchao@xiaomi.com>
2026-04-20 15:09:52 +08:00
Xiang Xiao
1c9a262086
arp: Remove the unnecessary inclusion of nuttx/net/arp
...
and change the remain inclusion to netinet/arp.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:06:24 +08:00
openvela-robot
34d28bb734
nshlib: Add login skip, invalid name ignore and password challenge to telnet login
...
forget in the follow patches:
commit 6aef469c197a4c5d7a3a8cd766ea04fccb14ed3c
Author: huangjian <huangjian@xiaomi.com>
Date: Fri Nov 4 20:37:04 2022 +0800
nshlib:judge whether nsh login username is a valid input
Signed-off-by: huangjian <huangjian@xiaomi.com>
commit 88fff23d3497de541d74325690c79c0616f31d6a
Author: huangjian <huangjian@xiaomi.com>
Date: Fri Nov 4 20:39:26 2022 +0800
nshlib:add platform skip login function
Signed-off-by: huangjian <huangjian@xiaomi.com>
commit 5a623cc9e3f51845007614de9a1e4c74c262d8e9
Author: huangjian <huangjian@xiaomi.com>
Date: Fri Nov 4 20:35:07 2022 +0800
nshlib:add platform challenge function for nsh login
Signed-off-by: huangjian <huangjian@xiaomi.com>
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:06:23 +08:00
Xiang Xiao
05c52477a8
arp: Remove the unnecessary inclusion of nuttx/net/arp
...
and change the remain inclusion to netinet/arp.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:06:23 +08:00