;//**********************************************************************************
;//*                                                                                *
;//*         User Basic Settings                                                    *
;//*                                                                                *
;//**********************************************************************************
[Images]
BootNumImages=4
APPNumImages=5
USERNumImages=0


;//===================================
[Header]
File=bootheader.bin
StartBlock=0
LoadAddr=0x0
ExecAddr=0x0


;//===================================
[ScanDram]
File=..\GP330XX_Scanram.bin
StartBlock=4
BlockCopies=2
LoadAddr=0x90700000
ExecAddr=0x90700000


;//===================================
[HWPreInit]
File=..\GP330XX_HWPreInit.bin
StartBlock=10
BlockCopies=2
LoadAddr=0x00100000
ExecAddr=0x00100000



;//===================================
[BootLoader]
File=..\bootloader.bin
StartBlock=16
BlockCopies=2
LoadAddr=0x00100000
ExecAddr=0x00100000


;//===================================
;//FS_Attrib :
;//APP_PART_TYPE_RESERVED		0
;//APP_PART_TYPE_BOOT_RESOURCE_BIN      1
;//APP_PART_TYPE_WARP_BIN		2
;//APP_PART_TYPE_QUICK_IMAGE		3
;//APP_PART_TYPE_UPDATER_BIN		4
;//APP_PART_TYPE_NORMAL_FW_BIN		5
[APP_IMAGE_0]
File=bootresource.bin
FS_Attrib=0x1
Size=0
Swap_nrBlocks=5

[APP_IMAGE_1]
File=..\hibdrv.bin
FS_Attrib=0x2
Size=65536
Swap_nrBlocks=5

[APP_IMAGE_2]
File=updater.bin
FS_Attrib=0x4
Size=16777216
Swap_nrBlocks=5

[APP_IMAGE_3]
File=..\hibdrv.bin
FS_Attrib=0x3
Size=134217728
Swap_nrBlocks=5

[APP_IMAGE_4]
File=..\dummy_data_header.bin
FS_Attrib=0x7
Size=1024
Swap_nrBlocks=5

[APP_IMAGE_5]
File=..\dummy.bin
FS_Attrib=0x7
Size=0
Swap_nrBlocks=5

[APP_IMAGE_6]
File=Francis_8050_BIMG.bin
FS_Attrib=0x0
Size=16777216
Swap_nrBlocks=5

[APP_IMAGE_7]
File=Francis_8050_BIMG.bin
FS_Attrib=0x0
Size=16777216
Swap_nrBlocks=5

[APP_IMAGE_8]
File=Francis_8050_BIMG.bin
FS_Attrib=0x0
Size=16777216
Swap_nrBlocks=5

[APP_IMAGE_9]
File=Francis_8050_BIMG.bin
FS_Attrib=0x0
Size=16777216
Swap_nrBlocks=5

[APP_IMAGE_10]
File=Francis_8050_BIMG.bin
FS_Attrib=0x0
Size=16777216
Swap_nrBlocks=5

[APP_IMAGE_11]
File=Francis_8050_BIMG.bin
FS_Attrib=0x0
Size=16777216
Swap_nrBlocks=5



;//===================================
[USER_IMAGE_0]
File=Francis_8050_BIMG.bin
FS_Attrib=0x0
Size=0
Swap_nrBlocks=5

[USER_IMAGE_1]
File=Francis_8050_BIMG.bin
FS_Attrib=0x0
Size=0
Swap_nrBlocks=5

[USER_IMAGE_2]
File=Francis_8050_BIMG.bin
FS_Attrib=0x0
Size=0
Swap_nrBlocks=5

[USER_IMAGE_3]
File=Francis_8050_BIMG.bin
FS_Attrib=0x0
Size=0
Swap_nrBlocks=5

[USER_IMAGE_4]
File=Francis_8050_BIMG.bin
FS_Attrib=0x0
Size=0
Swap_nrBlocks=5













;//**********************************************************************************
;//*                                                                                *
;//*         User Advance Settings                                                  *
;//*                                                                                *
;//**********************************************************************************
[Fdisk]
MakeMBR=1							;// 0: Skip make BMR 1: make MBR
BOOTPARTATIONSIZE=200	;// size of boot/APP/USER 
EXT3PARTATIONSIZE=0		;// size of EXT3 Partation, 0=half size of storage


