./build.sh buildroot-config
Target packages  → Network applications  → 
    [*] bmon                 # 启用带宽监控
    [*] ethtool              # 启用网络接口工具
    [*] iftop                # 启用网络流量监控
    [*] iperf3               # 启用网络带宽测试
    [*] iproute2             # 启用ip命令集
    [*] netcat               # 启用网络调试工具
    [*] nload                # 启用实时网速显示

BR2_PACKAGE_BMON=y
BR2_PACKAGE_ETHTOOL=y
BR2_PACKAGE_IFTOP=y
BR2_PACKAGE_IPERF3=y
BR2_PACKAGE_NETCAT=y
BR2_PACKAGE_NLOAD=y


【精简步骤】
root@rk3588-buildroot:/# ifconfig
root@rk3588-buildroot:/# ifconfig -a
root@rk3588-buildroot:/# udhcpc 
root@rk3588-buildroot:/# ifconfig
root@rk3588-buildroot:/# udhcpc 
root@rk3588-buildroot:/# ifconfig
root@rk3588-buildroot:/# passwd 
root@rk3588-buildroot:/# iperf3 -s
D:\DOCX\20250114固定softAP的地址\iperf3.18_64>iperf3 -c 192.168.3.103 -i 1 -t 18


20260129让天启AIO-3576Q38开发板在Rockchip瑞芯微原厂Buildroot下新增集成iperf3等网络监控包
2026/1/29 11:50


缘起:给飞凌OK3588-C开发板适配Rockchip原厂的Buildroot【linux-6.1】后,需要配置ssh。
驱动调试的时候DEBUG口就足够了。最多再打开一个USB接口的adb功能。【有些时候需要多一个口^_】
但是产品给客户暴露的借口就是TF卡的卡槽和以太网接口了!【应用工程师需要的ssh功能】


想实测一下TF卡的读写速度。
4线USB2.0通过adb直接拿到电脑上的速度是:31.3 MB/s
写入TF卡的速度略微低于31.3 MB/s【大概为25.56MB/s】


需要实测开发板丝印ETH1芯片RTL8211F-CG的网速。
通过ifconfig确认为eth0。

需要使用ov5645的驱动框架来适配LVDS接口的105机芯。
按照以前的经验,首先关闭I2C的读写!
结果,肯定会出现某些地方遗漏的,只能通过编译器来检查问题了!


当你把荣品RD-RK3588开发板重新适配一把,就相当于从头做了一个项目:【荣品RD-RK3588开发板】。
当然,开发板的功能都是好的,你免除了调试的过程,也就没有解决相关硬件出错的经验/机会了!


1、参考:荣品官方文档。
https://doc.rpdzkj.cn/#/zh_cn/%E7%91%9E%E8%8A%AF%E5%BE%AE%E7%B3%BB%E5%88%97/rk3588-rk3588s/4.Linux%E5%BC%80%E5%8F%91?id=buildroot%e9%85%8d%e7%bd%ae%e8%af%b4%e6%98%8e
Buildroot配置说明
buildroot的配置使用脚本配置

./build.sh buildroot-config
复制Error已复制
配置完成后自动保存到默认的配置文件中,但是buildroot 配置分成了模块化,每个cpu的默认配置下分别引用了很多独立的配置文件,修改buildroot配置文件的时候,修改到公共的配置文件中,这样就会针对所有CPU生效,不需要单独每个CPU平台都配置一遍。

#include "base/base.config"
#include "chips/rk3588_aarch64.config"
#include "font/chinese.config"
#include "fs/exfat.config"
#include "fs/ntfs.config"
#include "fs/vfat.config"
#include "gpu/gpu.config"
#include "multimedia/audio.config"
#include "multimedia/camera.config"
#include "multimedia/gst/audio.config"
#include "multimedia/gst/camera.config"
#include "multimedia/gst/rtsp.config"
#include "multimedia/gst/video.config"
#include "multimedia/mpp.config"
#include "wifibt/bt.config"
#include "wifibt/wireless.config"
#include "benchmark.config"
#include "chromium.config"
#include "debug.config"
#include "npu2.config"
#include "powermanager.config"
#include "test.config"
#include "weston.config"
复制Error已复制
例如配置root用户的默认密码

