Full logs from openwrt:
soft Quectel_RM520N-GL-AA_Firmware_Release_Notes_V0108_01.206.01.206:
root@BPI-R4:~# dmesg |grep 0003:01
[ 3.062705] pci_bus 0003:01: scanning bus
[ 3.066731] pci 0003:01:00.0: [1eac:1004] type 00 class 0xff0000 PCIe Endpoint
[ 3.073993] pci 0003:01:00.0: BAR 0 [mem 0x00000000-0x00000fff 64bit]
[ 3.080432] pci 0003:01:00.0: BAR 2 [mem 0x00000000-0x00000fff 64bit]
[ 3.086978] pci 0003:01:00.0: PME# supported from D0 D3hot D3cold
[ 3.093065] pci 0003:01:00.0: PME# disabled
[ 3.097273] 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 GT/s PCIe x2 link)
[ 3.112299] pci_bus 0003:01: fixups for bus
[ 3.116472] pci_bus 0003:01: bus scan returning with max=01
[ 3.122038] pci_bus 0003:01: busn_res: [bus 01-ff] end is updated to 01
[ 3.155589] pci 0003:01:00.0: BAR 0 [mem 0x20200000-0x20200fff 64bit]: assigned
[ 3.168356] pci 0003:01:00.0: BAR 2 [mem 0x20201000-0x20201fff 64bit]: assigned
[ 3.233719] pci_bus 0003:01: resource 1 [mem 0x20200000-0x202fffff]
[ 5.154682] pci 0003:01:00.0: save config 0x00: 0x00000000
[ 5.209674] pci 0003:01:00.0: save config 0x04: 0x00000000
[ 5.264674] pci 0003:01:00.0: save config 0x08: 0x00000000
[ 5.319674] pci 0003:01:00.0: save config 0x0c: 0x00000000
[ 5.374674] pci 0003:01:00.0: save config 0x10: 0x00000000
[ 5.429675] pci 0003:01:00.0: save config 0x14: 0x00000000
[ 5.484674] pci 0003:01:00.0: save config 0x18: 0x00000000
[ 5.539674] pci 0003:01:00.0: save config 0x1c: 0x00000000
[ 5.594675] pci 0003:01:00.0: save config 0x20: 0x00000000
[ 5.649674] pci 0003:01:00.0: save config 0x24: 0x00000000
[ 5.704674] pci 0003:01:00.0: save config 0x28: 0x00000000
[ 5.759674] pci 0003:01:00.0: save config 0x2c: 0x00000000
[ 5.814674] pci 0003:01:00.0: save config 0x30: 0x00000000
[ 5.869675] pci 0003:01:00.0: save config 0x34: 0x00000000
[ 5.924674] pci 0003:01:00.0: save config 0x38: 0x00000000
[ 5.979674] pci 0003:01:00.0: save config 0x3c: 0x00000000
root@BPI-R4:~#
root@BPI-R4:~# lspci -nn
0000:00:00.0 PCI bridge [0604]: MEDIATEK Corp. MT7988 PCI Express Host Bridge [Filogic 880] [14c3:7988] (rev 01)
0000:01:00.0 Network controller [0280]: Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] [17cb:1107] (rev 01)
0001:00:00.0 PCI bridge [0604]: MEDIATEK Corp. MT7988 PCI Express Host Bridge [Filogic 880] [14c3:7988] (rev 01)
0001:01:00.0 Network controller [0280]: Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] [17cb:1107] (rev 01)
0002:00:00.0 PCI bridge [0604]: MEDIATEK Corp. MT7988 PCI Express Host Bridge [Filogic 880] [14c3:7988] (rev 01)
0002:01:00.0 Non-Volatile memory controller [0108]: Sandisk Corp SanDisk Ultra 3D / WD PC SN530, IX SN530, Blue SN550 NVMe SSD (DRAM-less) [15b7:5009] (rev 01)
0003:00:00.0 PCI bridge [0604]: MEDIATEK Corp. MT7988 PCI Express Host Bridge [Filogic 880] [14c3:7988] (rev 01)
0003:01:00.0 Unassigned class [ff00]: Quectel Wireless Solutions Co., Ltd. Device [1eac:1004]
root@BPI-R4:~# dmesg |grep 0003:01
root@BPI-R4:~# lspci -s 0003:01:00.0 -vvv
0003:01:00.0 Unassigned class [ff00]: Quectel Wireless Solutions Co., Ltd. Device 1004
Subsystem: Quectel Wireless Solutions Co., Ltd. Device 3003
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-
Region 0: Memory at 20200000 (64-bit, non-prefetchable) [virtual] [size=4K]
Region 2: Memory at 20201000 (64-bit, non-prefetchable) [virtual] [size=4K]
lspci: Unable to load libkmod resources: error -2
root@BPI-R4:~# mmcli -m 0
error: couldn’t find modem
root@BPI-R4:~#
root@BPI-R4:~# dmesg | grep -E “mhi|mhi_pci|wwan|ath11k”
[ 15.200973] usbcore: registered new interface driver qmi_wwan
[ 15.538058] mhi mhi0: Requested to power ON
[ 15.542281] mhi mhi0: Power on setup success
[ 16.123537] mhi mhi0: Wait for device to enter SBL or Mission mode
[ 16.766220] mhi mhi1: Requested to power ON
[ 16.770467] mhi mhi1: Power on setup success
[ 16.858390] mhi mhi1: Wait for device to enter SBL or Mission mode
root@BPI-R4:~#
root@BPI-R4:~# hexdump -s 0x4c -n 8 /sys/bus/pci/devices/0003:01:00.0/config
000004c 0000 0000 0000 0000
0000054
root@BPI-R4:~# hexdump -v -n 64 /sys/bus/pci/devices/0003:01:00.0/config
0000000 0000 0000 0000 0000 0000 0000 0000 0000
0000010 0000 0000 0000 0000 0000 0000 0000 0000
0000020 0000 0000 0000 0000 0000 0000 0000 0000
0000030 0000 0000 0000 0000 0000 0000 0000 0000
0000040
================================================================================================================
soft airixolink:
root@BPI-R4:~# lspci -nn
0000:00:00.0 PCI bridge [0604]: MEDIATEK Corp. MT7988 PCI Express Host Bridge [Filogic 880] [14c3:7988] (rev 01)
0000:01:00.0 Network controller [0280]: Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] [17cb:1107] (rev 01)
0001:00:00.0 PCI bridge [0604]: MEDIATEK Corp. MT7988 PCI Express Host Bridge [Filogic 880] [14c3:7988] (rev 01)
0001:01:00.0 Network controller [0280]: Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] [17cb:1107] (rev 01)
0002:00:00.0 PCI bridge [0604]: MEDIATEK Corp. MT7988 PCI Express Host Bridge [Filogic 880] [14c3:7988] (rev 01)
0002:01:00.0 Non-Volatile memory controller [0108]: Sandisk Corp SanDisk Ultra 3D / WD PC SN530, IX SN530, Blue SN550 NVMe SSD (DRAM-less) [15b7:5009] (rev 01)
0003:00:00.0 PCI bridge [0604]: MEDIATEK Corp. MT7988 PCI Express Host Bridge [Filogic 880] [14c3:7988] (rev 01)
0003:01:00.0 Unassigned class [ff00]: Quectel Wireless Solutions Co., Ltd. Device [1eac:1004]
root@BPI-R4:~#
root@BPI-R4:~#
root@BPI-R4:~#
root@BPI-R4:~#
root@BPI-R4:~# dmesg |grep 0003:01
[ 2.257232] pci_bus 0003:01: scanning bus
[ 2.257261] pci 0003:01:00.0: [1eac:1004] type 00 class 0xff0000 PCIe Endpoint
[ 2.257314] pci 0003:01:00.0: BAR 0 [mem 0x00000000-0x00000fff 64bit]
[ 2.257321] pci 0003:01:00.0: BAR 2 [mem 0x00000000-0x00000fff 64bit]
[ 2.257441] pci 0003:01:00.0: PME# supported from D0 D3hot D3cold
[ 2.257447] pci 0003:01:00.0: PME# disabled
[ 2.257486] 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 GT/s PCIe x2 link)
[ 2.257582] pci_bus 0003:01: fixups for bus
[ 2.257585] pci_bus 0003:01: bus scan returning with max=01
[ 2.257588] pci_bus 0003:01: busn_res: [bus 01-ff] end is updated to 01
[ 2.257626] pci 0003:01:00.0: BAR 0 [mem 0x20200000-0x20200fff 64bit]: assigned
[ 2.257639] pci 0003:01:00.0: BAR 2 [mem 0x20201000-0x20201fff 64bit]: assigned
[ 2.257674] pci_bus 0003:01: resource 1 [mem 0x20200000-0x202fffff]
[ 2.258989] pci 0003:01:00.0: save config 0x00: 0x10041eac
[ 2.258993] pci 0003:01:00.0: save config 0x04: 0x00100000
[ 2.258998] pci 0003:01:00.0: save config 0x08: 0xff000000
[ 2.259001] pci 0003:01:00.0: save config 0x0c: 0x00000000
[ 2.259005] pci 0003:01:00.0: save config 0x10: 0x20200004
[ 2.259009] pci 0003:01:00.0: save config 0x14: 0x00000000
[ 2.259013] pci 0003:01:00.0: save config 0x18: 0x20201004
[ 2.259017] pci 0003:01:00.0: save config 0x1c: 0x00000000
[ 2.259021] pci 0003:01:00.0: save config 0x20: 0x00000000
[ 2.259025] pci 0003:01:00.0: save config 0x24: 0x00000000
[ 2.259029] pci 0003:01:00.0: save config 0x28: 0x00000000
[ 2.259032] pci 0003:01:00.0: save config 0x2c: 0x30031eac
[ 2.259036] pci 0003:01:00.0: save config 0x30: 0x00000000
[ 2.259040] pci 0003:01:00.0: save config 0x34: 0x00000040
[ 2.259044] pci 0003:01:00.0: save config 0x38: 0x00000000
[ 2.259048] pci 0003:01:00.0: save config 0x3c: 0x00000000
root@BPI-R4:~# lspci -nn
0000:00:00.0 PCI bridge [0604]: MEDIATEK Corp. MT7988 PCI Express Host Bridge [Filogic 880] [14c3:7988] (rev 01)
0000:01:00.0 Network controller [0280]: Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] [17cb:1107] (rev 01)
0001:00:00.0 PCI bridge [0604]: MEDIATEK Corp. MT7988 PCI Express Host Bridge [Filogic 880] [14c3:7988] (rev 01)
0001:01:00.0 Network controller [0280]: Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] [17cb:1107] (rev 01)
0002:00:00.0 PCI bridge [0604]: MEDIATEK Corp. MT7988 PCI Express Host Bridge [Filogic 880] [14c3:7988] (rev 01)
0002:01:00.0 Non-Volatile memory controller [0108]: Sandisk Corp SanDisk Ultra 3D / WD PC SN530, IX SN530, Blue SN550 NVMe SSD (DRAM-less) [15b7:5009] (rev 01)
0003:00:00.0 PCI bridge [0604]: MEDIATEK Corp. MT7988 PCI Express Host Bridge [Filogic 880] [14c3:7988] (rev 01)
0003:01:00.0 Unassigned class [ff00]: Quectel Wireless Solutions Co., Ltd. Device [1eac:1004]
root@BPI-R4:~# lspci -s 0003:01:00.0 -vvv
0003:01:00.0 Unassigned class [ff00]: Quectel Wireless Solutions Co., Ltd. Device 1004
Subsystem: Quectel Wireless Solutions Co., Ltd. Device 3003
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-
Region 0: Memory at 20200000 (64-bit, non-prefetchable) [virtual] [size=4K]
Region 2: Memory at 20201000 (64-bit, non-prefetchable) [virtual] [size=4K]
lspci: Unable to load libkmod resources: error -2
root@BPI-R4:~# mmcli -m 0
error: couldn’t find modem
root@BPI-R4:~# dmesg | grep -E “mhi|mhi_pci|wwan|ath11k”
[ 13.923883] usbcore: registered new interface driver qmi_wwan
[ 14.262801] mhi mhi0: Requested to power ON
[ 14.267011] mhi mhi0: Power on setup success
[ 14.848115] mhi mhi0: Wait for device to enter SBL or Mission mode
[ 15.491419] mhi mhi1: Requested to power ON
[ 15.495626] mhi mhi1: Power on setup success
[ 15.588262] mhi mhi1: Wait for device to enter SBL or Mission mode
root@BPI-R4:~# hexdump -s 0x4c -n 8 /sys/bus/pci/devices/0003:01:00.0/config
000004c 0000 0000 0000 0000
0000054
root@BPI-R4:~# hexdump -v -n 64 /sys/bus/pci/devices/0003:01:00.0/config
0000000 0000 0000 0000 0000 0000 0000 0000 0000
0000010 0000 0000 0000 0000 0000 0000 0000 0000
0000020 0000 0000 0000 0000 0000 0000 0000 0000
0000030 0000 0000 0000 0000 0000 0000 0000 0000
0000040
root@BPI-R4:~# ls -ltr /dev/mhi*
ls: /dev/mhi*: No such file or directory
root@BPI-R4:~# ls -ltr /dev/ttyU*
ls: /dev/ttyU*: No such file or directory
root@BPI-R4:~#
root@BPI-R4:~# lspci -s 0003:00:00.0 -vvv
0003:00:00.0 PCI bridge: MEDIATEK Corp. MT7988 PCI Express Host Bridge [Filogic 880] (rev 01) (prog-if 00 [Normal decode])
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 129
Region 0: Memory at 20300000 (64-bit, non-prefetchable) [size=32K]
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000f000-00000fff [disabled] [32-bit]
Memory behind bridge: 20200000-202fffff [size=1M] [32-bit]
Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff [disabled] [64-bit]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: [80] Express (v2) Root Port (Slot-), IntMsgNum 0
DevCap: MaxPayload 256 bytes, PhantFunc 0
ExtTag+ RBE+ TEE-IO-
DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr+ NonFatalErr+ FatalErr+ UnsupReq- AuxPwr- TransPend-
LnkCap: Port #1, Speed 8GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <2us, L1 <8us
ClockPM- Surprise+ LLActRep+ BwNot+ ASPMOptComp+
LnkCtl: ASPM Disabled; RCB 64 bytes, LnkDisable- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt+ AutBWInt+ FltModeDis-
LnkSta: Speed 2.5GT/s, Width x0
TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
RootCap: CRSVisible+
RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna+ CRSVisible+
RootSta: PME ReqID 0000, PMEStatus- PMEPending-
DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ NROPrPrP- LTR+
10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt+ EETLPPrefix-
EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
FRS- LN System CLS Not Supported, TPHComp- ExtTPHComp- ARIFwd-
AtomicOpsCap: Routing- 32bit- 64bit- 128bitCAS-
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- ARIFwd-
AtomicOpsCtl: ReqEn- EgressBlck-
IDOReq- IDOCompl- LTR- EmergencyPowerReductionReq-
10BitTagReq- OBFF Disabled, EETLPPrefixBlk-
LnkCap2: Supported Link Speeds: 2.5-8GT/s, Crosslink- Retimer- 2Retimers- DRS-
LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance Preset/De-emphasis: -6dB de-emphasis, 0dB preshoot
LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1-
EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
Retimer- 2Retimers- CrosslinkRes: unsupported, FltMode-
Capabilities: [e0] MSI: Enable+ Count=1/32 Maskable+ 64bit+
Address: 0000000011280c00 Data: 0000
Masking: fffffffe Pending: 00000000
Capabilities: [f8] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [100 v1] Vendor Specific Information: ID=1556 Rev=1 Len=008 <?>
Capabilities: [110 v1] L1 PM Substates
L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
PortCommonModeRestoreTime=3us PortTPowerOnTime=28us
L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
T_CommonMode=0us LTR1.2_Threshold=0ns
L1SubCtl2: T_PwrOn=10us
Capabilities: [200 v2] Advanced Error Reporting
UESta: DLP- SDES+ TLP- FCP- CmpltTO+ CmpltAbrt- UnxCmplt- RxOF- MalfTLP-
ECRC- UnsupReq- ACSViol- UncorrIntErr- BlockedTLP- AtomicOpBlocked- TLPBlockedErr-
PoisonTLPBlocked- DMWrReqBlocked- IDECheck- MisIDETLP- PCRC_CHECK- TLPXlatBlocked-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP-
ECRC- UnsupReq- ACSViol- UncorrIntErr+ BlockedTLP- AtomicOpBlocked- TLPBlockedErr-
PoisonTLPBlocked- DMWrReqBlocked- IDECheck- MisIDETLP- PCRC_CHECK- TLPXlatBlocked-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+
ECRC- UnsupReq- ACSViol- UncorrIntErr+ BlockedTLP- AtomicOpBlocked- TLPBlockedErr-
PoisonTLPBlocked- DMWrReqBlocked- IDECheck- MisIDETLP- PCRC_CHECK- TLPXlatBlocked-
CESta: RxErr+ BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr- CorrIntErr- HeaderOF-
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+ CorrIntErr+ HeaderOF-
AERCap: First Error Pointer: 05, ECRCGenCap- ECRCGenEn- ECRCChkCap- ECRCChkEn-
MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
HeaderLog: 0a000000 01000004 00008000 8ac254f9
RootCmd: CERptEn- NFERptEn- FERptEn-
RootSta: CERcvd- MultCERcvd- UERcvd- MultUERcvd-
FirstFatal- NonFatalMsg- FatalMsg- IntMsgNum 0
ErrorSrc: ERR_COR: 0000 ERR_FATAL/NONFATAL: 0000
Capabilities: [300 v1] Secondary PCI Express
LnkCtl3: LnkEquIntrruptEn- PerformEqu-
LaneErrStat: LaneErr at lane: 0
Kernel driver in use: pcieport
lspci: Unable to load libkmod resources: error -2
cd /nvme/packages
apk add --no-network --allow-untrusted ./kmod-mhi-bus-.apk ./kmod-mhi-pci-generic-.apk ./kmod-mhi-net-.apk ./kmod-mhi-wwan-ctrl-.apk ./kmod-mhi-wwan-mbim-*.apk
and crash
==================================================================================================================
soft Quectel_RM520N-GL-AA_Firmware_Release_Notes_V0106_12.001.12.001
root@BPI-R4:~#
root@BPI-R4:~# lspci -nn
0000:00:00.0 PCI bridge [0604]: MEDIATEK Corp. MT7988 PCI Express Host Bridge [Filogic 880] [14c3:7988] (rev 01)
0000:01:00.0 Network controller [0280]: Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] [17cb:1107] (rev 01)
0001:00:00.0 PCI bridge [0604]: MEDIATEK Corp. MT7988 PCI Express Host Bridge [Filogic 880] [14c3:7988] (rev 01)
0001:01:00.0 Network controller [0280]: Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] [17cb:1107] (rev 01)
0002:00:00.0 PCI bridge [0604]: MEDIATEK Corp. MT7988 PCI Express Host Bridge [Filogic 880] [14c3:7988] (rev 01)
0002:01:00.0 Non-Volatile memory controller [0108]: Sandisk Corp SanDisk Ultra 3D / WD PC SN530, IX SN530, Blue SN550 NVMe SSD (DRAM-less) [15b7:5009] (rev 01)
0003:00:00.0 PCI bridge [0604]: MEDIATEK Corp. MT7988 PCI Express Host Bridge [Filogic 880] [14c3:7988] (rev 01)
0003:01:00.0 Unassigned class [ff00]: Quectel Wireless Solutions Co., Ltd. Device [1eac:1004]
root@BPI-R4:~# dmesg |grep 0003:01
[ 4.644716] pci_bus 0003:01: scanning bus
[ 4.644746] pci 0003:01:00.0: [1eac:1004] type 00 class 0xff0000 PCIe Endpoint
[ 4.644798] pci 0003:01:00.0: BAR 0 [mem 0x00000000-0x00000fff 64bit]
[ 4.700510] pci 0003:01:00.0: BAR 2 [mem 0x00000000-0x00000fff 64bit]
[ 4.745179] pci 0003:01:00.0: PME# supported from D0 D3hot D3cold
[ 4.751266] pci 0003:01:00.0: PME# disabled
[ 4.755474] 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 GT/s PCIe x2 link)
[ 4.770503] pci_bus 0003:01: fixups for bus
[ 4.774676] pci_bus 0003:01: bus scan returning with max=01
[ 4.780240] pci_bus 0003:01: busn_res: [bus 01-ff] end is updated to 01
[ 4.812664] pci 0003:01:00.0: BAR 0 [mem 0x20200000-0x20200fff 64bit]: assigned
[ 4.825429] pci 0003:01:00.0: BAR 2 [mem 0x20201000-0x20201fff 64bit]: assigned
[ 4.883935] pci_bus 0003:01: resource 1 [mem 0x20200000-0x202fffff]
[ 5.975417] pci 0003:01:00.0: save config 0x00: 0x00000000
[ 6.030416] pci 0003:01:00.0: save config 0x04: 0x00000000
[ 6.085416] pci 0003:01:00.0: save config 0x08: 0x00000000
[ 6.140414] pci 0003:01:00.0: save config 0x0c: 0x00000000
[ 6.195414] pci 0003:01:00.0: save config 0x10: 0x00000000
[ 6.250415] pci 0003:01:00.0: save config 0x14: 0x00000000
[ 6.305414] pci 0003:01:00.0: save config 0x18: 0x00000000
[ 6.360413] pci 0003:01:00.0: save config 0x1c: 0x00000000
[ 6.415415] pci 0003:01:00.0: save config 0x20: 0x00000000
[ 6.470414] pci 0003:01:00.0: save config 0x24: 0x00000000
[ 6.525413] pci 0003:01:00.0: save config 0x28: 0x00000000
[ 6.580414] pci 0003:01:00.0: save config 0x2c: 0x00000000
[ 6.635414] pci 0003:01:00.0: save config 0x30: 0x00000000
[ 6.690415] pci 0003:01:00.0: save config 0x34: 0x00000000
[ 6.745414] pci 0003:01:00.0: save config 0x38: 0x00000000
[ 6.800413] pci 0003:01:00.0: save config 0x3c: 0x00000000
root@BPI-R4:~# lspci -s 0003:01:00.0 -vvv
0003:01:00.0 Unassigned class [ff00]: Quectel Wireless Solutions Co., Ltd. Device 1004
Subsystem: Quectel Wireless Solutions Co., Ltd. Device 3003
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-
Region 0: Memory at 20200000 (64-bit, non-prefetchable) [virtual] [size=4K]
Region 2: Memory at 20201000 (64-bit, non-prefetchable) [virtual] [size=4K]
lspci: Unable to load libkmod resources: error -2
root@BPI-R4:~# mmcli -m 0
error: couldn’t find modem
root@BPI-R4:~# dmesg | grep -E “mhi|mhi_pci|wwan|ath11k”
[ 15.182163] usbcore: registered new interface driver qmi_wwan
[ 15.519024] mhi mhi0: Requested to power ON
[ 15.523233] mhi mhi0: Power on setup success
[ 16.103027] mhi mhi0: Wait for device to enter SBL or Mission mode
[ 16.745932] mhi mhi1: Requested to power ON
[ 16.750151] mhi mhi1: Power on setup success
[ 16.838276] mhi mhi1: Wait for device to enter SBL or Mission mode
root@BPI-R4:~# hexdump -s 0x4c -n 8 /sys/bus/pci/devices/0003:01:00.0/config
000004c 0000 0000 0000 0000
0000054
root@BPI-R4:~# hexdump -v -n 64 /sys/bus/pci/devices/0003:01:00.0/config
0000000 0000 0000 0000 0000 0000 0000 0000 0000
0000010 0000 0000 0000 0000 0000 0000 0000 0000
0000020 0000 0000 0000 0000 0000 0000 0000 0000
0000030 0000 0000 0000 0000 0000 0000 0000 0000
0000040
root@BPI-R4:~# ls -ltr /dev/mhi*
ls: /dev/mhi*: No such file or directory
root@BPI-R4:~# ls -ltr /dev/ttyU*
ls: /dev/ttyU*: No such file or directory
root@BPI-R4:~# cd /nvme/packages
oot@BPI-R4:~# lspci -s 0003:00:00.0 -vvv
0003:00:00.0 PCI bridge: MEDIATEK Corp. MT7988 PCI Express Host Bridge [Filogic 880] (rev 01) (prog-if 00 [Normal decode])
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 123
Region 0: Memory at 20300000 (64-bit, non-prefetchable) [size=32K]
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000f000-00000fff [disabled] [32-bit]
Memory behind bridge: 20200000-202fffff [size=1M] [32-bit]
Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff [disabled] [64-bit]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: [80] Express (v2) Root Port (Slot-), IntMsgNum 0
DevCap: MaxPayload 256 bytes, PhantFunc 0
ExtTag+ RBE+ TEE-IO-
DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr+ NonFatalErr+ FatalErr+ UnsupReq- AuxPwr- TransPend-
LnkCap: Port #1, Speed 8GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <2us, L1 <8us
ClockPM- Surprise+ LLActRep+ BwNot+ ASPMOptComp+
LnkCtl: ASPM Disabled; RCB 64 bytes, LnkDisable- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt+ AutBWInt+ FltModeDis-
LnkSta: Speed 2.5GT/s, Width x0
TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
RootCap: CRSVisible+
RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna+ CRSVisible+
RootSta: PME ReqID 0000, PMEStatus- PMEPending-
DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ NROPrPrP- LTR+
10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt+ EETLPPrefix-
EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
FRS- LN System CLS Not Supported, TPHComp- ExtTPHComp- ARIFwd-
AtomicOpsCap: Routing- 32bit- 64bit- 128bitCAS-
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- ARIFwd-
AtomicOpsCtl: ReqEn- EgressBlck-
IDOReq- IDOCompl- LTR- EmergencyPowerReductionReq-
10BitTagReq- OBFF Disabled, EETLPPrefixBlk-
LnkCap2: Supported Link Speeds: 2.5-8GT/s, Crosslink- Retimer- 2Retimers- DRS-
LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance Preset/De-emphasis: -6dB de-emphasis, 0dB preshoot
LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1-
EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
Retimer- 2Retimers- CrosslinkRes: unsupported, FltMode-
Capabilities: [e0] MSI: Enable+ Count=1/32 Maskable+ 64bit+
Address: 0000000011280c00 Data: 0000
Masking: fffffffe Pending: 00000000
Capabilities: [f8] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [100 v1] Vendor Specific Information: ID=1556 Rev=1 Len=008 <?>
Capabilities: [110 v1] L1 PM Substates
L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
PortCommonModeRestoreTime=3us PortTPowerOnTime=28us
L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
T_CommonMode=0us LTR1.2_Threshold=0ns
L1SubCtl2: T_PwrOn=10us
Capabilities: [200 v2] Advanced Error Reporting
UESta: DLP- SDES+ TLP- FCP- CmpltTO+ CmpltAbrt- UnxCmplt- RxOF- MalfTLP-
ECRC- UnsupReq- ACSViol- UncorrIntErr- BlockedTLP- AtomicOpBlocked- TLPBlockedErr-
PoisonTLPBlocked- DMWrReqBlocked- IDECheck- MisIDETLP- PCRC_CHECK- TLPXlatBlocked-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP-
ECRC- UnsupReq- ACSViol- UncorrIntErr+ BlockedTLP- AtomicOpBlocked- TLPBlockedErr-
PoisonTLPBlocked- DMWrReqBlocked- IDECheck- MisIDETLP- PCRC_CHECK- TLPXlatBlocked-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+
ECRC- UnsupReq- ACSViol- UncorrIntErr+ BlockedTLP- AtomicOpBlocked- TLPBlockedErr-
PoisonTLPBlocked- DMWrReqBlocked- IDECheck- MisIDETLP- PCRC_CHECK- TLPXlatBlocked-
CESta: RxErr+ BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr- CorrIntErr- HeaderOF-
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+ CorrIntErr+ HeaderOF-
AERCap: First Error Pointer: 05, ECRCGenCap- ECRCGenEn- ECRCChkCap- ECRCChkEn-
MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
HeaderLog: 4a000001 01000004 00008000 25000100
RootCmd: CERptEn- NFERptEn- FERptEn-
RootSta: CERcvd- MultCERcvd- UERcvd- MultUERcvd-
FirstFatal- NonFatalMsg- FatalMsg- IntMsgNum 0
ErrorSrc: ERR_COR: 0000 ERR_FATAL/NONFATAL: 0000
Capabilities: [300 v1] Secondary PCI Express
LnkCtl3: LnkEquIntrruptEn- PerformEqu-
LaneErrStat: LaneErr at lane: 0
Kernel driver in use: pcieport
lspci: Unable to load libkmod resources: error -2
root@BPI-R4:/nvme/packages# apk add --no-network --allow-untrusted ./kmod-mhi-bus-.apk ./kmod-mhi-pci-generic-.apk ./kmod-mhi-net-.apk ./kmod-mhi-wwan-ctrl-.apk ./k
mod-mhi-wwan-mbim-*.apk
WARNING: opening from cache https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/video/packages.adb: No such file or directory
(1/4) Installing kmod-mhi-net (6.18.28-r1)
Executing kmod-mhi-net-6.18.28-r1.post-install
(2/4) Installing kmod-mhi-pci-generic (6.18.28-r1)
Executing kmod-mhi-pci-generic-6.18.28-r1.post-install
27% ############################################ >> crash