mdsdtech / GFriendWRT

GFriendWRT (GFWRT) is a custom build firmware based on ImmortalWRT for BPIR4 & BPIR3 Mini with 5G/4G Modem Support.
https://github.com/mdsdtech/GFriendWRT
GNU General Public License v2.0
0 stars 0 forks source link

Soft reboot? #2

Open cgi2099 opened 1 week ago

cgi2099 commented 1 week ago

What was the code or script, fix for soft reboot on the RM520N-GLAP?

starimage01 commented 1 week ago

The firmware turned out great, but soft reset does not restore the modem connection. Hard reset only

cgi2099 commented 1 week ago

The firmware turned out great, but soft reset does not restore the modem connection. Hard reset only

What was the fix here? I am running into the same issues.

starimage01 commented 1 week ago

The firmware turned out great, but soft reset does not restore the modem connection. Hard reset only

What was the fix here? I am running into the same issues.

AT+CFUN=1,1

mdsdtech commented 1 week ago

Can you provide the log before and after the reboot. Can you run this command lspci -n -v and give me the reply from this command?

starimage01 commented 6 days ago

root@GFriendWRT:~# lspci -n -v 0000:00:00.0 0604: 14c3:7988 (rev 01) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0, IRQ 120 Memory at 30500000 (64-bit, non-prefetchable) [size=32K] Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: [disabled] [32-bit] Memory behind bridge: 30400000-304fffff [size=1M] [32-bit] Prefetchable memory behind bridge: 30200000-303fffff [size=2M] [32-bit] Capabilities: [80] Express Root Port (Slot-), IntMsgNum 0 Capabilities: [e0] MSI: Enable+ Count=1/32 Maskable+ 64bit+ Capabilities: [f8] Power Management version 3 Capabilities: [100] Vendor Specific Information: ID=1556 Rev=1 Len=008 <?> Capabilities: [110] L1 PM Substates Capabilities: [200] Advanced Error Reporting Capabilities: [300] Secondary PCI Express Kernel driver in use: pcieport lspci: Unable to load libkmod resources: error -2

0000:01:00.0 0280: 14c3:7990 Subsystem: 14c3:6639 Flags: bus master, fast devsel, latency 0, IRQ 134 Memory at 30200000 (64-bit, prefetchable) [size=2M] Memory at 30400000 (64-bit, non-prefetchable) [size=32K] Capabilities: [80] Express Endpoint, IntMsgNum 0 Capabilities: [e0] MSI: Enable+ Count=1/32 Maskable+ 64bit+ Capabilities: [f8] Power Management version 3 Capabilities: [100] Vendor Specific Information: ID=1556 Rev=1 Len=008 <?> Capabilities: [108] Latency Tolerance Reporting Capabilities: [110] L1 PM Substates Capabilities: [200] Advanced Error Reporting Capabilities: [300] Secondary PCI Express Kernel driver in use: mt7996e

0001:00:00.0 0604: 14c3:7988 (rev 01) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0, IRQ 123 Memory at 38500000 (64-bit, non-prefetchable) [size=32K] Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: [disabled] [32-bit] Memory behind bridge: 38400000-384fffff [size=1M] [32-bit] Prefetchable memory behind bridge: 38200000-383fffff [size=2M] [32-bit] Capabilities: [80] Express Root Port (Slot-), IntMsgNum 0 Capabilities: [e0] MSI: Enable+ Count=1/32 Maskable+ 64bit+ Capabilities: [f8] Power Management version 3 Capabilities: [100] Vendor Specific Information: ID=1556 Rev=1 Len=008 <?> Capabilities: [110] L1 PM Substates Capabilities: [200] Advanced Error Reporting Capabilities: [300] Secondary PCI Express Kernel driver in use: pcieport