修改 buildroot/configs/rockchip/base/common.config 文件,将原来的rockchip修改为 rpdzkj

# Rootfs configs
BR2_TARGET_GENERIC_ROOT_PASSWD="rpdzkj"
BR2_ROOTFS_MERGED_USR=y
BR2_TARGET_ROOTFS_CPIO=y
复制Error已复制
新增canutils工具编译进文件系统,can 属于网络类,一般同一类型的配置会放到一个文件里面

修改 buildroot/configs/rockchip/wifibt/network.config 文件,新增 canutils 配置项

BR2_PACKAGE_DHCPCD=y
BR2_PACKAGE_DNSMASQ=y
BR2_PACKAGE_NTP=y
BR2_PACKAGE_DROPBEAR=y
BR2_PACKAGE_GESFTPSERVER=y
BR2_PACKAGE_DROPBEAR_CLIENT=y
BR2_PACKAGE_IPROUTE2=y
BR2_PACKAGE_CAN_UTILS=y   #canutils 配置
BR2_PACKAGE_PPPD=y
BR2_PACKAGE_NTP=y
BR2_PACKAGE_IPTABLES=y
BR2_PACKAGE_4G=y
BR2_PACKAGE_IPERF3=y
复制Error已复制
差异化的配置,就放到 "chips/rk3588_aarch64.config" 这个配置文件中,表示这个平台特有的配置,不适用其他平台,其他平台可以此类推。


2、打开iperf3:Rockchip原厂的Buildroot【linux-5.10】
jinhualong@jinhualong-LEGION-REN7000K-26IRX:~/new_disk_4t/wyb/A8/RK3588_Linux5.10_V1.2.0_20230620$ ll
总计 264572
drwxrwxr-x 16 jinhualong jinhualong      4096 12月 24 14:26  ./
drwxrwxr-x 15 jinhualong jinhualong      4096 12月 23 20:33  ../
drwxrwxr-x  4 jinhualong jinhualong      4096  8月 13 19:24  app/
drwxrwxr-x 18 jinhualong jinhualong      4096 12月 24 14:26  buildroot/
lrwxrwxrwx  1 jinhualong jinhualong        39  8月 13 19:24  build.sh -> device/rockchip/common/scripts/build.sh*
lrwxrwxrwx  1 jinhualong jinhualong        22 12月 18 21:22  common -> device/rockchip/common/
drwxrwxr-x  9 jinhualong jinhualong      4096  8月 13 19:24  debian/
drwxrwxr-x  3 jinhualong jinhualong      4096  8月 13 19:24  device/
drwxrwxr-x  6 jinhualong jinhualong      4096  8月 13 19:24  docs/
drwxrwxr-x 27 jinhualong jinhualong      4096 12月 22 11:55  external/
drwxrwxr-x 26 jinhualong jinhualong      4096 12月 24 14:27  kernel/
-rw-rw-r--  1 jinhualong jinhualong 243863027  8月 18 16:04  kernel2.tgz
lrwxrwxrwx  1 jinhualong jinhualong        31  8月 13 19:24  Makefile -> device/rockchip/common/Makefile
drwxrwxr-x  9 jinhualong jinhualong      4096 12月 24 14:26  output/
drwxrwxr-x  3 jinhualong jinhualong      4096  8月 13 19:24  prebuilts/
lrwxrwxrwx  1 jinhualong jinhualong        32 12月 18 21:22  README.md -> device/rockchip/common/README.md
-rw-rw-r--  1 jinhualong jinhualong      2492 12月 13 15:53 'RK3588 Buildroot网速监控方法.txt'
-rwx------  1 jinhualong jinhualong   8068143 12月 18 21:15  RK3588_Linux5.10_V1.2.0_20230620适配A8_整理20251218_2115.7z*
drwxrwxr-x  9 jinhualong jinhualong      4096 12月 24 14:21  rkbin/
lrwxrwxrwx  1 jinhualong jinhualong        41  8月 13 19:24  rkflash.sh -> device/rockchip/common/scripts/rkflash.sh*
lrwxrwxrwx  1 jinhualong jinhualong        15 12月 24 14:26  rockdev -> output/firmware/
drwxrwxr-x  5 jinhualong jinhualong      4096  8月 13 19:24  tools/
drwxrwxr-x 27 jinhualong jinhualong      4096 12月 24 14:21  u-boot/
-rw-rw-r--  1 jinhualong jinhualong  18913132  8月 18 16:04  u-boot1.tgz
drwxrwxr-x  5 jinhualong jinhualong      4096  8月 13 19:24  uefi/
drwxrwxr-x  9 jinhualong jinhualong      4096  8月 13 19:24  yocto/
jinhualong@jinhualong-LEGION-REN7000K-26IRX:~/new_disk_4t/wyb/A8/RK3588_Linux5.10_V1.2.0_20230620$ 
jinhualong@jinhualong-LEGION-REN7000K-26IRX:~/new_disk_4t/wyb/A8/RK3588_Linux5.10_V1.2.0_20230620$ 
jinhualong@jinhualong-LEGION-REN7000K-26IRX:~/new_disk_4t/wyb/A8/RK3588_Linux5.10_V1.2.0_20230620$ 
jinhualong@jinhualong-LEGION-REN7000K-26IRX:~/new_disk_4t/wyb/A8/RK3588_Linux5.10_V1.2.0_20230620$ ./build.sh buildroot-config


