SP Flash 5.1924命令行参数

Usage: flash_tool OPTION...

用法:flash_tool 选项...


Run FlashTool in console mode.

在命令行模式运行FlashTool.

 

Argument instructions:

参数说明:


  -i, --config    console mode configuration file, mandatory with config.xml.
          flash_tool -i config.xml

命令行模式配置文件,必须为config.xml。


  -s, --scatter    scatter file path, mandatory without config.xml.
          flash_tool -c download -s MT6575_Anroid_scatter.txt

scatter文件路径(如果没有设定config.xml则此项必填)。


  -c, --operation    flash tool features, mandatory without config.xml, just support:
            format
            download
            format-download
            firmware-upgrade
            cert-download
            efuse
            dram-repair
          flash_tool -c download -s MT6575_Anroid_scatter.txt

flash tool的功能(如果没有设定config.xml则此项必填)。只支持:格式化,刷入,格式化并刷入,固件升级,刷入证书文件,efuse,dram-repair


  -d, --da_agent    download agent file path.
          flash_tool -d MTK_AllInOne_DA.bin -s MT6575_Anroid_scatter.txt -c download

da文件路径。


  -e, --cert_file    certification file path.
          flash_tool -e cert_file.cert -s MT6575_Anroid_scatter.txt -c cert-download

证书文件路径。


  -p, --com_port    com port, format is as COM4+COM6 (BROM download), COM5 (preloader download) on Windows and format is as 5-2+1-6(BROM download), 5-1(preloader download) on Linux.
          flash_tool -p COM4+COM6 -i config.xml
          flash_tool -p COM4+COM6 -s MT6575_Anroid_scatter.txt -c download

com端口。在Windows上格式为:COM4+COM6 (BROM download), COM5 (preloader download)。


  -r, --redirect    redirect debug log to parent process.
          flash_tool -r -i config.xml

将调试日志重定向到父进程。


  -t, --battery_mode    Specify battery mode. with, without and auto are available. if no specify the -t argument, the auto mode used.        Only valid without config.xml.
          flash_tool -d MTK_AllInOne_DA.bin  -s MT6575_Anroid_scatter.txt  -c download -t without

指定电池模式。可设为with,without或auto(默认)。仅在没有设定config.xml的情况下有效。


  --rsc  Specify the project name in rsc.xml, only support for download/format-download/firmware-upgrade.
          flash_tool -s MT6575_Anroid_scatter.txt -c download --rsc k75v1_64_rsc_cn[op02]

在rsc.xml中指定项目名称,仅支持下载/格式下载/固件升级。


  -b, --reboot    reboot the device.
          flash_tool -b -i config.xml

重启设备。


  -o, --efuse_read_only    efuse read only, ONLY on windows.
          flash_tool -o -i config.xml

efuse只读,仅适用于windows。


  --disable_storage_life_cycle_check  disable storage life cycle check feature.
          flash_tool -s MT6575_Anroid_scatter.txt -c download --disable_storage_life_cycle_check

禁用存储生命周期检查功能。


  -h, --help
帮助。

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值