;//===================================
[PreRegister]
PreRegisterNum=0
Reg0=0x920A7038 
Val0=0x3


;//===================================
[DEBUGOption]
HWPreInit_Execute_Times=1 ;//0,1,2,3
HWPreInit_Inner_Execute_Times=3 ;//0-7 : 4-11
Enable_XXX_PowerDown_In_ScanRam=1 ;//0:disable 1:enable
BootLoaderMSGEnable=0
EFUSEMSGEnable=0
ScanRam_ReadWriteTest_Enable=0
ScanRam_Dly_DQS_Auto_Scan=0			;//0:disable 1:enable
DMEM_Auto_Power_Down_Enable=0		;//0:disable 1:enable
Peri_Post_Point_Enable=0	;//0:disable 1:enable
Avoid_MEM_Freq_Conflict_with_WIFI=0	;//0: MEM 351, 405 can't use 1: can use
Gavin_PreRegister_Enable=0
SmallBootLoader_Enable=0
ReadbackVerifyType=2
ScanRamMSGEnable=0



;//===================================
[SYSTEMOption]
;// Reduce USB PHY Driving 
;// 0x3F:2.2%, 0x3E:4.4%, 0x3D:6.6%, 0x3C:8.8%, 0x3B:11.2%, 0x3A:13.4%, 0x30:15.6%, 0x20:0.0%
USB_PHY_Driving=0x30	



;//==== DDR2 DRAM EMRS Detail Config ========================
[DRAMEMRS]
EMRS_output_drive_strength=1				;// 0:Drive 100%; 1:Drive 60%
EMRS_r_bit2=1 											;// (r_bit6 r_bit2) 00:ODT Disable; 01:75ohm; 10:150ohm; 11:50ohm
EMRS_r_bit6=1 
;//==== DDR2 DRAM EMRS Detail Config End ====================



;//==== DDR3 DRAM EMRS Detail Config ========================
[DDR3_DRAMEMRS]
DDR3_output_drive_strength=0				;// 0:Drive RZQ/6=40; 1:Drive RZQ/7=34.X
DDR3_r_bit2=0												;// (r_bit6 r_bit2) 00: ODT Disable; 01:RZQ/4=60ohm; 10:RZQ/2=120ohm; 11:RZQ/6=40ohm
DDR3_r_bit6=0
;//==== DDR3 DRAM EMRS Detail Config End ====================



;//==== DRAM DDR PHY CONTROL Config ====================
[DRAMDDRPHY]
;//0:Disable; 1:75ohm; 2:150ohm; 3:Reserved
R_DA_ODT_G0=2   		;//For DQ0~DQ7
R_DA_ODT_G1=2   		;//For DQ8~DQ15
R_DA_ODT_G2=2   		;//For DQ16~DQ23
R_DA_ODT_G3=2   		;//For DQ24~DQ31

;//0:Enable semi-differential RX(compare VREF); 1:Enable CMOS RX
LVCMOS_DQ_DM_G0=1   ;//For DQ0~DQ7 and DM0
LVCMOS_DQ_DM_G1=1   ;//For DQ8~DQ15 and DM1
LVCMOS_DQ_DM_G2=1   ;//For DQ16~DQ23 and DM2
LVCMOS_DQ_DM_G3=1   ;//For DQ24~DQ31 and DM3

LVCMOS_DQS_DQSB_G0=1   ;//For DQS0 and DQSB0
LVCMOS_DQS_DQSB_G1=1   ;//For DQS1 and DQSB1
LVCMOS_DQS_DQSB_G2=1   ;//For DQS2 and DQSB2
LVCMOS_DQS_DQSB_G3=1   ;//For DQS3 and DQSB3

;//0:10mA; 1:8mA; 2:4mA; 3:2mA
S1_S0_CK_CKB=0   		;//For CK and CKB

S1_S0_CMD_ADDR_0=0	;//For CMD and Address 0
S1_S0_CMD_ADDR_1=0	;//For CMD and Address 1

