Professional Documents
Culture Documents
Mstar-ROM - Boot Production Method Description
Mstar-ROM - Boot Production Method Description
Mstar-ROM - Boot Production Method Description
version V1.1
© 2017 MStar Semiconductor, Inc. All rights reserved.
MStar Semiconductor makes no representations or warranties including, for example but not limited to, warranties of merchantability, fitness for a particular
purpose, infringement of any intellectual property right or the accuracy or completeness of this document, and reserves the right to make changes without
further . notice to any products herein to improve reliability, function or design No responsibility is assumed by MStar Semiconductor arising out of the
application or user of any product or circuit described herein; neither does it convey any license under its patent rights, nor the rights of others.
MStar is a trademark of MStar Semiconductor, Inc. Other trademarks or names herein are only for identification purposes only and owned by their
respective owners.
F-3697
version: V1.1
REVISION HISTORY
Revision No. Description Date
version: V1.1
TABLE OF CONTENTS
Rom_boot Production method described .............................................. .................................................. .................................................. ... 1
1.3.1. From the mother sheet dump user District data ................................................ .................................................. ..................... 1
2. use Emmcnize Packaged mirror method .............................................. .................................................. ... error! Bookmark not defined.
2.2. Writing boot1 Area................................................. .................................................. .................... error! Bookmark not defined.
2.3. Writing user Area................................................. .................................................. ...................... error! Bookmark not defined.
2.2.1. generate mpool.bin ............................................... .................................................. ....... error! Bookmark not defined.
2.2.2. use Emmcnize Packaged mirror ................................................ .......................................... error! Bookmark not defined.
2.2.3. Writing with a burner user Area................................................. ........................................... error! Bookmark not defined.
version: V1.1
LIST OF TABLES
Table 1: {Table Title} ........................................... .................................................. .............................. error! Bookmark not defined.
LIST OF FIGURES
Figure 1: {Figure Name} ........................................... .................................................. ......................... error! Bookmark not defined.
version: V1.1
Master copy, i.e., the master emmc flash The data in dump Out, and then the burner dump Burn out empty data emmc flash in. in order to fulfill emmc
flash Replication.
GTV used emmc flash inner boot1 Area and user Area. So burn emmc flash When the need to burn it, respectively, 2 Districts.
When programming, you need to set the burner extended CSD register:
1 Writing boot1 Time zone, you need to set ECSD 179 = 0x49, ECSD 177 = 0x0a 2 Writing user Time zone,
boot1 Zone is stored rom_emmc_boot.bin . due to rom_emmc_boot.bin inner hash0 May be efuse inner
unique key Encryption, you need to burn directly from the original rom_emmc_boot.bin To boot1 Area.
Burn user Area, in need mboot Command line, the master emmc flash The data in dump To U Plate. due to FAT 4G File size limit, so here points 2 Case
Plug in U Disk (formatted as FAT32 Format, the amount should not be less than EMMC After the total volume), determined by the command USB port
# usb start 1
If the found printing device, the current determined by port 1.
# emmcbin 1
Wait for the progress bar to complete and prompt dump When complete, the U Generating a called footwall emmc.bin, Size with EMMC Capacity consistent file ( emmc Capacity
1 ) Plug U Disk (formatted as FAT32 Format, the amount should not be less than EMMC The total capacity), the plug if unsure
# usb start 1
If the printing apparatus is found with the current determined port 1 .
version: V1.1
# mmc dd mmc2usb 1
Wait for replication (tips 100%) After, remember dump Down the total size ( block Number), that is, in fact, EMMC The total capacity will be to come out in the last line of
print:
Souce selected U plate, Destination Select the newly created object file directory. Start sector fill 0 , From U At the beginning of the disk to read data, pay attention here Number
of sectors to copy Need to fill 2 )in" Dump Block : "Followed by the size and points OK Waiting finished.
From the mother sheet dump from emmc.bin in MBOOT Partition data, in essence, mboot.bin . but mboot.bin inner
CustomerKeyBank Corresponding to the master efuse in unique key Encrypted, so We need to emmc.bin in MBOOT Data partition revert to the original mboot.bin