20241102在荣品PRO-RK3566开发板使用荣品预编译的buildroot通过iperf2测试AP6256的WIFI网速

devtools/2024/11/8 19:07:52/

20241102在荣品PRO-RK3566开发板使用荣品预编译的buildroot通过iperf2测试AP6256的WIFI网速
2024/11/2 14:18


客户端:荣耀手机HONOR 70【iPerf2 for Android】
服务器端:荣品PRO-RK3566开发板
预编译固件:update-pro-rk3566-buildroot-hdmi-20231130-034633.img
AP:由于公司的WIFI的SSID带中文和空格,Android可以直接连接,buildroot就使用 荣耀手机HONOR 70 虚拟了一个热点了!^_

实测WIFI的平均值为:45.5 Mbits/sec


【服务器端】荣品PRO-RK3566开发板的详细LOG:
root@rk3566-buildroot:/# 
root@rk3566-buildroot:/# 
root@rk3566-buildroot:/# 
root@rk3566-buildroot:/# [   36.157414] vcc3v3_lcd0_n: disabling
[   36.157460] vcc3v3_lcd1_n: disabling

root@rk3566-buildroot:/# 
root@rk3566-buildroot:/# ifconfig
dummy0    Link encap:Ethernet  HWaddr F6:8B:7A:E4:6A:4A  
          inet addr:169.254.3.210  Bcast:169.254.255.255  Mask:255.255.0.0
          inet6 addr: fe80::8d8c:203a:96bc:a184/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:2514 (2.4 KiB)

eth0      Link encap:Ethernet  HWaddr 1A:5B:D2:85:72:77  
          UP 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:46 

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: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)

wlan0     Link encap:Ethernet  HWaddr 70:F7:54:9A:5F:9A  
          inet addr:169.254.110.181  Bcast:169.254.255.255  Mask:255.255.0.0

          inet6 addr: fe80::5285:b130:8cb8:521/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 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:0 (0.0 B)  TX bytes:2094 (2.0 KiB)

root@rk3566-buildroot:/# 
root@rk3566-buildroot:/# cd /etc/
root@rk3566-buildroot:/etc# 
root@rk3566-buildroot:/etc# ls -l
total 324
drwxr-xr-x 3 root root   4096 Nov 29  2023 alsa
-rw-r--r-- 1 root root   2319 Nov 29  2023 bash.bashrc
drwxr-xr-x 2 root root   4096 Nov 30  2023 bash_completion.d
-rw-r--r-- 1 root root    535 Nov 29  2023 bindresvport.blacklist
drwxr-xr-x 3 root root   4096 Nov 29  2023 dbus-1
-rw-r--r-- 1 root root   2922 Nov 29  2023 deviceTest.ini
-rw-r--r-- 1 root root   1429 Nov 29  2023 dhcpcd.conf
-rw-r--r-- 1 root root    101 Nov 30  2023 dnsmasq.conf
drwxr-xr-x 2 root root   4096 Jan  1 21:15 dropbear
drwxr-xr-x 3 root root   4096 Nov 29  2023 fonts
-rw-r--r-- 1 root root    589 Nov 30  2023 fstab
-rw-r--r-- 1 root root    424 Nov 30  2023 group
-rw-r--r-- 1 root root 113611 Nov 29  2023 hostapd.conf
-rw-r--r-- 1 root root     17 Nov 30  2023 hostname
-rw-r--r-- 1 root root     47 Nov 30  2023 hosts
drwxr-xr-x 2 root root   4096 Nov 30  2023 init.d
-rw-r--r-- 1 root root   1302 Nov 30  2023 inittab
-rw-r--r-- 1 root root    215 Nov 29  2023 input-event-daemon.conf
drwxr-xr-x 2 root root   4096 Nov 30  2023 input-event-daemon.conf.d
-rw-r--r-- 1 root root   1180 Nov 29  2023 inputrc
drwxr-xr-x 2 root root   4096 Nov 29  2023 iproute2
-rw-r--r-- 1 root root      0 Nov 29  2023 iptables.conf
drwxr-xr-x 2 root root   4096 Nov 29  2023 iqfiles
-rw-r--r-- 1 root root     35 Nov 30  2023 issue
drwxr-xr-x 2 root root   4096 Nov 29  2023 libinput
drwxr-xr-x 2 root root   4096 Nov 29  2023 libnl
-rw-r--r-- 1 root root    782 Nov 29  2023 mke2fs.conf
-rwxr-xr-x 1 root root   2234 Nov 28  2023 mount-M2.sh
lrwxrwxrwx 1 root root     19 Nov 28  2023 mtab -> ../proc/self/mounts
-rw-r--r-- 1 root root    767 Nov 29  2023 netconfig
drwxr-xr-x 6 root root   4096 Nov 30  2023 network
-rw-r--r-- 1 root root    230 Nov 29  2023 nsswitch.conf
-rw-r--r-- 1 root root    317 Nov 29  2023 ntp.conf
-rw-r--r-- 1 root root    284 Nov 30  2023 os-release
-rw-r--r-- 1 root root    490 Nov 30  2023 passwd
drwxr-xr-x 5 root root   4096 Nov 29  2023 pm
drwxr-xr-x 3 root root   4096 Nov 28  2023 ppp
-rw-r--r-- 1 root root    473 Nov 29  2023 profile
drwxr-xr-x 2 root root   4096 Nov 30  2023 profile.d
-rw-r--r-- 1 root root   2744 Nov 28  2023 protocols
drwxr-xr-x 2 root root   4096 Nov 30  2023 pulse
drwxr-xr-x 2 root root   4096 Nov 29  2023 rc_keymaps
-rw-r--r-- 1 root root   7692 Nov 29  2023 rc_maps.cfg
lrwxrwxrwx 1 root root     18 Nov 28  2023 resolv.conf -> ../tmp/resolv.conf
-rw-r--r-- 1 root root     19 Nov 28  2023 resolv.conf.tail
-rwxr-xr-x 1 root root   1811 Nov 28  2023 sata-mount.sh
-rw-r--r-- 1 root root  10873 Nov 28  2023 services
-rw------- 1 root root    241 Nov 30  2023 shadow
-rw-r--r-- 1 root root     27 Nov 29  2023 shells
drwxr-xr-x 5 root root   4096 Nov 29  2023 ssl
drwxr-xr-x 3 root root   4096 Nov 30  2023 udev
drwxr-xr-x 4 root root   4096 Nov 29  2023 usbmount
-rw-r--r-- 1 root root    125 Nov 30  2023 wpa_supplicant.conf
drwxr-xr-x 4 root root   4096 Nov 28  2023 xdg
root@rk3566-buildroot:/etc# 
root@rk3566-buildroot:/etc# cat wpa_supplicant.conf 
ctrl_interface=/var/run/wpa_supplicant
ap_scan=1
update_config=1

