liwenxiang1
4c19e75ff5
libs/x86_64:Add the setjmp/longjmp function
...
Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com >
2024-10-09 22:24:03 +08:00
yinshengkai
3271142b87
note: print without relying on format strings
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com >
2024-10-09 22:23:29 +08:00
yinshengkai
b5cf4310cb
gote: implement asynchronous printf formatting
...
Do not format immediately when calling sched_note_printf, but delay formatting until dump trace.
After turning on SYSTEM_NOTE, similar asynchronous syslog functions can be achieved.
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com >
2024-10-09 22:23:29 +08:00
liwenxiang1
fa48d9e972
drivers/timers:Arch_alarm and arch_timer add up_ndelay interface
...
Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com >
2024-10-09 22:11:03 +08:00
wangmingrong1
47fc3a67f7
sim/kconfig: delete non-existent dependencie
...
Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com >
2024-10-09 21:27:47 +08:00
yinshengkai
034af29aab
arch: adjust gcov configuration name
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com >
2024-10-09 21:27:47 +08:00
liwenxiang1
8fe6c0ee8e
arch/x86_64: Map the new page table with read-write permissions
...
Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com >
2024-10-09 20:51:58 +08:00
Filipe Cavalcanti
42b7097cc2
xtensa/esp32s3: fix missing peripheral initialization for watchdog timer
2024-10-09 20:49:48 +08:00
liwenxiang1
eb411101c5
arch/x86_64:Configure arch delay using CONFIG_ALARM_ARCH
...
Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com >
2024-10-09 20:49:19 +08:00
ligd
17c6d2f394
arm64: update knsh qemu doc
...
Signed-off-by: ligd <liguiding1@xiaomi.com >
2024-10-09 20:47:43 +08:00
ligd
784937a03c
arm64: fix backtrace failed
...
Signed-off-by: ligd <liguiding1@xiaomi.com >
2024-10-09 20:47:43 +08:00
Bowen Wang
f172f222be
arm64_checkstack: fix crash, optimize the stack color, sync with arm
...
Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com >
Signed-off-by: ligd <liguiding1@xiaomi.com >
2024-10-09 20:47:43 +08:00
wangming9
3054b1ad51
arch/arm64: Fixed arm64_cache_get_info obtaining cache.
...
Summary:
Select icache or dcache by setting register csselr_el1.
Signed-off-by: wangming9 <wangming9@xiaomi.com >
Signed-off-by: ligd <liguiding1@xiaomi.com >
2024-10-09 20:47:43 +08:00
wangming9
cb62c783a9
arch/arm64: Add the interface for icache and dcache.
...
Summary:
Add up_get_icache_size、up_invalidate_icache、up_get_dcache_size
Signed-off-by: wangming9 <wangming9@xiaomi.com >
Signed-off-by: ligd <liguiding1@xiaomi.com >
2024-10-09 20:47:43 +08:00
Bowen Wang
6ea3dcace4
misc/rpmsgdev: fix block mode read/write bug in rpmsgdev
...
Rpmsg dev server always open the real char device with nonblock mode,
so let client try to read/wrtie the read device every read/write
operation.
Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com >
2024-10-09 19:53:28 +08:00
liwenxiang1
0647b49990
drivers/battery: Fix Goldfish Battery x64 unresponsive interrupt issue
...
Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com >
2024-10-09 18:32:29 +08:00
fangzhenwei
a6f8730c51
local_sock: fix accept use-after-free
...
we should get next waiter before acceptor released
Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com >
2024-10-09 18:16:01 +08:00
wangmingrong1
5c3025e2fb
mm/mempool: Merge two memory requests
...
Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com >
2024-10-09 18:15:13 +08:00
wangmingrong1
0866010101
arm64/makefile: No longer using hwasan pile insertion
...
Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com >
2024-10-09 18:15:13 +08:00
wangmingrong1
dd57400e7b
mm/mempool: Fix mempool tag kasan error
...
The address needs to be reset only when comparing addition, subtraction, multiplication and division addresses. Otherwise, the original address is always returned or saved.
Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com >
2024-10-09 18:15:13 +08:00
ligd
183ff9b6cc
mm/mempool: fix mempool crash when use KASAN SW_TAG
...
Signed-off-by: ligd <liguiding1@xiaomi.com >
2024-10-09 18:15:13 +08:00
ligd
5258e48be6
mm/heap: fix heap crash when use KASAN SW_TAG
...
Signed-off-by: ligd <liguiding1@xiaomi.com >
2024-10-09 18:15:13 +08:00
ligd
26dc3b297a
arm64: exclude mpu from sanitize for SMP mode
...
CPU0 boot -> mm_init() -> sannitize on -> boot other CPUs
CPU1 boot -> mpu_init -> error
Signed-off-by: ligd <liguiding1@xiaomi.com >
2024-10-09 18:15:13 +08:00
ligd
e9617583bc
arm64-r/mpu: add TBI setting to r82 when use SW_TAG
...
Signed-off-by: ligd <liguiding1@xiaomi.com >
2024-10-09 18:15:13 +08:00
jianglianfang
8b49e17f1f
stm32f429i-disco: disable TM32_FB_CMAP
...
The default bpp is STM32_LTDC_L1_L8, when TM32_FB_CMAP=y,and The default bpp is STM32_LTDC_L1_RGB565 when TM32_FB_CMAP=n. The color-format bpp of stm32f429i is 16, so we should be disable TM32_FB_CMAP, otherwise fb demo will result in an error.
Signed-off-by: jianglianfang <jianglianfang@xiaomi.com >
2024-10-09 18:14:52 +08:00
yinshengkai
73d9a1b4a2
sim: disable sim uart output processing
...
Using the host serial port to send data in sim will convert \r to \r\n
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com >
2024-10-09 18:13:46 +08:00
zhangshoukui
10c0d00e6d
Fix to compile parameters not taking effect When cmake version is greater than 3.18
...
https://cmake.org/cmake/help/latest/command/set_source_files_properties.html
Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com >
2024-10-09 18:12:50 +08:00
raiden00pl
e419d2c392
arch/arm/Kconfig: fix copy-paste error
...
ARCH_CHIP_CSK6 has nothing to do with ST chips:
fix option string and move below ST related options
2024-10-09 18:11:20 +08:00
Lup Yuen Lee
a38e533bfa
CI: Set PR Label to the Arch-Specific Board
...
This PR changes the Labeling of PRs so that the Architecture (arm, risc-v, xtensa, ...) is specified in the Board Label. Previously the CI Workflow would set Generic Board Labels like "Area: Board support". Now it will set the Arch-Specific Board Label like "Board: arm".
The Board Label will be used by the upcoming CI Build Rules to skip unnecessary builds. So "Board: arm" will enable only the builds for `arm-01` to `arm-14`. This is explained here: https://github.com/apache/nuttx/issues/13775
2024-10-09 18:00:16 +08:00
liwenxiang1
8b86f5de60
arch/x86_64: add support for thread_local
...
Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com >
2024-10-09 17:58:01 +08:00
liwenxiang1
5e15fff58a
arch/x68_64: properly align ap boot stack for vector operations
...
Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com >
2024-10-09 17:40:37 +08:00
liwenxiang1
b4c4cbc28b
arch/x86_64: Resolve weak symbol compilation relocation errors
...
Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com >
2024-10-09 17:39:42 +08:00
Windrow14
90836e5db1
libs/libc/fdt/Make.defs: cannot move due to directory not empty bugfix
...
Remove old directory so that "mv" can succeed instead of triggering "Directory not empty" error.
Signed-off-by: Yinzhe Wu <Yinzhe.Wu@sony.com >
Reviewed-by: Yuezhang Mo <Yuezhang.Mo@sony.com >
Reviewed-by: Jacky Cao <Jacky.Cao@sony.com >
Tested-by: Yinzhe Wu <Yinzhe.Wu@sony.com >
2024-10-09 15:42:17 +08:00
anjiahao
fa59adde40
Simplify BOARD_MEMORY_RANGE initialization logic
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com >
2024-10-09 15:41:48 +08:00
xuxingliang
89f3ef4480
gdbstub: add RLE compression
...
Refer to
https://sourceware.org/gdb/current/onlinedocs/gdb.html/Overview.html
w/o compression, nxgcore command took 41seconds.
w compression, 28second.
If we enable `set trust-readonly-sections on` to read from elf whenever
possible, it furture reduces to 14.9seconds.
Signed-off-by: xuxingliang <xuxingliang@xiaomi.com >
2024-10-09 15:41:48 +08:00
yangsong8
81d704cd82
gdbstub: support the use of recvbuf and sendbuf
...
Signed-off-by: yangsong8 <yangsong8@xiaomi.com >
2024-10-09 15:41:48 +08:00
anjiahao
e007ace00d
gdbstub:support only use gdbstub when panic
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com >
2024-10-09 15:41:48 +08:00
anjiahao
5817f6153d
gdbstub:expand buffer size to increase transfer speed
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com >
2024-10-09 15:41:48 +08:00
anjiahao
e0bcad3a1d
gdbstub:support gdbstub memory access control
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com >
2024-10-09 15:41:48 +08:00
fangxinyong
76508d42a9
sched: export sched_getcpu API in AMP mode
...
Some app with same code runs on different cores in AMP mode,
need known physical core id on which the function is called.
Signed-off-by: fangxinyong <fangxinyong@xiaomi.com >
2024-10-09 15:21:25 +08:00
lipengfei28
56495bc9ce
The gicv2m spinlock init status should unlocked
...
Signed-off-by: lipengfei28 <lipengfei28@xiaomi.com >
2024-10-09 15:07:37 +08:00
lipengfei28
15126945cd
qemu_epc_get_msi: flag should use msi enable flag
...
Signed-off-by: lipengfei28 <lipengfei28@xiaomi.com >
2024-10-09 15:07:37 +08:00
xuxin19
2cfd0783bc
tools/mkdeps.c:add options for gen full path object target
...
Check g_altpath. If only the CURRENT path is included,
the obj target use its own full path, otherwise just use the filename.
add default value current path for obj-path.
Signed-off-by: xuxin19 <xuxin19@xiaomi.com >
2024-10-09 14:21:47 +08:00
yangsong8
954e84c82a
usb: If usb3.0, set the ep0 sssize to cfgdescsize
...
Signed-off-by: yangsong8 <yangsong8@xiaomi.com >
2024-10-09 14:19:16 +08:00
xuxin19
a27655a5a6
checkpatch.sh:Fix checking for wrong cmake files
...
patches ending with cmake should be checked.
Currently, any non-cmake files containing cmake keywords will be checked.
Signed-off-by: xuxin19 <xuxin19@xiaomi.com >
2024-10-09 14:17:14 +08:00
cuiziwei
e98d018265
nuttx/fs:Rename node with inode.
...
In ./fs/inode directory, the variable name FAR struct inode *node is named inconsistently, with some using node and others using inode. To facilitate understanding, we will standardize the naming to FAR struct inode *inode.
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com >
2024-10-09 14:16:09 +08:00
wanggang26
ecc2d473e3
mmcsd: add multi partitions prototype implementation
...
Signed-off-by: wanggang26 <wanggang26@xiaomi.com >
2024-10-09 13:57:07 +08:00
ligd
86869e96c9
sem: use wd_start_realtime/abstime to replace wd_start
...
Signed-off-by: ligd <liguiding1@xiaomi.com >
2024-10-09 13:54:29 +08:00
ligd
4196433888
nxsig_clockwait: fix time error when clockid is CLOCK_REALTIME
...
Signed-off-by: ligd <liguiding1@xiaomi.com >
2024-10-09 13:54:29 +08:00
yangguangcai
475bbfc165
nxsig_clockwait: add Parameter Check.
...
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com >
2024-10-09 13:54:29 +08:00