Banana Pi BPI-R4开源路由器开发板快速上手用户手册,采用联发科MT7988芯片设计

介绍

Banana Pi BPI-R4 路由器板采用 MediaTek MT7988A (Filogic 880) 四核 ARM Corex-A73 设计,4GB DDR4 RAM,8GB eMMC,板载 128MB SPI-NAND 闪存,还有 2x 10Gbe SFP、4x Gbe 网络端口,带 USB3 .2端口,M.2支持4G/5G/NVME SSD。2x miniPCIe插槽,带PCIe3.0 2lane接口,用于Wi-Fi 7 NIC(网络接口卡)。它是一款非常高性能的开源路由器开发板。

更多信息:香蕉派 BPI-R4

准备

  • 准备8G以上TF卡、USB转串口线、Ubuntu系统

  • 12V/2A电源适配器(不带任何外设时,BPI-R4主板在最极端的情况下功耗不会超过10W,但需要根据自己的配件使用情况确定是否需要更高功率的电源适配器)

  • 使用 USB 串行电缆(3.3V TTL,波特=115200)连接到 BPI-R4 G=GND 上的调试控制台; RX=BPI-R4输入; TX=BPI-R4 输出0

  • LAN口默认IP地址:192.168.1.1

  • 用户名/密码:pi/bananapi ,root/bananapi。或者用户是root,没有密码。

  • WIFI:AP_MTK_MT7990_2G/AP_MTK_MT7990_5G/AP_MTK_MT7990_6G

BPI-R4 引导程序和设备选择跳线设置:

  1. 所有跳线为“1”,BPI-R4将从SD卡启动

  2. SW3-A 为“0”,SW3-B 为“1”,BPI-R4 将从 SPI NAND 启动

  3. SW3-A 为“1”,SW3-B 为“0”,BPI-R4 将从 eMMC 启动

  4. 如果控制台显示“systemhalt!”,则表示启动存储不包含任何操作系统

    F0:102B 0000
    传真:5100 0000
    传真:5100 0000 [0200]
    F9:1041 0000
    F3:1001 0000 [0200]
    F3:1001 0000
    F6:102C 0000
    F5:1026 0000
    00:1005 0000
    传真:5100 0000
    传真:5100 0000 [0200]
    F9:1041 0000
    F3:1001 0000 [0200]
    F3:1001 0000
    F6:102C 0000
    01:102A 0001
    02:1005 0000
    BP: 0200 00C0 [0001]
    欧共体:0000 0000 [0000]
    MK: 0000 0000 [0000]
    T0:0000 00D7 [0101]
    系统死机!

如何为SD、EMMC Nand烧写镜像

发布图片:https ://wiki.banana-pi.org/Banana_Pi_BPI-R4#Release_image

注意:启动设备选择:https://wiki.banana-pi.org/Getting_Started_with_BPI-R4#Prepare_to_develop

如何将图像刻录到SD卡

  • A.注意:在linux电脑上将镜像烧录到SD卡

    • 1.您可以从我们的论坛下载最新的图片

    • 2.在 Ubuntu 上安装 bpi-tools。如果您无法访问此 URL 或出现任何其他问题,请转至 bpi-tools 存储库并手动安装此工具。

      • apt-get 安装光伏

      • 卷曲-sL https://github.com/BPI-SINOVOIP/bpi-tools/raw/master/bpi-tools | sudo -E bash

    • 3.下载镜像后,将TF卡插入Ubuntu

      • 执行“bpi-copy xxx.img /dev/sdx”将镜像安装到TF卡上

    • 4.完成步骤3后,您可以将TF卡插入R4,然后按电源按钮对R4进行设置

  • B. 注:在 Windows 计算机上将映像刻录到 SD 卡

    • Balena Etcher 是 Balena 的一款开源 GUI 闪存工具,可将操作系统映像闪存到 SD 卡或 USB 驱动器。

    • 单击“Flash from file”以选择图像。

    • 单击“选择目标”以选择 USB 设备。

    • 点击“闪光!”开始燃烧。

  • C. 将启动跳线更改为从 SD 启动,启用 SD 卡设备。

    • 注意:启动设备选择:https://wiki.banana-pi.org/Getting_Started_with_BPI-R4#Prepare_to_develop

    • 注意:请对SD卡进行低级格式化,并清除SD卡中的所有数据。这很重要。

如何将镜像烧录到板载Nand上

当您想要更新 Nand 设备时,首先将启动开关更改为从 SD 设备启动,并插入一张带有 SD 启动映像的 SD,然后启动后,您需要将一张 nand 映像闪存到 nand 设备中。最后将 bootstrap 更改为从 Nand 设备启动。

在将镜像烧录到Nand之前,请准备一个U盘。我们以OpenWrt镜像(mtk-bpi-r4-NAND-20231030.img)为例,步骤如下:

  1. 将 Nand 启动 OpenWrt 映像(mtk-bpi-r4-NAND-20231030.img)复制到 U 盘。

  2. 更改启动开关跳线,板子从SD设备启动,然后给板子上电。

  3. 将U盘插入开发板,并将U盘挂载到/mnt或其他目录,如下:(如果自动挂载则可以跳过挂载)

    • 挂载-t vfat /dev/sda1 /mnt

    • 将目录更改为安装点,这里是: cd /mnt

  4. 执行以下命令擦除整个 Nand flash 并将映像复制到 nand 设备:

    • mtd 擦除 /dev/mtd0

    • dd if=mtk-bpi-r4-NAND-20231030.img of=/dev/mtdblock0

  5. 关闭BPI-R4板的电源,拔掉U盘驱动,将bootstrap更改为从Nand设备启动。

    • 注意:启用Nand设备,引导程序来自Nand。

    • 注意:启动设备选择:https://wiki.banana-pi.org/Getting_Started_with_BPI-R4#Prepare_to_develop

如何烧录镜像到板载eMMC

