0% found this document useful (0 votes)
71 views

BM File Type

This document contains configuration parameters for various functions related to firmware downloading and updating. It defines maximum lengths for different image types, partition names and reading lengths, chip and DSP mappings, language codes, reboot settings, and miscellaneous options like checksum checking and sparse file support. Sections cover tasks like FDL protocols, NV storage, repartitioning flags, and more.

Uploaded by

Silas Junior
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
71 views

BM File Type

This document contains configuration parameters for various functions related to firmware downloading and updating. It defines maximum lengths for different image types, partition names and reading lengths, chip and DSP mappings, language codes, reboot settings, and miscellaneous options like checksum checking and sparse file support. Sections cover tasks like FDL protocols, NV storage, repartitioning flags, and more.

Uploaded by

Silas Junior
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 9

[CheckBaud]

1=CheckBaudRom
2=GetCheckBaudCrcType

[FDL1]
1=Connect2
2=Download
3=Excute

[FDL2]
1=Connect2
2=ChangeBaud
3=Download
4=ExecNandInit

[HOST_FDL]
1=HostConnect
2=HostDownload
3=HostExcute
4=ResetCRC
5=Connect
6=ChangeBaud

[FDL]
1=SetCRC
2=ConnectRom
3=Download
4=Excute
5=ResetCRC
6=Connect
7=ChangeBaud

[Init]
1=ResetCRC
2=Connect

[NAND_FDL]
1=Download
2=ExecNandInit

[NV]
1=ReadFlash
2=Download

[NV_NAND]
1=ReadFlash
2=Download

[NV_COMM]
1=ReadFlashByID
2=DownloadByID

[ReadFlash]
1=ReadFlash

[ReadFlash2]
1=ReadFlashByID

[EraseFlash]
1=EraseFlash2

[EraseFlash2]
1=EraseFlashByID

[CheckDUT]
1=CheckDUT

[CODE]
1=Download

[CODE2]
1=DownloadByID

[MiscDataCode2]
1=DownloadByID
2=SetTimeStamp

[MiscDataCode]
1=Download
2=SetTimeStamp

[Reset]
1=Reset

[SetFirstMode]
1=SetFirstMode

[DumpUbootLog]
1=DumpUbootLog

[PowerOff]
1=PowerOff

[BOOT_LOADER]
1=Download

[BOOT_LOADER2]
1=DownloadByID

[READFLASHTYPE]
1=ReadFlashType

[CHECK_MCPTYPE]
1=ReadFlashType

[ReadSN]
1=ReadFlash

[ReadSN2]
1=ReadFlashByID

[UDISK_IMG]
1=ReadSectorSize
2=Download

[UDISK_IMG2]
1=ReadSectorSize
2=DownloadByID
[ReadFlashAndSave]
1=ReadFlashAndSave

[ReadFlashAndSave2]
1=ReadFlashAndSaveByID

[ReadFlashAndDirectSave]
1=ReadFlashAndDirectSave

[ReadFlashAndDirectSave2]
1=ReadFlashAndDirectSaveByID

[ReadFlashAndDirectSave2_64]
1=ReadFlashAndDirectSaveByIDEx

[CHIP_DSP]
1=ReadChipType
2=Download

[CHIP_DSP2]
1=ReadChipType
2=DownloadByID

[READ_CHIPID]
1=ReadChipType

[UBOOT_LOADER]
1=Download

[UBOOT_LOADER2]
1=DownloadByID

[YAFFS_IMG]
1=Download

[YAFFS_IMG2]
1=DownloadByID

[CHECK_NV]
1=ReadFlash
2=Download

[CHECK_NV2]
1=ReadFlashByID
2=DownloadByID

[REPARTITION]
1=Repartition

[REPARTITION2]
1=RepartitionByID

[FORCE_REPARTITION]
1=ForceRepartition

[FORCE_REPARTITION2]
1=ForceRepartitionByID
[DONOTHING]
1=DoNothing

[KeepCharge]
1=KeepCharge

[READ_FLASHINFO]
1=ReadFlashInfo

[EXTTABLE]
1=SendExtTable

[Soft_SIM]
1=ReadFlashUID
2=Download
3=ReadSoftSimEID