0001:01:00.0 0280: 14c3:7991 Subsystem: 14c3:6639 Flags: bus master, fast devsel, latency 0, IRQ 135 Memory at 38200000 (64-bit, prefetchable) [size=2M] Memory at 38400000 (64-bit, non-prefetchable) [size=32K] Capabilities: [80] Express Endpoint, IntMsgNum 0 Capabilities: [e0] MSI: Enable+ Count=1/32 Maskable+ 64bit+ Capabilities: [f8] Power Management version 3 Capabilities: [100] Vendor Specific Information: ID=1556 Rev=1 Len=008 <?> Capabilities: [108] Latency Tolerance Reporting Capabilities: [110] L1 PM Substates Capabilities: [200] Advanced Error Reporting Capabilities: [300] Secondary PCI Express Kernel driver in use: mt7996e_hif

0002:00:00.0 0604: 14c3:7988 (rev 01) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0, IRQ 117 Memory at 28300000 (64-bit, non-prefetchable) [size=32K] Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: [disabled] [32-bit] Memory behind bridge: 28200000-282fffff [size=1M] [32-bit] Prefetchable memory behind bridge: [disabled] [64-bit] Capabilities: [80] Express Root Port (Slot-), IntMsgNum 0 Capabilities: [e0] MSI: Enable+ Count=1/32 Maskable+ 64bit+ Capabilities: [f8] Power Management version 3 Capabilities: [100] Vendor Specific Information: ID=1556 Rev=1 Len=008 <?> Capabilities: [110] L1 PM Substates Capabilities: [200] Advanced Error Reporting Capabilities: [300] Secondary PCI Express Kernel driver in use: pcieport

0002:01:00.0 0108: 1c5c:1339 (prog-if 02 [NVM Express]) Subsystem: 1c5c:0000 Flags: fast devsel, IRQ 255 Memory at 28200000 (64-bit, non-prefetchable) [disabled] [size=16K] Capabilities: [80] Power Management version 3 Capabilities: [90] MSI: Enable- Count=1/32 Maskable+ 64bit+ Capabilities: [b0] MSI-X: Enable- Count=32 Masked- Capabilities: [c0] Express Endpoint, IntMsgNum 0 Capabilities: [100] Advanced Error Reporting Capabilities: [150] Device Serial Number 00-00-00-00-00-00-00-00 Capabilities: [160] Power Budgeting <?> Capabilities: [1b8] Latency Tolerance Reporting Capabilities: [300] Secondary PCI Express Capabilities: [400] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?> Capabilities: [900] L1 PM Substates

0003:00:00.0 0604: 14c3:7988 (rev 01) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0, IRQ 114 Memory at 20300000 (64-bit, non-prefetchable) [size=32K] Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: [disabled] [32-bit] Memory behind bridge: 20200000-202fffff [size=1M] [32-bit] Prefetchable memory behind bridge: [disabled] [64-bit] Capabilities: [80] Express Root Port (Slot-), IntMsgNum 0 Capabilities: [e0] MSI: Enable+ Count=1/32 Maskable+ 64bit+ Capabilities: [f8] Power Management version 3 Capabilities: [100] Vendor Specific Information: ID=1556 Rev=1 Len=008 <?> Capabilities: [110] L1 PM Substates Capabilities: [200] Advanced Error Reporting Capabilities: [300] Secondary PCI Express Kernel driver in use: pcieport

0003:01:00.0 ff00: 17cb:0308 Subsystem: 17cb:0308 Flags: bus master, fast devsel, latency 0, IRQ 130 Memory at 20200000 (64-bit, non-prefetchable) [size=4K] Memory at 20201000 (64-bit, non-prefetchable) [size=4K] Capabilities: [40] Power Management version 3 Capabilities: [50] MSI: Enable+ Count=4/32 Maskable+ 64bit+ Capabilities: [70] Express Endpoint, IntMsgNum 0 Capabilities: [100] Advanced Error Reporting Capabilities: [148] Secondary PCI Express Capabilities: [168] Physical Layer 16.0 GT/s <?> Capabilities: [18c] Lane Margining at the Receiver Capabilities: [19c] Transaction Processing Hints Capabilities: [228] Latency Tolerance Reporting Capabilities: [230] L1 PM Substates Capabilities: [240] Data Link Feature <?> Kernel driver in use: mhi_q