KT25-1015_AC695x_SDK310/cpu/br23/tools/download/standard/download.bat
2026-07-15 10:31:33 +08:00

65 lines
1.9 KiB
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
cd %~dp0
copy ..\..\script.ver .
copy ..\..\uboot.boot .
copy ..\..\tone.cfg .
copy ..\..\cfg_tool.bin .
copy ..\..\app.bin .
copy ..\..\br23loader.bin .
copy ..\..\eq_cfg_hw.bin .
copy ..\..\ota_all.bin .
copy ..\..\ota_nor.bin .
..\..\isd_download.exe -tonorflash -dev br23 -boot 0x12000 -div8 -wait 300 -uboot uboot.boot -app app.bin -res tone.cfg cfg_tool.bin eq_cfg_hw.bin -format all %1 -key KTS_AC690x_5458.key
:: -format all
::-reboot 2500
@rem 删锟斤拷锟斤拷时锟侥硷拷-format all
if exist *.mp3 del *.mp3
if exist *.PIX del *.PIX
if exist *.TAB del *.TAB
if exist *.res del *.res
if exist *.sty del *.sty
@rem 锟斤拷锟缴固硷拷锟斤拷锟斤拷锟侥硷拷
copy ota_all.bin ota.bin
..\..\fw_add.exe -noenc -fw jl_isd.fw -add ota.bin -type 100 -out jl_isd_all.fw
copy ota_nor.bin ota.bin
..\..\fw_add.exe -noenc -fw jl_isd.fw -add ota.bin -type 100 -out jl_isd_nor.fw
@rem 锟斤拷锟斤拷锟斤拷媒疟锟斤拷陌姹撅拷锟较?锟斤拷 FW 锟侥硷拷锟斤拷
..\..\fw_add.exe -noenc -fw jl_isd_all.fw -add script.ver -out jl_isd_all.fw
..\..\fw_add.exe -noenc -fw jl_isd_nor.fw -add script.ver -out jl_isd_nor.fw
..\..\ufw_maker.exe -fw_to_ufw jl_isd_all.fw
..\..\ufw_maker.exe -fw_to_ufw jl_isd_nor.fw
copy jl_isd_all.ufw update.ufw
copy jl_isd_nor.ufw nor_update.ufw
copy jl_isd_all.fw jl_isd.fw
del jl_isd_all.ufw jl_isd_nor.ufw jl_isd_all.fw jl_isd_nor.fw
@REM 锟斤拷锟斤拷锟斤拷锟斤拷锟侥硷拷锟斤拷锟斤拷锟侥硷拷
::ufw_maker.exe -chip AC800X %ADD_KEY% -output config.ufw -res bt_cfg.cfg
::IF EXIST jl_696x.bin del jl_696x.bin
@rem 锟斤拷锟斤拷锟斤拷锟斤拷说锟斤拷
@rem -format vm //锟斤拷锟斤拷VM 锟斤拷锟斤拷
@rem -format cfg //锟斤拷锟斤拷BT CFG 锟斤拷锟斤拷
@rem -format 0x3f0-2 //锟斤拷示锟接碉拷 0x3f0 锟斤拷 sector 锟斤拷始锟斤拷锟斤拷锟斤拷锟斤拷 2 锟斤拷 sector(锟斤拷一锟斤拷锟斤拷锟斤拷为16锟斤拷锟狡伙拷10锟斤拷锟狡讹拷锟缴拷锟节讹拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷10锟斤拷锟斤拷)
ping /n 2 127.1>null
IF EXIST null del null