UCM-iMX95 Yocto Linux: Cellular Modem

From Compulab Mediawiki
Jump to: navigation, search

The evaluation kit can be optionally supplied with Quectel EG25-G mini-PCIe cellular modem

  • Insert a SIM card into SIM socket P7
  • Install the modem into the mini-PCIe socket P8
  • Close jumper E1, that will power the modem instead of USB2.0 port J2
  • Connect a cellular antenna to modem's main antenna connector
  • Boot to linux

Run the following command to verify that the modem is detected correctly:

lsusb

Expected output:

Bus 001 Device 002: ID 2c7c:0125 Quectel Wireless Solutions Co., Ltd. EC25 LTE modem

run:

mmcli -L

Expected output:

/org/freedesktop/ModemManager1/Modem/0 [QUALCOMM INCORPORATED] QUECTEL Mobile Broadband Module

Obtain <apn> of your sim card company

Establish connection:

 nmcli connection add type gsm ifname '*' con-name CellularCon apn <apn>
 nmcli connection

Expected output:

NAME                UUID                                  TYPE      DEVICE   
CellularCon         a1620622-8588-4349-b3fc-66be79fbbede  gsm       cdc-wdm0 

Allow up to a minute to connect to wireless network and make sure modem state is connected:

mmcli -m 0

To test the wireless interface run:

ping -c 5 dns.google -I wwan0