network={
    ssid="SSID"
    psk="PASSWORD"
    key_mgmt=WPA-PSK
}

root@rk3566-buildroot:/etc# 
root@rk3566-buildroot:/etc# cat wpa_supplicant.conf 
ctrl_interface=/var/run/wpa_supplicant
ap_scan=1
update_config=1

network={
    ssid="HONOR70"
    psk="13572468"
    key_mgmt=WPA-PSK
}

root@rk3566-buildroot:/etc# 
root@rk3566-buildroot:/etc# 
ant.conf -B buildroot:/etc# wpa_supplicant -iwlan0 -Dnl80211 -c /etc/wpa_supplic 
Successfully initialized wpa_supplicant
nl80211: kernel reports: Authentication algorithm number required
[  153.451000] [dhd] P2P interface registered
nl80211: kernel reports: Registration to specific type not supported
[  153.479111] [dhd] WLC_E_IF: NO_IF set, event Ignored
root@rk3566-buildroot:/etc# [  153.480163] [dhd] P2P interface started
[  153.528283] [dhd] [wlan0] wl_run_escan : LEGACY_SCAN sync ID: 0, bssidx: 0
[  155.865839] [dhd] CFG80211-ERROR) wl_set_set_cipher : set wsec_info error (0)
[  155.869736] [dhd] [wlan0] wl_conn_debug_info : Connecting with 5e:bc:c0:0f:f5:e2 ssid "HONOR70", len (7), channel=2g-6(chan_cnt=1), sec=wpa2/psk/mfpn/aes, rssi=-42
[  155.993308] [dhd] [wlan0] wl_iw_event : Link UP with 5e:bc:c0:0f:f5:e2
[  155.993368] [dhd] [wlan0] wl_ext_iapsta_link : [S] Link UP with 5e:bc:c0:0f:f5:e2
[  155.996537] [dhd] [wlan0] wl_bss_connect_done : Report connect result - connection succeeded
[  156.043175] [dhd] [wlan0] wl_add_keyext : key index (0) for 5e:bc:c0:0f:f5:e2

