5/10/2012

How do I generate the mibib.mbn image


Some targets and software releases do not have the feature for generating the MIBIB.MBN file which is used with QFIT to create a Factory Image. You can use the method below to merge in the build\ms files inorder to create the mibib.mbn
In dmss_rules.min 



jnand_exe: 
ifeq ($(IMAGE), MODEM_PROC) 
@echo ------------------------------------------------------------------------ 
@echo Building mjnand.exe 
@$(BUILD_JNAND_EXE_CMD) 
@echo ------------------------------------------------------------------------ 
endif 


genmibib: 
@echo ------------------------------------------------------------------------ 
@echo Building mibib.mbn 
@pwd 
$(BUILD_MIBIB_CMD) 
@echo ------------------------------------------------------------------------ 




In armtools.min 


.. 
BUILD_JNAND_EXE_CMD= $(MAKE) -C $(JNAND) -f jnand.mak CUSTNAME=$(BUILD) genexe 
.. 


ifeq ($(IMAGE), APPS_PROC) 
MIBIB_DEST_PATH = $(WM_MBNPATH) 
else 
MIBIB_DEST_PATH = ../../build/ms/$(MBNPATH) 
endif 


BUILD_MIBIB_CMD = $(JNAND)/mjnand.exe -fp $(NAND_PAGE_SIZE) -fb $(NAND_BLK_SIZE) -fd $(NAND_DEVICE_SIZE) \ 
-u partition.mbn -q qcsblhd_cfgdata.mbn -ah amsshd.mbn -m mibib.mbn -oh oemsblhd.mbn \ 
-wh appshd.mbn -bh appsboothd.mbn -p $(MIBIB_DEST_PATH)

No comments:

Post a Comment