From 778c805357cd104e9876d85f732a2d7339180a19 Mon Sep 17 00:00:00 2001 From: Masayuki Ishikawa Date: Tue, 2 Feb 2021 10:20:38 +0900 Subject: [PATCH] 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 --- .../lc823450/lc823450-xgevk/configs/rndis/defconfig | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/boards/arm/lc823450/lc823450-xgevk/configs/rndis/defconfig b/boards/arm/lc823450/lc823450-xgevk/configs/rndis/defconfig index fbd46d77f8..22992a1ff9 100644 --- a/boards/arm/lc823450/lc823450-xgevk/configs/rndis/defconfig +++ b/boards/arm/lc823450/lc823450-xgevk/configs/rndis/defconfig @@ -32,6 +32,7 @@ CONFIG_BUILTIN=y CONFIG_C99_BOOL8=y CONFIG_CODECS_HASH_MD5=y CONFIG_DEBUG_FULLOPT=y +CONFIG_DEBUG_HARDFAULT_ALERT=y CONFIG_DEBUG_SYMBOLS=y CONFIG_DEV_ZERO=y CONFIG_DISABLE_POSIX_TIMERS=y @@ -42,6 +43,8 @@ CONFIG_ELF=y CONFIG_EXAMPLES_HELLO=m CONFIG_EXAMPLES_HELLOXX=m CONFIG_EXAMPLES_I2SLOOP=y +CONFIG_EXAMPLES_IPERF=y +CONFIG_EXAMPLES_IPERFTEST_DEVNAME="eth0" CONFIG_EXAMPLES_NXHELLO=y CONFIG_EXAMPLES_NXHELLO_BPP=1 CONFIG_EXAMPLES_PIPE=y @@ -59,9 +62,7 @@ CONFIG_I2CTOOL_MAXBUS=1 CONFIG_I2C_RESET=y CONFIG_I2S=y CONFIG_INTELHEX_BINARY=y -CONFIG_IOB_BUFSIZE=64 -CONFIG_IOB_NBUFFERS=64 -CONFIG_IOB_NCHAINS=20 +CONFIG_IOB_NBUFFERS=128 CONFIG_LC823450_I2C0=y CONFIG_LC823450_I2C1=y CONFIG_LC823450_I2S0=y @@ -84,7 +85,6 @@ CONFIG_NAME_MAX=765 CONFIG_NET=y CONFIG_NETDB_DNSCLIENT=y CONFIG_NETDEVICES=y -CONFIG_NETINIT_DHCPC=y CONFIG_NETINIT_DRIPADDR=0xa9feab5a CONFIG_NETINIT_MACADDR_1=0xdeadbeff CONFIG_NETINIT_NETMASK=0xffff0000 @@ -96,7 +96,7 @@ CONFIG_NETUTILS_TELNETD=y CONFIG_NETUTILS_WEBCLIENT=y CONFIG_NET_ARP_SEND=y CONFIG_NET_BROADCAST=y -CONFIG_NET_ETH_PKTSIZE=1500 +CONFIG_NET_ETH_PKTSIZE=1514 CONFIG_NET_ICMP=y CONFIG_NET_ICMP_SOCKET=y CONFIG_NET_LOOPBACK=y @@ -104,6 +104,7 @@ CONFIG_NET_PKT=y CONFIG_NET_ROUTE=y CONFIG_NET_STATISTICS=y CONFIG_NET_TCP=y +CONFIG_NET_TCP_WRITE_BUFFERS=y CONFIG_NET_UDP=y CONFIG_NET_UDP_BINDTODEVICE=y CONFIG_NFILE_DESCRIPTORS=45 @@ -153,7 +154,6 @@ CONFIG_SCHED_HAVE_PARENT=y CONFIG_SCHED_HPWORK=y CONFIG_SCHED_HPWORKPRIORITY=192 CONFIG_SCHED_INSTRUMENTATION=y -CONFIG_SCHED_INSTRUMENTATION_PREEMPTION=y CONFIG_SCHED_LPWORK=y CONFIG_SCHED_LPWORKPRIORITY=60 CONFIG_SCHED_ONEXIT=y @@ -183,6 +183,7 @@ CONFIG_SYSTEM_TASKSET=y CONFIG_SYSTEM_TIME64=y CONFIG_TASK_NAME_SIZE=24 CONFIG_TELNET_CHARACTER_MODE=y +CONFIG_TESTING_GETPRIME=y CONFIG_TESTING_OSTEST=y CONFIG_TESTING_SMP=y CONFIG_UART0_RXBUFSIZE=512