Target options  --->       
Build options  --->        
Toolchain  --->            
System configuration  ---> 
Kernel  --->               
Target packages  --->      
Filesystem images  --->    
Bootloaders  --->          
Host utilities  --->       
Legacy config options  --->


    Hardware Platforms  --->                                                                 
-*- BusyBox                                                                                  
[ ]   Enable static                                                                          
(package/busybox/busybox.config) BusyBox configuration file to use?                          
(board/rockchip/common/base/busybox.fragment) Additional BusyBox configuration fragment files
[*]   Enable unicode support                                                                 
[*]   Bypass unicode when printing                                                           
[*]   Show packages that are also provided by busybox                                        
[ ]   Individual binaries                                                                    
[ ]   Install the watchdog daemon startup script                                             
    Audio and video applications  --->                                                       
    Compressors and decompressors  --->                                                      
    Debugging, profiling and benchmark  --->                                                 
    Development tools  --->                                                                  
    Filesystem and flash utilities  --->                                                     
    Fonts, cursors, icons, sounds and themes  --->                                           
    Games  --->                                                                              
    Graphic libraries and applications (graphic/text)  --->                                  
    Hardware handling  --->                                                                  
    Interpreter languages and scripting  --->                                                
    Libraries  --->                                                                          
    Mail  --->                                                                               
    Miscellaneous  --->                                                                      
    Networking applications  --->                                                            
    Package managers  --->                                                                   
    Real-Time  --->                                                                          
    Security  --->                                                                           
    Shell and utilities  --->                                                                
    System tools  --->                                                                       
    Text editors and viewers  --->                                                           


[ ] aircrack-ng                           
[ ] aoetools                              
[ ] apache                                
[ ] argus                                 
[ ] arp-scan                              
[ ] arptables-legacy                      
[ ] asterisk                              
[ ] atftp                                 
[ ] autossh                               
[ ] avahi                                 
[ ] axel                                  
[ ] babeld                                
[ ] bandwidthd                            
[ ] batctl                                
[ ] bcusdk                                
[ ] bind                                  
[ ] bird                                  
[ ] bluez-tools                           
-*- bluez-utils                           
[ ]   build OBEX support                  
[*]   build CLI client                    
[*]   build monitor utility               
[*]   build tools                         
[*]     install deprecated tools          
[ ]   build experimental tools            
-*-   build audio plugins (a2dp and avrcp)
[ ]   build health plugin                 
[ ]   build hid plugin                    
[ ]   build hog plugin                    
[ ]   build mesh plugin                   
[ ]   build midi plugin                   
[ ]   build network plugin                
[ ]   build nfc plugin                    
[ ]   build sap plugin                    
[ ]   build sixaxis plugin                
[ ]   install test scripts                
[ ]   build hid2hci tool                  
[ ] bmon                                  
[ ] boinc                                 
[ ] brcm-patchram-plus                    
[ ] bridge-utils                          
[ ] bwm-ng                                
[ ] c-icap                                
[ ] can-utils                             
[ ] cannelloni                            
[ ] casync                                

