Commit Graph

1569 Commits

Author SHA1 Message Date
wangmingrong1 462d29ae81 note/snap: Initialize note snap drivers directly within the array.
Since the functionality of storing notes in snap is already in place,this is simply a registration of a crash print callback.so rename notesnap_register to notesnap_notify_register

Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
2026-04-21 01:35:12 +08:00
wangmingrong1 a47b97595c note/fdx: Initialize note fdx drivers directly within the array.
Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
2026-04-21 01:35:05 +08:00
wangmingrong1 7ef95a03b8 note/fdx: defconfig CONFIG_TRACE32_FDX_NOTE rename to CONFIG_DRIVERS_NOTET32FDX
Keep the driver configuration name consistent with that under driver/note

Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
2026-04-21 01:35:05 +08:00
wangmingrong1 3af1465087 note/rtt: defconfig CONFIG_NOTE_RTT rename to CONFIG_DRIVERS_NOTERTT
Keep the driver configuration name consistent with that under driver/note

Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
2026-04-21 01:35:04 +08:00
wangmingrong1 ea3636047c include/rtt: Unify all declarations in rtt.h
Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
2026-04-21 01:34:39 +08:00
wangmingrong1 90556971e2 include/trace32: Unify all declarations to trace32.h
Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
2026-04-21 01:34:36 +08:00
xuxingliang 2de6bebd48 sched_note: add event level
Signed-off-by: xuxingliang <xuxingliang@xiaomi.com>
2026-04-21 01:34:12 +08:00
yinshengkai 4689c1ca7c note: add coresight itm backend
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2026-04-21 01:28:33 +08:00
yinshengkai 5b07b8c925 note: add t32fdx driver
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2026-04-21 01:25:36 +08:00
yinshengkai 7d5d8f8030 note: simplify header file reference
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2026-04-21 01:23:38 +08:00
Alin Jerpelea 75a2b5a5f7 drivers: migrate to SPDX identifier
Most tools used for compliance and SBOM generation use SPDX identifiers
This change brings us a step closer to an easy SBOM generation.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2026-04-21 01:13:35 +08:00
cuiziwei 7669395b08 note: Move the instrument register to note_initialize
avoid the instrument doesn't get registered in some case

Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2026-04-21 01:08:07 +08:00
openvela-robot 9174e751c2 systick:when isr_handle is NULL will be crash.
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>
2026-04-21 01:07:59 +08:00
openvela-robot 0f462a120f cmake: fix the typo in comments
fix the typo in comments and sync with community

Signed-off-by: guoshichao <guoshichao@xiaomi.com>
2026-04-21 01:07:53 +08:00
openvela-robot 980658916b build.yml:disable CMake Ninja for Msys2
CI in the msys2 environment, the CMake ninja generator
will have a problem with parameters being too long

Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2026-04-21 01:07:47 +08:00
openvela-robot 227d0f1390 tools/gdb/gdbinit.py:add hint
Signed-off-by: yangao1 <yangao1@xiaomi.com>
2026-04-21 01:07:41 +08:00
openvela-robot 63a654ed6a board/qemu-armv7a: use fdt_virtio_mmio_devices_register() to register mmio devices
Use common implementation to register mmio device

Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
2026-04-21 01:07:35 +08:00
openvela-robot d1e9e4fa1c Revert "mq: change mqueue msg mail to dynamic array"
This reverts commit 55f6f5e0af41e96980429c91d45521f7aa553b75.

Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-04-21 01:07:29 +08:00
openvela-robot e1ce558054 mps3-an547:add mps3-an547 cmake build
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2026-04-21 01:07:23 +08:00
openvela-robot 1ba19fa876 netdb: fix may add duplicate DNS servers
struct sockaddr_in
{
  sa_family_t     sin_family;
  in_port_t       sin_port;
  struct in_addr  sin_addr;
  uint8_t         sin_zero[8];
};

sin_zero is probably a random number.

struct sockaddr_in6
{
  sa_family_t     sin6_family;
  in_port_t       sin6_port;
  uint32_t        sin6_flowinfo;
  struct in6_addr sin6_addr;
  uint32_t        sin6_scope_id;
};

