[Banana BPI-R4] how to BE200?

new 2 different adaptors I have checked today and no success :confused:
Status is like above. I have still the last adaptor to come and test...

Please wait until change: https://forum.banana-pi.org/t/bpi-r4-how-to-activate-key-b-pcie2-11280000-solved/17295/43 is not applied in OpenWRT.

bpir4bis

it is misleading... pcie2 dedicated for modem 5g is working fine for me - I have 5g modem attached....

You should know this by now.... These slots support both USB and PCIe bus connections, like the docs say. Your modem shows up in lsusb and not in lspci:

So your modem is connected to the USB bus only. Maybe because it doesn't support PCIe, or maybe because PCIe doesn't work in that slot.

OK thx for make it clear. if pcie2 now is fixed (clocks) I will check also how it will be with my modem.

Before on my 6.6 kernel:

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)

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

Now after clock fix on pcie3 (kernel 6.1):

root@OpenWrt:/sys/devices/platform/soc# cat /sys/kernel/debug/clk/clk_summary |g
rep -i pcie
infra_pcie_pipe_ck_p3 1 1 0 40000000 0 0 50000 Y
infra_pcie_pipe_ck_p2 1 1 0 40000000 0 0 50000 Y
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_pcie_gfmux_tl_o_p3_sel 1 1 0 133333333 0 0 50000 Y
infra_pcie_gfmux_tl_ck_p3 1 1 0 133333333 0 0 50000 Y
infra_pcie_gfmux_tl_o_p2_sel 1 1 0 133333333 0 0 50000 Y
infra_pcie_gfmux_tl_ck_p2 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
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
infra_133m_pcie_ck_p3 1 1 0 156250000 0 0 50000 Y
infra_133m_pcie_ck_p2 1 1 0 156250000 0 0 50000 Y
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
pcie_mbist_250m_sel 0 0 0 250000000 0 0 50000 N
infra_pcie_peri_ck_26m_ck_p3 2 2 0 26000000 0 0 50000 Y
infra_pcie_peri_ck_26m_ck_p2 1 1 0 26000000 0 0 50000 Y
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
root@OpenWrt:/sys/devices/platform/soc#

root@OpenWrt:/# 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)
0003:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)
0003:01:00.0 Wireless controller [0d40]: MEDIATEK Corp. Device 4d75 (rev 01) >> new device?

root@OpenWrt:/sys/devices/platform/soc# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux 6.1.81 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.81 xhci-hcd xHCI Host Controller
Bus 002 Device 002: ID 2109:0822 VIA Labs, Inc. USB3.1 Hub


it seems I lost communication to my modem via USB and new device appeared and showing up as MEDIATEK? (https://cateee.net/lkddb/web-lkddb/MTK_T7XX.html ??)

root@OpenWrt:/sys/devices/platform/soc# cat /sys/kernel/debug/clk/clk_summary |g
rep -i usb
...
infra_usb_pipe 1 1 0 26000000 0 0 50000 Y >>> in my old configuration on kernel 6.6 it is set to "N" and probably that's why my modem is not discovered now

and of course it doesnt fix BE200 - the card is stillnot found in system so no way to go forward with loading firmware...

The same behaviour I noticed for another Intel card AXE3000H (Chipset AX210)
Only this:
[ 10.122989] Intel(R) Wireless WiFi driver for Linux

and here I dont use any adapter...

1 Like