[READ_CHIPUID]
1=ReadChipUID

[Enable_Flash]
1=EnableFlash

[EnableSecureBoot]
1=EnableSecureBoot

[FDL2_64]
1=Connect2
2=ChangeBaud
3=DownloadEx
4=ExecNandInit

[NAND_FDL_64]
1=DownloadEx
2=ExecNandInit

[CODE2_64]
1=DownloadByIDEx

[YAFFS_IMG2_64]
1=DownloadByIDEx

[ReadFlashAndSave2_64]
1=ReadFlashAndSaveByIDEx

[REF_INFO]
1=ReadRefInfo

[APR]
1=WriteAPRInfo

[READ_RF_CHIP_TYPE]
1=ReadTransceiverType

[DEBUG_MODE]
1=EnableDebugMode

[ReadNandBlockInfo]
1=ReadNandBlockInfo
[DDRCheck]
1=DDRCheck

[SelfRefresh]
1=SelfRefresh

[EndProcess]
1=EndProcess

[ReadPartitionInfo]
1=ReadPartitionInfo

[CHANGE_SELINUX]
1=ChangeSelinux

[ReadVpac]
1=ReadVpac

[WriteVpac]
1=WriteVpac

[EndWatchdog]
1=EndWatchdog

[Max Length]
HOST_FDL=0x800
FDL1=0x210
FDL=0x210
CODE=0x800
CODE2=0x5000
MiscDataCode=0x800
MiscDataCode2=0x5000
NV=0x800
NAND_FDL=0x210
FDL2=0x210
;if change max length of boot_loader
;the size must be 2112 times, eg. 4224, 6336...
BOOT_LOADER=2112
BOOT_LOADER2=2112
ReadFlash=0x3000
ReadFlash2=0x3000
ReadFlashAndSave=0x3000
ReadFlashAndSave2=0x3000
NV_NAND=0x800
NAND_FDL_OPT=0x840
ReadSN=0x1000
UDISK_IMG=0x800
CHIP_DSP=0x800
UBOOT_LOADER=0x800
UBOOT_LOADER2=0x800
YAFFS_IMG=0x3180
YAFFS_IMG2=0xA000
ReadPartitionInfo=0x3000

FDL2_64=0x840
NAND_FDL_64=0x840
CODE2_64=0xE000
YAFFS_IMG2_64=0xE000
ReadFlashAndSave2_64=0xE000
Download=0xFC00

[SC8810]
CODE=0x3000
CODE2=0x3000

[SC8810e]
CODE=0x3000
CODE2=0x3000

[UMS9117]
CODE=0xb000
NAND_FDL=0x2200

[UIS8310]
CODE=0xb000
NAND_FDL=0x2200

;
;Repartition flags
;
[Repartition]
;
;strategy of repartition actions
;
;0 means do repartition action anyway
;1 means stop all action and report error when imcompatible partition error occured
;2 means ignore imcompatible partition error
;3 means do repartition action when imcompatible partition error occured
;Default value is 1
strategy = 1

[ReadFlashBeforeRepartition]
;0 means not to read flash before repartiton
;1 means to read flash before retpartition
strategy = 0

[ReadDUTInfo]
PartitionName = uboot
MaxReadLength = 0x100000
;CheckMatchPolicy
;
;if 0, PACKey exist,but DUTKey don't exist,Not allow to downloaded
;if 1, PACKey exist,but DUTKey don't exist,Allow to downloaded
CheckMatchPolicy = 0

EnableWriteFlash = 0

[DownloadNV]
CheckNVTimes = 3
MaxReadLength = 0x100000