[*]   Enable nl80211 driver                              
[ ]   Enable wired driver                                
[*]   Enable ACS                                         
[ ]   Enable EAP                                         
[ ]   Enable WPS                                         
[*]   Enable WPA3 support                                
[*]   Enable VLAN support                                
[*]     Enable dynamic VLAN support                      
[*]     Use netlink-based API for VLAN operations        
[ ] htpdate                                              
[ ] httping                                              
[ ] i2pd                                                 
[ ] ibrdtn-tools                                         
[ ] ibrdtnd                                              
[ ] ifenslave                                            
[ ] ifmetric                                             
[ ] ifplugd                                              
[ ] iftop                                                
[ ] ifupdown                                             
[*] ifupdown scripts                                     
[ ] igd2-for-linux                                       
    *** igh-ethercat needs a Linux kernel to be built ***
[ ] igmpproxy                                            
[ ] inadyn                                               
[ ] iodine                                               
[ ] ipcalc                                               
-*- iperf                                                
[ ] iperf3      
                                        
[ ] iproute2                                             
[ ] ipset                                                
[ ] iptables                                             
[ ] iptraf-ng                                            
[*] iputils                                              
[*]   arping                                             
[*]   clockdiff                                          
[*]   ping                                               
[ ]   rarpd                                              
[*]   rdisc                                              
[*]     rdisc (server code)                              
[ ]   tftpd                                              
[*]   tracepath                                          
[*]   traceroute6                                        
[*]   ninfod                                             
[ ] irssi                                                
[*] iw                                                   
[ ] iwd                                                  

[*]   Enable nl80211 driver                              
[ ]   Enable wired driver                                
[*]   Enable ACS                                         
[ ]   Enable EAP                                         
[ ]   Enable WPS                                         
[*]   Enable WPA3 support                                
[*]   Enable VLAN support                                
[*]     Enable dynamic VLAN support                      
[*]     Use netlink-based API for VLAN operations        
[ ] htpdate                                              
[ ] httping                                              
[ ] i2pd                                                 
[ ] ibrdtn-tools                                         
[ ] ibrdtnd                                              
[ ] ifenslave                                            
[ ] ifmetric                                             
[ ] ifplugd                                              
[ ] iftop                                                
[ ] ifupdown                                             
[*] ifupdown scripts                                     
[ ] igd2-for-linux                                       
    *** igh-ethercat needs a Linux kernel to be built ***
[ ] igmpproxy                                            
[ ] inadyn                                               
[ ] iodine                                               
[ ] ipcalc                                               
-*- iperf                                                
[*] iperf3                                               
[ ] iproute2                                             
[ ] ipset                                                
[ ] iptables                                             
[ ] iptraf-ng                                            
[*] iputils                                              
[*]   arping                                             
[*]   clockdiff                                          
[*]   ping                                               
[ ]   rarpd                                              
[*]   rdisc                                              
[*]     rdisc (server code)                              
[ ]   tftpd                                              
[*]   tracepath                                          
[*]   traceroute6                                        
[*]   ninfod                                             
[ ] irssi                                                
[*] iw                                                   
[ ] iwd                                                  


3、使用iperf3实测网速:芯片RTL8211F-CG,但是使用了四线也就是百兆!

[00:00:04.096] libinput: configuring device "rk805 pwrkey".
[00:00:04.096] Registered plugin API 'weston_drm_output_api_v1' of size 40
[00:00:04.096] Color manager: no-op
[00:00:04.096] Compositor capabilities:
               arbitrary surface rotation: yes
               screen capture uses y-flip: yes
               cursor planes: yes
               arbitrary resolutions: no
               view mask clipping: yes
               explicit sync: yes
               color operations: yes
               presentation clock: CLOCK_MONOTONIC, id 1
               presentation clock resolution: 0.000000001 s
[00:00:04.097] Loading module '/usr/lib/weston/desktop-shell.so'
[00:00:04.099] DRM: head 'HDMI-A-1' found, connector 208 is connected, EDID make 'GSM', model '27MP35', serial ''
               Supported EOTF modes: SDR