由于SD卡和EMMC设备共用一个SOC的控制器,因此需要切换到NAND启动,然后将EMMC镜像烧录到EMMC中。最后,您将启动更改为从 EMMC 启动。

在将镜像烧录到eMMC之前,请准备一个U盘。我们以OpenWrt镜像(bl2_emmc-r4.img、mtk-bpi-r4-EMMC-20231030.img)为例,步骤如下:

  1. 将 EMMC 启动 OpenWrt 镜像(bl2_emmc-r4.img、mtk-bpi-r4-EMMC-20231030.img)复制到 U 盘,如果镜像被压缩,请在复制到 U 盘之前解压。

  2. 将开关跳线改为Nand,从Nand启动主板。注意:启用Nand设备,引导程序来自Nand

  3. 将U盘插入开发板,并将U盘挂载到/mnt或其他目录,如下:(如果自动挂载则可以跳过挂载)

    • 挂载-t vfat /dev/sda1 /mnt

    • 将目录更改为安装点,这里是: cd /mnt

  4. 执行 :

    • 回声 0 > /sys/block/mmcblk0boot0/force_ro

    • dd if=bl2_emmc-r4.img of=/dev/mmcblk0boot0

    • dd if=mtk-bpi-r4-EMMC-20231030.img of=/dev/mmcblk0

    • mmc 引导部分启用 1 1 /dev/mmcblk0

  5. 关闭R4板电源,删除u盘驱动,将bootstrap更改为从emmc设备启动。

    • 注意:启用 EMMC 设备,引导程序来自 EMMC。

    • 注意:启动设备选择:https://wiki.banana-pi.org/Getting_Started_with_BPI-R4#Prepare_to_develop

网络配置

  • 网络配置参考:http://www.fw-web.de/dokuwiki/doku.php ?id=en:bpi-r2:network:start

  • 网络接口:eth2、lan0用于WAN; eth1、lan0、lan1、lan2、lan3 用于 LAN,ra0/ra1 用于 2.4G 无线,rai0 用于 5G wifi6 无线,rax0 用于 6G wifi7 无线。

复制

配件

10G SFP模块

BPI-R4的SFP Serdes速度固定为10Gbps,因此只能使用支持此功能的SFP!

通常10G SFP+模块的PIN6为GND。插入模块后,SFP_MOD_DEF0将被拉低,从而打开SFP电源。

因此,如果模块的该PIN不为GND,则不会提供3.3V_SFP电源!

10G SFP+ 铜缆模块

该模块长时间使用时温度很高,在不加散热器或散热风扇的情况下可达90℃。注意防止烫伤!