root@rk3566-buildroot:/etc# 
root@rk3566-buildroot:/etc# ifconfig
dummy0    Link encap:Ethernet  HWaddr F6:8B:7A:E4:6A:4A  
          inet addr:169.254.3.210  Bcast:169.254.255.255  Mask:255.255.0.0
          inet6 addr: fe80::8d8c:203a:96bc:a184/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:6944 (6.7 KiB)

eth0      Link encap:Ethernet  HWaddr 1A:5B:D2:85:72:77  
          UP 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:46 

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: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)

wlan0     Link encap:Ethernet  HWaddr 70:F7:54:9A:5F:9A  
          inet addr:192.168.109.78  Bcast:192.168.109.255  Mask:255.255.255.0
          inet6 addr: 2408:8459:3060:7238:faa7:7e07:4843:bb40/64 Scope:Global
          inet6 addr: fe80::3c93:a9b6:38ba:26f6/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:53 errors:0 dropped:0 overruns:0 frame:0
          TX packets:85 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:5187 (5.0 KiB)  TX bytes:9618 (9.3 KiB)

root@rk3566-buildroot:/etc# 
root@rk3566-buildroot:/etc# 
root@rk3566-buildroot:/etc# iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size:  128 KByte (default)
------------------------------------------------------------
[  1] local 192.168.109.78 port 5001 connected with 192.168.109.66 port 47180
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-21.74 sec   118 MBytes  45.5 Mbits/sec
^Croot@rk3566-buildroot:/etc# 


客户端:荣耀手机HONOR 70【iPerf2 for Android】

【很容易知道荣品的预编译固件,使用的是比较旧的V1.2版本的固件!Rockchip最新的buildroot自带的V1.4的固件竟然异常了!可以联网,拿不到IP地址!^_】
D:\20240423wyb\20241102解决荣品PRO-RK3566开发板刷Rockchip原厂的Buildroot适配AP6256【荣品的DTS】\firmware\nvram_ap6256.txt
#AP6256_NVRAM_V1.2_09202018.txt

# Cloned from bcm94345wlpagb_p2xx.txt 
NVRAMRev=$Rev: 498373 $
sromrev=11
vendid=0x14e4
devid=0x43ab
manfid=0x2d0
prodid=0x06e4
macaddr=00:90:4c:c5:12:38
nocrc=1
boardtype=0x6e4
boardrev=0x1304

#XTAL 37.4MHz
xtalfreq=37400
btc_mode=1

#-----------------------------------------
#boardflags: 5GHz eTR switch by default
#            2.4GHz eTR switch by default
#            bit1 for btcoex
boardflags=0x00480201
boardflags2=0x40800000
boardflags3=0x48200100
phycal_tempdelta=15
rxchain=1
txchain=1
aa2g=1
aa5g=1
tssipos5g=1
tssipos2g=1
femctrl=0
AvVmid_c0=1,165,2,100,2,100,2,100,2,100

pa2ga0=-154,5722,-656

#1pa2ga0=-195,5558,-672
pa2ga1=-118,4850,-635
pa5ga0=-193,6098,-740,-192,6095,-738,-199,5996,-730,-182,6148,-741


#3pa5ga0=-214,6002,-737,-209,6102,-746,-209,6024,-738,-200,6149,-747
#2pa5ga0=-203,5495,-683,-205,5489,-682,-207,5494,-678,-208,5549,-683
#1pa5ga0=-203,5495,-683,-205,5489,-682,-207,5494,-678,-185,6130,-740
pa5ga1=-142,4930,-655,-150,4859,-646,-156,4887,-644,-158,4864,-641

itrsw=1
pdoffset2g40ma0=10
pdoffset40ma0=0xaaaa
pdoffset80ma0=0xaaaa
extpagain5g=2
extpagain2g=2
tworangetssi2g=0
tworangetssi5g=0
# LTECX flags
# WCI2
ltecxmux=0
ltecxpadnum=0x0504
ltecxfnsel=0x22
ltecxgcigpio=0x32

maxp2ga0=78
cckbw202gpo=0x5555
cckbw20ul2gpo=0x5555

ofdmlrbw202gpo=0x2244
dot11agofdmhrbw202gpo=0x7744
ccode=DE
regrev=0


mcsbw202gpo=0x98886422
mcsbw402gpo=0x98777755

maxp5ga0=75,75,75,76

#5GHz_20MHz Offset
mcsbw205glpo=0xba753311
mcsbw205gmpo=0xba753311
mcsbw205ghpo=0xba753311

#5GHz_40MHz Offset
mcsbw405glpo=0xe8753311
mcsbw405gmpo=0xe8753311
mcsbw405ghpo=0xd9753311