S1_S0_DQ_DM_G0=2   	;//For DQ0~DQ7 and DM0
S1_S0_DQ_DM_G1=2   	;//For DQ8~DQ15 and DM1
S1_S0_DQ_DM_G2=2   	;//For DQ16~DQ23 and DM2
S1_S0_DQ_DM_G3=2   	;//For DQ24~DQ31 and DM3

S1_S0_DQS_DQSB_G0=2	;//For DQS0 and DQSB0
S1_S0_DQS_DQSB_G1=2	;//For DQS1 and DQSB1
S1_S0_DQS_DQSB_G2=2	;//For DQS2 and DQSB2
S1_S0_DQS_DQSB_G3=2	;//For DQS3 and DQSB3
;//==== DRAM DDR PHY CONTROL Config End ================


;//==== DRAM Config =================================
[DRAMCONFIG]
;//{2,3,4,5,6,7,8}
DRAM_cas_latency=5

;//{2,3,4,5,6,7}
DRAM_dly_dqs=4

DRAM_rd_speed_start=9	  	;// value 0~15
DRAM_rd_speed_end=11			;// value 0~15

DRAM_r_cap_rd_sel_selection=1	;// 0: choose 1/2 1: choose max-4
DRAM_r_cap_rd_sel_start=40
DRAM_r_cap_rd_sel_end=68

;//DM bit delay control
DRAM_dm_bit_dsel_g3=0	;// delay control for data block3 DM  (unit : 50ps) (50ps= 0.71cm PCB trace delay)
DRAM_dm_bit_dsel_g2=0	;// delay control for data block2 DM  (unit : 50ps) (50ps= 0.71cm PCB trace delay)
DRAM_dm_bit_dsel_g1=0	;// delay control for data block1 DM  (unit : 50ps) (50ps= 0.71cm PCB trace delay)
DRAM_dm_bit_dsel_g0=0	;// delay control for data block0 DM  (unit : 50ps) (50ps= 0.71cm PCB trace delay)

;//DQSB bit delay control
DRAM_dqsb_bit_dsel_g3=0	;// delay control for data block3 DQSB(unit : 50ps) (50ps= 0.71cm PCB trace delay)
DRAM_dqsb_bit_dsel_g2=0	;// delay control for data block2 DQSB(unit : 50ps) (50ps= 0.71cm PCB trace delay)
DRAM_dqsb_bit_dsel_g1=0	;// delay control for data block1 DQSB(unit : 50ps) (50ps= 0.71cm PCB trace delay)
DRAM_dqsb_bit_dsel_g0=0	;// delay control for data block0 DQSB(unit : 50ps) (50ps= 0.71cm PCB trace delay)

;//DQS bit delay control
DRAM_dqs_bit_dsel_g3=0	;// delay control for data block3 DQS(unit : 50ps) (50ps= 0.71cm PCB trace delay)
DRAM_dqs_bit_dsel_g2=0	;// delay control for data block2 DQS(unit : 50ps) (50ps= 0.71cm PCB trace delay)
DRAM_dqs_bit_dsel_g1=0	;// delay control for data block1 DQS(unit : 50ps) (50ps= 0.71cm PCB trace delay)
DRAM_dqs_bit_dsel_g0=0	;// delay control for data block0 DQS(unit : 50ps) (50ps= 0.71cm PCB trace delay)
;//==== DRAM AC Config End =============================


;//==== NAND Config ====================================
[NANDConfig]
NAND_ID_Parsing_type=1	;//0: use this setting 1: auto ID parsing
ScanDramDisable=1				;//0: Don't exec ScanRam 1: exec ScanRam
BchType=2								;//0:1K60 1:1K40 2:1K24 3:1K16 4:512B8 5:512B4 0xFF:NONE
addrCycle=5
BlockNum=2048
PagePerBlock=192
PagePerBlockWithGap=256
PageSize=8192
ReduntSize=384
ACwriteTiming=0x1f0fffff
ACReadTiming=0x1f0fffff

