<?xml version="1.0" encoding="UTF-8"?>
<!--  FlashTypeID: 0, means Nor Flash;1, means Nand Flash       -->
<!--  File-Flag: 0, means this file need not  input file path   -->
<!--             1, means this file need input file path        -->
<!--  File-CheckFlag: 0, this file is optional                  -->
<!--                  1, must select this file                  -->
<!--                  2, means not check this file in pack      -->
<!--  Mode: 0, not uesed; 1, means nand page size and oob care  -->
<!--  File-Type: MasterImage,means it will add BOOT_PARAM       -->
<!--             and OS_INFO information to file                -->
<!--  File-ID: Can not be changed,it is used by tools           -->
<!--  File-IDAlias: This is  for GUI display can be changed     -->
<BMAConfig>
    <ProductList>   
        <Product name="Shark4G">
            <SchemeName>Shark4G</SchemeName>
            <FlashTypeID>1</FlashTypeID>
            <Mode>0</Mode>          
            <NVBackup backup="1">
                <NVItem name="Calibration" backup="1">
                    <ID>0xFFFFFFFF</ID>
                    <BackupFlag use="1">
                        <NVFlag name ="Replace" check ="0"></NVFlag>
                        <NVFlag name ="Continue" check ="0"></NVFlag>
                    </BackupFlag>
                </NVItem>
                <NVItem name="IMEI" backup="1">
                    <ID>0xFFFFFFFF</ID>
                    <BackupFlag use="0"></BackupFlag>
                </NVItem>
                <NVItem name="TD_Calibration" backup="1">
                    <ID>0xFFFFFFFF</ID>
                    <BackupFlag use="1">
                        <NVFlag name ="Replace" check ="0"></NVFlag>
                        <NVFlag name ="Continue" check ="0"></NVFlag>
                    </BackupFlag>
                </NVItem>
                <NVItem name="LTE_Calibration" backup="1">
                    <ID>0xFFFFFFFF</ID>
                    <BackupFlag use="1">
                        <NVFlag name ="Replace" check ="0"></NVFlag>
                        <NVFlag name ="Continue" check ="0"></NVFlag>
                    </BackupFlag>
                </NVItem>
                <NVItem name="BlueTooth" backup="1">
                    <ID>0x191</ID>
                    <BackupFlag use="1">
                        <NVFlag name ="Continue" check ="0"></NVFlag>
                    </BackupFlag>
                </NVItem>
                <NVItem name="BandSelect" backup="1">
                    <ID>0xD</ID>
                    <BackupFlag use="1">
                        <NVFlag name ="Continue" check ="0"></NVFlag>
                    </BackupFlag>
                </NVItem>
                <NVItem name="WIFI" backup="1">
                    <ID>0x199</ID>
                    <BackupFlag use="1">
                        <NVFlag name ="Continue" check ="1"></NVFlag>
                    </BackupFlag>
                </NVItem>
                <NVItem name="MMITest" backup="1">
                    <ID>0x19A</ID>
                    <BackupFlag use="1">
                        <NVFlag name ="Continue" check ="1"></NVFlag>
                    </BackupFlag>
                </NVItem>
                <NVItem name="WIFICal1" backup="1">
                    <ID>0x19F</ID>
                    <BackupFlag use="1">
                        <NVFlag name ="Continue" check ="1"></NVFlag>
                    </BackupFlag>
                </NVItem>
                <NVItem name="WIFICal2" backup="1">
                    <ID>0x1A0</ID>
                    <BackupFlag use="1">
                        <NVFlag name ="Continue" check ="1"></NVFlag>
                    </BackupFlag>
                </NVItem>
                <NVItem name="WIFICal3" backup="1">
                    <ID>0x1A1</ID>
                    <BackupFlag use="1">
                        <NVFlag name ="Continue" check ="1"></NVFlag>
                    </BackupFlag>
                </NVItem>       
            </NVBackup> 
            <Partitions>
                <!-- size unit is MBytes -->
                <!--
                <Partition id="splloader"       size="0"/>
                <Partition id="uboot"           size="0"/>
                --> 
                <Partition id="prodnv"          size="5"/>
                <Partition id="miscdata"        size="1"/>
                <Partition id="tdfixnv1"        size="1"/>
                <Partition id="tdfixnv2"        size="1"/>
                <Partition id="l_fixnv1"        size="1"/>
                <Partition id="l_fixnv2"        size="1"/>
                <Partition id="lf_fixnv1"       size="1"/>
                <Partition id="lf_fixnv2"       size="1"/>
                <Partition id="tl_fixnv1"       size="1"/>
                <Partition id="tl_fixnv2"       size="1"/>
                <Partition id="wcnfixnv1"       size="1"/>
                <Partition id="wcnfixnv2"       size="1"/>
                <Partition id="tdruntimenv1"    size="1"/>
                <Partition id="tdruntimenv2"    size="1"/>
                <Partition id="l_runtimenv1"    size="1"/>
                <Partition id="l_runtimenv2"    size="1"/>
                <Partition id="lf_runtimenv1" 	size="1"/>
                <Partition id="lf_runtimenv2" 	size="1"/>
                <Partition id="tl_runtimenv1" 	size="1"/>
                <Partition id="tl_runtimenv2" 	size="1"/>
                <Partition id="wcnruntimenv1" 	size="1"/>
                <Partition id="wcnruntimenv2" 	size="1"/>
                <Partition id="tdmodem"         size="10"/>
                <Partition id="tddsp"           size="5"/>
                <Partition id="l_modem"         size="10"/>
                <Partition id="l_ldsp"          size="5"/>
                <Partition id="lf_modem"        size="10"/>
                <Partition id="lf_warm"         size="5"/>
                <Partition id="lf_gdsp"         size="5"/>
                <Partition id="lf_ldsp"         size="5"/>
            	<Partition id="tl_modem"        size="10"/>
                <Partition id="tl_tdsp"         size="4"/>
                <Partition id="tl_ldsp"         size="4"/>
                <Partition id="wcnmodem"        size="10"/>
                <Partition id="fdl"             size="1"/>
                <Partition id="dfs"             size="1"/>
                <Partition id="logo"            size="1"/>
                <Partition id="fbootlogo"       size="1"/>
                <Partition id="boot"            size="15"/>
                <Partition id="system"          size="700"/>
                <Partition id="cache"           size="150"/>
                <Partition id="recovery"        size="15"/>
                <Partition id="misc"            size="1"/>
                <Partition id="userdata"        size="0xFFFFFFFF"/>
            </Partitions> 
            <ProductComment/>
        </Product>
    </ProductList>
    <SchemeList>
        <Scheme name="Shark4G">
            <File>
                <ID>FDL</ID>
                <IDAlias>FDL1</IDAlias>
                <Type>FDL</Type>
                <Block>
                    <Base>0x50000000</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>1</CheckFlag>
                <Description>First nand flash download image file</Description>
            </File>
            <File>
                <ID>FDL2</ID>
                <IDAlias>FDL2</IDAlias>
                <Type>NAND_FDL</Type>
                <Block>
                    <Base>0x80000000</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>1</CheckFlag>
                <Description>Second nand flash download image file</Description>
            </File>
            <File  backup="1">
                <ID>NV_T</ID>
                <IDAlias>NV_TD</IDAlias>
                <Type>NV_COMM</Type>
                <Block id="tdfixnv1">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>TD fixnv1 image file</Description>
            </File>
            <File backup="1">
                <ID>NV_L</ID>
                <IDAlias>NV_LTE</IDAlias>
                <Type>NV_COMM</Type>
                <Block id="l_fixnv1">
                    <Base>0x0</Base>
                    <Size>0x0</Size>                    
                </Block>
                <Flag>1</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>l_fixnv1 image file</Description>
            </File> 
            <File backup="1">
                <ID>NV_LF</ID>
                <IDAlias>NV_LTEFDD</IDAlias>
                <Type>NV_COMM</Type>
                <Block id="lf_fixnv1">
                    <Base>0x0</Base>
                    <Size>0x0</Size>                    
                </Block>
                <Flag>1</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>lf_fixnv1 image file</Description>
            </File> 
            <File backup="1">
                <ID>NV_TL</ID>
                <IDAlias>NV_TDDLTE</IDAlias>
                <Type>NV_COMM</Type>
                <Block id="tl_fixnv1">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>tl_fixnv1 image file</Description>
            </File> 
            <File backup="0">
                <ID>NV_WCN</ID>
                <IDAlias>NV_WCN</IDAlias>
                <Type>NV_COMM</Type>
                <Block id="wcnfixnv1">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>wcnfixnv1 image file</Description>
            </File>
            <File backup="1">
                <ID>ProdNV</ID>
                <IDAlias>ProdNV</IDAlias>
                <Type>CODE2</Type>
                <Block id="prodnv">
                    <Base>0x0</Base>
                    <Size>0x500000</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>Download prodnv section  operation</Description>
            </File>
            <File backup="1">
                <ID>PhaseCheck</ID>
                <IDAlias>PhaseCheck</IDAlias>
                <Type>CODE2</Type>
                <Block id="miscdata">
                    <Base>0x0</Base>
                    <Size>0x100000</Size>
                </Block>
                <Flag>0</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>miscdata(phase check) section</Description>
            </File>         
            <File>
                <ID>EraseUBOOT</ID>
                <IDAlias>EraseUBOOT</IDAlias>
                <Type>EraseFlash2</Type>
                <Block id="uboot">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>0</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>Erase UBootloader section</Description>
            </File>
            <File>
                <ID>SPLLoader</ID>
                <IDAlias>SPL_LOADER</IDAlias>
                <Type>UBOOT_LOADER2</Type>
                <Block id="splloader">
                    <Base>0x80000000</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>0</CheckFlag>
                <Description>spl image file</Description>
            </File>         
            <File>
                <ID>Modem_T</ID>
                <IDAlias>Modem_TD</IDAlias>
                <Type>CODE2</Type>
                <Block id="tdmodem">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>tdmodem image file</Description>
            </File> 
            <File>
                <ID>DSP_T</ID>
                <IDAlias>DSP_TD</IDAlias>
                <Type>CODE2</Type>
                <Block id="tddsp">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>tddsp image file</Description>
            </File>
            <File>
                <ID>Modem_L</ID>
                <IDAlias>Modem_LTE</IDAlias>
                <Type>CODE2</Type>
                <Block id="l_modem">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>l_modem image file</Description>
            </File> 
            <File>
                <ID>DSP_L</ID>
                <IDAlias>DSP_LTE</IDAlias>
                <Type>CODE2</Type>
                <Block id="l_ldsp">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>l_ldsp image file</Description>
            </File>     
            <File>
                <ID>Modem_LF</ID>
                <IDAlias>Modem_LTEFDD</IDAlias>
                <Type>CODE2</Type>
                <Block id="lf_modem">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>lf_modem image file</Description>
            </File> 
            <File>
                <ID>WARM_LF</ID>
                <IDAlias>WARM_LTEFDD</IDAlias>
                <Type>CODE2</Type>
                <Block id="lf_warm">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>lf_warm image file</Description>
            </File> 
            <File>
                <ID>GDSP_LF</ID>
                <IDAlias>GDSP_LTEFDD</IDAlias>
                <Type>CODE2</Type>
                <Block id="lf_gdsp">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>lf_gdsp image file</Description>
            </File> 
            <File>
                <ID>LDSP_LF</ID>
                <IDAlias>LDSP_LTEFDD</IDAlias>
                <Type>CODE2</Type>
                <Block id="lf_ldsp">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>lf_ldsp image file</Description>
            </File> 
            <File>
                <ID>Modem_TL</ID>
                <IDAlias>Modem_TDDLTE</IDAlias>
                <Type>CODE2</Type>
                <Block id="tl_modem">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>tl_modem image file</Description>
            </File> 
            <File>
                <ID>TDSP_TL</ID>
                <IDAlias>TDSP_TDDLTE</IDAlias>
                <Type>CODE2</Type>
                <Block id="tl_tdsp">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>tl_tdsp image file</Description>
            </File> 
            <File>
                <ID>LDSP_TL</ID>
                <IDAlias>LDSP_TDDLTE</IDAlias>
                <Type>CODE2</Type>
                <Block id="tl_ldsp">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>tl_ldsp image file</Description>
            </File> 
            <File>
                <ID>Modem_WCN</ID>
                <IDAlias>Modem_WCN</IDAlias>
                <Type>CODE2</Type>
                <Block id="wcnmodem">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>wcnmodem image file</Description>
            </File>     
            <File>
                <ID>FirstDL</ID>
                <IDAlias>FDL</IDAlias>
                <Type>CODE2</Type>
                <Block id="fdl">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>fdl image file</Description>
            </File> 
            <File>
                <ID>DFS</ID>
                <IDAlias>DFS</IDAlias>
                <Type>CODE2</Type>
                <Block id="dfs">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>dfs image file</Description>
            </File>             
            <File>
                <ID>BOOT</ID>
                <IDAlias>BOOT</IDAlias>
                <Type>CODE2</Type>
                <Block id="boot">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>0</CheckFlag>
                <Description>Kernel image file</Description>
            </File>
            <File>
                <ID>Recovery</ID>
                <IDAlias>Recovery</IDAlias>
                <Type>CODE2</Type>
                <Block id="recovery">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>0</CheckFlag>
                <Description>Recovery image file</Description>
            </File>
            <File>
                <ID>System</ID>
                <IDAlias>System</IDAlias>
                <Type>YAFFS_IMG2</Type>
                <Block id="system">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>0</CheckFlag>
                <Description>System image file</Description>
            </File>
            <File>
                <ID>UserData</ID>
                <IDAlias>UserData</IDAlias>
                <Type>YAFFS_IMG2</Type>
                <Block id="userdata">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>0</CheckFlag>
                <Description>UserData image file</Description>
            </File>
            <File>
                <ID>BootLogo</ID>
                <IDAlias>BootLogo</IDAlias>
                <Type>CODE2</Type>
                <Block id="logo">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>0</CheckFlag>
                <Description>BootLoader boot logo</Description>
            </File>
            <File>
                <ID>Fastboot_Logo</ID>
                <IDAlias>Fastboot_Logo</IDAlias>
                <Type>CODE2</Type>
                <Block id="fbootlogo">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>Fastboot Logo</Description>
            </File>
            <File>
                <ID>Cache</ID>
                <IDAlias>Cache</IDAlias>
                <Type>YAFFS_IMG2</Type>
                <Block id="cache">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>Download cache section operation</Description>
            </File> 
            <File>
                <ID>FLASH</ID>
                <IDAlias>EraseRuntimeNV_TD</IDAlias>
                <Type>EraseFlash2</Type>
                <Block id="tdruntimenv1">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>0</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>Erase t runtimenv section operation</Description>
            </File> 
            <File>
                <ID>FLASH_L</ID>
                <IDAlias>EraseRuntimeNV_LTE</IDAlias>
                <Type>EraseFlash2</Type>
                <Block id="l_runtimenv1">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>0</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>Erase LTE runtimenv section operation</Description>
            </File> 
            <File>
                <ID>FLASH_LF</ID>
                <IDAlias>EraseRuntimeNV_LTEFDD</IDAlias>
                <Type>EraseFlash2</Type>
                <Block id="lf_runtimenv1">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>0</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>Erase LTEFDD runtimenv section operation</Description>
            </File>     
            <File>
                <ID>FLASH_TL</ID>
                <IDAlias>EraseRuntimeNV_TDDLTE</IDAlias>
                <Type>EraseFlash2</Type>
                <Block id="tl_runtimenv1">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>0</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>Erase TDDLTE runtimenv section operation</Description>
            </File> 
            <File>
                <ID>FLASH_WCN</ID>
                <IDAlias>EraseRuntimeNV_WCN</IDAlias>
                <Type>EraseFlash2</Type>
                <Block id="wcnruntimenv1">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>0</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>Erase wcn runtimenv section operation</Description>
            </File> 
            <File>
                <ID>EraseMisc</ID>
                <IDAlias>EraseMisc</IDAlias>
                <Type>EraseFlash2</Type>
                <Block id="misc">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>0</Flag>
                <CheckFlag>2</CheckFlag>
                <Description>Erase misc section operation</Description>
            </File>
            <File>
                <ID>UBOOTLoader</ID>
                <IDAlias>UBOOT_LOADER</IDAlias>
                <Type>UBOOT_LOADER2</Type>
                <Block id="uboot">
                    <Base>0x0</Base>
                    <Size>0x0</Size>
                </Block>
                <Flag>1</Flag>
                <CheckFlag>0</CheckFlag>
                <Description>UBootloader image file</Description>
            </File>
        </Scheme>
    </SchemeList>
</BMAConfig>