复制
注意:该模块插入后请勿拔出,否则会导致BPI-R4重启。其他模块不存在此现象。
<span style="color:#424242"><span style="background-color:#ffffff"><span style="background-color:#212121"><span style="color:#ffffff"><code class="language-bash">root@R4CN:/<span style="color:#787878"># [  201.763041] mapfilter:drop IP addr timeout! stop dropping IP addr.</span>
[  <span style="color:#cf694a">499.938345</span>] sfp sfp@0: SM: enter present:up:link_up event los_high
[  <span style="color:#cf694a">499.950712</span>] mtk_soc_eth <span style="color:#cf694a">15100000</span>.ethernet eth2: Link is Down
[  <span style="color:#cf694a">499.956370</span>] sfp sfp@0: SM: <span style="color:#f9ee9a">exit</span> present:up:wait_los
[  <span style="color:#cf694a">499.961367</span>] br-wan: port <span style="color:#cf694a">2</span>(eth2) entered disabled state
[  <span style="color:#cf694a">502.867442</span>] sfp sfp@0: SM: enter present:up:wait_los event remove
[  <span style="color:#cf694a">502.873705</span>] sfp sfp@0: module removed
[  <span style="color:#cf694a">502.877937</span>] sfp sfp@0: tx disable <span style="color:#cf694a">0</span> -<span style="color:#919e6b">></span> <span style="color:#cf694a">1</span>
[  <span style="color:#cf694a">502.881872</span>] sfp sfp@0: SM: <span style="color:#f9ee9a">exit</span> empty:up:down
[  <span style="color:#cf694a">503.164077</span>] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000180
[  <span style="color:#cf694a">503.172853</span>] Mem abort info:
[  <span style="color:#cf694a">503.175634</span>]   ESR <span style="color:#919e6b">=</span> 0x96000006
[  <span style="color:#cf694a">503.178683</span>]   EC <span style="color:#919e6b">=</span> 0x25: DABT (current EL), IL <span style="color:#919e6b">=</span> <span style="color:#cf694a">32</span> bits
[  <span style="color:#cf694a">503.183985</span>]   SET <span style="color:#919e6b">=</span> <span style="color:#cf694a">0</span>, FnV <span style="color:#919e6b">=</span> <span style="color:#cf694a">0</span>
[  <span style="color:#cf694a">503.187030</span>]   EA <span style="color:#919e6b">=</span> <span style="color:#cf694a">0</span>, S1PTW <span style="color:#919e6b">=</span> <span style="color:#cf694a">0</span>
[  <span style="color:#cf694a">503.190162</span>] Data abort info:
[  <span style="color:#cf694a">503.193035</span>]   ISV <span style="color:#919e6b">=</span> <span style="color:#cf694a">0</span>, ISS <span style="color:#919e6b">=</span> 0x00000006
[  <span style="color:#cf694a">503.196861</span>]   CM <span style="color:#919e6b">=</span> <span style="color:#cf694a">0</span>, WnR <span style="color:#919e6b">=</span> <span style="color:#cf694a">0</span>
[  <span style="color:#cf694a">503.199816</span>] user pgtable: 4k pages, <span style="color:#cf694a">39</span>-bit VAs, <span style="color:#919e6b">pgdp</span><span style="color:#919e6b">=</span>000000012fd21000
[  <span style="color:#cf694a">503.206246</span>] [0000000000000180] <span style="color:#919e6b">pgd</span><span style="color:#919e6b">=</span>0000000132bfb003, <span style="color:#919e6b">pud</span><span style="color:#919e6b">=</span>0000000132bfb003, <span style="color:#919e6b">pmd</span><span style="color:#919e6b">=</span>0000000000000000
[  <span style="color:#cf694a">503.214936</span>] Internal error: Oops: <span style="color:#cf694a">96000006</span> [<span style="color:#787878">#1] SMP</span>
[  <span style="color:#cf694a">503.219799</span>] Modules linked in: ksmbd mt7991(P) mt7990(P) iptable_nat ipt_REJECT xt_time xt_tcpudp xt_state xt_socket xt_recent xt_policy xt_nat xt_multiport xt_mark xt_mac xt_limit xt_iprange xt_helper xt_esp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TPROXY xt_TCPMSS xt_REDIRECT xt_MASQUERADE xt_LOG xt_FLOWOFFLOAD xt_CT usblp ts_fsm ts_bm spidev rfcomm pptp ppp_mppe nf_tproxy_ipv6 nf_tproxy_ipv4 nf_socket_ipv6 nf_socket_ipv4 nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_pptp nf_nat_irc nf_nat_h323 nf_nat_amanda nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_pptp nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda nf_conncount mtqos mtfwd mapfilter libcrc32c l2tp_ppp iptable_raw iptable_mangle iptable_filter ipt_ah ip_tables hidp btusb btintel bnep asn1_decoder mt7990_dbg(P) mtk_wed(P) mtk_pci(P) connac_if(P) mtk_hwifi(P)
[  <span style="color:#cf694a">503.219869</span>]  mt_wifi(P) hid mt_wifi_cmn evdev input_core cfg80211 compat xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 nfsd ip6_gre ip_gre gre l2tp_netlink l2tp_core udp_tunnel ip6_udp_tunnel ipcomp6 xfrm6_tunnel esp6 ah6 ip6_tunnel tunnel6 ip_tunnel rpcsec_gss_krb5 auth_rpcgss oid_registry af_key lockd sunrpc grace autofs4 dm_mirror dm_region_hash dm_log dm_crypt nls_utf8 nls_iso8859_1 nls_cp437 macsec seqiv md4 ghash_generic gf128mul gcm cts ctr ccm arc4 mtk_warp mtkhnat leds_gpio xhci_plat_hcd ohci_platform ohci_hcd fsl_mph_dr_of ehci_platform ehci_fsl ehci_hcd gpio_button_hotplug
[  <span style="color:#cf694a">503.390068</span>] CPU: <span style="color:#cf694a">2</span> PID: <span style="color:#cf694a">7304</span> Comm: aqr107_mib_thre Tainted: P                  <span style="color:#cf694a">5.4</span>.246 <span style="color:#787878">#0</span>
[  <span style="color:#cf694a">503.398227</span>] Hardware name: Bananapi BPI-R4 (DT)
[  <span style="color:#cf694a">503.402746</span>] pstate: <span style="color:#cf694a">80000005</span> (Nzcv daif -PAN -UAO)
[  <span style="color:#cf694a">503.407531</span>] pc <span style="color:#f9ee9a">:</span> __phy_read_mmd+0x20/0xa0
[  <span style="color:#cf694a">503.411529</span>] lr <span style="color:#f9ee9a">:</span> phy_read_mmd+0x38/0x60
[  <span style="color:#cf694a">503.415351</span>] sp <span style="color:#f9ee9a">:</span> ffffffc01388bd90
[  <span style="color:#cf694a">503.418653</span>] x29: ffffffc01388bd90 x28: 0000000000000000
[  <span style="color:#cf694a">503.423952</span>] x27: ffffff80f2ae3638 x26: ffffffc010a373c0
[  <span style="color:#cf694a">503.429250</span>] x25: ffffffc010557918 x24: ffffff80f4ce8800
[  <span style="color:#cf694a">503.434547</span>] x23: ffffffc010d83908 x22: ffffffc01388be3c
[  <span style="color:#cf694a">503.439845</span>] x21: 000000000000e811 x20: 0000000000000003
[  <span style="color:#cf694a">503.445142</span>] x19: ffffff80f4ce8800 x18: ffffffc010c0a1a8
[  <span style="color:#cf694a">503.450440</span>] x17: 000000000000003c x16: 000000000000003c
[  <span style="color:#cf694a">503.455738</span>] x15: 0000000000000018 x14: 00000000fffbd1b0
[  <span style="color:#cf694a">503.461035</span>] x13: 00000000000001f4 x12: ffffffc010c0a160
[  <span style="color:#cf694a">503.466332</span>] x11: 000000000000c503 x10: 0000000000000830
[  <span style="color:#cf694a">503.471630</span>] x9 <span style="color:#f9ee9a">:</span> ffffffc01388bd10 x8 <span style="color:#f9ee9a">:</span> ffffff80efda0890
[  <span style="color:#cf694a">503.476927</span>] x7 <span style="color:#f9ee9a">:</span> ffffffc0eec26000 x6 <span style="color:#f9ee9a">:</span> ffffffc0eec26000
[  <span style="color:#cf694a">503.482224</span>] x5 <span style="color:#f9ee9a">:</span> 0000000000000000 x4 <span style="color:#f9ee9a">:</span> 0000000000000000
[  <span style="color:#cf694a">503.487522</span>] x3 <span style="color:#f9ee9a">:</span> ffffff80f4ce8800 x2 <span style="color:#f9ee9a">:</span> 000000000000e811
[  <span style="color:#cf694a">503.492819</span>] x1 <span style="color:#f9ee9a">:</span> 0000000000000003 x0 <span style="color:#f9ee9a">:</span> ffffff80f4ce8800
[  <span style="color:#cf694a">503.498117</span>] Call trace:
[  <span style="color:#cf694a">503.500553</span>]  __phy_read_mmd+0x20/0xa0
[  <span style="color:#cf694a">503.504202</span>]  phy_read_mmd+0x38/0x60
[  <span style="color:#cf694a">503.507680</span>]  aqr107_mib_read_word+0x2c/0x60
[  <span style="color:#cf694a">503.511850</span>]  aqr107_mib_read+0x24/0x200
[  <span style="color:#cf694a">503.515673</span>]  aqr107_mib_thread+0x20/0x50
[  <span style="color:#cf694a">503.519585</span>]  kthread+0x120/0x128
[  <span style="color:#cf694a">503.522801</span>]  ret_from_fork+0x10/0x1c
[  <span style="color:#cf694a">503.526368</span>] Code: a9be7bfd aa0003e3 910003fd f9418005 (f940c0a5)
[  <span style="color:#cf694a">503.532447</span>] ---[ end trace 3fa317a53584315f ]---
[  <span style="color:#cf694a">503.538554</span>] Kernel panic - not syncing: Fatal exception
[  <span style="color:#cf694a">503.543768</span>] SMP: stopping secondary CPUs
[  <span style="color:#cf694a">503.547680</span>] Kernel Offset: disabled
[  <span style="color:#cf694a">503.551155</span>] CPU features: 0x10002,20002008
[  <span style="color:#cf694a">503.555238</span>] Memory Limit: none
[  <span style="color:#cf694a">503.559792</span>] Starting Memory dump SMCC
[  <span style="color:#cf694a">503.563452</span>] Memory dump SMCC failed
[  <span style="color:#cf694a">503.566929</span>] Rebooting <span style="color:#f9ee9a">in</span> <span style="color:#cf694a">3</span> seconds..</code></span></span></span></span>
复制

10G SFP+光纤模块

复制

4G 5G模组

BPI-R4支持4G LTE EC25。移远RM500U-CN和RM520N-GL 5G模块。

如果您想在 BPI-R4 上使用 5G:

  1. 将 5G 适配器插入 USB3.0。

  2. 将RG200U-CN连接至mini PCIe,通过USB2.0(限速)连接SoC。

  3. 制作一块RG200U-CN LGA转接板并将其插入M.2 KEY M。

注:4G/5G 的可用性取决于当地运营商频段。

移远RM520N-GL

<span style="color:#424242"><span style="background-color:#ffffff"><span style="background-color:#212121"><span style="color:#ffffff"><code class="language-bash">wwan0     Link encap:Ethernet  HWaddr A6:35:F7:7A:9E:A7inet6 addr: fe80::a435:f7ff:fe7a:9ea7/64 Scope:LinkUP RUNNING NOARP  MTU:1500  Metric:1RX packets:4 errors:0 dropped:0 overruns:0 frame:0TX packets:9 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:1000RX bytes:1272 (<span style="color:#cf694a">1.2</span> KiB)  TX bytes:1932 (<span style="color:#cf694a">1.8</span> KiB)
wwan0_1   Link encap:Ethernet  HWaddr A6:35:F7:7A:9E:A7inet addr:10.46.121.135  Mask:255.255.255.240inet6 addr: fe80::a435:f7ff:fe7a:9ea7/64 Scope:LinkUP RUNNING NOARP  MTU:1500  Metric:1RX packets:4 errors:0 dropped:0 overruns:0 frame:0TX packets:9 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:1000RX bytes:1292 (<span style="color:#cf694a">1.2</span> KiB)  TX bytes:1932 (<span style="color:#cf694a">1.8</span> KiB)
root@R4CN:/<span style="color:#787878">#</span>
root@R4CN:/<span style="color:#787878"># lsusb</span>
Bus 002 Device 003: ID 2c7c:0801 Quectel RM520N-GL
Bus 002 Device 002: ID <span style="color:#cf694a">2109</span>:0822 VIA Labs, Inc.          USB3.1 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux <span style="color:#cf694a">5.4</span>.246 xhci-hcd xHCI Host Controller
Bus 001 Device 003: ID <span style="color:#cf694a">2109</span>:8822 VIA Labs, Inc.          USB Billboard Device
Bus 001 Device 002: ID <span style="color:#cf694a">2109</span>:2822 VIA Labs, Inc.          USB2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux <span style="color:#cf694a">5.4</span>.246 xhci-hcd xHCI Host Controller
root@R4CN:/<span style="color:#787878">#</span>
root@R4CN:/<span style="color:#787878"># ping www.baidu.com</span>
PING www.baidu.com (<span style="color:#cf694a">120.232</span>.145.185): <span style="color:#cf694a">56</span> data bytes
<span style="color:#cf694a">64</span> bytes from <span style="color:#cf694a">120.232</span>.145.185: <span style="color:#919e6b">seq</span><span style="color:#919e6b">=</span><span style="color:#cf694a">0</span> <span style="color:#919e6b">ttl</span><span style="color:#919e6b">=</span><span style="color:#cf694a">52</span> <span style="color:#919e6b">time</span><span style="color:#919e6b">=</span><span style="color:#cf694a">30.712</span> ms
<span style="color:#cf694a">64</span> bytes from <span style="color:#cf694a">120.232</span>.145.185: <span style="color:#919e6b">seq</span><span style="color:#919e6b">=</span><span style="color:#cf694a">1</span> <span style="color:#919e6b">ttl</span><span style="color:#919e6b">=</span><span style="color:#cf694a">52</span> <span style="color:#919e6b">time</span><span style="color:#919e6b">=</span><span style="color:#cf694a">32.774</span> ms
<span style="color:#cf694a">64</span> bytes from <span style="color:#cf694a">120.232</span>.145.185: <span style="color:#919e6b">seq</span><span style="color:#919e6b">=</span><span style="color:#cf694a">2</span> <span style="color:#919e6b">ttl</span><span style="color:#919e6b">=</span><span style="color:#cf694a">52</span> <span style="color:#919e6b">time</span><span style="color:#919e6b">=</span><span style="color:#cf694a">45.222</span> ms
<span style="color:#cf694a">64</span> bytes from <span style="color:#cf694a">120.232</span>.145.185: <span style="color:#919e6b">seq</span><span style="color:#919e6b">=</span><span style="color:#cf694a">3</span> <span style="color:#919e6b">ttl</span><span style="color:#919e6b">=</span><span style="color:#cf694a">52</span> <span style="color:#919e6b">time</span><span style="color:#919e6b">=</span><span style="color:#cf694a">37.850</span> ms
<span style="color:#cf694a">64</span> bytes from <span style="color:#cf694a">120.232</span>.145.185: <span style="color:#919e6b">seq</span><span style="color:#919e6b">=</span><span style="color:#cf694a">4</span> <span style="color:#919e6b">ttl</span><span style="color:#919e6b">=</span><span style="color:#cf694a">52</span> <span style="color:#919e6b">time</span><span style="color:#919e6b">=</span><span style="color:#cf694a">53.459</span> ms
^C
--- www.baidu.com ping statistics ---
<span style="color:#cf694a">5</span> packets transmitted, <span style="color:#cf694a">5</span> packets received, <span style="color:#cf694a">0</span>% packet loss
round-trip min/avg/max <span style="color:#919e6b">=</span> <span style="color:#cf694a">30.712</span>/40.003/53.459 ms
root@R4CN:/<span style="color:#787878">#</span></code></span></span></span></span>
复制

RM500U-CN

<span style="color:#424242"><span style="background-color:#ffffff"><span style="background-color:#212121"><span style="color:#ffffff"><code class="language-bash">usb0      Link encap:Ethernet  HWaddr 5E:3B:9C:76:7C:46inet addr:10.95.9.23  Bcast:10.95.9.255  Mask:255.255.255.0inet6 addr: fe80::5c3b:9cff:fe76:7c46/64 Scope:LinkUP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1RX packets:34 errors:0 dropped:0 overruns:0 frame:0TX packets:62 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:1000RX bytes:7908 (<span style="color:#cf694a">7.7</span> KiB)  TX bytes:10100 (<span style="color:#cf694a">9.8</span> KiB)
root@R4CN:/<span style="color:#787878">#</span>
root@R4CN:/<span style="color:#787878"># lsusb</span>
Bus 002 Device 003: ID 2c7c:0900 Quectel RM500U-CN
Bus 002 Device 002: ID <span style="color:#cf694a">2109</span>:0822 VIA Labs, Inc.          USB3.1 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux <span style="color:#cf694a">5.4</span>.246 xhci-hcd xHCI Host Controller
Bus 001 Device 003: ID <span style="color:#cf694a">2109</span>:8822 VIA Labs, Inc.          USB Billboard Device
Bus 001 Device 002: ID <span style="color:#cf694a">2109</span>:2822 VIA Labs, Inc.          USB2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux <span style="color:#cf694a">5.4</span>.246 xhci-hcd xHCI Host Controller
root@R4CN:/<span style="color:#787878">#</span>
root@R4CN:/<span style="color:#787878"># ping www.baidu.com</span>
PING www.baidu.com (<span style="color:#cf694a">2409</span>:8c54:870:34e:0:ff:b024:1916): <span style="color:#cf694a">56</span> data bytes
<span style="color:#cf694a">64</span> bytes from <span style="color:#cf694a">2409</span>:8c54:870:34e:0:ff:b024:1916: <span style="color:#919e6b">seq</span><span style="color:#919e6b">=</span><span style="color:#cf694a">0</span> <span style="color:#919e6b">ttl</span><span style="color:#919e6b">=</span><span style="color:#cf694a">51</span> <span style="color:#919e6b">time</span><span style="color:#919e6b">=</span><span style="color:#cf694a">55.105</span> ms
<span style="color:#cf694a">64</span> bytes from <span style="color:#cf694a">2409</span>:8c54:870:34e:0:ff:b024:1916: <span style="color:#919e6b">seq</span><span style="color:#919e6b">=</span><span style="color:#cf694a">1</span> <span style="color:#919e6b">ttl</span><span style="color:#919e6b">=</span><span style="color:#cf694a">51</span> <span style="color:#919e6b">time</span><span style="color:#919e6b">=</span><span style="color:#cf694a">38.725</span> ms
<span style="color:#cf694a">64</span> bytes from <span style="color:#cf694a">2409</span>:8c54:870:34e:0:ff:b024:1916: <span style="color:#919e6b">seq</span><span style="color:#919e6b">=</span><span style="color:#cf694a">2</span> <span style="color:#919e6b">ttl</span><span style="color:#919e6b">=</span><span style="color:#cf694a">51</span> <span style="color:#919e6b">time</span><span style="color:#919e6b">=</span><span style="color:#cf694a">39.890</span> ms
^C
--- www.baidu.com ping statistics ---
<span style="color:#cf694a">3</span> packets transmitted, <span style="color:#cf694a">3</span> packets received, <span style="color:#cf694a">0</span>% packet loss
round-trip min/avg/max <span style="color:#919e6b">=</span> <span style="color:#cf694a">38.725</span>/44.573/55.105 ms
root@R4CN:/<span style="color:#787878">#</span></code></span></span></span></span>
复制

EM05-CE

<span style="color:#424242"><span style="background-color:#ffffff"><span style="background-color:#212121"><span style="color:#ffffff"><code class="language-bash">wwan0     Link encap:Ethernet  HWaddr F2:CC:52:10:2E:27inet addr:10.21.103.116  Bcast:0.0.0.0  Mask:255.255.255.248inet6 addr: fe80::f0cc:52ff:fe10:2e27/64 Scope:LinkUP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1RX packets:56 errors:0 dropped:0 overruns:0 frame:0TX packets:91 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:1000RX bytes:7868 (<span style="color:#cf694a">7.6</span> KiB)  TX bytes:10133 (<span style="color:#cf694a">9.8</span> KiB)
root@R4CN:/<span style="color:#787878">#</span>
root@R4CN:/<span style="color:#787878"># lsusb</span>
Bus 001 Device 012: ID 2c7c:0125 Quectel Incorporated LTE Module
Bus 002 Device 002: ID <span style="color:#cf694a">2109</span>:0822 VIA Labs, Inc.          USB3.1 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux <span style="color:#cf694a">5.4</span>.246 xhci-hcd xHCI Host Controller
Bus 001 Device 003: ID <span style="color:#cf694a">2109</span>:8822 VIA Labs, Inc.          USB Billboard Device
Bus 001 Device 002: ID <span style="color:#cf694a">2109</span>:2822 VIA Labs, Inc.          USB2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux <span style="color:#cf694a">5.4</span>.246 xhci-hcd xHCI Host Controller
root@R4CN:/<span style="color:#787878">#</span>
root@R4CN:/<span style="color:#787878"># ping www.baidu.com</span>
PING www.baidu.com (<span style="color:#cf694a">120.232</span>.145.144): <span style="color:#cf694a">56</span> data bytes
<span style="color:#cf694a">64</span> bytes from <span style="color:#cf694a">120.232</span>.145.144: <span style="color:#919e6b">seq</span><span style="color:#919e6b">=</span><span style="color:#cf694a">0</span> <span style="color:#919e6b">ttl</span><span style="color:#919e6b">=</span><span style="color:#cf694a">53</span> <span style="color:#919e6b">time</span><span style="color:#919e6b">=</span><span style="color:#cf694a">47.085</span> ms
<span style="color:#cf694a">64</span> bytes from <span style="color:#cf694a">120.232</span>.145.144: <span style="color:#919e6b">seq</span><span style="color:#919e6b">=</span><span style="color:#cf694a">1</span> <span style="color:#919e6b">ttl</span><span style="color:#919e6b">=</span><span style="color:#cf694a">53</span> <span style="color:#919e6b">time</span><span style="color:#919e6b">=</span><span style="color:#cf694a">36.447</span> ms
^C
--- www.baidu.com ping statistics ---
<span style="color:#cf694a">2</span> packets transmitted, <span style="color:#cf694a">2</span> packets received, <span style="color:#cf694a">0</span>% packet loss
round-trip min/avg/max <span style="color:#919e6b">=</span> <span style="color:#cf694a">36.447</span>/41.766/47.085 ms
root@R4CN:/<span style="color:#787878">#</span></code></span></span></span></span>
复制

M.2 4G/5G模块(PCIe接口)

理论上也支持PCIe蜂窝模块,但尚未测试

miniPCIe 4G/5G模块(USB接口)

贮存

NVMe固态硬盘

请将1个M.2 KeyM SSD(PCIe接口)插入KeyM插槽(CN18)。

未进行兼容性测试,不保证所有SSD都可以使用。
复制

PCIe 转 SATA

BPI-R4支持JMicron的JMB585(PCIe转5x SATA芯片)

<span style="color:#424242"><span style="background-color:#ffffff"><span style="background-color:#212121"><span style="color:#ffffff"><code class="language-bash">root@R4CN:/<span style="color:#787878"># lspci</span>
0002:00:00.0 PCI bridge: MEDIATEK Corp. Device <span style="color:#cf694a">7988</span> (rev 01)
0002:01:00.0 SATA controller: JMicron Technology Corp. JMB58x AHCI SATA controller
0004:00:00.0 Unclassified device [0002]: MEDIATEK Corp. Device <span style="color:#cf694a">7981</span>
root@R4CN:/<span style="color:#787878">#</span>
root@R4CN:/<span style="color:#787878"># [  743.794932] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)</span>
[  <span style="color:#cf694a">743.802031</span>] ata1.00: HPA detected: current <span style="color:#cf694a">234439535</span>, native <span style="color:#cf694a">234441648</span>
[  <span style="color:#cf694a">743.808746</span>] ata1.00: ATA-8: Hitachi HTS542512K9SA00, BB2OC31P, max UDMA/133
[  <span style="color:#cf694a">743.815699</span>] ata1.00: <span style="color:#cf694a">234439535</span> sectors, multi <span style="color:#cf694a">0</span>: LBA48 NCQ (depth <span style="color:#cf694a">32</span>), AA
[  <span style="color:#cf694a">743.823749</span>] ata1.00: configured <span style="color:#f9ee9a">for</span> UDMA/133
[  <span style="color:#cf694a">743.828182</span>] scsi <span style="color:#cf694a">0</span>:0:0:0: Direct-Access     ATA      Hitachi HTS54251 C31P PQ: <span style="color:#cf694a">0</span> ANSI: <span style="color:#cf694a">5</span>
[  <span style="color:#cf694a">743.836710</span>] sd <span style="color:#cf694a">0</span>:0:0:0: [sda] <span style="color:#cf694a">234439535</span> <span style="color:#cf694a">512</span>-byte logical blocks: (<span style="color:#cf694a">120</span> GB/112 GiB)
[  <span style="color:#cf694a">743.844204</span>] sd <span style="color:#cf694a">0</span>:0:0:0: [sda] Write Protect is off
[  <span style="color:#cf694a">743.848992</span>] sd <span style="color:#cf694a">0</span>:0:0:0: [sda] Mode Sense: 00 3a 00 00
[  <span style="color:#cf694a">743.854075</span>] sd <span style="color:#cf694a">0</span>:0:0:0: [sda] Write cache: enabled, <span style="color:#f9ee9a">read</span> cache: enabled, doesn't support DPO or FUA
[  <span style="color:#cf694a">744.221268</span>]  sda: sda1 sda2
[  <span style="color:#cf694a">744.224485</span>] sd <span style="color:#cf694a">0</span>:0:0:0: [sda] Attached SCSI disk
[  <span style="color:#cf694a">744.459896</span>] EXT4-fs (sda1): The kernel was not built with CONFIG_QUOTA and CONFIG_QFMT_V2
root@R4CN:/<span style="color:#787878">#</span>
root@R4CN:/<span style="color:#787878">#</span>
root@R4CN:/<span style="color:#787878"># cat /proc/partitions</span>
major minor  <span style="color:#787878">#blocks  name</span><span style="color:#cf694a">31</span>        <span style="color:#cf694a">0</span>     <span style="color:#cf694a">131072</span> mtdblock0<span style="color:#cf694a">31</span>        <span style="color:#cf694a">1</span>       <span style="color:#cf694a">1024</span> mtdblock1<span style="color:#cf694a">31</span>        <span style="color:#cf694a">2</span>        <span style="color:#cf694a">512</span> mtdblock2<span style="color:#cf694a">31</span>        <span style="color:#cf694a">3</span>       <span style="color:#cf694a">4096</span> mtdblock3<span style="color:#cf694a">31</span>        <span style="color:#cf694a">4</span>       <span style="color:#cf694a">2048</span> mtdblock4<span style="color:#cf694a">31</span>        <span style="color:#cf694a">5</span>     <span style="color:#cf694a">115200</span> mtdblock5
<span style="color:#cf694a">179</span>        <span style="color:#cf694a">0</span>    <span style="color:#cf694a">7634944</span> mmcblk0
<span style="color:#cf694a">253</span>        <span style="color:#cf694a">0</span>      <span style="color:#cf694a">56172</span> ubiblock0_1<span style="color:#cf694a">8</span>        <span style="color:#cf694a">0</span>  <span style="color:#cf694a">117219767</span> sda<span style="color:#cf694a">8</span>        <span style="color:#cf694a">1</span>    <span style="color:#cf694a">8388608</span> sda1<span style="color:#cf694a">8</span>        <span style="color:#cf694a">2</span>    <span style="color:#cf694a">2097152</span> sda2
root@R4CN:/<span style="color:#787878">#</span></code></span></span></span></span>
复制

PCIe 转 USB

BPI-R4 还支持 ASMedia 的 ASM2142。但该模块需要额外的5V电源。

复制

该模块可以用在M.2 KEYB插槽上(但是模块尺寸为2260,没有地方可以修复)

复制

Wi-Fi7网卡

您可以将BPI-R4-NIC插入BPI-R4-Main底部的CN12和CN14,然后用两颗M2螺钉固定。

BPI-R4-NIC 模块需要 12V 电源,因此上电前必须先打开 BPI-R4-Main 上的电源(SW4 拨至“ON”位置,上电时 12V LED 会亮起)在)

