Linux论坛
直播中

兰凤送

7年用户 601经验值
擅长:电源/新能源 嵌入式技术 接口/总线/驱动
私信 关注
[资料]

MY-EC20 Linux-3.14.52 测试手册

MY-EC20 Linux-3.14.52 测试手册
  • 1基本信息
    • 1.1支持的设备
    • 1.2测试使用的开发板
    • 1.3测试使用的模块型号
  • 2测试操作步骤
    • 2.1检查系统是否已经识别到模块
    • 2.2加载 EC20 模块驱动
  • 3执行 EC20 的拨号程序(后台运行)
  • 4其它操作
    • 4.1关闭 EC20 的后台拨号程序
    • 4.2从系统卸载 EC20 模块驱动


基本信息

支持的设备
  • MY-IMX6-A9系列:MY-IMX6-EK200、MY-IMX6-EK314、MY-IMX6-EK336
  • MY-IMX6-A7系列:MY-IMX6-EK140P
测试使用的开发板
  • MY-IMX6-EK200-6Q
  • MY-IMX6-CB140-6G 定制的板子
测试使用的模块型号
  • 产品名称:LTE模块
  • 产品型号:EC20-CE R2.0
  • 模块接口:Mini PCIe

测试操作步骤

检查系统是否已经识别到模块
# lsu*** ......Bus 001 Device 002: ID 2c7c:0125......
加载 EC20 模块驱动
  • MYIMX6EK200、MYIMX6EK314、MYIMX6EK336 加载方式
# insmod ~/my-demo/MY_EC20_GobiNet_L31452_IMX6A9.koGobiNet: Quectel_WCDMA<E_Linux&Android_GobiNet_Driver_V1.3.0GobiNet 1-1.5:1.4 eth2: register 'GobiNet' at u***-ci_hdrc.1-1.5, GobiNet Ethernet Device, 96:0d:4d:7d:fb:27creating qcqmi2u***core: registered new interface driver GobiNet
  • MYIMX6EK14P 加载方式
# insmod ~/my-demo/MY_EC20_GobiNet_L31452_IMX6A7.koGobiNet: Quectel_WCDMA<E_Linux&Android_GobiNet_Driver_V1.3.0GobiNet 1-1:1.4 eth2: register 'GobiNet' at u***-ci_hdrc.1-1, GobiNet Ethernet Device, 2a:19:b8:ca:f8:86creating qcqmi2u***core: registered new interface driver GobiNet
执行 EC20 的拨号程序(后台运行)
# ~/my-demo/MY_EC20_QuectelCM_L31452.out &[01-23_13:10:26:407] WCDMA<E_QConnectManager_Linux&Android_V1.1.34[01-23_13:10:26:411] /home/root/my-demo/MY_EC20_QuectelCM_L31452.out profile[1] = (null)/(null)/(null)/0, pincode = (null)[01-23_13:10:26:413] Find /sys/bus/u***/devices/1-1 idVendor=2c7c idProduct=0125[01-23_13:10:26:415] Find /sys/bus/u***/devices/1-1:1.4/net/eth2[01-23_13:10:26:415] Find u***net_adapter = eth2[01-23_13:10:26:416] Find /sys/bus/u***/devices/1-1:1.4/GobiQMI/qcqmi2[01-23_13:10:26:416] Find qmichannel = /dev/qcqmi2[01-23_13:10:26:461] Get clientWDS = 7[01-23_13:10:26:493] Get clientDMS = 8[01-23_13:10:26:525] Get clientNAS = 9[01-23_13:10:26:558] Get clientUIM = 10[01-23_13:10:26:590] Get clientWDA = 11[01-23_13:10:26:622] requestBaseBandVersion EC20CEFAR02A10M4G[01-23_13:10:26:718] requestGetSIMStatus SIMStatus: SIM_READY[01-23_13:10:26:750] requestGetProfile[1] cmiot///0[01-23_13:10:26:782] requestRegistrationState2 MCC: 460, MNC: 0, PS: Attached, DataCap: LTE[01-23_13:10:26:814] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED[01-23_13:10:26:878] requestRegistrationState2 MCC: 460, MNC: 0, PS: Attached, DataCap: LTE[01-23_13:10:26:942] requestSetupDataCall WdsConnectionIPv4Handle: 0x87240360[01-23_13:10:27:037] requestQueryDataCall IPv4ConnectionStatus: CONNECTED[01-23_13:10:27:069] ifconfig eth2 up[01-23_13:10:27:113] busybox udhcpc -f -n -q -t 5 -i eth2[01-23_13:10:27:130] udhcpc (v1.23.1) started[01-23_13:10:27:245] Sending discover...[01-23_13:10:27:324] Sending select for 10.16.85.16...[01-23_13:10:27:395] Lease of 10.16.85.16 obtained, lease time 7200[01-23_13:10:27:495] /etc/udhcpc.d/50default: Adding DNS 211.136.20.203[01-23_13:10:27:496] /etc/udhcpc.d/50default: Adding DNS 211.136.17.107
其它操作

关闭 EC20 的后台拨号程序
# pkill MY_EC20_Quectel*[01-23_13:15:17:527] requestDeactivateDefaultPDP err = 0[01-23_13:15:17:528] ifconfig eth2 down[01-23_13:15:17:791] GobiNetThread exit[01-23_13:15:17:794] main exit
从系统卸载 EC20 模块驱动
# rmmod GobiNet_EC20u***core: deregistering interface driver GobiNetGobiNet 1-1:1.4 eth2: unregister 'GobiNet' u***-ci_hdrc.1-1, GobiNet Ethernet Device


更多回帖

发帖
×
20
完善资料,
赚取积分