iamromulan / RM551E-GL

Quectel RM551E-GL Resources
GNU General Public License v3.0
15 stars 4 forks source link

Setup troubles #2

Open zacharee opened 1 week ago

zacharee commented 1 week ago

First off, thanks for these repositories for the Quectel modems. They've been hugely helpful for working with them.

I just got an RM551E sample today and I've been trying to set it up in my GL.iNet X3000 no no avail. When plugged into Windows with a USB adapter, I see all the COM ports and I can interact with AT commands, but the X3000 doesn't see the modem at all. I checked it against my RM521F to make sure all of the mode options matched, which didn't help.

I'm not sure which firmware it's on since the AT command just returns the base version, and not whether it's beta (or which beta). I thought maybe I needed to update the firmware, so I tried using QFlash with both the latest beta and the initial non-beta firmware, and both failed with "DL_Firehose Time Out". I also tried uploading the firmware to the X3000 and using QFirehose, but that fails with various Sahara errors similar to "Received a different command: 8 while waiting for hello packet". I also tried QFIL 2.0.3.5, but this fails with "Unable to read packet header. Only read 0 bytes."

It seems like the Sahara errors with QFirehose imply an incorrect firehose file. Am I missing something obvious? Is this maybe a counterfeit modem?

zacharee commented 1 week ago

I'm also noticing it doesn't have AT+QCFG="eth_driver" available, which seems weird.

iamromulan commented 1 week ago

This modem is super picky about USB cables/ports Ensure you have only the NDIS driver installed

AT+QCFG="eth_driver" is no longer needed. Ethernet driver selection is now automatic.

You must use QFlash 7.0 or newer to flash.

You can use QuecDeploy: https://github.com/iamromulan/rm520n-gl/releases

Keep an eye on the SDXPINN and development-SDXPINN branches The Read me has some setup info https://github.com/iamromulan/quectel-rgmii-toolkit/tree/SDXPINN https://github.com/iamromulan/quectel-rgmii-toolkit/tree/development-SDXPINN

GL.inet may not have their stuff set up yet for the 551. Attempt different USBNET modes. ECM (1) will probably be the best for now.

zacharee commented 1 week ago

Thanks. I tried different ports and computers but I couldn't get it to flash (even directly on the X3000 with QFirehose). I think I'm just going to give up on that for now.

Should I set data_interface or pcie/mode to anything specific along with usbnet?

zacharee commented 1 week ago

With data_interface=0,0, pcie/mode=1, and usbnet=1, it doesn't show up in the UI at all. I think the firmware might be missing the ECM driver.

zacharee commented 1 week ago

For some reason trying again after a while just worked. Maybe it was because I had changed USB modes but I have no idea.

I did also get it mostly working with ROOter firmware on the GL-X3000 by searching the ROOter source for "0801" (RM521F USB ID) and adding "0122" (RM551E USB ID) into the arrays and conditionals that matched on my local firmware. It doesn't work with QMI, but usbnet=1, data_interface=0,0 (1,0 also works fine), pcie/mode=0, and AT+QMAPWAC=1, I get about 300Mbps through the gateway.

It seems like it's a known issue that ROOter's USB ECM driver is broken and it caps at about 300Mbps. I did order a 5G2PHY from Chester Tech Repairs (before I saw it was $25 cheaper elsewhere), though, so I'm probably going to abandon trying to get the full router working since I don't need it anyway.

zacharee commented 5 days ago

After more research, it's actually because ROOter only uses USB to talk to the modem, and most gateways only have USB 2.0 on the m.2 slot. It isn't possible to install ModemManager after the ROOter firmware is built since it depends on a few kernel modules, so you're effectively stuck at 300Mbps when using ROOter unless your gateway has USB 3 over m.2.

The 5G2PHY is working really well for me with the modem in ECM mode and the RGMII toolkit installed on it. It's not perfect, since there are a couple packages missing for the OpenWRT build installed on the modem (like uqmi), but I'm getting ~1100/13 speeds now aggregating n41+n41+n25.

iamromulan commented 5 days ago

https://youtu.be/dh7dbEyHwiY?si=U5tghh_7-amEjZqB

Theres a lot of good packages here too https://dl.openwrt.ai/23.05/packages/aarch64_cortex-a53/kiddin9/

d5aqoep commented 4 days ago

I'm also noticing it doesn't have AT+QCFG="eth_driver" available, which seems weird.

Same here. No eth_driver so it doesn't work in my m2. to RJ45 adapter case. Connects at 100 MBps link and doesn't get any IP.