12V 电源将通过 miniPCI 插座的 PIN6/8/48 提供给 BPI-R4-NIC。插接其他模块时,如果无法确认模块是否能承受12V,请务必关闭SW4。

BPI-R4-NIC-BE14

BPI-R4-NIC-BE14 框图:MT7995AV+MT7976CN+MT7977IAN

<span style="color:#424242"><span style="background-color:#ffffff"><span style="background-color:#212121"><span style="color:#ffffff"><code class="language-bash">root@OpenWrt:/<span style="color:#787878"># lspci</span>
0000:00:00.0 PCI bridge: MEDIATEK Corp. Device <span style="color:#cf694a">7988</span> (rev 01)
0000:01:00.0 Network controller: MEDIATEK Corp. Device <span style="color:#cf694a">7990</span>
0001:00:00.0 PCI bridge: MEDIATEK Corp. Device <span style="color:#cf694a">7988</span> (rev 01)
0001:01:00.0 Network controller: MEDIATEK Corp. Device <span style="color:#cf694a">7991</span>
0004:00:00.0 Unclassified device [0002]: MEDIATEK Corp. Device <span style="color:#cf694a">7981</span></code></span></span></span></span>
复制

BPI-R4-NIC-BE19

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/658066.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

计算机服务器中了halo勒索病毒怎么办,halo勒索病毒解密

