DroZDi
March 5, 2024, 7:02am
1
Hi
I decided to created separted topic (and to not confuse more with "A new dual 10G router based on Filogic 880 (Banana Pi BPi -R4)") to focus only on NIC BE200 under Banana Pi BPI-R4, how to configure and make it working.
In my router the card is placed in CN14 miniPCIe slot with the adapter.
In slot CN12 miniPCIe I have MT7922 card.
root@BPI-R4:~# lspci
0000:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)
0000:01:00.0 Network controller: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter
0001:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01) >> I guess here BE200 should be visible?
0002:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)
0002:01:00.0 Non-Volatile memory controller: Sandisk Corp SanDisk Ultra 3D / WD Blue SN550 NVMe SSD (rev 01)
Not sure if there is an issue with miniPCIe as per https://forum.banana-pi.org/t/banana-pi-bpi-r4-wifi-7-router-board-with-mediatek-mt7988a-filogic-880-4g-ram-and-8g-emmc/15757/241 ?
and by now not working
1 Like
DroZDi
March 5, 2024, 8:31am
2
Another issue I have got is that from time to time when I compile new image I have problem with kernel modules:
iwlwifi-firmware-be200
kmod-iwlwifi
root@BPI-R4:~# opkg install kmod-iwlwifi
Unknown package 'kmod-iwlwifi'.
Collected errors:
pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.79-1-623c9e94575bfb1c74c4f7e8e8d139f9) for kmod-iwlwifi
pkg_hash_fetch_best_installation_candidate: Packages for kmod-iwlwifi found, but incompatible with the architectures configured
opkg_install_cmd: Cannot install package kmod-iwlwifi.
root@BPI-R4:~# lsmod |grep -i wifi
root@BPI-R4:~#
DroZDi
March 5, 2024, 9:53am
4
OK fixed with new image r25394-93610492b6:
root@BPI-R4:/nvme/work/oled# lspci
0000:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)
0000:01:00.0 Network controller: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter
0001:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)
0002:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)
0002:01:00.0 Non-Volatile memory controller: Sandisk Corp SanDisk Ultra 3D / WD Blue SN550 NVMe SSD (rev 01)
root@BPI-R4:/nvme/work/oled# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux 6.1.80 xhci-hcd xHCI Host Controller
Bus 001 Device 002: ID 2109:2822 VIA Labs, Inc. USB2.0 Hub
Bus 001 Device 003: ID 8087:0036
Bus 001 Device 004: ID 0489:e0e2 MediaTek Inc. Wireless_Device
Bus 001 Device 005: ID 2109:8822 VIA Labs, Inc. USB Billboard Device
Bus 002 Device 001: ID 1d6b:0003 Linux 6.1.80 xhci-hcd xHCI Host Controller
Bus 002 Device 002: ID 2109:0822 VIA Labs, Inc. USB3.1 Hub
Bus 002 Device 003: ID 0e8d:7127 Fibocom Wireless Inc. FM350-GL
root@BPI-R4:/nvme/work/oled# lsmod |grep wifi
iwlwifi 253952 2 iwldvm,iwlmvm
cfg80211 307200 9 iwldvm,mt76,mt7996e,iwlmvm,mt7915e,iwlwifi,mac80211,mt7921_common,mt76_connac_lib
compat 16384 5 iwldvm,iwlmvm,iwlwifi,mac80211,cfg80211
but BE200 still not discovered
DroZDi
March 5, 2024, 9:59am
5
as @daniel said it is a bluetooth part of BE200 so I guess my adapter is working
root@BPI-R4:~# opkg list-installed |grep -i be200
iwlwifi-firmware-be200 - 20231211-2
root@BPI-R4:~# dmesg |grep -i firmware
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 11.792843] mt7921e 0000:01:00.0: WM Firmware Version: ____000000, Build Time: 20231120183441
but not loading firmware to be200? it should be enabled somehow in dts file???
daniel
March 5, 2024, 4:19pm
6
Or at least the USB part of it -- which is (for some adapters intended for WWAN modems with SIM card) the only thing the adapter takes care of.
However, which slot are you using to add the BE200? PCIe signals on the M.2 slot on the top-side of the board don't work yet (not just for this card, but in general). I'm working with MediaTek on a solution.
DroZDi
March 5, 2024, 4:21pm
7
I have changed be200 adapter and wifi cards in adapters to be sure no issue with.
MT7922 works all the time in miniPCI slot as BE200 not recognized, I only see this:
root@BPI-R4:/nvme/work/oled# lspci
0000:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)
0001:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)
0001:01:00.0 Network controller: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter
0002:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)
0002:01:00.0 Non-Volatile memory controller: Sandisk Corp SanDisk Ultra 3D / WD Blue SN550 NVMe SSD (rev 01)
root@BPI-R4:/nvme/work/oled# cd ../..
root@BPI-R4:/nvme# dmesg |grep -i wifi
[ 5.744895] FIT: flat_dt sub-image 0x0054f000..0x0054f8eb "fdt-mt7988a-bananapi-bpi-r4-wifi-mt7996a" (ARM64 OpenWrt bananapi_bpi-r4 device tree overlay mt7988a-bananapi-bpi-r4-wifi-mt7996a)
[ 11.124939] Intel(R) Wireless WiFi driver for Linux
and nothing more as above:
root@BPI-R4:/nvme# lspci
0000:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)
0001:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)
0001:01:00.0 Network controller: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter
0002:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)
0002:01:00.0 Non-Volatile memory controller: Sandisk Corp SanDisk Ultra 3D / WD Blue SN550 NVMe SSD (rev 01)
root@BPI-R4:/nvme#
DroZDi
March 5, 2024, 6:18pm
8
daniel:
However, which slot are you using to add the BE200? PCIe signals on the M.2 slot on the top-side of the board don't work yet (not just for this card, but in general). I'm working with MediaTek on a solution.
Im using MT7922 in both slots CN12/CN14 miniPCIe and it works. Problem is with BE200 but probably I have a bad adaptor....?
@DroZDi I think that I have similar issue with my be200 card and wrong adapter.
I consider to buy this adapter https://asiarf.com/product/m2a2mp-c01-1-mini-pcie-to-m-2_e-key-adapter/ but I need to read about it first.
Maybe this weekend I will have some laptop to test card with and without adapter. I will share test results later
Did you try do a test with kernel 6.6? I take out card two days ago before moving to new kernel. I also got a plan to test during the weekend.
Example build you can find on my GH
daniel
March 6, 2024, 1:07am
12
This is the right type of adapter and if it works with MT7922 it should work with BE200 just as well. Of course, there are reasons beyond the adapter why it doesn't work, such as PCIe reset timing, or even analog signal problems similar to what we had on the BPi-R64 where some capacitors were missing...
DroZDi
March 6, 2024, 7:37am
13
that's why going to test other adapters...
No I didnt but maybe on weekend I will get a try
So I connected BE200 as in attached picture:
and on kernel 6.6 seems to be better - it still does not work, but
the lspci:
root@BPI-R4:~# lspci
0000:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)
0001:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)
0001:01:00.0 Network controller: MEDIATEK Corp. MT7921 802.11ax PCI Express Wireless Network Adapter
or dmesg:
root@BPI-R4:~# dmesg | grep -iE 'intel|wireless'
[ 10.122989] Intel(R) Wireless WiFi driver for Linux
does not bring much, but when I dig more in the dmesg there is finally some information:
[ 0.050422] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.051278] mtk-xsphy soc:xphy@11e10000: failed to get ref_clk(id-1)
[ 0.051737] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[ 0.051755] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[ 0.051767] mtk-pcie-gen3 11280000.pcie: IO 0x0020000000..0x00201fffff -> 0x0020000000
[ 0.051780] mtk-pcie-gen3 11280000.pcie: MEM 0x0020200000..0x0027ffffff -> 0x0020200000
[ 0.051884] mtk-pcie-gen3 11290000.pcie: host bridge /soc/pcie@11290000 ranges:
[ 0.051894] mtk-pcie-gen3 11290000.pcie: Parsing ranges property...
[ 0.051905] mtk-pcie-gen3 11290000.pcie: IO 0x0028000000..0x00281fffff -> 0x0028000000
[ 0.051914] mtk-pcie-gen3 11290000.pcie: MEM 0x0028200000..0x002fffffff -> 0x0028200000
[ 0.051934] /soc/pcie@11290000: Failed to get clk index: 0 ret: -517
[ 0.051942] mtk-pcie-gen3 11290000.pcie: failed to get clocks
[ 0.052002] mtk-pcie-gen3 11300000.pcie: host bridge /soc/pcie@11300000 ranges:
[ 0.052012] mtk-pcie-gen3 11300000.pcie: Parsing ranges property...
[ 0.052022] mtk-pcie-gen3 11300000.pcie: IO 0x0030000000..0x00301fffff -> 0x0030000000
[ 0.052030] mtk-pcie-gen3 11300000.pcie: MEM 0x0030200000..0x0037ffffff -> 0x0030200000
[ 0.052046] /soc/pcie@11300000: Failed to get clk index: 0 ret: -517
[ 0.052053] mtk-pcie-gen3 11300000.pcie: failed to get clocks
[ 0.052126] mtk-pcie-gen3 11310000.pcie: host bridge /soc/pcie@11310000 ranges:
[ 0.052137] mtk-pcie-gen3 11310000.pcie: Parsing ranges property...
[ 0.052146] mtk-pcie-gen3 11310000.pcie: IO 0x0038000000..0x00381fffff -> 0x0038000000
[ 0.052155] mtk-pcie-gen3 11310000.pcie: MEM 0x0038200000..0x003fffffff -> 0x0038200000
[ 0.052170] /soc/pcie@11310000: Failed to get clk index: 0 ret: -517
[ 0.052177] mtk-pcie-gen3 11310000.pcie: failed to get clocks
@daniel does it mean that there is a hope to get the BE200 work on kernel 6.6?
Maybe that would be helpful:
root@BPI-R4:~# cat /sys/kernel/debug/clk/clk_summary
enable prepare protect duty hardware
clock count count count rate accuracy phase cycle enable
-------------------------------------------------------------------------------------------------------
clkxtal 9 9 0 40000000 0 0 50000 Y
top_xtal 16 16 0 40000000 0 0 50000 Y
xfipll_pll 1 1 0 156250000 0 0 50000 Y
xfipll_pll_en 2 2 0 156250000 0 0 50000 Y
ethdma_gp3_en 1 1 0 40000000 0 0 50000 Y
ethdma_gp1_en 1 1 0 40000000 0 0 50000 Y
ethdma_gp2_en 1 1 0 40000000 0 0 50000 Y
ethdma_xgp3_en 1 1 0 40000000 0 0 50000 Y
ethdma_xgp2_en 1 1 0 40000000 0 0 50000 Y
ethdma_xgp1_en 1 1 0 40000000 0 0 50000 Y
sgm1_rx_en 0 0 0 40000000 0 0 50000 N
sgm1_tx_en 0 0 0 40000000 0 0 50000 N
sgm0_rx_en 1 1 0 40000000 0 0 50000 Y
sgm0_tx_en 1 1 0 40000000 0 0 50000 Y
infra_pcie_pipe_ck_p3 0 0 0 40000000 0 0 50000 N
infra_pcie_pipe_ck_p2 0 0 0 40000000 0 0 50000 N
infra_pcie_pipe_ck_p1 1 1 0 40000000 0 0 50000 Y
infra_pcie_pipe_ck_p0 1 1 0 40000000 0 0 50000 Y
infra_usb_utmi_ck_p1 1 1 0 40000000 0 0 50000 Y
infra_usb_utmi 0 0 0 40000000 0 0 50000 N
infra_usb_ck_p1 1 1 0 40000000 0 0 50000 Y
infra_usb_ref 0 0 0 40000000 0 0 50000 N
uart_sel 1 1 0 40000000 0 0 50000 Y
infra_mux_uart2_sel 0 0 0 40000000 0 0 50000 Y
infra_f_52m_uart2 0 0 0 40000000 0 0 50000 N
infra_mux_uart1_sel 0 0 0 40000000 0 0 50000 Y
infra_f_52m_uart1 0 0 0 40000000 0 0 50000 N
infra_mux_uart0_sel 1 1 0 40000000 0 0 50000 Y
infra_f_52m_uart0 1 1 0 40000000 0 0 50000 Y
top_rtc_32p7k 0 0 0 32786 0 0 50000 Y
top_rtc_32k 1 1 0 32000 0 0 50000 Y
infra_f_frtc 1 1 0 32000 0 0 50000 Y
top_xtal_d2 0 0 0 20000000 0 0 50000 Y
pextp_sel 0 0 0 20000000 0 0 50000 N
da_sel 0 0 0 20000000 0 0 50000 N
ckm_sel 0 0 0 20000000 0 0 50000 N
msdcpll 0 0 0 400000000 0 0 50000 Y
emmc_400m_sel 0 0 0 400000000 0 0 50000 N
infra_f_fmsdc400 0 0 0 400000000 0 0 50000 N
usxgmiipll 0 0 0 644531250 0 0 50000 Y
ccipll2_b 1 1 0 900000000 0 0 50000 Y
mcu_bus_div_sel 1 1 0 900000000 0 0 50000 Y
arm_b 2 2 0 800000000 0 0 50000 Y
mcu_arm_div_sel 2 2 0 800000000 0 0 50000 Y
sgmpll 2 2 0 325000000 0 0 50000 Y
macsec_sel 0 0 0 325000000 0 0 50000 N
sgm_1_sel 1 1 0 325000000 0 0 50000 Y
sgm_0_sel 1 1 0 325000000 0 0 50000 Y
wedmcupll 0 0 0 208000000 0 0 50000 Y
net2pll 8 8 0 800000000 0 0 50000 Y
ck_npu_sel 0 0 0 800000000 0 0 50000 N
npu_tops_sel 0 0 0 800000000 0 0 50000 N
netsys_mcu_sel 3 3 0 800000000 0 0 50000 Y
ethwarp_wocpu0_en 1 1 0 800000000 0 0 50000 Y
ethwarp_wocpu1_en 1 1 0 800000000 0 0 50000 Y
ethwarp_wocpu2_en 1 1 0 800000000 0 0 50000 Y
netsys_2x_sel 1 1 0 800000000 0 0 50000 Y
ethdma_fe_en 1 1 0 800000000 0 0 50000 Y
net2pll_d8 0 0 0 100000000 0 0 50000 Y
da_xtp_glb_p3_sel 0 0 0 100000000 0 0 50000 N
da_xtp_glb_p2_sel 0 0 0 100000000 0 0 50000 N
da_xtp_glb_p1_sel 0 0 0 100000000 0 0 50000 N
da_xtp_glb_p0_sel 0 0 0 100000000 0 0 50000 N
net2pll_d6 2 2 0 133333333 0 0 50000 Y
pextp_tl_p3_sel 0 0 0 133333333 0 0 50000 N
infra_pcie_gfmux_tl_o_p3_sel 0 0 0 133333333 0 0 50000 Y
infra_pcie_gfmux_tl_ck_p3 0 0 0 133333333 0 0 50000 N
pextp_tl_p2_sel 0 0 0 133333333 0 0 50000 N
infra_pcie_gfmux_tl_o_p2_sel 0 0 0 133333333 0 0 50000 Y
infra_pcie_gfmux_tl_ck_p2 0 0 0 133333333 0 0 50000 N
pextp_tl_p1_sel 1 1 0 133333333 0 0 50000 Y
infra_pcie_gfmux_tl_o_p1_sel 1 1 0 133333333 0 0 50000 Y
infra_pcie_gfmux_tl_ck_p1 1 1 0 133333333 0 0 50000 Y
pextp_tl_sel 1 1 0 133333333 0 0 50000 Y
infra_pcie_gfmux_tl_o_p0_sel 1 1 0 133333333 0 0 50000 Y
infra_pcie_gfmux_tl_ck_p0 1 1 0 133333333 0 0 50000 Y
net2pll_d4_d8 1 1 0 25000000 0 0 50000 Y
eth_mii_sel 1 1 0 25000000 0 0 50000 Y
net2pll_d4_d4 1 1 0 50000000 0 0 50000 Y
eth_refck_50m_sel 1 1 0 50000000 0 0 50000 Y
net2pll_d4 1 1 0 200000000 0 0 50000 Y
eth_sys_200m_sel 1 1 0 200000000 0 0 50000 Y
net2pll_d2 2 2 0 400000000 0 0 50000 Y
netsys_warp_sel 1 1 0 400000000 0 0 50000 Y
netsys_tops_400m_sel 0 0 0 400000000 0 0 50000 N
netsys_sel 1 1 0 400000000 0 0 50000 Y
net1pll 7 7 0 2500000000 0 0 50000 Y
net1pll_d8_d16 0 0 0 19531250 0 0 50000 Y
net1pll_d8_d8 1 1 0 39062500 0 0 50000 Y
eth_xgmii_sel 1 1 0 39062500 0 0 50000 Y
net1pll_d8_d4 4 4 0 78125000 0 0 50000 Y
sgm_sbus_1_sel 1 1 0 78125000 0 0 50000 Y
sgm_sbus_0_sel 1 1 0 78125000 0 0 50000 Y
usxgmii_sbus_1_sel 1 1 0 78125000 0 0 50000 Y
usxgmii_sbus_0_sel 1 1 0 78125000 0 0 50000 Y
net1pll_d8_d2 2 2 0 156250000 0 0 50000 Y
sysaxi_sel 8 9 0 156250000 0 0 50000 Y
infra_133m_pcie_ck_p3 0 0 0 156250000 0 0 50000 N
infra_133m_pcie_ck_p2 0 0 0 156250000 0 0 50000 N
infra_133m_pcie_ck_p1 1 1 0 156250000 0 0 50000 Y
infra_133m_pcie_ck_p0 1 1 0 156250000 0 0 50000 Y
infra_66m_usb_hck_ck_p1 1 1 0 156250000 0 0 50000 Y
infra_66m_usb_hck 0 0 0 156250000 0 0 50000 N
infra_133m_usb_hck_ck_p1 1 1 0 156250000 0 0 50000 Y
infra_133m_usb_hck 0 0 0 156250000 0 0 50000 N
infra_hf_i2c_x16w_pck_ck_p1 0 0 0 156250000 0 0 50000 N
infra_hf_i2c_x16w_mck_ck_p1 0 0 0 156250000 0 0 50000 N
infra_hf_133m_cpum_bck 0 0 0 156250000 0 0 50000 N
infra_66m_msdc_0_hck 0 0 0 156250000 0 0 50000 N
infra_hf_133m_msdc_0_hck 0 0 0 156250000 0 0 50000 N
infra_hf_66m_flashif_axi 0 0 0 156250000 0 0 50000 N
infra_hf_66m_spi2_hck 0 0 0 156250000 0 0 50000 N
infra_hf_66m_spi1_hck 0 0 0 156250000 0 0 50000 N
infra_hf_66m_spi0_hck 1 1 0 156250000 0 0 50000 Y
infra_hf_66m_nfi_hck 1 1 0 156250000 0 0 50000 Y
infra_hf_66m_sej_bck 0 0 0 156250000 0 0 50000 N
infra_66m_ap_dma_bck 0 2 0 156250000 0 0 50000 N
infra_hf_133m_dbg_ackm 1 1 0 156250000 0 0 50000 Y
infra_66m_aud_slv_bck 0 0 0 156250000 0 0 50000 N
infra_hf_133m_cqdma_bck 0 0 0 156250000 0 0 50000 N
infra_hf_66m_pwm_hck 0 0 0 156250000 0 0 50000 N
infra_hf_66m_gpt_bck 0 0 0 156250000 0 0 50000 N
pwm_sel 0 0 0 156250000 0 0 50000 N
infra_pwm_ck8_sel 0 0 0 156250000 0 0 50000 Y
infra_hf_66m_pwm_ck8 0 0 0 156250000 0 0 50000 N
infra_pwm_ck7_sel 0 0 0 156250000 0 0 50000 Y
infra_hf_66m_pwm_ck7 0 0 0 156250000 0 0 50000 N
infra_pwm_ck6_sel 0 0 0 156250000 0 0 50000 Y
infra_hf_66m_pwm_ck6 0 0 0 156250000 0 0 50000 N
infra_pwm_ck5_sel 0 0 0 156250000 0 0 50000 Y
infra_hf_66m_pwm_ck5 0 0 0 156250000 0 0 50000 N
infra_pwm_ck4_sel 0 0 0 156250000 0 0 50000 Y
infra_hf_66m_pwm_ck4 0 0 0 156250000 0 0 50000 N
infra_pwm_ck3_sel 0 0 0 156250000 0 0 50000 Y
infra_hf_66m_pwm_ck3 0 0 0 156250000 0 0 50000 N
infra_pwm_ck2_sel 0 0 0 156250000 0 0 50000 Y
infra_hf_66m_pwm_ck2 0 0 0 156250000 0 0 50000 N
infra_pwm_ck1_sel 0 0 0 156250000 0 0 50000 Y
infra_hf_66m_pwm_ck1 0 0 0 156250000 0 0 50000 N
infra_pwm_sel 0 0 0 156250000 0 0 50000 Y
infra_hf_66m_pwm_bck 0 0 0 156250000 0 0 50000 N
axi_infra_sel 1 1 0 156250000 0 0 50000 Y
net1pll_d8 0 0 0 312500000 0 0 50000 Y
net1pll_d5_d4 3 4 0 125000000 0 0 50000 Y
usb_xhci_p1_sel 1 1 0 125000000 0 0 50000 Y
infra_usb_xhci_ck_p1 1 1 0 125000000 0 0 50000 Y
usb_xhci_sel 0 0 0 125000000 0 0 50000 N
infra_usb_xhci 0 0 0 125000000 0 0 50000 N
usb_sys_p1_sel 1 1 0 125000000 0 0 50000 Y
infra_usb_sys_ck_p1 1 1 0 125000000 0 0 50000 Y
usb_sys_sel 0 0 0 125000000 0 0 50000 N
infra_usb_sys 0 0 0 125000000 0 0 50000 N
i2c_sel 0 1 0 125000000 0 0 50000 N
infra_i2c_bck 0 2 0 125000000 0 0 50000 N
spinfi_sel 0 0 0 125000000 0 0 50000 N
infra_f_fspinfi 0 0 0 125000000 0 0 50000 N
eth_gmii_sel 1 1 0 125000000 0 0 50000 Y
net1pll_d5_d2 3 3 0 250000000 0 0 50000 Y
netsys_ppefb_250m_sel 1 1 0 250000000 0 0 50000 Y
netsys_sync_250m_sel 1 1 0 250000000 0 0 50000 Y
eth_sys_sel 1 1 0 250000000 0 0 50000 Y
pcie_mbist_250m_sel 0 0 0 250000000 0 0 50000 N
emmc_250m_sel 0 0 0 250000000 0 0 50000 N
infra_f_fmsdc2_hck 0 0 0 250000000 0 0 50000 N
net1pll_d5 1 1 0 500000000 0 0 50000 Y
bus_tops_sel 0 0 0 500000000 0 0 50000 N
netsys_500m_sel 1 1 0 500000000 0 0 50000 Y
net1pll_d4 1 1 0 625000000 0 0 50000 Y
mcusys_backup_625m_sel 0 0 0 625000000 0 0 50000 N
netsys_gsw_sel 1 1 0 625000000 0 0 50000 Y
ethdma_esw_en 1 1 0 625000000 0 0 50000 Y
apll2 0 0 0 196608000 0 0 50000 Y
aud_l_sel 0 0 0 196608000 0 0 50000 N
infra_f_faud_l 0 0 0 196608000 0 0 50000 N
aud_sel 0 0 0 196608000 0 0 50000 N
aud_i2s_m 0 0 0 24576000 0 0 50000 N
apll2_d4 0 0 0 49152000 0 0 50000 Y
a_tuner_sel 0 0 0 49152000 0 0 50000 N
infra_f_faud_eg2 0 0 0 49152000 0 0 50000 N
a1sys_sel 0 0 0 49152000 0 0 50000 N
infra_f_aud_aud 0 0 0 49152000 0 0 50000 N
mmpll 2 2 0 720000000 0 0 50000 Y
netsys_pao_2x_sel 1 1 0 720000000 0 0 50000 Y
mmpll_d8 0 0 0 90000000 0 0 50000 Y
mmpll_d6_d2 0 0 0 60000000 0 0 50000 Y
mmpll_d4 0 0 0 180000000 0 0 50000 Y
nfi1x_sel 0 0 0 180000000 0 0 50000 N
infra_hf_fbist2fpc 0 0 0 180000000 0 0 50000 N
infra_f_fnfi 0 0 0 180000000 0 0 50000 N
mmpll_d3_d5 2 2 0 48000000 0 0 50000 Y
usb_frmcnt_p1_sel 1 1 0 48000000 0 0 50000 Y
infra_usb_frmcnt_ck_p1 1 1 0 48000000 0 0 50000 Y
usb_frmcnt_sel 1 1 0 48000000 0 0 50000 Y
infra_usb_frmcnt 1 1 0 48000000 0 0 50000 Y
mmpll_d2 0 0 0 360000000 0 0 50000 Y
mpll 3 3 0 416000000 0 0 50000 Y
mpll_d8_d2 5 5 0 26000000 0 0 50000 Y
tops_p2_26m_sel 0 0 0 26000000 0 0 50000 N
pextp_p3_sel 0 0 0 26000000 0 0 50000 N
pextp_p2_sel 0 0 0 26000000 0 0 50000 N
pextp_p1_sel 0 0 0 26000000 0 0 50000 N
pextp_p0_sel 0 0 0 26000000 0 0 50000 N
csw_infra_f26m_sel 5 5 0 26000000 0 0 50000 Y
infra_f_26m_adc_bck 0 0 0 26000000 0 0 50000 N
infra_f_frc_adc 0 0 0 26000000 0 0 50000 N
infra_hf_26m_therm_system 1 1 0 26000000 0 0 50000 Y
infra_pre_ck_sej_f13m 0 0 0 26000000 0 0 50000 N
infra_dramc_f26m 1 1 0 26000000 0 0 50000 Y
infra_f_faud_26m 0 0 0 26000000 0 0 50000 N
infra_pcie_peri_ck_26m_ck_p3 0 0 0 26000000 0 0 50000 N
infra_pcie_peri_ck_26m_ck_p2 0 0 0 26000000 0 0 50000 N
infra_pcie_peri_ck_26m_ck_p1 1 1 0 26000000 0 0 50000 Y
infra_pcie_peri_ck_26m_ck_p0 1 1 0 26000000 0 0 50000 Y
dramc_sel 1 1 0 26000000 0 0 50000 Y
xfi_phy_1_xtal_sel 1 1 0 26000000 0 0 50000 Y
xfi_phy_0_xtal_sel 1 1 0 26000000 0 0 50000 Y
usb_phy_sel 1 1 0 26000000 0 0 50000 Y
infra_usb_pipe_ck_p1 1 1 0 26000000 0 0 50000 Y
sspxtp_sel 0 0 0 26000000 0 0 50000 N
infra_usb_pipe 0 0 0 26000000 0 0 50000 N
mpll_d8 0 0 0 52000000 0 0 50000 Y
mpll_d4 0 0 0 104000000 0 0 50000 Y
mpll_d3_d2 1 1 0 208000000 0 0 50000 Y
sysapb_sel 1 1 0 208000000 0 0 50000 Y
mpll_d2 2 2 0 208000000 0 0 50000 Y
dramc_md32_sel 1 1 0 208000000 0 0 50000 Y
spim_mst_sel 0 0 0 208000000 0 0 50000 N
infra_mux_spi1_sel 0 0 0 208000000 0 0 50000 Y
infra_hf_104m_spi1 0 0 0 208000000 0 0 50000 N
spi_sel 2 2 0 208000000 0 0 50000 Y
infra_mux_spi2_sel 0 0 0 208000000 0 0 50000 Y
infra_hf_104m_spi2_bck 0 0 0 208000000 0 0 50000 N
infra_mux_spi0_sel 1 1 0 208000000 0 0 50000 Y
infra_hf_104m_spi0 1 1 0 208000000 0 0 50000 Y
netsyspll 1 1 0 850000000 0 0 50000 Y
eip197_sel 1 1 0 850000000 0 0 50000 Y
ethdma_crypt0_en 1 1 0 850000000 0 0 50000 Y
Edit
It was mentioned here https://forum.banana-pi.org/t/banana-pi-bpi-r4-wifi-7-router-board-with-mediatek-mt7988a-filogic-880-4g-ram-and-8g-emmc/15757/241 - pcie@0x11280000 doesn’t work (probably missing clock)
small oftop:
I added the Intel BE200 card to the laptop and by connecting to the AX3200 (5GHz, 80MHz), I was able to get 780/600 Mb/s (download/upload) on Fedora 39, where on Windows 550/340Mb/s - ofc test is irreverent due I was doing test to nperf.com , not eg. to iperf3 server.
DroZDi
March 10, 2024, 7:26pm
16
I have the same on kernel 6.6:
root@BPI-R4:/nvme/work/oled# dmesg |grep -i firm
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 13.426375] mt7921e 0001:01:00.0: WM Firmware Version: ____000000, Build Time: 20231120183441
I see no firmware loaded for BE200 wifi card...
Thanks for confirmation. I will try to read more about the issue pcie@0x11280000 doesn’t work (probably missing clock - [https://forum.banana-pi.org/t/banana-pi-bpi-r4-wifi-7-router-board-with-mediatek-mt7988a-filogic-880-4g-ram-and-8g-emmc/15757/241 ] but it might be difficult this comming weeks (and its not my specialization)
DroZDi
March 11, 2024, 7:26am
18
Maybe Im wrong but pcie@0x11280000 is not in use here.
root@BPI-R4:/sys/devices/platform/soc# ls -ld pci
drwxr-xr-x 3 root root 0 Jan 1 1970 11280000.pcie
drwxr-xr-x 4 root root 0 Jan 1 1970 11290000.pcie
drwxr-xr-x 4 root root 0 Jan 1 1970 11300000.pcie
drwxr-xr-x 4 root root 0 Jan 1 1970 11310000.pcie
my wireless config:
soc/11310000.pcie/pci0001:00/0001:00:00.0/0001:01:00.0 >> MT7922
soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0 >> BE200
if I change wifi cards in pcie slots, my MT7922 works in both slots so I think the problem is different (maybe the adaptor)
DroZDi
March 12, 2024, 9:59am
19
As we have new firmware release: https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware.git/tag/?h=iwlwifi-fw-2024-03-10
I copied some files to my router and it seems still no success vs BE200.
DroZDi
March 12, 2024, 9:52pm
20
@daniel could it be a problem with power management as described here: https://easylinuxtipsproject.blogspot.com/p/intel-wifi.html ( Waking sleeping hardware (PCIe card))?
root@BPI-R4:/lib/firmware# dmesg | grep D3cold
[ 3.053510] pci 0002:00:00.0: PME# supported from D0 D3hot D3cold
[ 4.059434] pci 0000:00:00.0: PME# supported from D0 D3hot D3cold
[ 4.999578] pci 0001:00:00.0: PME# supported from D0 D3hot D3cold
[ 5.060790] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
Is it also possible to disable bluethoth somehow like above by bt_coex_active=N? I see no option for it and the system reboots always with:
root@BPI-R4:/lib/firmware# cat /sys/module/iwlwifi/parameters/bt_coex_active
Y