Banana Pi BPI-R4 4G/5G Module sim card missing in modem manager

Hello, Does anyone here had similar issue liked this?

I installed a 4G/5G modem on BPI-R4 in M.2 Key-B slot, but i got an issue the modem couldnt detect sim card in modemmanager. I tried with three different type of 4G/5G modem still no luck. Changing different firmware also didnt work.

Detail: ~

5G/4G Modem:

  1. Quectel RM520NGLAP-M20-SGASA(PCIe-Only)
  2. DW5821e Snapdragon X20 LTE(USB)
  3. Fibocom’s L850-GL(USB)

OpenWRT:

  1. Official Snapshot
  2. ImmortalWRT
  3. X-WRT
  4. R00ter

Logs: ~

Openwrt:

F0: 102B 0000
FA: 1042 0000
FA: 1042 0000 [0200]
F9: 1041 0000
F3: 1001 0000 [0200]
F3: 1001 0000
F6: 380E 5800
F5: 0000 0000
V0: 0000 0000 [0001]
00: 0000 0000
BP: 0600 0041 [0000]
G0: 1190 0000
EC: 0000 0000 [3000]
MK: 0000 0000 [0000]
T0: 0000 0156 [0101]
Jump to BL

NOTICE:  BL2: v2.9.0(release):OpenWrt v2023.10.13~0ea67d76-1 (mt7988-sdmmc-comb)
NOTICE:  BL2: Built : 22:41:02, May  3 2024

MMC read: dev # 0, block # 131072, count 256 ... 256 blocks read: OK

MMC read: dev # 0, block # 131072, count 26144 ... 26144 blocks read: OK
## Loading kernel from FIT Image at 50000000 ...
   Using 'config-mt7988a-bananapi-bpi-r4' configuration
   Trying 'kernel-1' kernel subimage
     Description:  ARM64 OpenWrt Linux-6.6.29
     Type:         Kernel Image
     Compression:  gzip compressed
     Data Start:   0x50001000
     Data Size:    5796607 Bytes = 5.5 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x46000000
     Entry Point:  0x46000000
     Hash algo:    crc32
     Hash value:   42359ed0
     Hash algo:    sha1
     Hash value:   e5ad74a4b54e12855ae837ee8a42d7ab6fd9ea2d
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 50000000 ...
   Using 'config-mt7988a-bananapi-bpi-r4' configuration
   Trying 'fdt-1' fdt subimage
     Description:  ARM64 OpenWrt bananapi_bpi-r4 device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x50589000
     Data Size:    43103 Bytes = 42.1 KiB
     Architecture: AArch64
     Load Address: 0x45f00000
     Hash algo:    crc32
     Hash value:   d6170e87
     Hash algo:    sha1
     Hash value:   f2901402421bcf14ec5f3430ae12959b07fbc11f
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Loading fdt from 0x50589000 to 0x45f00000
## Loading fdt from FIT Image at 50000000 ...
   Using 'mt7988a-bananapi-bpi-r4-sd' configuration
   Trying 'fdt-mt7988a-bananapi-bpi-r4-sd' fdt subimage
     Description:  ARM64 OpenWrt bananapi_bpi-r4 device tree overlay mt7988a-bananapi-bpi-r4-sd
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x50596000
     Data Size:    1482 Bytes = 1.4 KiB
     Architecture: AArch64
     Hash algo:    crc32
     Hash value:   d0a3ad77
     Hash algo:    sha1
     Hash value:   4ddb0442509f1e0e66f70270ad0aad5b57894599
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 50000000 ...
Could not find configuration node
load of <NULL> failed
   Booting using the fdt blob at 0x45f00000
Working FDT set to 45f00000
## Loading loadables from FIT Image at 50000000 ...
   Trying 'rootfs-1' loadables subimage
     Description:  ARM64 OpenWrt bananapi_bpi-r4 rootfs
     Type:         Filesystem Image
     Compression:  uncompressed
     Data Start:   0x50598000
     Data Size:    7520256 Bytes = 7.2 MiB
     Hash algo:    crc32
     Hash value:   ed9539d6
     Hash algo:    sha1
     Hash value:   e343590aa55b92beb1e62689a99edebf82fe5478
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Uncompressing Kernel Image
   Loading Device Tree to 00000000fe7b4000, end 00000000fe7c0b0b ... OK
