DART-MX8M Android Modem

From Variscite Wiki
DART-MX8M - Android Oreo Android O8.1.0_r14 - Camera

Overview

The DART-MX8M is capable of adding mini PCI-e based modem to support LTE connectivity.


Note:

  • At present we support only LTE Quectel EC25 support.
  • Other modules could be supported please contact your module vendor.

Hardware Interface

Hardware Availability and Setup

Software Setup

Make sure you have the required hardware as per above.

RIL Setup

By default, build doesn't have RIL setup. <be> To add the RIL support follow below steps.

Register and get access to download zone https://www.quectel.com/login Download Quectel_Android_RIL_Driver_XX.Y.ZZ_master_<release>.tgz Where (XX.Y.ZZ are version numbers from quectel and <release> can be alpha/beta etc)

Adding Driver to build

Downloading and adding Quectel RIL to build

$ cd ~/var_imx-o8.1.0_1.3.0_8m/android_build
$ mkdir -p vendor/quectel/
$ tar -xvf ~/Downloads/Quectel_Android_RIL_Driver_V3.3.49_master_beta.tgz -C vendor/quectel/

Add Quectel libraries to build

Edit device/variscite/imx8m/dart_mx8m/dart_mx8m.mk and add following code

TARGET_HAVE_QUECTEL_RIL := true 
ifeq ($(TARGET_HAVE_QUECTEL_RIL),true)
# wifionly device
PRODUCT_PROPERTY_OVERRIDES += \
    ro.radio.noril=false

PRODUCT_COPY_FILES += \
	vendor/quectel/libquectel-ril/arm64-v8a/libreference-ril.so:vendor/lib64/hw/libreferece-ril.so \
       vendor/quectel/libquectel-ril/arm64-v8a/ip-up:vendor/bin/ip-up \ 
       vendor/quectel/libquectel-ril/arm64-v8a/chat:vendor/bin/chat \
       vendor/quectel/libquectel-ril/arm64-v8a/ip-down:vendor/bin/ip-down \
	vendor/quectel/libquectel-ril/ql-ril.conf:vendor/etc/ql-ril.conf
fi

References

  1. https://forums.quectel.com/uploads/short-url/paFeIdgzFeu3ArLuJEfWpWkIV05.pdf
  2. https://www.quectel.com/product/lte-ec25-mini-pcie-series