How to Use and Test the 4G Module on the OK3588-C EVK?

Forlinx Embedded OK3588-C EVK is a powerful flagship product. It adopts the split design of the SoM+carrier board and is based on the Rockchip RK3588 processor. This processor has ultra-high performance, including 4-core Cortex-A55 and 4-core Cortex-A76 architecture. The Cortex-A55 has a frequency of up to 1.8GHz, and the Cortex-A76 has a frequency of up to 2.4GHz. The built-in NPU has rich functions and high playability. In this article, we will use and test the 4G module on the OK3588-C EVK.



01 Gobinet/QMI-WWAN/PPP Dialing Overview​

1. Gobinet Dialing

GOBI - Qualcomm Gobi Wireless Broadband Chip Technology supports multiple mobile broadband networks and numerous mobile operators with a single module. Qualcomm says the new chips will be based on the Gobi 4G LTE wireless baseband--MDM9615 and MDM9215.
This technology allows LTE connectivity under both FDD and TDD networks, and supports both HSPA+ and EV-DO networks, 2G/3G networks. It means that users can use the high-speed 4G LTE network locally and the 3G network elsewhere. The Gobi platform also provides a software enhancement layer on top of the MDM chipset so that wireless connectivity can be made simpler using different technologies.

2. QMI-WWAN Protocol Dialing

QMI: Qualcom Message Interface
MSM: Mobile station mode
AP: Application Procesor

Qualcomm platforms are currently asymmetric multi-core, most notably AP and Modem. How do the two processors communicate? We treat the AP and Modem as two hosts, and the problem becomes very simple; The TCP/IP protocol is not a very successful way to communicate between processes across hosts. Qualcomm does not use this approach, but borrows from the TCP/IP framework design.

Qualcomm MSM Interface is used for the interaction between AP and BP sides. In common saying, it allows the device terminal TE (which can be a mobile phone, PDA, or computer) to operate the AMSS system on the Qualcomm BP side, such as calling functions, reading data, setting NV items in it, etc.

3. PPP Protocol Dialing: Point-to-Point Protocol

PPP (Point-to-Point Protocol) is used in the dialing process for data interaction and negotiation between MS and PC. In the initial dialing phase,the first to open is the direct PPP process between the PC and MS. After successful dialing, it also relies on the PPP protocol to encapsulate IP packets to transmit data.

Official Website Source Code: https://ppp.samba.org

02 Driver Checking​

First, check if there is USB device information



Second, check the device under the dev directory.



In addition, there is also a qcqmi0 under dev.



It means that the driver has integrated GobiNet.

03 Dialing-up Internet​

The dialing-up program uses Quectel-CM, which is a 4G connection management program. After cross compilation, the executable bin "Quectel-CM" is obtained. Modify the Makefile file under Quectel-CM to the following, and then make CC:=aarch64 Linux gnu gcc



And then, put this bin on the OK3588-C EVK to boot and execute the bin directly if there is no problem with the above drivers. Copy the quectel-CM executable program to the OK3588-C development board.


It represents the dialing success, of course, we can also check the IP information.



The next step is to ping to see if the network is available.

# ping 211.149.226.120



We can see that it can ping through to the external network.

This way, the device can be used as a mobile gateway and then installed with a wireless network to be a wireless router.



Learn more about the details of Forlinx OK3588-C EVK.

Originally published at www.forlinx.net.

Comments

There are no comments to display.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…