移芯工具箱
支持移芯方案的刷机, 解包, windows/linux/macos 可用
当前支持EC618系列, 例如Air780E/Air700E/Air600E/Air780EG等模块
本库可支持被引用, eccli本身就是调用实例.
用法
先安装ectool, 在命令行或控制台执行
# 清华镜像
pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple ectool
# 若安装失败, 可尝试以下命令, 从pypi直接进行安装
pip3 install -U ectool
刷机(当前仅USB刷机), 支持binpkg和soc文件
ectool burn -f example.binpkg
# 启动后, 按住BOOT键, 复位模块, 或模块开机
更多参数执行 ectool -h 获取说明
TODO List
- EC618使用USB刷机
- binpkg解包
- 兼容Linux下刷机
- 兼容Mac下刷机
- 支持只刷AP或CP
- 支持跳过AgentBoot
- 支持擦除指定区域的数据
- SoC日志解析(简易)
- 支持从http加载固件文件进行下载
- EC618使用物理UART刷机
- 支持刷LuatOS的script.bin
- 完整的注释
- SoC日志解析(完整)
-
binpkg打包
Linux刷机过程展示
参考链接
- 流程参考 PSU的某种设备的文档
- beanio做的逆向版本 beanio-ec618-downloader
开源协议
MIT
Metadata
Release files for ectool 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ectool-1.2.1.tar.gz | 65.1 kB | Without provenance | Details for ectool-1.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ectool-1.2.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for ectool-1.2.1-py2.py3-none-any.whl |
Total release size: 127.4 kB
Release files / ectool-1.2.1.tar.gz
| Download URL | ectool-1.2.1.tar.gz |
|---|---|
| Size | 65.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd528c365aee8bd3bec1fedd70642a495bf69749e435bcb70f499e6ebe6184fc
|
|
BLAKE2b-256 checksum How to use checksums |
8a7f386528f9c201735fc62e5beccf9952c8a0e32753641ae6549190d06c5e77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.5
|
Release files / ectool-1.2.1-py2.py3-none-any.whl
| Download URL | ectool-1.2.1-py2.py3-none-any.whl |
|---|---|
| Size | 62.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d1792bd2cc8127e38266f551093c040b27ee0f2ca1194aff44fe36d316612571
|
|
BLAKE2b-256 checksum How to use checksums |
871037db7f046730014a95355948fb666529e9486f138bfe25c5aaf9617ba429
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.5
|
Security for ectool 1.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.