sin6_flowinfo and sin6_scope_id is probably a random number.

Random numbers cause the same server configuration check failed,
so let's initialize it.

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2026-04-21 01:07:17 +08:00
openvela-robot 497c522397 arch: set current regs firstly in undefinedinsn
Need to save the regs firstly in case syslog triggers another crash.
Otherwise we may loose the register contents for the first exception.

Signed-off-by: xuxingliang <xuxingliang@xiaomi.com>
2026-04-21 01:07:11 +08:00
openvela-robot 429974b1f9 sim: fix crash caused by function recursion
114 up_interrupt_context () at /home/zhhyu/source/vela/dev/nuttx/include/arch/irq.h:163
115 stack_monitor_enter (this_fn=0x400145dc <up_current_regs>, call_site=0x4002d5c7 <__cyg_profile_func_enter+120>, arg=0x0) at instrument/stack_monitor.c:63
116 0x000000004002d5c7 in __cyg_profile_func_enter (this_fn=0x400145dc <up_current_regs>, call_site=0x4002d5c7 <__cyg_profile_func_enter+120>) at misc/lib_instrument.c:68
117 0x00000000400156c7 in up_current_regs () at instrument/stack_monitor.c:62
118 up_interrupt_context () at /home/zhhyu/source/vela/dev/nuttx/include/arch/irq.h:163
119 stack_monitor_enter (this_fn=0x400145dc <up_current_regs>, call_site=0x4002d5c7 <__cyg_profile_func_enter+120>, arg=0x0) at instrument/stack_monitor.c:63
120 0x000000004002d5c7 in __cyg_profile_func_enter (this_fn=0x400145dc <up_current_regs>, call_site=0x4002d5c7 <__cyg_profile_func_enter+120>) at misc/lib_instrument.c:68
121 0x00000000400156c7 in up_current_regs () at instrument/stack_monitor.c:62

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2026-04-21 01:07:05 +08:00
openvela-robot 98a02ad0af add lin error flags to lin.h
Signed-off-by: wangxiaoxin <wangxiaoxin@xiaomi.com>
2026-04-21 01:06:56 +08:00
openvela-robot cc56ff55e6 iss-hifi: adapt to new backtrace function
Signed-off-by: chenxiaoyi <chenxiaoyi@xiaomi.com>
2026-04-21 01:06:51 +08:00
openvela-robot 16ad5d9d38 nuttx/arch: Enabling ARCH_MATH_H is required when compiling sim with the 13.2 version of the toolchain.
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
2026-04-21 01:06:45 +08:00
openvela-robot c479014e6c sigaction: sync with community
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2026-04-21 01:06:39 +08:00
openvela-robot dc9540fe31 nuttx/libcxxtest: Fix build error.
libcxx/src/thread.cpp:123:2: error: #error "Thread.cpp needs to enable config of CONFIG_TLS_TASK_NELEM," " and CONFIG_TLS_TASK_NELEM > 0, please enable it"
  123 | #error "Thread.cpp needs to enable config of CONFIG_TLS_TASK_NELEM," \
      |  ^~~~~

Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
2026-04-21 01:06:34 +08:00
openvela-robot f8c3ad33c7 arch/x86_64:Delete useless functions and header files
synchronize file with NuttX upstream

Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com>
2026-04-21 01:06:28 +08:00
openvela-robot f528b995b3 nuttx/syscall: export nxsem_getprioceiling and nxsem_setprioceiling via syscall
Signed-off-by: makejian <makejian@xiaomi.com>
2026-04-21 01:06:22 +08:00
openvela-robot 3f5efb76a6 cmake/add_library: enable library install by default
enable library install by default to support nuttx export for cmake

nuttx$ cmake --install build  --prefix $PWD/build/staging/
-- Install configuration: ""
-- Installing: nuttx/build/staging/lib/libarch.a
-- Installing: nuttx/build/staging/lib/libbinfmt.a
-- Installing: nuttx/build/staging/lib/libdrivers.a
-- Installing: nuttx/build/staging/lib/libfs.a
...

