anjiahao
1fc2cd7816
binfmt:use modlib api inside of elf api [1/2]
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2024-10-12 12:29:06 +08:00
Alan Carvalho de Assis
82946d0d5f
net: Enable ICMP by default if IPv4 is enabled
...
Signed-off-by: Alan C. Assis <acassis@gmail.com>
2024-07-09 17:08:27 +08:00
Tiago Medicci Serrano
96f83bb03a
net: Enable `CONFIG_NET_ARP_SEND` by default
...
Enable logic to send ARP requests if the target IP address mapping
does not appear in the ARP table.
Please check the comment in https://github.com/apache/nuttx/issues/12446#issuecomment-2145856778
2024-06-06 02:40:16 +08:00
Alan Carvalho de Assis
444b6d9635
boards: Update all boards that were using CONFIG_NET_LL_GUARDSIZE=50
2023-10-16 08:55:21 +08:00
chao an
5945f080b9
boars/spawn_proxy: remove all CONFIG_POSIX_SPAWN_PROXY_STACKSIZE
...
Signed-off-by: chao an <anchao@xiaomi.com>
2023-04-27 17:35:58 +08:00
Huang Qi
d6c56e7105
driver/telnet: Remove TELNET_CHARACTER_MODE
...
If TELNET_CHARACTER_MODE is set, the ECHO must be handled by the telnet server.
So this option is useless. We need a new approach to control the ECHO behavior.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-04-22 01:03:51 +08:00
raiden00pl
553fe83abf
boards: refresh boards that use usbmsc
2023-04-04 14:45:23 -04:00
zhanghongyu
16ea80e53b
rndis: support iob offload
...
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2023-03-02 02:50:59 +08:00
Xiang Xiao
ee24396d77
drivers/note: Change DRIVER_NOTExxx to DRIVERS_NOTExxx
...
follow other driver config style
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-02-20 14:30:59 +08:00
chao an
422272044b
boards/iperf: device name will vary across different NICs
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-20 19:44:32 +08:00
Xiang Xiao
4e43fef5cd
boards: Update telnetd related config after apps/nshlib change
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-07 15:24:29 +09:00
Xiang Xiao
edd68d8ae9
board: Change CONFIG_SYSTEM_NSH_SYMTAB to CONFIG_NSH_SYMTAB
...
follow the apps side change
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-18 22:18:51 +02:00
Xiang Xiao
2a574427c6
boards: Remove CONFIG_NETDEVICES=y from board defconfig
...
since it's enabled by default now
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-01 19:12:15 +02:00
Xiang Xiao
af12a552fe
sched/Kconfig: let PREALLOC_TIMERS depends on !DISABLE_POSIX_TIMERS
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-09-19 11:39:22 -03:00
Ville Juven
5800dd2af5
boards/xxx: Remove CONFIG_SCHED_ATEXIT/ONEXIT from all defconfigs
2022-05-25 15:28:43 +08:00
Xiang Xiao
a229e4a399
boards: Remove CONFIG_C99_BOOL8 from all defconfig
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-05 16:23:32 -03:00
Xiang Xiao
caf8377248
boards/lc823450-xgevk: Ensure PATH_MAX bigger than NAME_MAX
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-10 19:46:01 +02:00
Xiang Xiao
44bd3212d4
arch: Remove SYS_RESERVED from Kconfg
...
let's arch define the correct value instead
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-27 22:54:13 +08:00
Alin Jerpelea
ecb1d6ec37
boards: lc823450-xgevk: defconfig: remove NET_TUN
...
NET_TUN depends on BSD components
Can be enabled after developer enables the BSD_LICENSE option in the menu
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-24 22:48:47 +08:00
Xiang Xiao
9836c6be9b
boards: Remove CONFIG_CLOCK_MONOTONIC from all defconfig
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-23 01:21:26 +08:00
Huang Qi
c0a0de97ce
Revert "libc: Call pthread_exit in user-space by up_pthread_exit"
...
This reverts commit f4a0b7aedd
.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-02-09 21:21:43 +08:00
Xiang Xiao
a9d7a776c4
sched: Remove SDCLONE_DISABLE option and config
...
since the related code was removed by:
commit 4d5a964f29
Author: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
Date: Tue Feb 23 18:04:13 2021 +0800
net: unify socket into file descriptor
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-01-31 19:03:20 +01:00
ligd
412d030149
boards: move USERMAIN_XX out of INIT_ENTRYPOINT
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-12-24 08:23:30 -06:00
zhanghu6
d05b9a9c79
note dump: add CONFIG_SCHED_INSTRUMENTATION_SWITCH
...
1. If CONFIG_SCHED_INSTRUMENTATION_SWITCH is enabled, then these additional interfaces are expected:
sched_note_suspend
sched_note_resume
at the same time,If CONFIG_SMP is enabled,then expected:
sched_note_cpu_pause
sched_note_cpu_paused
sched_note_cpu_resume
sched_note_cpu_resumed
2. other board if enable SCHED_INSTRUMENTATION,SCHED_INSTRUMENTATION_SWITCH to defconfig.
2021-12-15 07:07:00 -06:00
Masayuki Ishikawa
264a03f04c
boards: lc823450-xgevk: Update bt/defconfig for SMP
...
Summary:
- Remove dvfs, netinit, pipe, instrumentation, hpwork
- Add SMP related configs, ntpc
Impact:
- lc823450-xgevk:bt only
Testing:
- Tested with ostest and btstack (external)
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-12-06 22:10:15 -06:00
Alin Jerpelea
9d870e1502
defconfig: allow use of BSD components
...
several configs are used for testing and need the BSD components
more information about license can be found here
https://www.apache.org/legal/resolved.html#category-a
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-02 09:00:43 -03:00
Alin Jerpelea
cf884b7460
Revert "defconfig: remove NFS from defconfig"
...
This reverts commit ff07cb8b2f
.
2021-09-02 09:00:43 -03:00
Alin Jerpelea
ff07cb8b2f
defconfig: remove NFS from defconfig
...
NFS uses BSD license and should not be enabled by default
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-30 22:39:04 +08:00
Xiang Xiao
b12f588140
Rename CONFIG_LIB_BOARDCTL to CONFIG_BOARDCTL
...
since boardctl isn't a libc feature
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-06 13:58:26 +02:00
Xiang Xiao
5025fbef8d
Rename LIB_ to LIBC_ for all libc Kconfig
...
follow other libc component naming convention
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-05 19:45:24 +02:00
Jiuzhu Dong
85470176e7
sched/task: delete CONFIG_MAX_TASKS limit
...
Change-Id: I583015a95dbcebd352f81ecb3104ffdbd646a9ec
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-07-11 19:42:30 -07:00
Huang Qi
f4a0b7aedd
libc: Call pthread_exit in user-space by up_pthread_exit
...
Drop to user-space in kernel/protected build with up_pthread_exit,
now all pthread_cleanup functions executed in user mode.
* A new syscall SYS_pthread_exit added
* A new tcb flag TCB_FLAG_CANCEL_DOING added
* up_pthread_exit implemented for riscv/arm arch
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2021-05-21 22:46:52 -06:00
Xiang Xiao
11ef8a3201
board: Enable CONFIG_BOARDCTL_ROMDISK
...
to fix build break by commit 3156aa7532
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-05-13 10:44:16 -05:00
Gregory Nutt
27e0725a4e
Remove CONFIG_NET_UDP_BINDTODEVICE from DHCPC configurations
...
CONFIG_NET_UDP_BINDTODEVICE is now selected by default if DHCPC is enabled.
This change will not build without apps PR 696
2021-04-28 21:22:40 -05:00
Masayuki Ishikawa
05f743aa3a
Revert "boards: lc823450-xgevk: Workaround to avoid an ostest crash with rndis"
...
This reverts commit 65274d5fdf
.
2021-04-23 03:25:14 -05:00
Abdelatif Guettouche
f43f066018
boards: Update the iperf configs.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-04-21 13:44:18 -05:00
Masayuki Ishikawa
65274d5fdf
boards: lc823450-xgevk: Workaround to avoid an ostest crash with rndis
...
Summary:
- This is just a workaround to avoid a crash in signest_test
- The commit should be reverted once we find the root cause of the issue
Impact:
- None
Testing:
- Tested with ostest
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-04-16 03:53:13 -05:00
Sungwoo Kim
4bb624b8a1
boards/**/defconfig: Remove explict disables for mb, mh, and mw
...
Since https://github.com/apache/incubator-nuttx-apps/pull/647 disables
them by default.
See:
- https://github.com/apache/incubator-nuttx/issues/3011
-
https://github.com/apache/incubator-nuttx-apps/pull/647#issuecomment-812818855
Co-authored-by: Gisu Yeo <wcharcode@gmail.com>
Co-authored-by: Taegyu Kim <tgkim@purdue.edu>
2021-04-03 09:36:08 -05:00
Masayuki Ishikawa
9cce09e58a
boards: Remove SCHED_INSTRUMENTATION from all SMP related configs
...
Summary:
- This commit removes SCHED_INSTRUMENTATION which has been used
to debug NuttX SMP kernel
Impact:
- None
Testing:
- Tested with ostest
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-22 19:47:56 -07:00
Jiuzhu Dong
59eb4fa8d6
fs: delete NFILE_DESCRIPTORS for allocating dynamically
...
Change-Id: Id06d215063796d222b9792d25ab2d6742167729f
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-03-17 06:46:42 -07:00
Masayuki Ishikawa
ad2e85433a
boards, include, sched: Remove CONFIG_SPINLOCK_IRQ
...
Summary:
- This commit removes CONFIG_SPINLOCK_IRQ to avoid complexity
Impact:
- None
Testing:
- Tested with the following configs
- spresense:wifi, spresense:smp
- esp32-devkitc:smp (QEMU), sabre-6quad:smp (QEMU)
- maix-bit:smp (QEMU), sim:smp
- stm32f4discovery:wifi
2021-02-05 22:50:04 -08:00
Masayuki Ishikawa
778c805357
boards: lc823450-xgevk: Update rndis/defconfig
...
Summary:
- Add DEBUG_HARDFAULT_ALERT
- Add the iperf and optimize IOB and ETH_PKTSIZE
- Enable TCP_WRITE_BUFFER
- Remove SCHED_INSTRUMENTATION_PREEMPTION
- Remove NETINIT_DHCPC
- Add getprime
Impact:
- lc823450-xgevk:rndis only
Testing:
- Tested with iperf, telnet, wget
- NOTE: need to update iperf in apps
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-02-01 18:40:39 -08:00
Masayuki Ishikawa
afc8eadf5a
boards: lc823450-xgevk: Add CONFIG_USBDEV_DMA=y to rndis/defconfig
...
Summary:
- This commit adds CONFIG_USBDEV_DMA=y to rndis/defconfig
Impact:
- lc823450-xgevk:rndis only
Testing:
- Tested with ping, telnet
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-11-21 11:34:23 -03:00
Masayuki Ishikawa
3ef388aefa
boards: lc823450-xgevk: Update rndis/defconfig
...
Summary:
- Add CONFIG_ARCH_STACKDUMP=y
- Add CONFIG_STACK_COLORATION=y
- Remove CONFIG_NSH_DISABLE_MB=y
- Remove CONFIG_NSH_DISABLE_MH=y
Impact:
- Affects lc823450-xgevk:rndis only
Testing:
- Tested with smp, ostest.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-10-21 11:49:45 +08:00
Xiang Xiao
b0797263ca
libc/stdio: Allocate file_struct dynamically
...
1.Reduce the default size of task_group_s(~512B each task)
2.Scale better between simple and complex application
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ia872137504fddcf64d89c48d6f0593d76d582710
2020-09-11 17:58:17 +08:00
Xiang Xiao
952af92690
sched/note: Move the circle buffer code to driver
...
so the format code can be shared by different transport
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-09-07 11:54:10 +08:00
Brennan Ashton
4cb193d530
Docs: Update links to old website and wiki
...
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-08-30 19:16:30 -03:00
Xiang Xiao
a0ce81d659
sched/wdog: Don't dynamically allocate wdog_s
...
to save the preserved space(1KB) and also avoid the heap overhead
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I694073f68e1bd63960cedeea1ddec441437be025
2020-08-11 12:28:55 -06:00
Xiang Xiao
154852acb5
sched/mqueue: Reduce the initial memory consumption
...
Change the preallocated message and descriptor from 32/24 to 4.
The total size is reduce from 1892 to 532
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I79d199465daef678986868f773876289859f42fc
2020-08-10 08:07:50 +02:00
Xiang Xiao
e1d3627bb1
sched/wdog: Change the default value of MAX_WDOGPARMS from 4 to 2
...
since the maximum number of argument pass to wd_start in the whole
code base is 2 and change CONFIG_MAX_WDOGPARMS in some defconfig
from 1 to 2 oherwise pthread_condclockwait will fail
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ib6cb28b8c0722058849e7be916e164513431d21c
2020-08-06 10:36:22 -06:00