QUECTEL PCIe mhi driver

I am using linux 6.X and i am need of quectel pcie mhi driver module and quectel-CM application.
Modem - RM520NGL
Could you please share?

Hi

I need a linux pcie quectel mhi driver and quectel-CM application

Hi,@Ranjith_Kumar_T_R
The driver and tool already send to you via email,pls check.

Hi Leon,

I didn’t receive the email.Could you please share the files to below email
ranjithtr2499@gmail.com

Hi

is quectel-CM can able to create a different apn with single interface?

if not is there any other solution for above issue?

Hello @leon.bao
Can you please also share the latest with me:

  • Quectel_Linux_PCIE_MHI_Driver
  • Quectel_Linux&Android_QMI_WWAN_Driver
  • Quectel QConnect manager

I cannot find it anywhere for download. We are using RM520 on Raspberry pi Compute Modul and use PCI-E for connection. Worked fine with Bullseye, but does not with Bookworm.

Hi,@olfeldma
I have sent them to you via email,pls check.

Hello @leon.bao ,
Thank you, I got them. Sadly I am still getting errors with the Version you sent. Can you help?

I am trying to cross compile the PCIE_MHI_Driver:
sudo make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- install

  CC [M]  /home/feldmo/pcie_mhi/core/mhi_init.o
/home/feldmo/pcie_mhi/core/mhi_init.c:2407:18: error: initialization of ‘int (*)(struct device *, const struct device_driver *)’ from incompatible pointer type ‘int (*)(struct device *, struct device_driver *)’ [-Werror=incompatible-pointer-types]
 2407 |         .match = mhi_match,
      |       

The last time i did this with version 1.3.5 i got multiple errors also in other files, because they did not fit to the latest raspberry pi os version we are using (bookworm linux-headers-6.12.25+rpt-rpi-v8)

Hi,@olfeldma
According to the error message, you can try to change the parameter <struct device_driver *> to <const struct device_driver *> in the mhi_init.c code as stated in the message.

Hi @leon.bao ,
I have fixed both builds to run on a raspberry pi (Bookworm 6.12.25+rpt-rpi-v8)

Perhaps this can help someone else with the same issue.

Quectel_fixed_QMI_WWAN.zip (96.9 KB)
Quectel_fixed_PCI_MHI.zip (524.5 KB)

Hi,@olfeldma
Thank you very much for your help.