RK3568 Debian10 EC20调试

overlay\etc\profile.d\start_ec20.sh

pppd call quectel-ppp &

overlay\etc\ppp\peers\quectel-ppp quectel-chat-connect quectel-chat-disconnect  

1. pppd and chat program:
If the two programs do not exist, customers can download the source code of them from
https://ppp.samba.org/download.html and port them to the module.

./configure

make

pppd and chat were packged pppd chat dirctery

2.quectel-ppp

# /etc/ppp/peers/quectel-pppd
# Usage:root>pppd call quectel-pppd
#Modem path, like /dev/ttyUSB3,/dev/ttyACM0, depend on your module, default path is /dev/ttyUSB3
/dev/ttyUSB2 115200
#Insert the username and password for authentication, default user and password are test
user "test" password "test"
# The chat script, customize your APN in this file
connect 'chat -s -v -f /etc/ppp/peers/quectel-chat-connect'
# The close script
disconnect 'chat -s -v -f /etc/ppp/peers/quectel-chat-disconnect'
# Hide password in debug messages
hide-password
# The phone is not required to authenticate
noauth
# Debug info from pppd
debug
# If you want to use the HSDPA link as your gateway
defaultroute
# pppd must not propose any IP address to the peer
noipdefault
# No ppp compression
novj
novjccomp
noccp
ipcp-accept-local
ipcp-accept-remote
local
# For sanity, keep a lock on the serial line
lock
modem
dump
nodetach
# Hardware flow control
nocrtscts
remotename 3gppp
ipparam 3gppp
ipcp-max-failure 30
# Ask the peer for up to 2 DNS server addresses
usepeerdns

quectel-chat-connect

# /etc/ppp/peers/quectel-chat-connect
ABORT "BUSY"
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "NO ANSWER"
TIMEOUT 30
"" AT
OK ATE0
OK ATI;+CSUB;+CSQ;+CPIN?;+COPS?;+CGREG?;&D2
# Insert the APN provided by your network operator, default apn is 3gnet
OK AT+CGDCONT=1,"IP","3gnet",,0,0
OK ATD*99#
CONNECT

quectel-chat-disconnect

# /etc/ppp/peers/quectel-chat-disconnect
ABORT "ERROR"
ABORT "NO DIALTONE"
SAY "\nSending break to the modem\n"
""  +++
""  +++
""  +++
SAY "\nGoodbay\n"

### RK3568 Debian 安装配置教程 #### 准备工作 为了成功安装DebianRK3568开发板,前期准备工作至关重要。这包括获取适合该硬件架构的操作系统映像文件以及必要的工具链用于可能的自定义编译需求[^2]。 #### 制作启动介质 使用已有的Ubuntu或其他Linux发行版作为宿主机环境来准备SD卡或者其他外部存储设备作为临时引导媒介。通过dd命令可以将预先下载好的Debian镜像写入到选定的目标介质中: ```bash sudo dd if=/path/to/debian-image.img of=/dev/sdX bs=4M status=progress && sync ``` 这里`/path/to/debian-image.img`应替换为实际路径而`/dev/sdX`则对应具体的物理盘符,请务必确认无误后再执行上述指令以免造成数据丢失风险。 #### 配置U-Boot参数 对于某些型号来说,在首次开机前还需要调整U-Boot设置以确保能够正确识别并加载来自新创建分区内的内核与根文件系统。具体操作方式取决于所使用的主板版本及其默认出厂设定;通常情况下可以通过串口连接进入交互模式完成相应修改。 #### 网络驱动及更新源优化 鉴于国内特殊的网络状况,建议尽快切换至速度更快更稳定的APT仓库地址以便顺利完成后续软件包管理任务。编辑/etc/apt/sources.list文件加入阿里云或腾讯云提供的官方镜像站点链接有助于提高效率减少等待时间[^3]。 #### 扩展功能集成 考虑到未来可能会涉及到更多复杂应用场景的需求,提前规划好额外组件的支持显得尤为重要。比如Docker容器化平台可以在不影响现有服务的前提下轻松部署各类应用实例,极大提升了灵活性和维护便利性。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值