在网络技术飞速发展的今天&#xff0c;越来越多的企业依赖数字化办公&#xff0c;为企业的生产生活提供了极大便利&#xff0c;但网络是一把双刃剑&#xff0c;网络安全威胁无处不在。近期&#xff0c;云天数据恢复中心接到很多企业的求助&#xff0c;企业的计算机服务器中了ha…

【Java】实现图书管理系统

文章目录 1. 设计背景2. 需求分析3. 设计思路4. 实现4.1 book包4.1.1 Book类4.1.2 BookList类(书架) 4.2 user包4.2.1 User 类4.2.2 AdminUser类&#xff08;管理员用户&#xff09;4.2.3 NormalUser类&#xff08;普通用户&#xff09; 4.3 operation包4.3.1 IOPeration接口4.…

Maven基本使用

Maven简介: Apache Maven 是一个项目管理和构建工具&#xff0c;它基于项目模型(POM)的概念&#xff0c;通过一小段描述信息来管理项目的构建&#xff0c;报告和文档 Maven的作用: (1&#xff09;项目搭建&#xff1b; &#xff08;2&#xff09;依赖管理&#xff1b; &#xf…

Mac Monitor:一款为macOS安全研究量身定制的高级独立系统监控工具

关于Mac Monitor Mac Monitor是一款功能强大的高级独立系统安全监控工具&#xff0c;该工具专为macOS安全研究、恶意软件分类和系统故障排除而设计&#xff0c;主要基于Apple Endpoint Security&#xff08;ES&#xff09;实现其功能。 Mac Monitor能够收集各种类型的系统事件…

