In my company we have working device with EC21. Could you provide lsusb and dmesg output?
LTE modem info should be visible.
You probably need to do following steps:
Check if modem is recognized by lsusb command
Check in dmesg output if the modem is recognized by kernel and appropriate driver is loaded
if not:
You need to enable driver: CONFIG_USB_SERIAL_OPTION
You also need to patch kernel and add your modem model to /drivers/usb/serial/option.c driver and do other minor modifications. see here:
You need ppp package and quectel-ppp scripts
See this meta-layer:
it consists also patches for linux-yocto and raspberrypi patches. You need similar in your kernel
Since you are using Torizon, ideally you won’t need to add the Yocto bits mentioned by @qba. We have ModemManager installed in Torizon and the general working model is to use that without rebuilding from Yocto.
To confirm, you are using the Mini-PCIE variant of the EG25 in the slot on the Dahlia board right? Can you share the output of lsusb?