Commit Graph

35 Commits

Author SHA1 Message Date
Xiang Xiao de11400ce1 Change the private default signal number to 32
and remove the unused private signal number macro

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:08:40 +08:00
openvela-robot 13329a1069 watchdog:test watchdog not depend on fs.
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>
2026-04-20 15:08:40 +08:00
openvela-robot b4001c66ca DroneCAN add socketcan support, rename to DroneCAN
Rename canardv1 to OpenCyphal

Apply suggestions from code review

Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2026-04-20 15:08:38 +08:00
openvela-robot 895122cd3f apps/system: Call arg_freetable before iptables/tcpdump exit
Forget to free argtable before exit.

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2026-04-20 15:08:38 +08:00
openvela-robot cbf092ea72 bump toywasm version 2026-04-20 15:08:36 +08:00
openvela-robot 4c26acaebb Revert "apps: add default uid for builtin app"
This reverts commit 22d81c55e483d3fe05f9ebb8e1c644e4763870ac.
2026-04-20 15:08:36 +08:00
openvela-robot 896fdc5dcf ostest: fix smp ostest fail
In SMP we need improve thread waiting strategy

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2026-04-20 15:08:34 +08:00
openvela-robot f5092dcfe9 nshlib: Don't show passwd in telnet login
Current implementation is broken, in this patch ECHO is
disabled by termios.

This patch works with https://github.com/apache/nuttx/pull/8950

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2026-04-20 15:08:33 +08:00
openvela-robot a4be6a233e nshlib/nsh_fscmds.c:Add whether or not to pass in empty arguments when rm -r
When rm -r is passed with no address specified, it will automatically recursively unlink all files under the root path ('/') until unlinking to the mounted folder causes the unlink to fail. In this change, rm -r without a specified path will prompt for missing arguments
2026-04-20 15:08:32 +08:00
openvela-robot c7e04ccd31 drivertest:Add touch panel test case.
remove vapp in rcS.audio,run cmocka_driver_touchpanel

Signed-off-by: liuhongchao <liuhongchao@xiaomi.com>
2026-04-20 15:08:31 +08:00
openvela-robot 8517912798 system/ramspeed:Fix the problem that irq_disable is often opened.
Fix the problem that "when repeat_num!=0, there is no break, so irq_disable will be configured to true by default".
2026-04-20 15:08:29 +08:00
openvela-robot 4752743729 cmd_reboot:fix build errror
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2026-04-20 15:08:28 +08:00
openvela-robot 8f05c1e156 nsh/alias: Add support for alias arguments
This adds support for more complex alias handling, such as:

$ alias ls='ls -l'

Previously such an alias was not split into the command verb and the
argument correctly, instead the full alias string was handled as the
verb, which obviously fails.

This commit fixes this by expanding the alias, checking whether it has
arguments and if so, it merges the expanded alias + the old command line
together, resulting in a completely new command line.

Example (assuming the alias above has been created):

$ ls /bin

Results in a new command line: "ls -l /bin" which is then parsed and
executed.
2026-04-20 15:08:27 +08:00
openvela-robot 87303ce005 [TinyCrypt test porting]Porting two testcases for TinyCrypt lib.
Update the Makefile, add 2 test cases from source.

Signed-off-by: yangjiao <yangjiao@xiaomi.com>
2026-04-20 15:08:26 +08:00
openvela-robot ce04624dec nshlib: Add switchboot command
switchboot <image path>

Switch to the updated or specified boot system. This command depends on
hardware support CONFIG_BOARDCTL_SWITCH_BOOT. `<image path>` point to a
partion or file which contain the firmware to boot.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:08:25 +08:00
openvela-robot 7c59ae9a61 support ymodem protocal and sb rb application
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2026-04-20 15:08:18 +08:00
Xiang Xiao 9162c8bf27 Change the private default signal number to 32
and remove the unused private signal number macro

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:08:13 +08:00
openvela-robot 625968d914 nshlib: support c++ access nsh api
N/A

Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2026-04-20 14:56:29 +08:00
openvela-robot 406e7bc0b6 Add lvx_msgbox in Kconfig.
N/A

Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>
2026-04-20 14:56:26 +08:00
openvela-robot 401291a9f7 system/critmon: add thread run time support
Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-04-20 14:56:23 +08:00
openvela-robot a2996be919 examples/watchdog: add depends on CONFIG_WATCHDOG
Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-04-20 14:56:11 +08:00
openvela-robot 31bba56215 examples/watchdog: add depends on CONFIG_WATCHDOG
Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-04-20 14:56:08 +08:00
openvela-robot a12f989dba lvgl: lv_ffmpeg support dynamic picture decoding.
N/A

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 14:56:04 +08:00
openvela-robot 36d321395e apps/system: fix command history behavior (2)
N/A
Fixing "last command" misbehavior when one command in history is a
substring of another.

Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2026-04-20 14:56:02 +08:00
openvela-robot 53e5b9156a examples: Update lvgldemo to lvgl v8.
N/A

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 14:56:00 +08:00
openvela-robot 48431654da system/critmon: add critmon program for critmon once
Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-04-20 14:55:58 +08:00
openvela-robot 4339683cce lv_porting for lvgl v8 (rebase on dev) 2026-04-20 14:55:54 +08:00
openvela-robot 1114d5d66f testing/fstest: Add O_TRUNC flag in fstest_wrfile
to avoid the interference from the lasting run

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 14:55:49 +08:00
openvela-robot cf3e9c7b5b addroute: inet_pton cannot accept slash notation. We must fixup the argument before calling. 2026-04-20 14:55:46 +08:00
openvela-robot d19997aa17 Call posix_spawn with filename as the first argv entry
pair with the kernel side change to follow the standard defintion:
https://pubs.opengroup.org/onlinepubs/009695399/functions/posix_spawn.html

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 14:55:45 +08:00
openvela-robot 692af7d081 Follow up task_spawn change from kernel side
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 14:55:30 +08:00
Alin Jerpelea 39d968c731 include: update licenses to Apache
Gregory Nutt is has submitted the SGA

Uros Platise has submitted the ICLA

Ken Pettit has submitted the ICLA

Sebastien Lorquet has submitted the ICLA

Pierre-Noel Bouteville has submitted the ICLA

as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2026-04-20 14:55:15 +08:00
Gregory Nutt ec9c61100c Squashed commit of the following:
include/ and netutils/:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    nshlib/:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    system/:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    testing/:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    examples/:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
2026-04-20 14:49:32 +08:00
Gregory Nutt cdeabb693c apps/graphics/twm4nx: Add options to initialize the system via boardctl() and to bring up the network using the new apps/netutils/netinit. This latter is only necessary because VNC is being used to provide graphics. 2026-04-20 14:49:32 +08:00
Gregory Nutt bb9efe36ef This commit removes the private network initialization logic from NSH and puts in a common location at apps/netutils/netinit. Now that netork initialization logic can be used by applications that do not include NSH.
Squashed commit of the following:

    apps/nshlib:  Remove NSH initialization.  Now uses the common apps/netutils/netinit logic (which was cloned from nshlib to begin with).

    apps/netutils/netinit:  Clone network initialization logic from NSH to this directory so that it can be available for general use.
2026-04-20 14:49:32 +08:00