Professional Documents
Culture Documents
Junzheng®
Date: Aug.2020
Machine Translated by Google
Junzheng®
Release history
Disclaimer
Ingenic products are not designed for and should not be used in any medical or
life sustaining or supporting equipment.
Address: Junzheng Building, Building 14, Yard East District, No. 10 Xibeiwang East Road, Haidian District, Beijing
Tel: (86-10)56345000
Fax: (86-10)56345001
Http: //www.ingenic.c
Machine Translated by Google
Due to the wide variety of USB interfaces, this document currently explains the more common interface usage methods: usb to
according to the connection method in Figure 1 above, then select the board-level file and enter make menuconfig to configure as follows:
figure 2
image 3
Figure 4
After the configuration is completed, enter make modules to generate the corresponding ko. Find the following ko and load the driver in the following order
insmod usb-common.ko
insmod usbcore.ko
insmod dwc2.ko
insmod usbnet.ko
insmod asix.ko
ifconfig -a
udhcpc -i eth0
the <M> in Figure 2, Figure 3, and Figure 4 above to [*]. Type make uImage to find uImage.lzo. Burn uImage.lzo compressed kernel. The startup
time of lzo compression kernel is slightly slower than uImage.zrt method by 30ms.
Step 2) Enter the command make modules to generate ko. Find the following ko and load it in the following order.
insmod usb-common.ko
insmod usbcore.ko
insmod dwc2.ko
insmod scsi_mod.ko
insmod sd_mod.ko
insmod usb-storage.ko
Step 2)
Enter make uImage to find uImage.lzo. Burn uImage.lzo compressed kernel. The startup time of lzo compression kernel is slightly
USB RNDIS (Remote Network Driver Interface Specification), the product is a USB slave device.
Enter the kernel and enter the command make menuconfig. The configuration is as follows
USB support--->
Step1 ) <M> Support for Host-side USB
[*]Enable USB persist by default
Enter the command make uImage to recompile the kernel and burn the kernel. Enter the command make modules to find the
following ko and load it in the following order
insmod usb-common.ko
insmod udc-core.ko
insmod usbcore.ko
insmod dwc2.ko
insmod configfs.ko
insmod libcomposite.ko
insmod u_ether.ko
insmod usb_f_ecm.ko
insmod usb_f_ecm_subset.ko
insmod usb_f_rndis.ko
insmod g_ether.ko
The second step: Find 5-runasadmin_register-CA-cer.cmd in the unzipped file, and use it as an administrator
Install the
program; Step 3: In My Computer Management->Device Manager, there is "Ports (COM and LPT)" in the right directory, right-click "Serial USB Device
(COM3)"->Update Driver Software ... Step 4: See a new network card in "Network and Sharing Center" > Change
Then enter the following command on the board in the first step:
At this time, the Ethernet appears as follows, indicating that the connection is successful:
Test whether the ping is successful. As shown in the figure below, it is correct.
a)Device Drivers
[*] USB support --->
<*> Support for Host-side USB
[*] Enable USB persist by default (NEW)
<*> USB Serial Converter support --->
<*> USB driver for GSM and CDMA modems
<*> USB Gadget Support --->
<*> USB Gadget Drivers (Ethernet Gadget (with CDC Ethernet support))
[*] RNDIS support (NEW)
b)Device Drivers
[*] Network device support --->
<*> PPP (point-to-point protocol) support
<*> PPP BSD-Compress compression
<*> PPP Deflate compression
[*] PPP filtering
<*> PPP MPPE compression (encryption)
[*] PPP multilink support
<*> PPP over Ethernet
<*> PPP support for async serial ports
Step 2) Enter
make uImage to find uImage.lzo. Burn uImage.lzo compressed kernel. The startup time of lzo compression kernel is slightly slower than uImage.zrt method by 30ms.
a. The 4G module firmware is provided by the original 4G manufacturer. Burn the T31 firmware after the above configuration.
b. Enter the main control system and enter lsusb to view the USB device.
c. If it is a network card driver with RNDIS, the following device nodes will be generated under dev for communication with the 4G module.
After configuration, save and exit, make uImage.zrt and re-burn the kernel image.
After entering the system, do the following to realize the USB to serial port function.
11