Backport qmi wwan driver to linux 2.6.32 on ARM

蒋品 jiang.pin at icloud.com
Tue Aug 11 00:13:10 PDT 2015


Hi, all
        
          I got a 4G USB modem and would like to enable it with an ARM board. I had successfully setup a PPP connection via serial ttyUSBx by compiling option driver as a module. I got some further requirement to talk the modem the via QMI interface.

          So I tried the linux kernel backports. I had set the KLIB_BUILD variable to the source of the linux kernel of the ARM board. But later I got an error when compiling the driver. The kernel of the ARM board is linux 2.6.32.

           Below is the screen prints. I wonder if it is possible to backport the qmi driver to linux 2.6.32?

wildc at wildc-HP-Pavilion-dv4-Notebook-PC:~/backports-3.14-1$ echo $KLIB_BUILD
/home/wildc/ArDroine2.0_LinuxSource/kernel/

ARCH=arm CROSS_COMPILE=~/tool-chain/arm-2009q1/bin/arm-none-linux-gnueabi- make
  CC [M]  /home/wildc/backports-3.14-1/compat/main.o
In file included from /home/wildc/backports-3.14-1/compat/compat-2.6.34.h:8,
                 from /home/wildc/backports-3.14-1/compat/main.c:5:
/home/wildc/backports-3.14-1/backport-include/linux/mmc/sdio_func.h:21: error: redefinition of typedef 'mmc_pm_flag_t'
include/linux/mmc/pm.h:25: error: previous declaration of 'mmc_pm_flag_t' was here
make[6]: *** [/home/wildc/backports-3.14-1/compat/main.o] Error 1
make[5]: *** [/home/wildc/backports-3.14-1/compat] Error 2
make[4]: *** [_module_/home/wildc/backports-3.14-1] Error 2
make[3]: *** [modules] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2

               Thank you in advance.

BRs, Jiang Pin ( Richard )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libqmi-devel/attachments/20150811/908c3539/attachment.html>


More information about the libqmi-devel mailing list