rem *** this file was generated by MakeDNL.bat *** 
 
rem system download from cdrom or usb stick 
rem delete old files 
delete /dev/nand0/SysProg1.out 
delete /dev/nand0/SysProg2.out 
delete /dev/nand0/sysprogosalio.out 
delete /dev/nand0/sysprogcal.out 
delete /dev/nand0/sysprogperf.out 
delete /dev/nand0/ProcMW.out 
delete /dev/nand0/ProcHMI.out 
delete /dev/nand0/ProcMM.out 
delete /dev/nand0/ProcMP1.out 
delete /dev/nand0/ProcMap.out 
delete /dev/nand0/ProcNav.out 
delete /dev/nand0/ProcCHN.out 
delete /dev/nand0/ProcSDS.out 
delete /dev/nand0/ProcVideo.out 
delete /dev/nand0/BuildVersion.reg 
delete /dev/nand0/base.reg 
delete /dev/nand0/hmiapp.reg 
delete /dev/nand0/map.reg 
delete /dev/nand0/mmapp.reg 
delete /dev/nand0/MWapp.reg 
delete /dev/nand0/mp1app.reg 
delete /dev/nand0/conf.reg 
delete /dev/nand0/sdsapp.reg 
delete /dev/nand0/videoapp.reg 
delete /dev/nand0/navapp.reg 
delete /dev/nand0/config.bin 
delete /dev/nand0/resource.bin 
delete /dev/nand0/errmemflag.dnl 
delete /dev/nand0/sys_toc.cfg 
delete /dev/nand0/navdata.cfg 
rem delete /dev/nand0/tr_dev_cnfg.cfg 
rem download the process files to the required directories 
rem already done: resident unit 
echo processing file 1 of 45 
rem already done: ProcBase 
echo processing file 2 of 45 
rem remove old images: 
verify on 
echo processing file 3 of 45 
rmdir /dev/nand0/images/ipod_logo 
echo processing file 4 of 45 
rem Check whether files are readable and correct: 
copy dragon.bin /dev/nand0/dummy.dnl 
rmdir /dev/nand0/images/mid 
echo processing file 5 of 45 
copy ProcBase.out /dev/nand0/dummy.dnl 
rmdir /dev/nand0/images/mid_night 
verify off 
echo processing file 6 of 45 
copy usb_dnl.bat /dev/nand0/dummy.dnl 
rmdir /dev/nand0/images/odr 
echo processing file 7 of 45 
copy sys_toc.cfg /dev/nand0/dummy.dnl 
rmdir /dev/nand0/images/travelguide 
echo processing file 8 of 45 
copy sys_toc.cfg /dev/nand0/dummy.dnl 
delete /dev/nand0/dummy.dnl 
rem unpack new images: 
verify on 
rmdir /dev/nand0/images 
mkdir /dev/nand0/images 
unpack images.uli 
echo processing file 23 of 45 
copy sysprog1.out /dev/nand0/SysProg1.out 
echo processing file 24 of 45 
copy sysprog2.out /dev/nand0/SysProg2.out 
echo processing file 25 of 45 
copy sysprogosalio.out /dev/nand0/sysprogosalio.out 
echo processing file 26 of 45 
copy sysprogcal.out /dev/nand0/sysprogcal.out 
echo processing file 26.1 of 45 
copy sysprogperf.out /dev/nand0/sysprogperf.out 
echo processing file 27 of 45 
copy ProcMW.out /dev/nand0/ProcMW.out 
echo processing file 28 of 45 
copy ProcHMI.out /dev/nand0/ProcHMI.out 
echo processing file 29 of 45 
copy ProcMM.out /dev/nand0/ProcMM.out 
echo processing file 30 of 45 
copy ProcMP1.out /dev/nand0/ProcMP1.out 
echo processing file 31 of 45 
copy ProcMap.out /dev/nand0/ProcMap.out 
echo processing file 32 of 45 
copy ProcNav.out /dev/nand0/ProcNav.out 
echo processing file 33 of 45 
echo processing file 33.1 of 45 
rem download the registries and HMI-font-files in the required directories 
verify off 
echo processing file 34 of 45 
copy BuildVersion.reg /dev/nand0/BuildVersion.reg 
echo processing file 35 of 45 
echo processing file 36 of 45 
copy config.bin /dev/nand0/config.bin 
echo processing file 37 of 45 
copy resource.bin /dev/nand0/resource.bin 
rem Unpack registries and HMI font files 
verify on 
echo off 
echo processing file 38 of 45 
unpack registries.uli 
echo processing file 39 of 45 
rmdir /dev/nand0/cfg/voice 
rmdir /dev/nand0/cfg/tima 
mkdir /dev/nand0/cfg 
echo processing file 40 of 45 
unpack cfg1.uli 
echo processing file 41 of 45 
unpack cfg2.uli 
copyimage /dev/nand0/cfg/timestamp.txt /dev/nand0/navdata.cfg 
rem special commands begin ---------------------------- 
verify off 
delete /dev/nand0/tun_LearnMem_lmm.dat 
delete /dev/nand0/Clock_LMM.dat 
delete /dev/nand0/display.cfg 
delete /dev/nand0/DnlSrcCARD.set 
delete /dev/nand0/DnlSrcCd.set 
delete /dev/nand0/DnlSrcDVD.set 
delete /dev/nand0/DnlSrcUSB.set 
delete /dev/nand0/download.off 
delete /dev/nand0/download.on 
delete /dev/nand0/FC_SPM_BACKGROUND.dat 
delete /dev/nand0/FC_SPM_LOG.dat 
delete /dev/nand0/FC_SPM_WATCHDOG.dat 
delete /dev/nand0/FC_TmcTuner_LMM.dat 
delete /dev/nand0/gps_int1.dat 
delete /dev/nand0/HEATCTRL_LMM.DAT 
delete /dev/nand0/KBD_LMM.dat 
delete /dev/nand0/landscape_crrsw.dat 
delete /dev/nand0/Lightning_LMM.dat 
delete /dev/nand0/OffsetBase.dat 
delete /dev/nand0/OffsetRds.dat 
delete /dev/nand0/ProfileCtrl_LMM.dat 
delete /dev/nand0/personalised_crrsw.dat 
delete /dev/nand0/protected_crrsw.dat 
delete /dev/nand0/replay.bin 
delete /dev/nand0/replay.cfg 
delete /dev/nand0/resetsaveram_crrsw.dat 
delete /dev/nand0/sys_toc.cfg 
delete /dev/nand0/TM_LMM1.dat 
delete /dev/nand0/tr_class_cnfg.cfg 
delete /dev/nand0/tr_dev_cnfg.cfg 
delete /dev/nand0/trip.bin 
delete /dev/nand0/trip.cfg 
delete /dev/nand0/tun_QuartHour_lmm.dat 
delete /dev/nand0/unprotected_crrsw.dat 
delete /dev/nand0/VDCLK_LMM.DAT 
delete /dev/nand0/vdsensor/gpsdata.bin 
delete /dev/nand0/vdsensor/gyrodata.bin 
delete /dev/nand0/vdsensor/odomdata.bin 
delete /dev/nand0/datapool/DP_CONFIG 
delete /dev/nand0/datapool/DP_EOL 

