开发板相关小计
拨码开关
拨码开关状态 | 功能 |
---|---|
1 0 1 0 0 1 1 0 | EMMC 启动 |
1 0 0 0 0 0 1 0 | SD卡启动 |
1 0 0 0 1 0 0 1 | NAND FLASH 启动 |
0 1 x x x x x x | 串行下载(烧写镜像文件) |
刷机工具(Windows)
开发板需要拨码开关拨到下载模式,然后通电,连接OTG口工具可以自动识别(免驱的)
驱动了 4G 模块(ME3630 4G 模块)和5路串口(urat1-uart5)
下载地址:https://cnwy.lanzouo.com/itnP72rtcsfe
备用下载:mfgtool_withmem3630ppp_com5.7z
使用的根文件系统为 Ubuntu 16.04.7 LTS,ttymxc0 配置成调试端口(com登录口)
zImage 文件:
主要更改 模块驱动(.c文件编辑方面):
- 添加USB设备信息(ME3630 PID 和 VID 信息);
- 添加 ECM 支持程序(ME3630支持EMC接口联网,所以内核也添加了EMC支持)
主要更改 模块驱动(Linux内核配置方面,菜单配置):
使能 USBNET 功能,路径如下:
-> Device Drivers -> -*- Network device support -> USB Network Adapters -> -*- Multi-purpose USB Networking Framework
使能 USB 串口 GSM、CDMA 驱动,路径如下:
-> Device Drivers -> [*] USB support -> <*> USB Serial Converter support -> <*> USB driver for GSM and CDMA modems
使能 USB 的 CDC ACM 模式,配置路径如下:
-> Device Drivers -> [*] USB support -> <*> Support for Host-side USB -> <*> USB Modem (CDC ACM) support
主要更改 ppp联网(.c文件编辑方面):
打开 Linux 内核的 ppp 功能,配置路径如下:
-> 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 -> <*> PPP support for sync tty ports
- dtb 文件们:
比较复杂不在此处列举,详情查看这个文章:https://blog.1okk.com/archives/408.html
评论 (0)