Skip to content

Commit 0a348a4

Browse files
committed
Enable zperf on Genesys (#16)
- These setting should migrate to board level defconfig - Have seen 113 Mbps even with NEWLIBC enabled and disabled. Unclear why sometimes seeing 1 Mbps To build: west build -b genesys2 samples/net/zperf -- -DOVERLAY_CONFIG=overlay-lowrisc.conf Usage: On linux running iperf 2.0.5: iperf -s On zperf app: zperf tcp upload 192.168.1.9
1 parent 2aa332a commit 0a348a4

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
3+
# General config
4+
#
5+
CONFIG_NEWLIB_LIBC=y
6+
CONFIG_MAIN_STACK_SIZE=4096
7+
8+
# Networking config
9+
CONFIG_NETWORKING=y
10+
CONFIG_NET_IPV4=y
11+
CONFIG_NET_IPV6=n
12+
CONFIG_NET_TCP=y
13+
CONFIG_NET_SOCKETS=y
14+
CONFIG_NET_SOCKETS_POSIX_NAMES=y
15+
16+
# Network driver config
17+
CONFIG_TEST_RANDOM_GENERATOR=y
18+
19+
# Network address config
20+
CONFIG_NET_CONFIG_SETTINGS=y
21+
CONFIG_NET_CONFIG_NEED_IPV4=y
22+
CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.168.1.78"
23+
CONFIG_NET_L2_ETHERNET=y
24+
CONFIG_ETH_LOWRISC=y
25+
26+
#Logging thread gets hung up wthout this
27+
CONFIG_LOG_IMMEDIATE=y
28+

0 commit comments

Comments
 (0)