ASP.NET Core 过滤器 使用依赖项注入

过滤器是 ASP.NET Core 中的特殊组件&#xff0c;允许我们在请求管道的特定阶段控制请求的执行。这些过滤器在中间件执行后以及 MVC 中间件匹配路由并调用特定操作时发挥作用。 简而言之&#xff0c;过滤器提供了一种在操作级别自定义应用程序行为的方法。它们就像检查点&#…

CCF CSP 202312-2因子化简

题目描述 样例 输入 3 2155895064 3 2 2 10000000000 10 输出 2238728 1 10000000000 基本思路 首先&#xff0c;要找出构成n的所有素因子&#xff0c;这些因子满足两个条件&#xff1a;是素数&#xff08;函数判断&#xff09;&#xff0c;且能被n或n的中间值整除&#xf…

【RT-DETR有效改进】CARAFE提高精度的上采样方法(助力细节长点)

👑欢迎大家订阅本专栏,一起学习RT-DETR👑 一、本文介绍 本文给大家带来的CARAFE(Content-Aware ReAssembly of FEatures)是一种用于增强卷积神经网络特征图的上采样方法。其主要旨在改进传统的上采样方法(就是我们的Upsample)的性能。CARAFE的核心思想是:使用输…

ONLYOFFICE:兼顾协作与安全的开源办公套件

