Add-mofi-5500-as-a-target

@ManWithNoBrows
Hi Rick, I've seen you've successfully compiled the DTS for Mofi5500 firmware.
Please PM me the Mofi5500 firmware of which you've successfully compiled.
Thank you

1 Like

I've just now created a GitHub repo for it. The compiled firmware images are in it.

2 Likes

I've learned quite a few things from you.
Thank you.

1 Like

Welcome. Glad to hear it.

Hi Rick, thanks for contributing this image. Does it support em9191 module? Is it safe to burn sysupgrade image from stock mofi firmware? What known issues are still unresolved in your firmware?
Thanks again.

I tried it with EM7455 and EM7565, but I don't have an EM9191. I haven't tried connecting them to the cell network (no valid Sim), but the Mofi does show them both, and it displays data about them like their processor. I put an old sim I found in the closet in both slots, and it shows the sim.

No issues so far. Yes, you can flash the sys upgrade.

Thanks for the quick reply. Do you know if em9191 support is included in the firmware? What is a way to get back to stock firmware if the experiment is not succeeded?

Thank you, Dmitry

If it doesn't work, just flash the stock firmware back.

Flashing back the same way via luci menu?

Yes it does.

@ManWithNoBrows

I've test both ways, Luci and Recovery interface to flash the image to the MOFI5500, the image's worked and connected to the cell network fine.
The netifd part needed to be fine tuned to keep the wwan connection more stable (or less disconnected from the cell network).

I've set the crontabs to keep the connection alive and edit the "restart-interface.sh" script the line from SH_RESTART_ROUTER="$DIR/restart-router.sh" to SH_RESTART_ROUTER="$DIR/restart-interface.sh" to avoid the router loop rebooting.

I've used the "Local Startup" (rc.local) to set the iptables mangle posting TTL value.

Thanks Rick (NoBrowns) for your works.

What modem does your router have? 9191 or another one?

EM9191 mbim mode

It works out of the box or you had to make/download it to make the modem work?

I'd like to install openmptcprouter on my mofi5500 device. It's capability is enough to run it. As far as mofi is not in the list of supported targets for openmptcprouter I have to build the firmware. The building process is straightforward based on openwrt build system. To make this I need mofi5500 target config files for openwrt. Where can I get it?
Thank you

Ok! Thank you

May I also ask you to provide .config file you used to build your images. I'd like to check what additional software is included into the image as the default openwrt image for this device is only 8MB while yours is almost 25MB

Thank you

I tossed my code to save space once I archived the files needed to create the build. Anyway, feel free to build it with whatever software you'd like. The hard part was building out the files needed to support the MoFi 5500.

Are they included in the default config?