;GSMCaliVaPolicy
;
;if 0, not backup following data for GSM calibration Ver FF0A/FF0B
;
; RF_ramp_delta_timing
;
;if 1, not backup following data for GSM calibration Ver FF0A/FF0B
;
; temperature_and_voltage_composate_structure (reserved)
; RF_ramp_table
; RF_ramp_PA_power_on_duration
; RF_ramp_delta_timing
;
;if 2, backup following data for GSM calibration Ver FF0A/FF0B
;
; rf_common_param_dsp_use
;
; rf_gsm_param_dsp_use->agc_ctrl_word
; rf_gsm_param_dsp_use->rx_compensate_value
; rf_gsm_param_dsp_use-rssi_campensate_div
; rf_gsm_param_dsp_use->max_rf_gain_index
; rf_gsm_param_dsp_use->agc_ctrl_word_div
; rf_gsm_param_dsp_use->max_rf_gain_index_div
;
; rf_gsm_param_dsp_use->rf_ramppwr_step_factor
; rf_gsm_param_dsp_use->rf_edge_tx_gain_table
; rf_gsm_param_dsp_use->rf_8psk_tx_compensation
; rf_gsm_param_dsp_use->rf_ramp_param_constant_value
;
; adc
;
;if 3, backup all data for GSM calibration Ver FF0A/FF0B
;
;
GSMCaliVaPolicy = 2

[ChipDSPMap]
0x8850A002=8800S2A_3200B0_DM_DSP.bin
0x8850A007=8800S3B_3200B0_DM_DSP.bin

[IMEI_ID]
IMEI2=0x179
IMEI3=0x186
IMEI4=0x1E4
;if you want to backup IMEI5..., please add ID here

[MultiLangs]
1=English
2=SimpleChinese
3=TraditionalChinese
4=Arabic
5=french
6=Hindi
7=Hungarian
8=Indonesian
9=Malay
10=Portuguese
11=Russian
12=Spanish
13=Tagalog
14=Thai
15=Vietnamese
16=Urdu
17=Italian
18=Persian
19=Turkish
20=German
21=Greek
22=Hebrew
23=Bengali
24=Czech
25=Slovenian
26=Romanian
27=Telugu
28=Marathi
29=Tamil
30=Gujarati
31=Kannada
32=Malayalam
33=Oriya
34=Punjabi
35=Afrikanns
36=Albanian
37=Armenian
38=Azerbaijani
39=Basque
40=Bulgarian
41=Catalan
42=Croatian
43=Danish
44=Dutch
45=Estonian
46=Filipino
47=Finnish
48=Galician
49=Georgian
50=Hausa
51=Icelandic
52=Igbo
53=Irish
54=Kazakh
55=Latvian
56=Lithuanian
57=Macedonian
58=Moldovan
59=Norwegian
60=Polish
61=Serbian
62=Sesotho
63=Slovak
64=Swedish
65=Ukrainian
66=Yoruba

[AT_REBOOT_SETTING]
ATPort = Spreadtrum Control Port,SPRD AT,SPRD LTE AT
DLPort = SPRD U2S Diag,SCI USB2Serial,SCI Anroid USB2Serial,SCI Android
USB2Serial,USB Serial Port,Prolific USB-to-Serial Comm Port
AT_BaudRate = 115200

[Misc]
;DoCheckSum: if 1, Support to check image's integrity.
DoCheckSum = 0
;SupportZroPkg: if 1, Support to segment USB packet to avoid USB's Zero-Length-
Packet problem.
SupportZroPkg = 1
;SupportUnTransCode: if 1,Enable UnTransCode; 0,disable UnTransCode
SupportUnTransCode = 1
;NeedCheckOldMemory: if 1, Support to check the memory's used
NeedCheckOldMemory =0
;Check Register modified
CheckRegModify=1
;Check EMMC Partition done
CheckEmmcPartition=1
;Check RPMB written
CheckRpmbWritten=1
;StopDownloadIfOldMemory: if 1, Stop download when check the memory's used
StopDownloadIfOldMemory =0
GenCrcCfgFile=0
EnableCrcCfgCheck=0
CrcFile=

[CheckSecondHandMemory]
;unit:hour
Time=24

[DownloadBySparse2Raw]

;CheckSparse2Raw 0:not use Sparse2Raw


;CheckSparse2Raw 1:use Sparse2Raw in all partition
;CheckSparse2Raw 2:use Sparse2Raw only in super
;CheckSparse2Raw 3:use Sparse2Raw not in userdata

CheckSparse2Raw = 2

[DownloadByPoweroff]
DownloadByPoweroff = 0

[WatchDog]
WatchDog = 0
;Watchdog_Time : ;Unit is milesecond
WatchDogTime = 150000

You might also like