Config_enable=0						;// 0:bit0~6 are not useful , 1:bit 0~6 are useful
Config_Run_Mode=1					;// 0:auto 1:1 plane, default to 1 plane
Config_Pin_Mode=0					;// 0:1CS1RDY 1:2CS2RDY 2:4CS4RDY 3:4CS2RDY 4:4CS1RDY
Config_NAND_Pieces=1			;// 0~3 means 1 to 4
;//==== NAND Config End ================================


;//==== NAND Randomize Config ==========================
[NAND_Randomize_Config]
NAND_RANDOM_EN=0	//0: Disable 1: Enable
NAND_SEEDGEN_CTRL=0x03
NAND_PRBS_COE=0x3005
NAND_PreNum0=0x379d
NAND_PreNum1=0x02f9
NAND_PreNum2=0x369b
NAND_PreNum3=0x0054
NAND_PreNum4=0x38a8
NAND_PreNum5=0x02f2
NAND_PreNum6=0x3857
NAND_PreNum7=0x3fff
;//==== NAND Randomize Config End ======================


;//number of page table loader, default is 0
[NAND_MapPageTable_Config]
nrmapPageTableLoader=0
mapPageTableLoader0=0
mapPageTableLoader1=1
mapPageTableLoader2=2
mapPageTableLoader3=3
mapPageTableLoader4=4
mapPageTableLoader5=5
mapPageTableLoader6=6
mapPageTableLoader7=7
mapPageTableLoader8=8
mapPageTableLoader9=9
mapPageTableLoader10=10
mapPageTableLoader11=11
mapPageTableLoader12=12
mapPageTableLoader13=13
mapPageTableLoader14=14
mapPageTableLoader15=15
mapPageTableLoader16=16
mapPageTableLoader17=17
mapPageTableLoader18=18
mapPageTableLoader19=19
mapPageTableLoader20=20
mapPageTableLoader21=21
mapPageTableLoader22=22
mapPageTableLoader23=23
mapPageTableLoader24=24
mapPageTableLoader25=25
mapPageTableLoader26=26
mapPageTableLoader27=27
mapPageTableLoader28=28
mapPageTableLoader29=29
mapPageTableLoader30=30
mapPageTableLoader31=31
mapPageTableLoader32=32
mapPageTableLoader33=33
mapPageTableLoader34=34
mapPageTableLoader35=35
mapPageTableLoader36=36
mapPageTableLoader37=37
mapPageTableLoader38=38
mapPageTableLoader39=39
mapPageTableLoader40=40
mapPageTableLoader41=41
mapPageTableLoader42=42
mapPageTableLoader43=43
mapPageTableLoader44=44
mapPageTableLoader45=45
mapPageTableLoader46=46
mapPageTableLoader47=47
mapPageTableLoader48=48
mapPageTableLoader49=49
mapPageTableLoader50=50
mapPageTableLoader51=51
mapPageTableLoader52=52
mapPageTableLoader53=53
mapPageTableLoader54=54
mapPageTableLoader55=55
mapPageTableLoader56=56
mapPageTableLoader57=57
mapPageTableLoader58=58
mapPageTableLoader59=59
mapPageTableLoader60=60
mapPageTableLoader61=61
mapPageTableLoader62=62
mapPageTableLoader63=63
mapPageTableLoader64=64
mapPageTableLoader65=65
mapPageTableLoader66=66
mapPageTableLoader67=67
mapPageTableLoader68=68
mapPageTableLoader69=69
mapPageTableLoader70=70
mapPageTableLoader71=71
mapPageTableLoader72=72
mapPageTableLoader73=73
mapPageTableLoader74=74
mapPageTableLoader75=75
mapPageTableLoader76=76
mapPageTableLoader77=77
mapPageTableLoader78=78
mapPageTableLoader79=79
mapPageTableLoader80=80
mapPageTableLoader81=81
mapPageTableLoader82=82
mapPageTableLoader83=83
mapPageTableLoader84=84
mapPageTableLoader85=85
mapPageTableLoader86=86
mapPageTableLoader87=87
mapPageTableLoader88=88
mapPageTableLoader89=89
mapPageTableLoader90=90
mapPageTableLoader91=91
mapPageTableLoader92=92
mapPageTableLoader93=93
mapPageTableLoader94=94
mapPageTableLoader95=95
mapPageTableLoader96=96
mapPageTableLoader97=97
mapPageTableLoader98=98
mapPageTableLoader99=99
mapPageTableLoader100=100
mapPageTableLoader101=101
mapPageTableLoader102=102
mapPageTableLoader103=103
mapPageTableLoader104=104
mapPageTableLoader105=105
mapPageTableLoader106=106
mapPageTableLoader107=107
mapPageTableLoader108=108
mapPageTableLoader109=109
mapPageTableLoader110=110
mapPageTableLoader111=111
mapPageTableLoader112=112
mapPageTableLoader113=113
mapPageTableLoader114=114
mapPageTableLoader115=115
mapPageTableLoader116=116
mapPageTableLoader117=117
mapPageTableLoader118=118
mapPageTableLoader119=119
mapPageTableLoader120=120
mapPageTableLoader121=121
mapPageTableLoader122=122
mapPageTableLoader123=123
mapPageTableLoader124=124
mapPageTableLoader125=125
mapPageTableLoader126=126
mapPageTableLoader127=127



