Background
In all 7x30/8660, the default 7x30[8660]_msiamge.mbn is generated by Qualcomm, but customers want to have their own msimge.mbn to flash with emmc software download tools supported from QPST 2.7.366
Steps to generate the 7x30_msimage.mbn
1.Change the partition.xml to partition_customer.xml and prepare the dbl.mbn/osbl.mbn in the same folder.
Here, the 7x30_msimage.mbn is a small image has the partition/dbl/osbl . It will be downloaded in emergency download mode with eMMC software download tools.
<?xml version="1.0"?>
<!DOCTYPE image SYSTEM "weaver-1.0.dtd">
<image>
<physical_partition number="0">
<primary order="1" type="4d" bootable="true" label="CFG_DATA" size="1000" readonly="true">
<file name="dbl.mbn" offset="0"/>
</primary>
<primary order="2" type="46" bootable="false" label="OEMSBL" size="3000" readonly="false">
<file name="osbl.mbn" offset="0"/>
</primary>
</physical_partition>
</image>
2.python PartitioningTool.py partition_customer.xml
3. python msp.py rawprogram0.xml size
Size is in KB,such as 2MB is enough for simple imge
python msp.py rawprogram0.xml 2048
the singleimg.bin will be generated
4.Change the singleimage.bin to 7x30_msimage.mbn
<?xml version="1.0"?>
<!DOCTYPE image SYSTEM "weaver-1.0.dtd">
<image>
<physical_partition number="0">
<primary order="1" type="4d" bootable="true" label="CFG_DATA" size="1000" readonly="true">
<file name="dbl.mbn" offset="0"/>
</primary>
<primary order="2" type="46" bootable="false" label="OEMSBL" size="3000" readonly="false">
<file name="osbl.mbn" offset="0"/>
</primary>
</physical_partition>
</image>
2.python PartitioningTool.py partition_customer.xml
3. python msp.py rawprogram0.xml size
Size is in KB,such as 2MB is enough for simple imge
python msp.py rawprogram0.xml 2048
the singleimg.bin will be generated
4.Change the singleimage.bin to 7x30_msimage.mbn
Download link!!!!!!!!
ReplyDelete