文章目录 前言ONLYOFFICE是什么&#xff1f;ONLYOFFICE的特点多人在线协同灵活集成安全可靠跨平台和设备扩展丰富 实操注册登录编写文档插件安装智谱CopilotDraw.io 新版强势功能显示协作者头像插件 UI 界面更新 总结 前言 随着数字化时代的到来&#xff0c;越来越多的文档处理…

操作系统-线程的实现方式和多线程模型(用户级线程 内核级线程 多线程模型的情况)和线程的状态,转换,组织,控制

文章目录 线程的实现方式和多线程模型总览线程的实现方式用户级线程内核级线程多线程模型一对一多对一多对多 小结 线程的状态,转换,组织,控制总览 线程的状态与转换线程的组织与控制 线程的实现方式和多线程模型 总览 线程的实现方式 用户级线程 程序自己通过自己设计的线程…

06 单目初始化器 Initializer

文章目录 06 单目初始化器 Initializer6.1 成员变量/函数6.2 初始化函数 Initialize()6.3 计算基础矩阵 F \boldsymbol{F} F 和单应矩阵 H \boldsymbol{H} H6.3.1 RANSAC 算法6.3.2 八点法计算 F \boldsymbol{F} F 矩阵: ComputeF21()6.3.3 计算基础矩阵 F \boldsymbol{F} …