[ImageNames]
BootImage0=Header
BootImage1=ScanDram
BootImage2=HWPreInit
BootImage3=BootLoader
APPImage0=APP_IMAGE_0
APPImage1=APP_IMAGE_1
APPImage2=APP_IMAGE_2
APPImage3=APP_IMAGE_3
APPImage4=APP_IMAGE_4
APPImage5=APP_IMAGE_5
APPImage6=APP_IMAGE_6
APPImage7=APP_IMAGE_7
APPImage8=APP_IMAGE_8
APPImage9=APP_IMAGE_9
APPImage10=APP_IMAGE_10
APPImage11=APP_IMAGE_11
USERImage0=USER_IMAGE_0
USERImage1=USER_IMAGE_1
USERImage2=USER_IMAGE_2
USERImage3=USER_IMAGE_3
USERImage4=USER_IMAGE_4
USERImage5=USER_IMAGE_5


;//===================================
[DRAMCPU_Config]
DRAMType=2						;// 0:DDR 1:SDR 2:DDR2/DDR3
DRAM_pin_mux=1				;// 0:DDR2 8BITx4 1:DDR2 16BITx2 2:DDR2 16BITx1 3:DDR 16BITx2  4:DDR 16BITx1 5:DDR2 8BITx2

DDR3_ENABLE=0					;// 0:disable 1:enable 

DDR3_Reset_Circuit_Used=0	;// 0:no use 1:use
DDR3_Reset_Circuit=0	;// 0:EVB 1:Customer

;//SDRM/DDR/DDR2 chip size (RA+BA+CA):  
;//0 :   8MB (12+2+8x16; 12+2+9x8, DDR); 
;//1 :  16MB (12+2+9x16; 12+2+10x8, DDR); 
;//2 :  32MB (13+2+9x16; 13+2+10x8), DDR/DDR2; 
;//3 :  64MB (13+2+10x16, DDR/DDR2; 
;//           13+2+11x8,  DDR;  
;//           14+2+10x8, DDR2);
;//4 : 128MB (14+2+10x16,    14+2+11x8, DDR; 
;//           13+3+10x16,    14+3+10x8, DDR2) ; 
;//5 : 256MB (14+3+10x16,    15+3+10x8, DDR2); 
;//6 : 512MB (15+3+10x16,    16+3+10x8, DDR2); 
DRAMSize=5

;//DRAMClk : 122, 135, 162, 189, 216, 243, 257, 270, 284, 297, 311, 324, 338, 351, 365, 378, 392, 405
;//        : DRAMClk over 270MHz is untested, please take care on using!!!
DRAMClk0=189
DRAMClk1=216
DRAMClk2=257
DRAMClk3=270

;//DRAMBootClk = 0:DRAMClk0 1:DRAMClk1 2:DRAMClk2 3:DRAMClk3
DRAMBootClk=3

;//CPUClk : general test = 567MHz or 864MHz
;//         OD test = 729MHz or 1026MHz
;//         portable device = 594MHz or 891MHz
;//         BOX = 729MHz or 1026MHz
CPUClk=891