[00:00:04.099] DRM: head 'DP-1' found, connector 224 is disconnected.
[00:00:04.099] launching '/usr/libexec/weston-keyboard'
[00:00:04.101] launching '/usr/libexec/weston-desktop-shell'
[00:00:04.101] HDMI-A-1 using at least 2 buffers
[00:00:04.101] Output 'HDMI-A-1' attempts EOTF mode: SDR
[00:00:04.102] Output 'HDMI-A-1' using color profile: stock sRGB color profile
[00:00:04.102] Chosen EGL config details: id:   9 rgba: 8 8 8 0 buf: 24 dep:  0 stcl: 0 int: 0-1 type: win|pbf|swap_preserved vis_id: XRGB8888 (0x34325258)
[00:00:04.102] Output HDMI-A-1 (crtc 71) video modes:
               1920x1080@60.0, preferred, current, 148.5 MHz
               1920x1080@60.0 16:9, 148.5 MHz
               1920x1080i@60.0, 74.2 MHz
               1920x1080i@60.0 16:9, 74.2 MHz
[    5.871221] dwhdmi-rockchip fde80000.hdmi: use tmds mode
               1920x1080@50.0 16:9, 148.5 MHz
               1920x1080i@50.0 16:9, 74.2 MHz
               1600x900@60.0, 108.0 MHz
               1280x1024@60.0, 108.0 MHz
               1152x864@75.0, 108.0 MHz
               1280x720@60.0, 74.2 MHz
               1280x720@60.0 16:9, 74.2 MHz
               1280x720@50.0 16:9, 74.2 MHz
               800x600@75.0, 49.5 MHz
               720x576@50.0 16:9, 27.0 MHz
               720x480@59.9, 27.0 MHz
               720x480@59.9 16:9, 27.0 MHz
[00:00:04.102] associating input device event3 with output HDMI-A-1 (none by udev)
[00:00:04.102] associating input device event0 with output HDMI-A-1 (none by udev)
[00:00:04.102] Output 'HDMI-A-1' enabled with head(s) HDMI-A-1
[    5.901738] dwhdmi-rockchip fde80000.hdmi: use tmds mode
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
[    6.058752] dwc3 fc000000.usb: device reset
xkbcommon: ERROR: couldn't find a Compose file for locale "en_US.UTF-8" (mapped to "en_US.UTF-8")
could not create XKB compose table for locale 'en_US.UTF-8'.  Disabiling compose
[    6.161886] android_work: sent uevent USB_STATE=CONNECTED
xkbcommon: ERROR: couldn't find a Compose file for locale "en_US.UTF-8" (mapped to "en_US.UTF-8")
could not create XKB compose table for locale 'en_US.UTF-8'.  Disabiling compose
[    6.198252] fdee0000.hdmirx-controller: Vertical Sync threshold reached interrupt 0x2
[    6.248544] android_work: sent uevent USB_STATE=CONFIGURED
[    6.329187] fdee0000.hdmirx-controller: hdmirx_wait_lock_and_get_timing signal lock ok, i:132!
[    6.719158] rk_hdmirx fdee0000.hdmirx-controller: hdmirx_delayed_work_audio: enable audio
[    6.905907] Freeing drm_logo memory: 736K
[    6.925657] fdee0000.hdmirx-controller: hdmirx_format_change: New format: 3840x2160p29.96 (4400x2250)
[    9.646071] rk_hdmirx fdee0000.hdmirx-controller: hdmirx_audio_interrupts_setup: 1
[    9.735198] fdee0000.hdmirx-controller: Vertical Sync threshold reached interrupt 0x2
[    9.759145] rk_hdmirx fdee0000.hdmirx-controller: hdmirx_delayed_work_audio: enable audio
[    9.816125] fdee0000.hdmirx-controller: hdmirx_wait_lock_and_get_timing signal lock ok, i:23!

root@rk3588-buildroot:/# 
root@rk3588-buildroot:/# 
root@rk3588-buildroot:/# ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:38 errors:0 dropped:0 overruns:0 frame:0
          TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2728 (2.6 KiB)  TX bytes:2728 (2.6 KiB)

