Quectel EC25 on Nvidia TK1
Quectel EC25 is a series of LTE category 4 module optimized specially for M2M and IoT applications. Adopting the 3GPP Rel. 11 LTE technology, it delivers 150Mbit/s downlink and 50Mbit/s uplink data rates. Designed in the compact and unified form factor.
As we got a mini PCIE EC25-AU module on hand, so we like to share you the below experience, and it should works for other platform like Raspberry Pi, etc.
- Download your kernel source code
- Modify few source files in the source code and config your kernel
- Compile the kernel and replace the zImage
Step 1. Download the kernel source code for TK1
sudo apt-add-repository universe
sudo apt-get update
sudo apt-get install libncurses5-dev
sudo su
It is very important that you need to run “sudo su” to run the follow commands.
cd /usr/src/
wget http://developer.download.nvidia.com/embedded/L4T/r21_Release_v4.0/source/kernel_src.tbz2
tar -xvf kernel_src.tbz2
cd kernel
Step 2. Modify the source files and config the kernel
As you are under the kernel folder, you need to modify:
[KERNEL]/drivers/usb/serial/option.c
Add the VID and PID
Add reset resume
[KERNEL]/drivers/usb/serial/usb_wwan.c
After the modify you need to run
make menuconfig
and select the “USB Driver for GSM and CDMA modems”
[*] Device Drivers ->
[*] USB Support ->
[*] USB Serial Converter support ->
[*] USB Driver for GSM and CDMA modems
save and exit!
Step 3. Compile the source code and replace the zImage
make -j4 zImage
make modules
make modules_install
Now you will see the zImage file under the [KERNEL]/arch/arm/boot/ folder.
Before you replace the zImage under /boot/ folder you better make a backup first
cp /boot/zImage /boot/zImage.bp
cp arch/arm/boot/zImage /boot/
Done! And after you reboot the system you should see that:
If you want to have this module, here is the link: https://www.hyper-labs.com/Modules?product_id=90