Signed-off-by: chao an <anchao@lixiang.com>
2026-04-21 01:06:16 +08:00
openvela-robot 83c1f66586 nuttx/qemu: Fix funciton up_idle multiple definition
Signed-off-by: yanghuatao <yanghuatao@xiaomi.com>
2026-04-21 01:06:09 +08:00
openvela-robot 65c91478e5 arm: sync with community
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2026-04-21 01:06:03 +08:00
openvela-robot 614f4f9672 Contributing and PR template fix.
* Fix CONTRIBUTING.md github link reference.
* Full URL is provided to avoid relative/fork reference issues.
* Minor update on full contributing documentation.

Signed-off-by: Tomasz 'CeDeROM' CEDRO <tomek@cedro.info>
2026-04-21 01:05:58 +08:00
openvela-robot f5d3c904aa arch/intel64_irq.c: synchronize file with NuttX upstream
move up_trigger_irq() at the same place
rename g_irq_spin to g_irq_spinlock

Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
2026-04-21 01:05:52 +08:00
openvela-robot d512cd4df8 goldfish: sync with qemu do rpmsg_syslog init at goldfish
Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-04-21 01:05:47 +08:00
openvela-robot f8fa980a97 CMake/preprocess: fix typo PREPROCES -> PREPROCESS
correct the marco define from PREPROCES to PREPROCESS

Signed-off-by: chao an <anchao@lixiang.com>
2026-04-21 01:05:41 +08:00
openvela-robot 8080bf2c14 rpmsg_port_spi_slave: fix compile error when enable RPMSG_PORT_SPI_SLAVE only
Signed-off-by: liaoao <liaoao@xiaomi.com>
2026-04-21 01:05:35 +08:00
openvela-robot a772e6cff2 sched: sync with community
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2026-04-21 01:05:23 +08:00
openvela-robot cdf4012ec0 libm/newlib: remove -Wno-maybe-uninitialized
Since there's no warning presents now.

Signed-off-by: xuxingliang <xuxingliang@xiaomi.com>
2026-04-21 01:05:17 +08:00
openvela-robot 6dd7c951f7 arch/x86_64:synchronize file with NuttX upstream
fix build break if disable CONFIG_SPINLOCK

Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com>
2026-04-21 01:05:11 +08:00
openvela-robot 35d9ebdbc2 Revert "sched/group/setuptask_file: duplicate idle task fd for kernel thread"
let's using shared group for kthreads, see pull/12320

This reverts commit 4e24eec7b607e4a6a7eca0fae9c58f02dc72e002.
2026-04-21 01:05:05 +08:00
openvela-robot 7ae61c007d isrthread: community code synchronization to isrthread
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2026-04-21 01:04:59 +08:00
openvela-robot 7449835ce8 arch: arm64: Fix ARM64_CONTEXT_REGS number
This commit fixes the regression in https://github.com/apache/nuttx/pull/14063

Signed-off-by: lipengfei28 <lipengfei28@xiaomi.com>
2026-04-21 01:04:51 +08:00
openvela-robot 1bd4ef8abf net/pkt: fix raw socket send data length is insufficient.
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2026-04-21 01:04:45 +08:00
yinshengkai 6dc6e6cf51 note: add note stream drivers
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2026-04-21 01:04:40 +08:00
openvela-robot 6bdee81bd3 note: Increase crash dump buffer
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2026-04-21 01:04:39 +08:00
openvela-robot afceb8b0db queue: Community code synchronization queue
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2026-04-21 01:04:33 +08:00
openvela-robot 5d8ad057b5 romfs:extend romfs to enable write part1
change romfs_cachenode to find all headers

Signed-off-by: guohao15 <guohao15@xiaomi.com>
2026-04-21 01:04:26 +08:00
openvela-robot 3bc4eb831f build.sh:export x86_64 gcc prebuilt toolchain
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2026-04-21 01:04:21 +08:00
openvela-robot ce2995dd23 libc: rename lib_execinfo.c to lib_backtrace.c
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2026-04-21 01:04:12 +08:00