root@rk3588-buildroot:/# 
root@rk3588-buildroot:/# ifconfig -a
eth0      Link encap:Ethernet  HWaddr DE:40:16:15:76:04  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:84 

eth1      Link encap:Ethernet  HWaddr DA:40:16:15:76:04  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:124 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:40 errors:0 dropped:0 overruns:0 frame:0
          TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2848 (2.7 KiB)  TX bytes:2848 (2.7 KiB)

root@rk3588-buildroot:/# 
root@rk3588-buildroot:/# udhcpc 
udhcpc: started, v1.36.0
[   29.155850] rk_gmac-dwmac fe1c0000.ethernet eth0: PHY [stmmac-1:02] driver [RTL8211F Gigabit Ethernet] (irq=POLL)
[   29.157660] dwmac4: Master AXI performs any burst length
[   29.157684] rk_gmac-dwmac fe1c0000.ethernet eth0: No Safety Features support found
[   29.157702] rk_gmac-dwmac fe1c0000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[   29.157852] rk_gmac-dwmac fe1c0000.ethernet eth0: registered PTP clock
[   29.158164] rk_gmac-dwmac fe1c0000.ethernet eth0: configuring for phy/rgmii-rxid link mode
udhcpc: broadcasting discover
udhcpc: broadcasting discover
[   33.812545] vcc_3v3_sd_s0: disabling
[   33.812691] vcc3v3_lcd0_n: disabling
udhcpc: broadcasting discover
[   35.254687] rk_gmac-dwmac fe1c0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[   35.254740] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

^C
root@rk3588-buildroot:/# ifconfig
eth0      Link encap:Ethernet  HWaddr DE:40:16:15:76:04  
          inet6 addr: fe80::dc40:16ff:fe15:7604/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:158 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:26886 (26.2 KiB)  TX bytes:656 (656.0 B)
          Interrupt:84 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:50 errors:0 dropped:0 overruns:0 frame:0
          TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3448 (3.3 KiB)  TX bytes:3448 (3.3 KiB)

root@rk3588-buildroot:/# 
root@rk3588-buildroot:/# 
root@rk3588-buildroot:/# udhcpc 
udhcpc: started, v1.36.0
udhcpc: broadcasting discover
udhcpc: broadcasting select for 192.168.3.103, server 192.168.3.1
udhcpc: lease of 192.168.3.103 obtained from 192.168.3.1, lease time 86400
deleting routers
adding dns 192.168.3.1
root@rk3588-buildroot:/# 
root@rk3588-buildroot:/# ifconfig
eth0      Link encap:Ethernet  HWaddr DE:40:16:15:76:04  
          inet addr:192.168.3.103  Bcast:192.168.3.255  Mask:255.255.255.0
          inet6 addr: fe80::dc40:16ff:fe15:7604/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:282 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:46956 (45.8 KiB)  TX bytes:1530 (1.4 KiB)
          Interrupt:84 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:52 errors:0 dropped:0 overruns:0 frame:0
          TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3568 (3.4 KiB)  TX bytes:3568 (3.4 KiB)

