os/persistentdata/featuremgmt/featureregistry/test/compositeromtesting/testfiles/featregtest_rombuild.bat
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/persistentdata/featuremgmt/featureregistry/test/compositeromtesting/testfiles/featregtest_rombuild.bat	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,70 @@
     1.4 +@rem
     1.5 +@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +@rem All rights reserved.
     1.7 +@rem This component and the accompanying materials are made available
     1.8 +@rem under the terms of "Eclipse Public License v1.0"
     1.9 +@rem which accompanies this distribution, and is available
    1.10 +@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +@rem
    1.12 +@rem Initial Contributors:
    1.13 +@rem Nokia Corporation - initial contribution.
    1.14 +@rem
    1.15 +@rem Contributors:
    1.16 +@rem
    1.17 +@rem Description:
    1.18 +@rem
    1.19 +
    1.20 +::	IMPORTANT NOTE:
    1.21 +::	Before running these batch file, the following steps need to be done:
    1.22 +::
    1.23 +::	- copy estartnandcomp.txt in the testfiles folder to epoc32\rom\h4hrp\unistore2
    1.24 +::
    1.25 +::	- Update the quicknand.bat to include "rofs2.img" and "rofs3.img" and copy this file to epoc32\rom\h4hrp\
    1.26 +::	  (copy quicknand.bat from the testfiles folder)
    1.27 +
    1.28 +::	- Create the nandloader:
    1.29 +::		- get the source code for base_e32 component using CBR
    1.30 +::		- navigate to ..\cd cedar\generic\base\e32\rombuild\
    1.31 +::		- run the following command
    1.32 +::		- rom -v=h4hrp -i=armv5 -b=urel -t=nandloader -m=_NAND2
    1.33 +::		- zip this into a sis$rom.zip and copy it on the MMC card
    1.34 +::
    1.35 +::	- Copy the core.img,rofs1.img,rofs2.img,rofs3.img to MMC card
    1.36 +::
    1.37 +::	Upon boot-up of the board the device will go in to the NAND LOADER.  Select 0 to Format the NAND Drive. 
    1.38 +::	Then press 9 to exit the NAND Loader
    1.39 +::
    1.40 +::	Call quicknand.bat to set-up the core image and the rofs partitions.
    1.41 +::
    1.42 +::	- Run featregsetuptest
    1.43 +::
    1.44 +::	F=FEATURE & XF=EXCLUDE_FEATURE
    1.45 +::	CORE
    1.46 +::	F=		XF
    1.47 +::	
    1.48 +::	ROFS2.IBY
    1.49 +::	F=TestAA  	XF=TestBB, Fax, XF=TestCC
    1.50 +::
    1.51 +::	ROFS3.IBY
    1.52 +::	ROFS3	F=TestBB,Usb	XF=TestAA, F=TestCC	
    1.53 +::
    1.54 +:: This batch file should be run from \epoc32\rom\tools
    1.55 +::
    1.56 +:: BUILDING THE DEFAULT TECHVIEW ROM IN NAND2 I.E CORE AND ROFS1 
    1.57 +::
    1.58 +call buildrom -D_FULL_DEBUG -D_NAND2 -D_ROFS_SIZE=20000000 h4hrp techview removablefeatures.iby featregsetupTest.iby -f..\include\featureUIDs.xml
    1.59 +ren h4hrp_001.techview.nand.rofs.img rofs1.img
    1.60 +
    1.61 +:: BUILDING THE ADDITIONAL ROM SECTION 2
    1.62 +::
    1.63 +call buildrom -D_FULL_DEBUG -D_NAND2 -D_ROFS_SIZE=20000000 h4hrp techview removablefeatures.iby rofs2.iby -f..\include\testfeatureUIDs2.xml
    1.64 +ren h4hrp_001.techview.nand.rofs2.img rofs2.img
    1.65 +
    1.66 +:: BUILDING THE FINAL ROM SECTION 3
    1.67 +::
    1.68 +call buildrom -D_FULL_DEBUG -D_NAND2  -D_ROFS_SIZE=20000000 h4hrp techview removablefeatures.iby rofs2.iby rofs3.iby -f..\include\testfeatureUIDs3.xml
    1.69 +ren h4hrp_001.techview.nand.rofs3.img rofs3.img
    1.70 +ren h4hrp_001.techview.nand.IMG core.img
    1.71 +
    1.72 +:: NOW JUST COPY THESE TO THE MMC CARD WITH THE NANDLOADER
    1.73 +