怎么使用cmd命令来进行Vue脚手架的项目搭建

前言 使用vue搭建项目的时候&#xff0c;我们可以通过对应的cmd命令去打开脚手架&#xff0c;然后自己配置对应的功能插件 怎么打开 我们打开对应的cmd命令之后就开始进入对应的网站搭建 vue ui 然后我们就打开对应的项目管理器来进行配置----这里我们打开开始创建新的项目…

【VS Code+Verilog+Vivado使用】(2)基本设置

文章目录 2 基本设置2.1 字体大小2.2 Tab大小2.3 选中高亮2.4 文件编码 2 基本设置 2.1 字体大小 方法1&#xff1a;VS Code左下角 > 管理 > 设置&#xff0c;搜索"font size"&#xff0c;点击左侧"字体"&#xff0c;根据需要设置"editor.fon…

穷游网酒店数据采集与可视化分析与实现

摘 要 穷游网酒店数据采集与可视化分析大屏的背景是为了满足用户对酒店数据的需求以及提供数据洞察和决策支持。随着旅游业的快速发展&#xff0c;人们对酒店信息的需求日益增加&#xff0c;而穷游网作为一家专注于旅游信息的网站&#xff0c;拥有丰富的酒店数据资源。 这个大…

回归预测 | Matlab实现CPO-SVR冠豪猪优化支持向量机的数据多输入单输出回归预测

回归预测 | Matlab实现CPO-SVR冠豪猪优化支持向量机的数据多输入单输出回归预测 目录 回归预测 | Matlab实现CPO-SVR冠豪猪优化支持向量机的数据多输入单输出回归预测预测效果基本描述程序设计参考资料 预测效果 基本描述 1.Matlab实现CPO-SVR冠豪猪优化支持向量机的数据多输入…

Flink实战四_TableAPISQL

接上文&#xff1a;Flink实战三_时间语义 1、Table API和SQL是什么&#xff1f; 接下来理解下Flink的整个客户端API体系&#xff0c;Flink为流式/批量处理应用程序提供了不同级别的抽象&#xff1a; 这四层API是一个依次向上支撑的关系。 Flink API 最底层的抽象就是有状态实…

腾讯mini项目总结-指标监控服务重构

项目概述 本项目的背景是&#xff0c;当前企业内部使用的指标监控服务的方案的成本很高&#xff0c;无法符合用户的需求&#xff0c;于是需要调研并对比测试市面上比较热门的几款开源的监控方案&#xff08;选择了通用的OpenTelemetry协议&#xff1a;Signoz&#xff0c;otel-…

JVM学习

1.Java虚拟机内部有哪些线程共享&#xff0c;那些线程隔离 程序计数器&#xff1a; 通过改变这个计数器的值来选取下一条需要执行的字节码命令 Java虚拟机栈&#xff1a; 栈&#xff0c;每个方法被执行时&#xff0c;Java虚拟机都会同步的创建一个栈帧用于存储局部变量表&…

java 实现微信公众号关键字自动回复

接上一篇内容https://blog.csdn.net/YISHENGYOUNI95/article/details/134383219 因为设置了公众号的服务器配置&#xff0c;导致之前设置的公众号自动回复失效了 需要通过之前配置的接口实现自动回复 参考一下官方文档回复文本消息 | 微信开放文档 根据用户发送的消息&#…

中国的茶文化:历史、传统与生活

中国的茶文化&#xff1a;历史、传统与生活 一、引言 茶&#xff0c;这一神奇而古老的饮品&#xff0c;与中国的历史、文化和生活方式紧密相连。中国的茶文化&#xff0c;源远流长&#xff0c;博大精深&#xff0c;是中华文明的重要组成部分。它不仅是一种饮料&#xff0c;更是…

Jedis连接池究竟是何物?

一、前言 连接池的用途实际上有过开发经验的朋友都已经比较清楚了&#xff0c;当资源对象的创建/销毁比较耗时的场景下&#xff0c;可以通过"池化"技术&#xff0c;达到资源的复用&#xff0c;以此来减少系统的开销、增大系统吞吐量&#xff0c;比如数据库连接池、线…