root@rk3588-buildroot:/# 
root@rk3588-buildroot:/# 
root@rk3588-buildroot:/# passwd 
Changing password for root
New password: 
Bad password: too short
Retype password: 
passwd: password for root changed by root
root@rk3588-buildroot:/# 
root@rk3588-buildroot:/# iperf3 -s
-----------------------------------------------------------
Server listening on 5201 (test #1)
-----------------------------------------------------------
Accepted connection from 192.168.3.222, port 11931
[  5] local 192.168.3.103 port 5201 connected to 192.168.3.222 port 11932
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  11.2 MBytes  94.3 Mbits/sec                  
[  5]   1.00-2.00   sec  11.3 MBytes  94.8 Mbits/sec                  
[  5]   2.00-3.00   sec  11.3 MBytes  94.8 Mbits/sec                  
[  5]   3.00-4.00   sec  11.3 MBytes  94.9 Mbits/sec                  
[  5]   4.00-5.00   sec  11.3 MBytes  94.9 Mbits/sec                  
[  5]   5.00-6.00   sec  11.3 MBytes  94.8 Mbits/sec                  
[  5]   6.00-7.00   sec  11.3 MBytes  94.8 Mbits/sec                  
[  5]   7.00-8.00   sec  11.3 MBytes  94.8 Mbits/sec                  
[  5]   8.00-9.00   sec  11.3 MBytes  94.8 Mbits/sec                  
[  5]   9.00-10.00  sec  11.3 MBytes  94.8 Mbits/sec                  
[  5]  10.00-11.00  sec  11.3 MBytes  94.8 Mbits/sec                  
[  5]  11.00-12.00  sec  11.3 MBytes  94.8 Mbits/sec                  
[  5]  12.00-13.00  sec  11.3 MBytes  94.9 Mbits/sec                  
[  5]  13.00-14.00  sec  11.3 MBytes  94.8 Mbits/sec                  
[  5]  14.00-15.00  sec  11.3 MBytes  94.8 Mbits/sec                  
[  5]  15.00-16.00  sec  11.3 MBytes  94.8 Mbits/sec                  
[  5]  16.00-17.00  sec  11.3 MBytes  94.8 Mbits/sec                  
[  5]  17.00-18.00  sec  11.3 MBytes  94.8 Mbits/sec                  
[  5]  18.00-18.03  sec   359 KBytes  94.6 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-18.03  sec   204 MBytes  94.8 Mbits/sec                  receiver
-----------------------------------------------------------
Server listening on 5201 (test #2)
-----------------------------------------------------------
^Ciperf3: interrupt - the server has terminated
root@rk3588-buildroot:/# 


Microsoft Windows [版本 10.0.19045.6456]
(c) Microsoft Corporation。保留所有权利。

C:\Users\QQ>cd D:\DOCX\20250114固定softAP的地址\iperf3.18_64

C:\Users\QQ>d:

D:\DOCX\20250114固定softAP的地址\iperf3.18_64>dir
 驱动器 D 中的卷是 DATA
 卷的序列号是 F21D-780B

 D:\DOCX\20250114固定softAP的地址\iperf3.18_64 的目录

2024/12/14  12:41    <DIR>          .
2024/12/14  12:41    <DIR>          ..
2024/09/15  14:57         3,830,803 cygcrypto-3.dll
2024/08/26  01:00         2,992,181 cygwin1.dll
2024/01/27  17:12            89,619 cygz.dll
2024/12/14  12:37           715,476 iperf3.exe
               4 个文件      7,628,079 字节
               2 个目录 39,905,402,880 可用字节

D:\DOCX\20250114固定softAP的地址\iperf3.18_64>
D:\DOCX\20250114固定softAP的地址\iperf3.18_64>iperf3 -c 192.168.3.103 -i 1 -t 18
Connecting to host 192.168.3.103, port 5201
[  5] local 192.168.3.222 port 11932 connected to 192.168.3.103 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  11.8 MBytes  98.1 Mbits/sec
[  5]   1.00-2.00   sec  11.2 MBytes  94.7 Mbits/sec
[  5]   2.00-3.02   sec  11.5 MBytes  95.0 Mbits/sec
[  5]   3.02-4.00   sec  11.1 MBytes  94.5 Mbits/sec
[  5]   4.00-5.01   sec  11.5 MBytes  95.7 Mbits/sec
[  5]   5.01-6.00   sec  11.1 MBytes  94.0 Mbits/sec
[  5]   6.00-7.00   sec  11.4 MBytes  95.4 Mbits/sec
[  5]   7.00-8.00   sec  11.2 MBytes  94.4 Mbits/sec
[  5]   8.00-9.01   sec  11.4 MBytes  94.7 Mbits/sec
[  5]   9.01-10.01  sec  11.4 MBytes  95.2 Mbits/sec
[  5]  10.01-11.01  sec  11.2 MBytes  94.9 Mbits/sec
[  5]  11.01-12.00  sec  11.2 MBytes  94.8 Mbits/sec
[  5]  12.00-13.01  sec  11.4 MBytes  94.4 Mbits/sec
[  5]  13.01-14.00  sec  11.2 MBytes  95.6 Mbits/sec
[  5]  14.00-15.00  sec  11.2 MBytes  94.3 Mbits/sec
[  5]  15.00-16.00  sec  11.4 MBytes  95.3 Mbits/sec
[  5]  16.00-17.00  sec  11.2 MBytes  94.3 Mbits/sec
[  5]  17.00-18.01  sec  11.4 MBytes  94.8 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-18.01  sec   204 MBytes  95.0 Mbits/sec                  sender
[  5]   0.00-18.03  sec   204 MBytes  94.8 Mbits/sec                  receiver

iperf Done.

D:\DOCX\20250114固定softAP的地址\iperf3.18_64>


4、
Z:\14TB\A8\rk3588_linux6.1_release_v1.2.0_20241220\buildroot\configs\rockchip\tools\benchmark.config
BR2_PACKAGE_GLMARK2=y
BR2_PACKAGE_WHETSTONE=y
BR2_PACKAGE_DHRYSTONE=y
BR2_PACKAGE_LMBENCH=y
BR2_PACKAGE_UNIXBENCH=y
BR2_PACKAGE_IPERF=y


Y:\new_disk_4t\wyb\A8\RK3588_Linux5.10_V1.2.0_20230620\buildroot\configs\rockchip_rk3588_defconfig
#include "base/base.config"
#include "chips/rk3588_aarch64.config"
#include "font/chinese.config"
#include "fs/exfat.config"
#include "fs/ntfs.config"
#include "fs/vfat.config"
#include "gpu/gpu.config"
#include "multimedia/audio.config"
#include "multimedia/camera.config"
#include "multimedia/gst/audio.config"
#include "multimedia/gst/camera.config"
#include "multimedia/gst/rtsp.config"
#include "multimedia/gst/video.config"
#include "multimedia/mpp.config"
#include "wifibt/bt.config"
#include "wifibt/wireless.config"
#include "tools/benchmark.config"
#include "tools/common.config"
#include "tools/test.config"
#include "chromium.config"
#include "npu2.config"
#include "powermanager.config"
#include "weston.config"
BR2_PACKAGE_BMON=y
BR2_PACKAGE_ETHTOOL=y
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
BR2_PACKAGE_IFTOP=y
BR2_PACKAGE_IPERF3=y
BR2_PACKAGE_IPROUTE2=y
BR2_PACKAGE_NETCAT=y
BR2_PACKAGE_NLOAD=y


Z:\git_RK3576_Linux6.1\buildroot\configs\rockchip_rk3576_defconfig
#include "base/base.config"
#include "bus/can.config"
#include "bus/pci.config"
#include "chips/rk3576_aarch64.config"
#include "font/chinese.config"
#include "fs/exfat.config"
#include "fs/ntfs.config"
#include "fs/vfat.config"
#include "gpu/gpu.config"
#include "multimedia/audio.config"
#include "multimedia/camera.config"
#include "multimedia/gst/audio.config"
#include "multimedia/gst/camera.config"
#include "multimedia/gst/rtsp.config"
#include "multimedia/gst/video.config"
#include "multimedia/mpp.config"
#include "wifibt/bt.config"
#include "wifibt/wireless.config"
#include "tools/benchmark.config"
#include "tools/common.config"
#include "tools/test.config"
#include "network/chromium.config"
#include "npu2.config"
#include "powermanager.config"
#include "gui/weston.config"
BR2_PACKAGE_BMON=y
BR2_PACKAGE_ETHTOOL=y
BR2_PACKAGE_IFTOP=y
BR2_PACKAGE_IPERF3=y
BR2_PACKAGE_NETCAT=y
BR2_PACKAGE_NLOAD=y

参考资料:
https://chat.deepseek.com/a/chat/s/3bf5daf3-7a59-48a1-89c4-5e3d5cec5c8e
Target packages  → Network applications  → 
    [*] iftop                # 启用网络流量监控
    [*] nload                # 启用实时网速显示
    [*] bmon                 # 启用带宽监控
    [*] iperf3               # 启用网络带宽测试
    [*] ethtool              # 启用网络接口工具
    [*] iproute2             # 启用ip命令集
    [*] netcat               # 启用网络调试工具

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