Working FDT set to fe7b4000
set /chosen/rootdisk to bootrom media: rootdisk-sd (phandle 0x0000009c)

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd090]
[    0.000000] Linux version 6.6.29 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 13.2.0 r26161-3f7d8e20cd) 13.2.0, GNU ld (GNU Binuti4
[    0.000000] Machine model: Bananapi BPI-R4
[    0.000000] OF: reserved mem: 0x0000000042ff0000..0x0000000042ffffff (64 KiB) map non-reusable ramoops@42ff0000
[    0.000000] OF: reserved mem: 0x0000000043000000..0x000000004304ffff (320 KiB) nomap non-reusable secmon@43000000
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000013fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x0000000042ffffff]
[    0.000000]   node   0: [mem 0x0000000043000000-0x000000004304ffff]
[    0.000000]   node   0: [mem 0x0000000043050000-0x000000013fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000013fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.4
[    0.000000] percpu: Embedded 18 pages/cpu s35048 r8192 d30488 u73728
[    0.000000] pcpu-alloc: s35048 r8192 d30488 u73728 alloc=18*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: console=ttyS0,115200n1 pci=pcie_bus_perf root=/dev/fit0 rootwait
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x00000000fa7b4000-0x00000000fe7b4000] (64MB)
[    0.000000] Memory: 4034120K/4194304K available (8768K kernel code, 900K rwdata, 2564K rodata, 384K init, 304K bss, 160184K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 416 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[    0.000000] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[    0.000062] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[    0.000069] pid_max: default: 32768 minimum: 301
[    0.002140] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.002154] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.003566] spectre-v4 mitigation disabled by command-line option
[    0.003638] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.003917] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.003993] rcu: Hierarchical SRCU implementation.
[    0.003996] rcu:     Max phase no-delay instances is 1000.
[    0.004281] smp: Bringing up secondary CPUs ...
[    0.004492] Detected VIPT I-cache on CPU1
[    0.004524] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[    0.004547] CPU1: Booted secondary processor 0x0000000001 [0x411fd090]
[    0.004791] Detected VIPT I-cache on CPU2
[    0.004811] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000
[    0.004821] CPU2: Booted secondary processor 0x0000000002 [0x411fd090]
[    0.005045] Detected VIPT I-cache on CPU3
[    0.005065] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000
[    0.005075] CPU3: Booted secondary processor 0x0000000003 [0x411fd090]
[    0.005102] smp: Brought up 1 node, 4 CPUs
[    0.005106] SMP: Total of 4 processors activated.
[    0.005108] CPU features: detected: 32-bit EL0 Support
[    0.005110] CPU features: detected: CRC32 instructions
[    0.005128] spectre-bhb mitigation disabled by compile time option
[    0.005140] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.005143] CPU: All CPU(s) started at EL2
[    0.005144] alternatives: applying system-wide alternatives
[    0.008218] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.008229] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.009178] pinctrl core: initialized pinctrl subsystem
[    0.010025] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.010308] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.010409] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.010503] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.010776] thermal_sys: Registered thermal governor 'fair_share'
[    0.010778] thermal_sys: Registered thermal governor 'bang_bang'
[    0.010781] thermal_sys: Registered thermal governor 'step_wise'
[    0.010782] thermal_sys: Registered thermal governor 'user_space'
[    0.010819] ASID allocator initialised with 65536 entries
[    0.011542] pstore: Using crash dump compression: deflate
[    0.011547] printk: console [ramoops-1] enabled
[    0.011766] pstore: Registered ramoops as persistent store backend
[    0.011770] ramoops: using 0x10000@0x42ff0000, ecc: 0
[    0.018411] Modules: 29504 pages in range for non-PLT usage
[    0.018419] Modules: 521024 pages in range for PLT usage
[    0.019062] cryptd: max_cpu_qlen set to 1000
[    0.019780] SCSI subsystem initialized
[    0.019852] libata version 3.00 loaded.
[    0.020721] clocksource: Switched to clocksource arch_sys_counter
[    0.022384] NET: Registered PF_INET protocol family
[    0.022518] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.025086] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.025110] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.025120] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.025221] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[    0.025630] TCP: Hash tables configured (established 32768 bind 32768)
[    0.025720] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.025778] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.026106] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.026146] PCI: CLS 0 bytes, default 64
[    0.027009] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.030689] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.030695] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.048326] jitterentropy: Initialization failed with host not compliant with requirements: 9
[    0.048359] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.049229] mtk-xsphy soc:xphy@11e10000: failed to get ref_clk(id-1)
[    0.049728] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[    0.049745] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[    0.049758] mtk-pcie-gen3 11280000.pcie:       IO 0x0020000000..0x00201fffff -> 0x0020000000
[    0.049771] mtk-pcie-gen3 11280000.pcie:      MEM 0x0020200000..0x0027ffffff -> 0x0020200000
[    0.049871] mtk-pcie-gen3 11290000.pcie: host bridge /soc/pcie@11290000 ranges:
[    0.049881] mtk-pcie-gen3 11290000.pcie: Parsing ranges property...
[    0.049892] mtk-pcie-gen3 11290000.pcie:       IO 0x0028000000..0x00281fffff -> 0x0028000000
[    0.049902] mtk-pcie-gen3 11290000.pcie:      MEM 0x0028200000..0x002fffffff -> 0x0028200000
[    0.049921] /soc/pcie@11290000: Failed to get clk index: 0 ret: -517
[    0.049929] mtk-pcie-gen3 11290000.pcie: failed to get clocks
[    0.049991] mtk-pcie-gen3 11300000.pcie: host bridge /soc/pcie@11300000 ranges:
[    0.050001] mtk-pcie-gen3 11300000.pcie: Parsing ranges property...
[    0.050011] mtk-pcie-gen3 11300000.pcie:       IO 0x0030000000..0x00301fffff -> 0x0030000000
[    0.050020] mtk-pcie-gen3 11300000.pcie:      MEM 0x0030200000..0x0037ffffff -> 0x0030200000
[    0.050037] /soc/pcie@11300000: Failed to get clk index: 0 ret: -517
[    0.050044] mtk-pcie-gen3 11300000.pcie: failed to get clocks
[    0.050119] mtk-pcie-gen3 11310000.pcie: host bridge /soc/pcie@11310000 ranges:
[    0.050129] mtk-pcie-gen3 11310000.pcie: Parsing ranges property...
[    0.050139] mtk-pcie-gen3 11310000.pcie:       IO 0x0038000000..0x00381fffff -> 0x0038000000
[    0.050148] mtk-pcie-gen3 11310000.pcie:      MEM 0x0038200000..0x003fffffff -> 0x0038200000
[    0.050164] /soc/pcie@11310000: Failed to get clk index: 0 ret: -517
[    0.050171] mtk-pcie-gen3 11310000.pcie: failed to get clocks
[    0.054534] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.056671] printk: console [ttyS0] disabled
[    0.076960] 11000000.serial: ttyS0 at MMIO 0x11000000 (irq = 99, base_baud = 2500000) is a ST16650V2
[    0.076994] printk: console [ttyS0] enabled
[    1.006259] 11000100.serial: ttyS1 at MMIO 0x11000100 (irq = 100, base_baud = 2500000) is a ST16650V2
[    1.036119] 11000200.serial: ttyS2 at MMIO 0x11000200 (irq = 101, base_baud = 2500000) is a ST16650V2
[    1.048017] loop: module loaded
[    1.052633] spi-nand spi0.0: Winbond SPI NAND was found.
[    1.057948] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    1.066191] 2 fixed-partitions partitions found on MTD device spi0.0
[    1.072558] OF: Bad cell count for /soc/spi@11007000/spi_nand@0/partitions
[    1.079428] OF: Bad cell count for /soc/spi@11007000/spi_nand@0/partitions
[    1.086470] Creating 2 MTD partitions on "spi0.0":
[    1.091264] 0x000000000000-0x000000200000 : "bl2"
[    1.097415] 0x000000200000-0x000008000000 : "ubi"
[    1.173934] ubi0: default fastmap pool size: 50
[    1.178468] ubi0: default fastmap WL pool size: 25
[    1.183257] ubi0: attaching mtd1
[    2.000138] ubi0: scanning is finished
[    2.013535] ubi0: attached mtd1 (name "ubi", size 126 MiB)
[    2.019016] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    2.025886] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    2.032663] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    2.039612] ubi0: good PEBs: 1008, bad PEBs: 0, corrupted PEBs: 0
[    2.045697] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[    2.052908] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1697192243
[    2.062029] ubi0: available PEBs: 105, total reserved PEBs: 903, PEBs reserved for bad PEB handling: 20
[    2.071416] ubi0: background thread "ubi_bgt0d" started, PID 307
[    2.078978] block ubiblock0_1: created from ubi0:1(rootfs)
[    2.084464] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
[    2.222130] i2c_dev: i2c /dev entries driver
[    2.229364] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    2.237414] mtk-cpufreq mtk-cpufreq: failed to initialize dvfs info for cpu0
[    2.244936] mtk-msdc 11230000.mmc: Got CD GPIO
[    2.245039] NET: Registered PF_INET6 protocol family
[    2.254743] Segment Routing with IPv6
[    2.258410] In-situ OAM (IOAM) with IPv6
[    2.262360] NET: Registered PF_PACKET protocol family
[    2.267411] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.280434] 8021q: 802.1Q VLAN Support v1.8
[    2.297219] phy phy-soc:[email protected]: type_sw - reg 0x218, index 0
[    2.304274] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[    2.311604] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[    2.315869] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.317863] mtk-pcie-gen3 11280000.pcie:       IO 0x0020000000..0x00201fffff -> 0x0020000000
[    2.327587] mmc0: new high speed SDHC card at address 0001
[    2.334275] mtk-pcie-gen3 11280000.pcie:      MEM 0x0020200000..0x0027ffffff -> 0x0020200000
[    2.340266] mmcblk0: mmc0:0001 SD32G 29.1 GiB
[    2.356540] Alternate GPT is invalid, using primary GPT.
[    2.362475]  mmcblk0: p1 p2 p3 p4 p5 p6 p7
[    2.609614] mtk-pcie-gen3 11280000.pcie: set IO trans window[0]: cpu_addr = 0x20000000, pci_addr = 0x20000000, size = 0x200000
[    2.621015] mtk-pcie-gen3 11280000.pcie: set MEM trans window[1]: cpu_addr = 0x20200000, pci_addr = 0x20200000, size = 0x200000
[    2.632480] mtk-pcie-gen3 11280000.pcie: set MEM trans window[2]: cpu_addr = 0x20400000, pci_addr = 0x20400000, size = 0x400000
[    2.643944] mtk-pcie-gen3 11280000.pcie: set MEM trans window[3]: cpu_addr = 0x20800000, pci_addr = 0x20800000, size = 0x800000
[    2.655407] mtk-pcie-gen3 11280000.pcie: set MEM trans window[4]: cpu_addr = 0x21000000, pci_addr = 0x21000000, size = 0x1000000
[    2.666956] mtk-pcie-gen3 11280000.pcie: set MEM trans window[5]: cpu_addr = 0x22000000, pci_addr = 0x22000000, size = 0x2000000
[    2.678505] mtk-pcie-gen3 11280000.pcie: set MEM trans window[6]: cpu_addr = 0x24000000, pci_addr = 0x24000000, size = 0x4000000
[    2.690315] mtk-pcie-gen3 11280000.pcie: PCI host bridge to bus 0003:00
[    2.696928] pci_bus 0003:00: root bus resource [bus 00-ff]
[    2.702408] pci_bus 0003:00: root bus resource [io  0x0000-0x1fffff] (bus address [0x20000000-0x201fffff])
[    2.712052] pci_bus 0003:00: root bus resource [mem 0x20200000-0x27ffffff]
[    2.718914] pci_bus 0003:00: scanning bus
[    2.722936] pci 0003:00:00.0: [14c3:7988] type 01 class 0x060400
[    2.728943] pci 0003:00:00.0: reg 0x10: [mem 0x00000000-0x00007fff 64bit]
[    2.735786] pci 0003:00:00.0: PME# supported from D0 D3hot D3cold
[    2.741872] pci 0003:00:00.0: PME# disabled
[    2.747177] pci_bus 0003:00: fixups for bus
[    2.751357] pci 0003:00:00.0: scanning [bus 00-00] behind bridge, pass 0
[    2.758045] pci 0003:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.766043] pci 0003:00:00.0: scanning [bus 00-00] behind bridge, pass 1
[    2.772783] pci_bus 0003:01: scanning bus
[    2.776805] pci 0003:01:00.0: [17cb:0308] type 00 class 0xff0000
[    2.782822] pci 0003:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    2.789609] pci 0003:01:00.0: reg 0x18: [mem 0x00000000-0x00000fff 64bit]
[    2.796510] pci 0003:01:00.0: PME# supported from D0 D3hot D3cold
[    2.802596] pci 0003:01:00.0: PME# disabled
[    2.806804] pci 0003:01:00.0: 7.876 Gb/s available PCIe bandwidth, limited by 8.0 GT/s PCIe x1 link at 0003:00:00.0 (capable of 15.752 Gb/s with 8.0 G)
[    2.850753] pci_bus 0003:01: fixups for bus
[    2.854926] pci_bus 0003:01: bus scan returning with max=01
[    2.860488] pci_bus 0003:01: busn_res: [bus 01-ff] end is updated to 01
[    2.867098] pci_bus 0003:00: bus scan returning with max=01
[    2.872673] pci 0003:00:00.0: BAR 8: assigned [mem 0x20200000-0x202fffff]
[    2.879449] pci 0003:00:00.0: BAR 0: assigned [mem 0x20300000-0x20307fff 64bit]
[    2.886754] pci 0003:01:00.0: BAR 0: assigned [mem 0x20200000-0x20200fff 64bit]
[    2.894062] pci 0003:01:00.0: BAR 2: assigned [mem 0x20201000-0x20201fff 64bit]
[    2.901368] pci 0003:00:00.0: PCI bridge to [bus 01]
[    2.906323] pci 0003:00:00.0:   bridge window [mem 0x20200000-0x202fffff]
[    2.913111] pci 0003:00:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  256
[    2.921552] pci 0003:01:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  256
[    2.930065] pcieport 0003:00:00.0: assign IRQ: got 112
[    2.935201] pcieport 0003:00:00.0: enabling device (0000 -> 0002)
[    2.941294] pcieport 0003:00:00.0: enabling bus mastering
[    2.947067] mtk-pcie-gen3 11280000.pcie: msi#0x0 address_hi 0x0 address_lo 0x11280c00 data 0
[    2.955503] mtk-pcie-gen3 11280000.pcie: msi#0x1 address_hi 0x0 address_lo 0x11280c00 data 1
[    2.963931] mtk-pcie-gen3 11280000.pcie: msi#0x2 address_hi 0x0 address_lo 0x11280c00 data 2
[    2.972360] mtk-pcie-gen3 11280000.pcie: msi#0x3 address_hi 0x0 address_lo 0x11280c00 data 3
[    2.980787] mtk-pcie-gen3 11280000.pcie: msi#0x4 address_hi 0x0 address_lo 0x11280c00 data 4
[    2.989211] mtk-pcie-gen3 11280000.pcie: msi#0x5 address_hi 0x0 address_lo 0x11280c00 data 5
[    2.997637] mtk-pcie-gen3 11280000.pcie: msi#0x6 address_hi 0x0 address_lo 0x11280c00 data 6
[    3.006064] mtk-pcie-gen3 11280000.pcie: msi#0x7 address_hi 0x0 address_lo 0x11280c00 data 7
[    3.014490] mtk-pcie-gen3 11280000.pcie: msi#0x8 address_hi 0x0 address_lo 0x11280c00 data 8
[    3.022915] mtk-pcie-gen3 11280000.pcie: msi#0x9 address_hi 0x0 address_lo 0x11280c00 data 9
[    3.031346] mtk-pcie-gen3 11280000.pcie: msi#0xa address_hi 0x0 address_lo 0x11280c00 data 10
[    3.039856] mtk-pcie-gen3 11280000.pcie: msi#0xb address_hi 0x0 address_lo 0x11280c00 data 11
[    3.048370] mtk-pcie-gen3 11280000.pcie: msi#0xc address_hi 0x0 address_lo 0x11280c00 data 12
[    3.056883] mtk-pcie-gen3 11280000.pcie: msi#0xd address_hi 0x0 address_lo 0x11280c00 data 13
[    3.065395] mtk-pcie-gen3 11280000.pcie: msi#0xe address_hi 0x0 address_lo 0x11280c00 data 14
[    3.073908] mtk-pcie-gen3 11280000.pcie: msi#0xf address_hi 0x0 address_lo 0x11280c00 data 15
[    3.082421] mtk-pcie-gen3 11280000.pcie: msi#0x10 address_hi 0x0 address_lo 0x11280c00 data 16
[    3.091023] mtk-pcie-gen3 11280000.pcie: msi#0x11 address_hi 0x0 address_lo 0x11280c00 data 17
[    3.099620] mtk-pcie-gen3 11280000.pcie: msi#0x12 address_hi 0x0 address_lo 0x11280c00 data 18
[    3.108220] mtk-pcie-gen3 11280000.pcie: msi#0x13 address_hi 0x0 address_lo 0x11280c00 data 19
[    3.116820] mtk-pcie-gen3 11280000.pcie: msi#0x14 address_hi 0x0 address_lo 0x11280c00 data 20
[    3.125421] mtk-pcie-gen3 11280000.pcie: msi#0x15 address_hi 0x0 address_lo 0x11280c00 data 21
[    3.134021] mtk-pcie-gen3 11280000.pcie: msi#0x16 address_hi 0x0 address_lo 0x11280c00 data 22
[    3.142621] mtk-pcie-gen3 11280000.pcie: msi#0x17 address_hi 0x0 address_lo 0x11280c00 data 23
[    3.151220] mtk-pcie-gen3 11280000.pcie: msi#0x18 address_hi 0x0 address_lo 0x11280c00 data 24
[    3.159816] mtk-pcie-gen3 11280000.pcie: msi#0x19 address_hi 0x0 address_lo 0x11280c00 data 25
[    3.168416] mtk-pcie-gen3 11280000.pcie: msi#0x1a address_hi 0x0 address_lo 0x11280c00 data 26
[    3.177015] mtk-pcie-gen3 11280000.pcie: msi#0x1b address_hi 0x0 address_lo 0x11280c00 data 27
[    3.185615] mtk-pcie-gen3 11280000.pcie: msi#0x1c address_hi 0x0 address_lo 0x11280c00 data 28
[    3.194214] mtk-pcie-gen3 11280000.pcie: msi#0x1d address_hi 0x0 address_lo 0x11280c00 data 29
[    3.202813] mtk-pcie-gen3 11280000.pcie: msi#0x1e address_hi 0x0 address_lo 0x11280c00 data 30
[    3.211415] mtk-pcie-gen3 11280000.pcie: msi#0x1f address_hi 0x0 address_lo 0x11280c00 data 31
[    3.220433] mtk-pcie-gen3 11280000.pcie: msi#0x0 address_hi 0x0 address_lo 0x11280c00 data 0
[    3.228935] pcieport 0003:00:00.0: PME: Signaling with IRQ 113
[    3.234883] pcieport 0003:00:00.0: AER: enabled with IRQ 113
[    3.240570] pcieport 0003:00:00.0: save config 0x00: 0x798814c3
[    3.246488] pcieport 0003:00:00.0: save config 0x04: 0x00100406
[    3.252400] pcieport 0003:00:00.0: save config 0x08: 0x06040001
[    3.258307] pcieport 0003:00:00.0: save config 0x0c: 0x00010000
[    3.264217] pcieport 0003:00:00.0: save config 0x10: 0x20300004
[    3.270124] pcieport 0003:00:00.0: save config 0x14: 0x00000000
[    3.276033] pcieport 0003:00:00.0: save config 0x18: 0x00010100
[    3.281942] pcieport 0003:00:00.0: save config 0x1c: 0x000001f1
[    3.287849] pcieport 0003:00:00.0: save config 0x20: 0x20202020
[    3.293758] pcieport 0003:00:00.0: save config 0x24: 0x0001fff1
[    3.299665] pcieport 0003:00:00.0: save config 0x28: 0x00000000
[    3.305574] pcieport 0003:00:00.0: save config 0x2c: 0x00000000
[    3.311484] pcieport 0003:00:00.0: save config 0x30: 0x00000000
[    3.317390] pcieport 0003:00:00.0: save config 0x34: 0x00000080
[    3.323299] pcieport 0003:00:00.0: save config 0x38: 0x00000000
[    3.329206] pcieport 0003:00:00.0: save config 0x3c: 0x00020170
[    3.335448] mtk-pcie-gen3 11290000.pcie: host bridge /soc/pcie@11290000 ranges:
[    3.342759] mtk-pcie-gen3 11290000.pcie: Parsing ranges property...
[    3.349022] mtk-pcie-gen3 11290000.pcie:       IO 0x0028000000..0x00281fffff -> 0x0028000000
[    3.357456] mtk-pcie-gen3 11290000.pcie:      MEM 0x0028200000..0x002fffffff -> 0x0028200000
[    3.700722] mtk-pcie-gen3 11290000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x1)
[    3.709508] mtk-pcie-gen3: probe of 11290000.pcie failed with error -110
[    3.716424] mtk-pcie-gen3 11300000.pcie: host bridge /soc/pcie@11300000 ranges:
[    3.723737] mtk-pcie-gen3 11300000.pcie: Parsing ranges property...
[    3.729998] mtk-pcie-gen3 11300000.pcie:       IO 0x0030000000..0x00301fffff -> 0x0030000000
[    3.738432] mtk-pcie-gen3 11300000.pcie:      MEM 0x0030200000..0x0037ffffff -> 0x0030200000
[    3.996349] mtk-pcie-gen3 11300000.pcie: set IO trans window[0]: cpu_addr = 0x30000000, pci_addr = 0x30000000, size = 0x200000
[    4.007735] mtk-pcie-gen3 11300000.pcie: set MEM trans window[1]: cpu_addr = 0x30200000, pci_addr = 0x30200000, size = 0x200000
[    4.019199] mtk-pcie-gen3 11300000.pcie: set MEM trans window[2]: cpu_addr = 0x30400000, pci_addr = 0x30400000, size = 0x400000
[    4.030662] mtk-pcie-gen3 11300000.pcie: set MEM trans window[3]: cpu_addr = 0x30800000, pci_addr = 0x30800000, size = 0x800000
[    4.042125] mtk-pcie-gen3 11300000.pcie: set MEM trans window[4]: cpu_addr = 0x31000000, pci_addr = 0x31000000, size = 0x1000000
[    4.053674] mtk-pcie-gen3 11300000.pcie: set MEM trans window[5]: cpu_addr = 0x32000000, pci_addr = 0x32000000, size = 0x2000000
[    4.065223] mtk-pcie-gen3 11300000.pcie: set MEM trans window[6]: cpu_addr = 0x34000000, pci_addr = 0x34000000, size = 0x4000000
[    4.076898] mtk-pcie-gen3 11300000.pcie: PCI host bridge to bus 0000:00
[    4.083511] pci_bus 0000:00: root bus resource [bus 00-ff]
[    4.088987] pci_bus 0000:00: root bus resource [io  0x400000-0x5fffff] (bus address [0x30000000-0x301fffff])
[    4.098803] pci_bus 0000:00: root bus resource [mem 0x30200000-0x37ffffff]
[    4.105671] pci_bus 0000:00: scanning bus
[    4.109689] pci 0000:00:00.0: [14c3:7988] type 01 class 0x060400
[    4.115699] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x00007fff 64bit]
[    4.122539] pci 0000:00:00.0: PME# supported from D0 D3hot D3cold
[    4.128622] pci 0000:00:00.0: PME# disabled
[    4.133974] pci_bus 0000:00: fixups for bus
[    4.138148] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 0
[    4.144841] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    4.152840] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 1
[    4.159579] pci_bus 0000:01: scanning bus
[    4.163614] pci 0000:01:00.0: [8086:2725] type 00 class 0x028000
[    4.169635] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    4.176558] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    4.182645] pci 0000:01:00.0: PME# disabled
[    4.210758] pci_bus 0000:01: fixups for bus
[    4.214932] pci_bus 0000:01: bus scan returning with max=01
[    4.220493] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    4.227104] pci_bus 0000:00: bus scan returning with max=01
[    4.232679] pci 0000:00:00.0: BAR 8: assigned [mem 0x30200000-0x302fffff]
[    4.239456] pci 0000:00:00.0: BAR 0: assigned [mem 0x30300000-0x30307fff 64bit]
[    4.246761] pci 0000:01:00.0: BAR 0: assigned [mem 0x30200000-0x30203fff 64bit]
[    4.254073] pci 0000:00:00.0: PCI bridge to [bus 01]
[    4.259027] pci 0000:00:00.0:   bridge window [mem 0x30200000-0x302fffff]
[    4.265816] pci 0000:00:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  256
[    4.274255] pci 0000:01:00.0: Max Payload Size set to  128/ 128 (was  128), Max Read Rq  128
[    4.282761] pcieport 0000:00:00.0: assign IRQ: got 115
[    4.287893] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    4.293988] pcieport 0000:00:00.0: enabling bus mastering
[    4.299740] mtk-pcie-gen3 11300000.pcie: msi#0x0 address_hi 0x0 address_lo 0x11300c00 data 0
[    4.308177] mtk-pcie-gen3 11300000.pcie: msi#0x1 address_hi 0x0 address_lo 0x11300c00 data 1
[    4.316604] mtk-pcie-gen3 11300000.pcie: msi#0x2 address_hi 0x0 address_lo 0x11300c00 data 2
[    4.325031] mtk-pcie-gen3 11300000.pcie: msi#0x3 address_hi 0x0 address_lo 0x11300c00 data 3
[    4.333459] mtk-pcie-gen3 11300000.pcie: msi#0x4 address_hi 0x0 address_lo 0x11300c00 data 4
[    4.341887] mtk-pcie-gen3 11300000.pcie: msi#0x5 address_hi 0x0 address_lo 0x11300c00 data 5
[    4.350310] mtk-pcie-gen3 11300000.pcie: msi#0x6 address_hi 0x0 address_lo 0x11300c00 data 6
[    4.358736] mtk-pcie-gen3 11300000.pcie: msi#0x7 address_hi 0x0 address_lo 0x11300c00 data 7
[    4.367161] mtk-pcie-gen3 11300000.pcie: msi#0x8 address_hi 0x0 address_lo 0x11300c00 data 8
[    4.375586] mtk-pcie-gen3 11300000.pcie: msi#0x9 address_hi 0x0 address_lo 0x11300c00 data 9
[    4.384011] mtk-pcie-gen3 11300000.pcie: msi#0xa address_hi 0x0 address_lo 0x11300c00 data 10
[    4.392523] mtk-pcie-gen3 11300000.pcie: msi#0xb address_hi 0x0 address_lo 0x11300c00 data 11
[    4.401035] mtk-pcie-gen3 11300000.pcie: msi#0xc address_hi 0x0 address_lo 0x11300c00 data 12
[    4.409545] mtk-pcie-gen3 11300000.pcie: msi#0xd address_hi 0x0 address_lo 0x11300c00 data 13
[    4.418058] mtk-pcie-gen3 11300000.pcie: msi#0xe address_hi 0x0 address_lo 0x11300c00 data 14
[    4.426569] mtk-pcie-gen3 11300000.pcie: msi#0xf address_hi 0x0 address_lo 0x11300c00 data 15
[    4.435082] mtk-pcie-gen3 11300000.pcie: msi#0x10 address_hi 0x0 address_lo 0x11300c00 data 16
[    4.443681] mtk-pcie-gen3 11300000.pcie: msi#0x11 address_hi 0x0 address_lo 0x11300c00 data 17
[    4.452282] mtk-pcie-gen3 11300000.pcie: msi#0x12 address_hi 0x0 address_lo 0x11300c00 data 18
[    4.460882] mtk-pcie-gen3 11300000.pcie: msi#0x13 address_hi 0x0 address_lo 0x11300c00 data 19
[    4.469479] mtk-pcie-gen3 11300000.pcie: msi#0x14 address_hi 0x0 address_lo 0x11300c00 data 20
[    4.478078] mtk-pcie-gen3 11300000.pcie: msi#0x15 address_hi 0x0 address_lo 0x11300c00 data 21
[    4.486676] mtk-pcie-gen3 11300000.pcie: msi#0x16 address_hi 0x0 address_lo 0x11300c00 data 22
[    4.495275] mtk-pcie-gen3 11300000.pcie: msi#0x17 address_hi 0x0 address_lo 0x11300c00 data 23
[    4.503873] mtk-pcie-gen3 11300000.pcie: msi#0x18 address_hi 0x0 address_lo 0x11300c00 data 24
[    4.512472] mtk-pcie-gen3 11300000.pcie: msi#0x19 address_hi 0x0 address_lo 0x11300c00 data 25
[    4.521071] mtk-pcie-gen3 11300000.pcie: msi#0x1a address_hi 0x0 address_lo 0x11300c00 data 26
[    4.529668] mtk-pcie-gen3 11300000.pcie: msi#0x1b address_hi 0x0 address_lo 0x11300c00 data 27
[    4.538267] mtk-pcie-gen3 11300000.pcie: msi#0x1c address_hi 0x0 address_lo 0x11300c00 data 28
[    4.546866] mtk-pcie-gen3 11300000.pcie: msi#0x1d address_hi 0x0 address_lo 0x11300c00 data 29
[    4.555465] mtk-pcie-gen3 11300000.pcie: msi#0x1e address_hi 0x0 address_lo 0x11300c00 data 30
[    4.564063] mtk-pcie-gen3 11300000.pcie: msi#0x1f address_hi 0x0 address_lo 0x11300c00 data 31
[    4.573085] mtk-pcie-gen3 11300000.pcie: msi#0x0 address_hi 0x0 address_lo 0x11300c00 data 0
[    4.581586] pcieport 0000:00:00.0: PME: Signaling with IRQ 116
[    4.587523] pcieport 0000:00:00.0: AER: enabled with IRQ 116
[    4.593215] pcieport 0000:00:00.0: save config 0x00: 0x798814c3
[    4.599124] pcieport 0000:00:00.0: save config 0x04: 0x00100406
[    4.605037] pcieport 0000:00:00.0: save config 0x08: 0x06040001
[    4.610948] pcieport 0000:00:00.0: save config 0x0c: 0x00010000
[    4.616856] pcieport 0000:00:00.0: save config 0x10: 0x30300004
[    4.622765] pcieport 0000:00:00.0: save config 0x14: 0x00000000
[    4.628674] pcieport 0000:00:00.0: save config 0x18: 0x00010100
[    4.634583] pcieport 0000:00:00.0: save config 0x1c: 0x000001f1
[    4.640491] pcieport 0000:00:00.0: save config 0x20: 0x30203020
[    4.646400] pcieport 0000:00:00.0: save config 0x24: 0x0001fff1
[    4.652309] pcieport 0000:00:00.0: save config 0x28: 0x00000000
[    4.658216] pcieport 0000:00:00.0: save config 0x2c: 0x00000000
[    4.664126] pcieport 0000:00:00.0: save config 0x30: 0x00000000
[    4.670033] pcieport 0000:00:00.0: save config 0x34: 0x00000080
[    4.675943] pcieport 0000:00:00.0: save config 0x38: 0x00000000
[    4.681852] pcieport 0000:00:00.0: save config 0x3c: 0x00020173
[    4.688079] mtk-pcie-gen3 11310000.pcie: host bridge /soc/pcie@11310000 ranges:
[    4.695393] mtk-pcie-gen3 11310000.pcie: Parsing ranges property...
[    4.701661] mtk-pcie-gen3 11310000.pcie:       IO 0x0038000000..0x00381fffff -> 0x0038000000
[    4.710091] mtk-pcie-gen3 11310000.pcie:      MEM 0x0038200000..0x003fffffff -> 0x0038200000
[    5.050738] mtk-pcie-gen3 11310000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x1)
[    5.059524] mtk-pcie-gen3: probe of 11310000.pcie failed with error -110
[    5.067042] FIT: Detected U-Boot 2024.01-OpenWrt-r26161-3f7d8e20cd
[    5.073221] FIT: Selected configuration: "config-mt7988a-bananapi-bpi-r4" (OpenWrt bananapi_bpi-r4)
[    5.082263] FIT:           kernel sub-image 0x00001000..0x005882fe "kernel-1" (ARM64 OpenWrt Linux-6.6.29) 
[    5.091998] FIT:          flat_dt sub-image 0x00589000..0x0059385e "fdt-1" (ARM64 OpenWrt bananapi_bpi-r4 device tree blob) 
[    5.103207] FIT:          flat_dt sub-image 0x00594000..0x00594611 "fdt-mt7988a-bananapi-bpi-r4-emmc" (ARM64 OpenWrt bananapi_bpi-r4 device tree overl 
[    5.119536] FIT:          flat_dt sub-image 0x00595000..0x0059511c "fdt-mt7988a-bananapi-bpi-r4-rtc" (ARM64 OpenWrt bananapi_bpi-r4 device tree overla 
[    5.135691] FIT:          flat_dt sub-image 0x00596000..0x005965c9 "fdt-mt7988a-bananapi-bpi-r4-sd" (ARM64 OpenWrt bananapi_bpi-r4 device tree overlay 
[    5.151675] FIT:          flat_dt sub-image 0x00597000..0x005978eb "fdt-mt7988a-bananapi-bpi-r4-wifi-mt7996a" (ARM64 OpenWrt bananapi_bpi-r4 device tr 
[    5.169389] FIT:       filesystem sub-image 0x00598000..0x00cc3fff "rootfs-1" (ARM64 OpenWrt bananapi_bpi-r4 rootfs) 
[    5.180250] block mmcblk0p7: mapped 1 uImage.FIT filesystem sub-image as /dev/fit0
[    5.188013] block mmcblk0p7: mapped remaing space as /dev/fitrw
[    5.322214] mtk_soc_eth 15100000.ethernet: generated random MAC address 65:74:68:25:64:00
[    5.330401] mtk_soc_eth 15100000.ethernet: generated random MAC address 65:74:68:25:64:00
[    5.338580] mtk_soc_eth 15100000.ethernet: generated random MAC address 65:74:68:25:64:00
[    5.348947] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc082900000, irq 103
[    5.358638] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc082900000, irq 103
[    5.368324] mtk_soc_eth 15100000.ethernet eth2: mediatek frame engine at 0xffffffc082900000, irq 103
[    5.461134] mt7530-mmio 15020000.switch: configuring for fixed/internal link mode
[    5.468633] mt7530-mmio 15020000.switch: Link is Up - 10Gbps/Full - flow control rx/tx
[    5.493031] mt7530-mmio 15020000.switch wan (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7988 PHY] (irq=POLL)
[    5.528419] mt7530-mmio 15020000.switch lan1 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7988 PHY] (irq=POLL)
[    5.565636] mt7530-mmio 15020000.switch lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7988 PHY] (irq=POLL)
[    5.601634] mt7530-mmio 15020000.switch lan3 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7988 PHY] (irq=POLL)
[    5.612705] mtk_soc_eth 15100000.ethernet eth0: entered promiscuous mode
[    5.619414] DSA: tree 0 setup
[    5.622983] UBI: auto-attach mtd1
[    5.626292] ubi: mtd1 is already attached to ubi0
[    5.630990] UBI error: cannot attach mtd1
[    5.635061] clk: Disabling unused clocks
[    5.644621] VFS: Mounted root (squashfs filesystem) readonly on device 259:0.
[    5.651843] Freeing unused kernel memory: 384K
[    5.656320] Run /sbin/init as init process
[    5.660405]   with arguments:
[    5.663364]     /sbin/init
[    5.666060]   with environment:
[    5.669189]     HOME=/
[    5.671540]     TERM=linux
[    5.796848] init: Console is alive
[    5.800322] init: - watchdog -
[    6.079265] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.101560] usbcore: registered new interface driver usbfs
[    6.107069] usbcore: registered new interface driver hub
[    6.112416] usbcore: registered new device driver usb
[    6.117914] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    6.127742] xhci-mtk 11200000.usb: supply vbus not found, using dummy regulator
[    6.135150] xhci-mtk 11200000.usb: supply vusb33 not found, using dummy regulator
[    6.143061] xhci-mtk 11200000.usb: xHCI Host Controller
[    6.148288] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 1
[    6.158764] xhci-mtk 11200000.usb: hcc params 0x01403f99 hci version 0x110 quirks 0x0000000000200010
[    6.167919] xhci-mtk 11200000.usb: irq 118, io mem 0x11200000
[    6.173725] xhci-mtk 11200000.usb: xHCI Host Controller
[    6.178941] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 2
[    6.186337] xhci-mtk 11200000.usb: Host supports USB 3.2 Enhanced SuperSpeed
[    6.193649] hub 1-0:1.0: USB hub found
[    6.197414] hub 1-0:1.0: 1 port detected
[    6.201526] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.209812] hub 2-0:1.0: USB hub found
[    6.213652] hub 2-0:1.0: 1 port detected
[    6.219894] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.229857] init: - preinit -
[    6.444967] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/internal link mode
[    6.453134] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 10Gbps/Full - flow control rx/tx
[    6.459478] mt7530-mmio 15020000.switch lan1: configuring for phy/internal link mode
[    6.470584] mt7530-mmio 15020000.switch lan1: Link is Up - 1Gbps/Full - flow control rx/tx
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    6.670722] usb 1-1: new high-speed USB device number 2 using xhci-mtk
[    6.863527] hub 1-1:1.0: USB hub found
[    6.867404] hub 1-1:1.0: 5 ports detected
[    7.010773] usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk
[    7.053397] hub 2-1:1.0: USB hub found
[    7.057346] hub 2-1:1.0: 4 ports detected
[    7.610729] usb 1-1.3: new full-speed USB device number 3 using xhci-mtk
[    7.830726] random: crng init done
[    7.890721] usb 1-1.5: new high-speed USB device number 4 using xhci-mtk
[    8.868622] F2FS-fs (fitrw): Mounted with checkpoint version = 351ed6b6
[    8.878285] mount_root: switching to f2fs overlay
[    8.884523] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[    8.896479] urandom-seed: Seeding with /etc/urandom.seed
[    8.927994] mt7530-mmio 15020000.switch lan1: Link is Down
[    8.937808] procd: - early -
[    8.940761] procd: - watchdog -
[    9.470043] procd: - watchdog -
[    9.473378] procd: - ubus -
[    9.627883] procd: - init -
Please press Enter to activate this console.
[    9.899171] urngd: v1.0.2 started.
[    9.909469] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.932739] pps_core: LinuxPPS API ver. 1 registered
[    9.937711] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    9.948186] PTP clock support registered
[    9.953280] pca954x 1-0070: supply vdd not found, using dummy regulator
[    9.960477] i2c i2c-1: Added multiplexed i2c bus 2
[    9.965361] i2c i2c-1: Added multiplexed i2c bus 3
[    9.970226] i2c i2c-1: Added multiplexed i2c bus 4
[    9.975166] i2c i2c-1: Added multiplexed i2c bus 5
[    9.979950] pca954x 1-0070: registered 4 multiplexed busses for I2C switch pca9545
[    9.989946] crypto-safexcel 15600000.crypto: can't request region for resource [mem 0x15600000-0x1577ffff]
[    9.999632] crypto-safexcel 15600000.crypto: failed to get resource
[   10.005895] crypto-safexcel: probe of 15600000.crypto failed with error -16
[   10.016525] at24 2-0050: supply vcc not found, using dummy regulator
[   10.052649] at24 2-0057: supply vcc not found, using dummy regulator
[   10.059575] at24 2-0057: 256 byte 24c02 EEPROM, writable, 1 bytes/write
[   10.066873] usbcore: registered new interface driver cdc_wdm
[   10.072813] Loading modules backported from Linux version v6.6.15-0-g51f354b815c4
[   10.080284] Backport generated by backports.git 193becf2
[   10.087716] mhi-pci-generic 0003:01:00.0: assign IRQ: got 0
[   10.093303] mhi-pci-generic 0003:01:00.0: MHI PCI device found: qcom-sdx65m
[   10.100259] mhi-pci-generic 0003:01:00.0: BAR 0: assigned [mem 0x20200000-0x20200fff 64bit]
[   10.108618] mhi-pci-generic 0003:01:00.0: enabling device (0000 -> 0002)
[   10.115334] mhi-pci-generic 0003:01:00.0: enabling bus mastering
[   10.121457] mtk-pcie-gen3 11280000.pcie: msi#0x8 address_hi 0x0 address_lo 0x11280c00 data 8
[   10.129893] mtk-pcie-gen3 11280000.pcie: msi#0x9 address_hi 0x0 address_lo 0x11280c00 data 9
[   10.138322] mtk-pcie-gen3 11280000.pcie: msi#0xa address_hi 0x0 address_lo 0x11280c00 data 10
[   10.146836] mtk-pcie-gen3 11280000.pcie: msi#0xb address_hi 0x0 address_lo 0x11280c00 data 11
[   10.155348] mtk-pcie-gen3 11280000.pcie: msi#0xc address_hi 0x0 address_lo 0x11280c00 data 12
[   10.163861] mtk-pcie-gen3 11280000.pcie: msi#0xd address_hi 0x0 address_lo 0x11280c00 data 13
[   10.172372] mtk-pcie-gen3 11280000.pcie: msi#0xe address_hi 0x0 address_lo 0x11280c00 data 14
[   10.180906] mhi-pci-generic 0003:01:00.0: save config 0x00: 0x030817cb
[   10.187423] mhi-pci-generic 0003:01:00.0: save config 0x04: 0x00100406
[   10.193941] mhi-pci-generic 0003:01:00.0: save config 0x08: 0xff000000
[   10.200457] mhi-pci-generic 0003:01:00.0: save config 0x0c: 0x00000000
[   10.206975] mhi-pci-generic 0003:01:00.0: save config 0x10: 0x20200004
[   10.213491] mhi-pci-generic 0003:01:00.0: save config 0x14: 0x00000000
[   10.220006] mhi-pci-generic 0003:01:00.0: save config 0x18: 0x20201004
[   10.226522] mhi-pci-generic 0003:01:00.0: save config 0x1c: 0x00000000
[   10.233046] mhi-pci-generic 0003:01:00.0: save config 0x20: 0x00000000
[   10.239561] mhi-pci-generic 0003:01:00.0: save config 0x24: 0x00000000
[   10.246079] mhi-pci-generic 0003:01:00.0: save config 0x28: 0x00000000
[   10.252596] mhi-pci-generic 0003:01:00.0: save config 0x2c: 0x520117cb
[   10.259111] mhi-pci-generic 0003:01:00.0: save config 0x30: 0x00000000
[   10.265627] mhi-pci-generic 0003:01:00.0: save config 0x34: 0x00000040
[   10.272144] mhi-pci-generic 0003:01:00.0: save config 0x38: 0x00000000
[   10.278659] mhi-pci-generic 0003:01:00.0: save config 0x3c: 0x00000000
[   10.285609] mhi mhi0: Requested to power ON
[   10.289790] mhi mhi0: Power on setup success
[   10.750929] sfp sfp1: Host maximum power 3.0W
[   10.755772] sfp sfp2: Host maximum power 3.0W
[   10.762684] usbcore: registered new interface driver cdc_ether
[   10.769101] usbcore: registered new interface driver cdc_ncm
[   10.785566] Intel(R) Wireless WiFi driver for Linux
[   10.790539] iwlwifi 0000:01:00.0: assign IRQ: got 115
[   10.795631] iwlwifi 0000:01:00.0: enabling device (0000 -> 0002)
[   10.801685] iwlwifi 0000:01:00.0: enabling bus mastering
[   10.807116] mtk-pcie-gen3 11300000.pcie: msi#0x1 address_hi 0x0 address_lo 0x11300c00 data 1
[   10.815574] mtk-pcie-gen3 11300000.pcie: msi#0x2 address_hi 0x0 address_lo 0x11300c00 data 2
[   10.824025] mtk-pcie-gen3 11300000.pcie: msi#0x3 address_hi 0x0 address_lo 0x11300c00 data 3
[   10.832484] mtk-pcie-gen3 11300000.pcie: msi#0x4 address_hi 0x0 address_lo 0x11300c00 data 4
[   10.840929] mtk-pcie-gen3 11300000.pcie: msi#0x5 address_hi 0x0 address_lo 0x11300c00 data 5
[   10.849371] mtk-pcie-gen3 11300000.pcie: msi#0x6 address_hi 0x0 address_lo 0x11300c00 data 6
[   10.858287] iwlwifi 0000:01:00.0: Detected crf-id 0x400410, cnv-id 0x400410 wfpm id 0x80000000
[   10.866926] iwlwifi 0000:01:00.0: PCI dev 2725/0024, rev=0x420, rfid=0x10d000
[   10.881881] wwan wwan0: port wwan0qcdm0 attached
[   10.886671] wwan wwan0: port wwan0mbim0 attached
[   10.891453] wwan wwan0: port wwan0qmi0 attached
[   10.918368] PPP generic driver version 2.4.2
[   10.923343] NET: Registered PF_PPPOX protocol family
[   10.929275] usbcore: registered new interface driver qmi_wwan
[   10.935906] usbcore: registered new interface driver cdc_mbim
[   10.963563] kmodloader: done loading kernel modules from /etc/modules.d/*
[   10.971012] iwlwifi 0000:01:00.0: api flags index 2 larger than supported by driver
[   10.978721] iwlwifi 0000:01:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 0.0.2.41
[   11.079838] iwlwifi 0000:01:00.0: loaded firmware version 83.e8f84e98.0 ty-a0-gf-a0-83.ucode op_mode iwlmvm
[   11.089679] iwlwifi 0000:01:00.0: Detected Intel(R) Wi-Fi 6 AX210 160MHz, REV=0x420
[   11.097538] thermal thermal_zone1: failed to read out thermal zone (-61)
[   11.119196] iwlwifi 0000:01:00.0: WRT: Invalid buffer destination
[   11.285284] iwlwifi 0000:01:00.0: WFPM_UMAC_PD_NOTIFICATION: 0x20
[   11.291401] iwlwifi 0000:01:00.0: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[   11.297579] iwlwifi 0000:01:00.0: WFPM_AUTH_KEY_0: 0x90
[   11.302805] iwlwifi 0000:01:00.0: CNVI_SCU_SEQ_DATA_DW9: 0x0
[   11.312772] iwlwifi 0000:01:00.0: loaded PNVM version e28bb9d7
[   11.333520] iwlwifi 0000:01:00.0: Detected RF GF, rfid=0x10d000
[   11.408077] iwlwifi 0000:01:00.0: base HW address: f0:d4:15:93:bb:38
[   13.128682] mtk_soc_eth 15100000.ethernet eth0: Link is Down
[   13.141621] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/internal link mode
[   13.149906] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 10Gbps/Full - flow control rx/tx
[   13.151847] mt7530-mmio 15020000.switch lan1: configuring for phy/internal link mode
[   13.167440] br-lan: port 1(lan1) entered blocking state
[   13.172719] br-lan: port 1(lan1) entered disabled state
[   13.177978] mt7530-mmio 15020000.switch lan1: entered allmulticast mode
[   13.184622] mtk_soc_eth 15100000.ethernet eth0: entered allmulticast mode
[   13.191660] mt7530-mmio 15020000.switch lan1: entered promiscuous mode
[   13.205181] mt7530-mmio 15020000.switch lan2: configuring for phy/internal link mode
[   13.214574] br-lan: port 2(lan2) entered blocking state
[   13.219819] br-lan: port 2(lan2) entered disabled state
[   13.225126] mt7530-mmio 15020000.switch lan2: entered allmulticast mode
[   13.231999] mt7530-mmio 15020000.switch lan2: entered promiscuous mode
[   13.241818] mt7530-mmio 15020000.switch lan3: configuring for phy/internal link mode
[   13.251121] br-lan: port 3(lan3) entered blocking state
[   13.256357] br-lan: port 3(lan3) entered disabled state
[   13.261674] mt7530-mmio 15020000.switch lan3: entered allmulticast mode
[   13.268522] mt7530-mmio 15020000.switch lan3: entered promiscuous mode
[   13.276930] mtk_soc_eth 15100000.ethernet eth1: configuring for inband/10gbase-r link mode
[   13.309187] br-lan: port 4(eth1) entered blocking state
[   13.314433] br-lan: port 4(eth1) entered disabled state
[   13.315766] mhi-pci-generic 0003:01:00.0: save config 0x00: 0x030817cb
[   13.319676] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   13.326172] mhi-pci-generic 0003:01:00.0: save config 0x04: 0x00100402
[   13.333083] mtk_soc_eth 15100000.ethernet eth1: entered promiscuous mode
[   13.339452] mhi-pci-generic 0003:01:00.0: save config 0x08: 0xff000000
[   13.348819] mt7530-mmio 15020000.switch wan: configuring for phy/internal link mode
[   13.352655] mhi-pci-generic 0003:01:00.0: save config 0x0c: 0x00000000
[   13.352660] mhi-pci-generic 0003:01:00.0: save config 0x10: 0x20200004
[   13.352665] mhi-pci-generic 0003:01:00.0: save config 0x14: 0x00000000
[   13.352669] mhi-pci-generic 0003:01:00.0: save config 0x18: 0x20201004
[   13.352673] mhi-pci-generic 0003:01:00.0: save config 0x1c: 0x00000000
[   13.352678] mhi-pci-generic 0003:01:00.0: save config 0x20: 0x00000000
[   13.361074] br-wan: port 1(wan) entered blocking state
[   13.366833] mhi-pci-generic 0003:01:00.0: save config 0x24: 0x00000000
[   13.373358] br-wan: port 1(wan) entered disabled state
[   13.379864] mhi-pci-generic 0003:01:00.0: save config 0x28: 0x00000000
[   13.386410] mt7530-mmio 15020000.switch wan: entered allmulticast mode
[   13.392888] mhi-pci-generic 0003:01:00.0: save config 0x2c: 0x520117cb
[   13.392892] mhi-pci-generic 0003:01:00.0: save config 0x30: 0x00000000
[   13.392897] mhi-pci-generic 0003:01:00.0: save config 0x34: 0x00000040
[   13.399583] mt7530-mmio 15020000.switch wan: entered promiscuous mode
[   13.404530] mhi-pci-generic 0003:01:00.0: save config 0x38: 0x00000000
[   13.404534] mhi-pci-generic 0003:01:00.0: save config 0x3c: 0x00000000
[   13.413125] mtk_soc_eth 15100000.ethernet eth2: configuring for inband/10gbase-r link mode
[   13.416240] mhi-pci-generic 0003:01:00.0: PME# enabled
[   13.446612] br-wan: port 2(eth2) entered blocking state
[   13.486906] br-wan: port 2(eth2) entered disabled state
[   13.492174] mtk_soc_eth 15100000.ethernet eth2: entered allmulticast mode
[   13.499114] mtk_soc_eth 15100000.ethernet eth2: entered promiscuous mode
[   16.311662] mt7530-mmio 15020000.switch lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[   16.320331] br-lan: port 1(lan1) entered blocking state
[   16.325558] br-lan: port 1(lan1) entered forwarding state
[   16.544019] mhi-pci-generic 0003:01:00.0: PME# disabled
[   16.549261] mhi-pci-generic 0003:01:00.0: enabling bus mastering

LSPCI:

root@OpenWrt:/# lspci -nn
0000:00:00.0 PCI bridge [0604]: MEDIATEK Corp. Device [14c3:7988] (rev 01)
0000:01:00.0 Network controller [0280]: Intel Corporation Wi-Fi 6E(802.11ax) AX210/AX1675* 2x2 [Typhoon Peak] [8086:2725] (rev 1a)
0003:00:00.0 PCI bridge [0604]: MEDIATEK Corp. Device [14c3:7988] (rev 01)
0003:01:00.0 Unassigned class [ff00]: Qualcomm Technologies, Inc Device [17cb:0308]

ModemManager:

root@OpenWrt:/# mmcli -L
    /org/freedesktop/ModemManager1/Modem/0 [generic] RM520N-GL
-------
    root@OpenWrt:/# mmcli -m 0
  -----------------------------------
  General  |                    path: /org/freedesktop/ModemManager1/Modem/0
           |               device id: 0488c1e012b820b06cd784e5e7e6b543edbb972e
  -----------------------------------
  Hardware |            manufacturer: generic
           |                   model: RM520N-GL
           |       firmware revision: RM520NGLAPR01A03M4G
           |          carrier config: ROW_Commercial
           | carrier config revision: 0A010809
           |            h/w revision: RM520N-GL
           |               supported: gsm-umts, lte, 5gnr
           |                 current: gsm-umts, lte, 5gnr
           |            equipment id: xxxxxxxxxxxxxxxx
  -----------------------------------
  System   |                  device: /sys/devices/platform/soc/11280000.pcie/pci0003:00/0003:00:00.0/0003:01:00.0
           |                 physdev: /sys/devices/platform/soc/11280000.pcie/pci0003:00/0003:00:00.0/0003:01:00.0
           |                 drivers: mhi-pci-generic, mhi_net
           |                  plugin: generic
           |            primary port: wwan0mbim0
           |                   ports: mhi_hwip0 (net), mhi_swip0 (net), wwan0mbim0 (mbim), 
           |                          wwan0qcdm0 (ignored)
  -----------------------------------
  Status   |                   state: failed
           |           failed reason: sim-missing
           |             power state: on
  -----------------------------------
  Modes    |               supported: allowed: 3g; preferred: none
           |                          allowed: 4g; preferred: none
           |                          allowed: 3g, 4g; preferred: 4g
           |                          allowed: 3g, 4g; preferred: 3g
           |                          allowed: 5g; preferred: none
           |                          allowed: 4g, 5g; preferred: 5g
           |                          allowed: 4g, 5g; preferred: 4g
           |                          allowed: 3g, 5g; preferred: 5g
           |                          allowed: 3g, 5g; preferred: 3g
           |                          allowed: 3g, 4g, 5g; preferred: 5g
           |                          allowed: 3g, 4g, 5g; preferred: 4g
           |                          allowed: 3g, 4g, 5g; preferred: 3g
           |                 current: allowed: 3g, 4g, 5g; preferred: 5g
  -----------------------------------
  Bands    |               supported: utran-1, utran-4, utran-6, utran-5, utran-8, utran-2, 
           |                          eutran-1, eutran-2, eutran-3, eutran-4, eutran-5, eutran-7, eutran-8, 
           |                          eutran-12, eutran-13, eutran-14, eutran-17, eutran-18, eutran-19, 
           |                          eutran-20, eutran-25, eutran-26, eutran-28, eutran-29, eutran-30, 
           |                          eutran-32, eutran-34, eutran-38, eutran-39, eutran-40, eutran-41, 
           |                          eutran-42, eutran-43, eutran-46, eutran-48, eutran-66, eutran-71, 
           |                          utran-19, ngran-1, ngran-2, ngran-3, ngran-5, ngran-7, ngran-8, 
           |                          ngran-12, ngran-13, ngran-14, ngran-18, ngran-20, ngran-25, ngran-26, 
           |                          ngran-28, ngran-29, ngran-30, ngran-38, ngran-40, ngran-41, ngran-48, 
           |                          ngran-66, ngran-70, ngran-71, ngran-75, ngran-76, ngran-77, ngran-78, 
           |                          ngran-79
           |                 current: utran-1, utran-4, utran-5, utran-8, utran-2, eutran-1, 
           |                          eutran-2, eutran-3, eutran-4, eutran-5, eutran-7, eutran-8, 
           |                          eutran-12, eutran-13, eutran-14, eutran-17, eutran-18, eutran-19, 
           |                          eutran-20, eutran-25, eutran-26, eutran-28, eutran-29, eutran-30, 
           |                          eutran-32, eutran-34, eutran-38, eutran-39, eutran-40, eutran-41, 
           |                          eutran-42, eutran-43, eutran-46, eutran-48, eutran-66, eutran-71, 
           |                          utran-19, ngran-1, ngran-2, ngran-3, ngran-5, ngran-7, ngran-8, 
           |                          ngran-12, ngran-13, ngran-14, ngran-18, ngran-20, ngran-25, ngran-26, 
           |                          ngran-28, ngran-29, ngran-30, ngran-38, ngran-40, ngran-41, ngran-48, 
           |                          ngran-66, ngran-70, ngran-71, ngran-75, ngran-76, ngran-77, ngran-78, 
           |                          ngran-79
  -----------------------------------
  IP       |               supported: ipv4, ipv6, ipv4v6
  -----------------------------------
  3GPP     |                    imei: xxxxxxxxxxxxxxxxxxxxx
  -----------------------------------
  SIM      |          sim slot paths: slot 1: none (active)
           |                          slot 2: none

Damn, just as I was about to order the board.

Which sim slot have you tried (all three)? SIM1 (cn17) should be the right one. I have not tested sim slots on r4 yet

Yes, I’ve tested all three sim slots with three different sim provider still no luck.

Possibly defective board.

Could be hw issue (may affect more boards) this slot is not well tested yet by us externals…@dangowrt,have you a pcie key-b modem to test the sim-slot?

Its not a good news if it a defective board :sweat_smile:. I just received the board 3/4 days ago after waiting almost 1 month :melting_face: .

you can look which pins your modem uses from the ngff slot and compare with bpi-r4 schematics…maybe there is a difference

see pins 30-36 (even pins)

According to the Modem hardware design document the pin looks same. But i don’t know if there any differences cause i don’t know about electrical thing. :sweat_smile: :sweat_smile:

Here the link for hardware design document(Page39).

100% board is defective, check this image of FM350-GL.

Fibocom FM350GL works with with BPI-R4? What kind of configuration you run on BPI-R4?

That’s an image from Openwrt forum…

To me it seems that most modems expect the SIM-detection signal to be inverted. For the FM350-GL there is a AT command which allows you to ignore the SIM-detection signal, then it works on the R4 as PCIe device.

I have t99w175 (or something like that, writing from memory). Cheap version from Aliexpress for 50-60 USD. It works correctly. Was able to have modemmanager with it and openwrt. Have also Fibocom 350, but this still wait - was not able to have modem manager with it, so for the time being it is postponed. Additional question, when you put sim card and modem is on, do you have additional led light? I think it is blue.

The only modems worth buying are Quectel 5G modems, all other brands or modems are garbage and a waste of money.

What is the difference between the RM520N-GL AA and AP models?

Ø For RM520NGLAA, default communication interface is USB, PCle is disabled but could be enabled by AT command.

Ø For RM520NGLAP, default communication interface is PCle, USB is disabled and cannot be used.

i agreed with you. Its has problem with SIM detection with on board SIM Slot. I order this M.2(NGFF) Key B Adapter with SIM Card for 3G/4G/5G Module expansion board and insert the sim in the the expansion board, the modem manager pickup the sim on the expansion board.

Expansion Board:

Modem Manager:

root@GFriendWRT:/# mmcli -L
    /org/freedesktop/ModemManager1/Modem/0 [generic] RM520N-GL
root@GFriendWRT:/# mmcli -m 0
  ------------------------------------
  General   |                    path: /org/freedesktop/ModemManager1/Modem/0
            |               device id: 0488c1e012b820b06cd784e5e7e6b543edbb972e
  ------------------------------------
  Hardware  |            manufacturer: generic
            |                   model: RM520N-GL
            |       firmware revision: RM520NGLAPR01A03M4G
            |          carrier config: ROW_Commercial
            | carrier config revision: 0A010809
            |            h/w revision: RM520N-GL
            |               supported: gsm-umts, lte, 5gnr
            |                 current: gsm-umts, lte, 5gnr
            |            equipment id: xxxxxxxxxxxxxxxxxx
  ------------------------------------
  System    |                  device: /sys/devices/platform/soc/11280000.pcie/pci0003:00/0003:00:00.0/0003:01:00.0
            |                 physdev: /sys/devices/platform/soc/11280000.pcie/pci0003:00/0003:00:00.0/0003:01:00.0
            |                 drivers: mhi_net, mhi-pci-generic
            |                  plugin: generic
            |            primary port: wwan0mbim0
            |                   ports: mhi_hwip0 (net), mhi_swip0 (net), wwan0mbim0 (mbim), 
            |                          wwan0qcdm0 (ignored)
  ------------------------------------
  Status    |                    lock: sim-pin2
            |          unlock retries: sim-pin2 (3)
            |                   state: enabled
            |             power state: on
            |          signal quality: 0% (recent)
  ------------------------------------
  Modes     |               supported: allowed: 3g; preferred: none
            |                          allowed: 4g; preferred: none
            |                          allowed: 3g, 4g; preferred: 4g
            |                          allowed: 3g, 4g; preferred: 3g
            |                          allowed: 5g; preferred: none
            |                          allowed: 4g, 5g; preferred: 5g
            |                          allowed: 4g, 5g; preferred: 4g
            |                          allowed: 3g, 5g; preferred: 5g
            |                          allowed: 3g, 5g; preferred: 3g
            |                          allowed: 3g, 4g, 5g; preferred: 5g
            |                          allowed: 3g, 4g, 5g; preferred: 4g
            |                          allowed: 3g, 4g, 5g; preferred: 3g
            |                 current: allowed: 3g, 4g, 5g; preferred: 5g
  ------------------------------------
  Bands     |               supported: utran-1, utran-4, utran-6, utran-5, utran-8, utran-2, 
            |                          eutran-1, eutran-2, eutran-3, eutran-4, eutran-5, eutran-7, eutran-8, 
            |                          eutran-12, eutran-13, eutran-14, eutran-17, eutran-18, eutran-19, 
            |                          eutran-20, eutran-25, eutran-26, eutran-28, eutran-29, eutran-30, 
            |                          eutran-32, eutran-34, eutran-38, eutran-39, eutran-40, eutran-41, 
            |                          eutran-42, eutran-43, eutran-46, eutran-48, eutran-66, eutran-71, 
            |                          utran-19, ngran-1, ngran-2, ngran-3, ngran-5, ngran-7, ngran-8, 
            |                          ngran-12, ngran-13, ngran-14, ngran-18, ngran-20, ngran-25, ngran-26, 
            |                          ngran-28, ngran-29, ngran-30, ngran-38, ngran-40, ngran-41, ngran-48, 
            |                          ngran-66, ngran-70, ngran-71, ngran-75, ngran-76, ngran-77, ngran-78, 
            |                          ngran-79
            |                 current: utran-1, utran-4, utran-5, utran-8, utran-2, eutran-1, 
            |                          eutran-2, eutran-3, eutran-4, eutran-5, eutran-7, eutran-8, 
            |                          eutran-12, eutran-13, eutran-14, eutran-17, eutran-18, eutran-19, 
            |                          eutran-20, eutran-25, eutran-26, eutran-28, eutran-29, eutran-30, 
            |                          eutran-32, eutran-34, eutran-38, eutran-39, eutran-40, eutran-41, 
            |                          eutran-42, eutran-43, eutran-46, eutran-48, eutran-66, eutran-71, 
            |                          utran-19, ngran-1, ngran-2, ngran-3, ngran-5, ngran-7, ngran-8, 
            |                          ngran-12, ngran-13, ngran-14, ngran-18, ngran-20, ngran-25, ngran-26, 
            |                          ngran-28, ngran-29, ngran-30, ngran-38, ngran-40, ngran-41, ngran-48, 
            |                          ngran-66, ngran-70, ngran-71, ngran-75, ngran-76, ngran-77, ngran-78, 
            |                          ngran-79
  ------------------------------------
  IP        |               supported: ipv4, ipv6, ipv4v6
  ------------------------------------
  3GPP      |                    imei: xxxxxxxxxxxxxxxxxxxxxx
            |           enabled locks: fixed-dialing
            |            registration: idle
  ------------------------------------
  3GPP EPS  |  initial bearer ip type: ipv4v6
  ------------------------------------
  3GPP 5GNR |               mico mode: unsupported
            |               drx cycle: unsupported
  ------------------------------------
  SIM       |        primary sim path: /org/freedesktop/ModemManager1/SIM/0
            |          sim slot paths: slot 1: /org/freedesktop/ModemManager1/SIM/0 (active)
            |                          slot 2: none

I have module FM350GL but i doesnt have time to test with BPIR4. Yesterday i tried the module in BPIR4 with modem manager, the module works in modem manager.

When i put the sim card and on the BPIR4 the blue led light only flash once with booting process after the booting process complete the led doesnt light up.

I’ve read about T99W175 too but i not sure which version should i buy. Because T99W175 had many version. I saw another forum this module cloud work with USB but required some MODS. On your setup do you run the module in PCIe or USB protocol?

1 Like

Thank you for sharing the info. I knew that the RM520NGLAA will work in most board because it has the USB line. The reason i choose RM520NGLAP because i had this module laying around and just want to test if the BPIR4 compatible with the PCIe only Modem. It also will be cheaper alternative if the RM520NGLAP work in BPIR4.

Still fighting with this and losing.

  1. Quectel EM120R-GL (PCIE) - SIM not detected. LED blinks briefly on boot.
  2. Quectel EM060K-GL (USB) - SIM LED stays on but SIM not detected.

    (SIM was actually detected once after resetting the Modem)

  3. Huawei ME936 (USB) - SIM LED stays on but SIM is not detected.

I was really hoping the EM120R-GL would work but no luck except perhaps with an eSIM.

I really hope it’s not only compatible modules that work with this.

This problem may cause by sim pin detection or sim slot confinguration in quectel module. Can you share these AT Command response for EM120R.

AT+QUIMSLOT?
AT+QSIMDET?
AT+QSIMSTAT?