rem leave the HMI datapool untouched
rem delete /dev/nand0/datapool/DP_HMIINTERNAL 
rem delete /dev/nand0/datapool/DP_NAV 
rem delete /dev/nand0/datapool/DP_TUNER 

delete /dev/nand0/AllInOne.zip 
delete /dev/nand0/cdda_lastmode.dat 
delete /dev/nand0/MP_pers_1.ini 
delete /dev/nand0/MP_pers_hdd.dat 
delete /dev/nand0/MP_pers_dvd.dat 
delete /dev/nand0/MP_pers_usb.dat 

rem leave the HMI datapool untouched
rem rmdir /dev/nand0/datapool 


rem delete homezone 
rem EOL Trigger to be set 
copy BuildVersion.reg /dev/nand0/EOLUpdateTrigger.dat 
rem copy navdata.cfg /dev/nand0/ForceEOLTrigger.dat 
rem special commands end ----------------------------- 
rem verify all processes in nor flash: 
verify all 
verify on 
mkdir /dev/nand0/fonts.new 
unpack fonts_new.uli 
rem LAST FILE TOC 
verify off 
echo on 
echo processing file 45 of 45 
copy sys_toc.cfg /dev/nand0/sys_toc.cfg 
eject 
echo SUCESSFULLY DONE 
endfile 