#5GHz_80MHz Offset
mcsbw805glpo=0xea633311
mcsbw805gmpo=0xe7422211
mcsbw805ghpo=0xda632211


swctrlmap_2g=0x00000000,0x00000000,0x00000000,0x010000,0x3ff
swctrlmap_5g=0x00100010,0x00200020,0x00200020,0x010000,0x3fe
swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x3
swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x3

vcodivmode=1
deadman_to=481500000
ed_thresh2g=-54
ed_thresh5g=-54
eu_edthresh2g=-54
eu_edthresh5g=-54

#ed_thresh2g=-69
#ed_thresh5g=-69
#eu_edthresh2g=-69
#eu_edthresh5g=-69
ldo1=4
rawtempsense=0x1ff
cckPwrIdxCorr=3
cckTssiDelay=150
ofdmTssiDelay=150
txpwr2gAdcScale=1
txpwr5gAdcScale=1
dot11b_opts=0x3aa85
cbfilttype=0
#fdsslevel_ch1=6
#fdsslevel_ch11=4
#btc_mode=1  

muxenab=0x10

cckdigfilttype=5

fdss_level_2g=6
#fdss_level_5g=6
#pacalshift5g=0,0,1


 


http://www.ppmy.cn/devtools/132378.html

相关文章

图论导引 - 第二章 - 11/08

图论导引 - 第二章 - 11/08 第二章:定义与示例 Definitions and examples 章节概述 在这一章中,我们为图论的深入研究奠定基础。第2节将第1章中的一些基本定义形式化,第3节提供了各种示例。在第4节中,我们展示如何用图来表示并…

SpringBoot整合Freemarker(二)

if分支 语法&#xff1a; <#if condition>... <#elseif condition2>... <#elseif condition3>... <#else>... </#if> 例子&#xff1a; <#if x 1>x is 1 </#if> --------------------------------- <#if x 1>x is 1 <…

大数据-205 数据挖掘 机器学习理论 - 线性回归 最小二乘法 多元线性

点一下关注吧&#xff01;&#xff01;&#xff01;非常感谢&#xff01;&#xff01;持续更新&#xff01;&#xff01;&#xff01; 目前已经更新到了&#xff1a; Hadoop&#xff08;已更完&#xff09;HDFS&#xff08;已更完&#xff09;MapReduce&#xff08;已更完&am…

jmeter里判断返回参数是否为空

用jmeter做接口自动化&#xff0c;怎么判断返回的参数是否为空 我们假如返回的参数是数组&#xff0c;有以下3个方向来判断 1、断言返回的字段为大于0的正整数 [1-9][0-9]* 2、返回data的数组长度 data_marchNr 表示数组长度 String datavars.get(“data_matchNr”); int tota…

领略CSS Flex布局的精髓:打造响应式与创新设计

引言 Flexbox 或弹性盒子布局&#xff0c;是 CSS 中的一项革命性特性&#xff0c;旨在简化复杂的多列布局和响应式设计过程。相比传统的 float 和 positioning 方法&#xff0c;Flexbox 提供更直观且强大的布局控制能力&#xff0c;尤其适用于现代网站的复杂结构。本文将深入解…

【go从零单排】go中的结构体struct和method

Don’t worry , just coding! 内耗与overthinking只会削弱你的精力&#xff0c;虚度你的光阴&#xff0c;每天迈出一小步&#xff0c;回头时发现已经走了很远。 概念 struct 在Go语言中&#xff0c;结构体&#xff08;struct&#xff09;是一种用户定义的数据类型&#xff0c…

汇聚全球前沿科技产品,北京智能科技产业展览会·世亚智博会

在北京这座古老而又充满现代气息的城市中&#xff0c;一场科技与创新的盛宴正悄然上演——北京智能科技产业展览会&#xff08;简称&#xff1a;世亚智博会&#xff09;&#xff0c;作为全球前沿科技的汇聚地&#xff0c;不仅展示了人工智能、5G通信、虚拟现实等尖端技术的最新…

【数据集】【YOLO】【目标检测】交通事故识别数据集 8939 张,YOLO道路事故目标检测实战训练教程!

数据集介绍 【数据集】道路事故识别数据集 8939 张&#xff0c;目标检测&#xff0c;包含YOLO/VOC格式标注。数据集中包含2种分类&#xff1a;{0: accident, 1: non-accident}。数据集来自国内外图片网站和视频截图。检测范围道路事故检测、监控视角检测、无人机视角检测、等&…