os/persistentdata/featuremgmt/featureregistry/test/compositeromtesting/testfiles/featregtest_rombuild.bat
Update contrib.
2 @rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
3 @rem All rights reserved.
4 @rem This component and the accompanying materials are made available
5 @rem under the terms of "Eclipse Public License v1.0"
6 @rem which accompanies this distribution, and is available
7 @rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 @rem Initial Contributors:
10 @rem Nokia Corporation - initial contribution.
18 :: Before running these batch file, the following steps need to be done:
20 :: - copy estartnandcomp.txt in the testfiles folder to epoc32\rom\h4hrp\unistore2
22 :: - Update the quicknand.bat to include "rofs2.img" and "rofs3.img" and copy this file to epoc32\rom\h4hrp\
23 :: (copy quicknand.bat from the testfiles folder)
25 :: - Create the nandloader:
26 :: - get the source code for base_e32 component using CBR
27 :: - navigate to ..\cd cedar\generic\base\e32\rombuild\
28 :: - run the following command
29 :: - rom -v=h4hrp -i=armv5 -b=urel -t=nandloader -m=_NAND2
30 :: - zip this into a sis$rom.zip and copy it on the MMC card
32 :: - Copy the core.img,rofs1.img,rofs2.img,rofs3.img to MMC card
34 :: Upon boot-up of the board the device will go in to the NAND LOADER. Select 0 to Format the NAND Drive.
35 :: Then press 9 to exit the NAND Loader
37 :: Call quicknand.bat to set-up the core image and the rofs partitions.
39 :: - Run featregsetuptest
41 :: F=FEATURE & XF=EXCLUDE_FEATURE
46 :: F=TestAA XF=TestBB, Fax, XF=TestCC
49 :: ROFS3 F=TestBB,Usb XF=TestAA, F=TestCC
51 :: This batch file should be run from \epoc32\rom\tools
53 :: BUILDING THE DEFAULT TECHVIEW ROM IN NAND2 I.E CORE AND ROFS1
55 call buildrom -D_FULL_DEBUG -D_NAND2 -D_ROFS_SIZE=20000000 h4hrp techview removablefeatures.iby featregsetupTest.iby -f..\include\featureUIDs.xml
56 ren h4hrp_001.techview.nand.rofs.img rofs1.img
58 :: BUILDING THE ADDITIONAL ROM SECTION 2
60 call buildrom -D_FULL_DEBUG -D_NAND2 -D_ROFS_SIZE=20000000 h4hrp techview removablefeatures.iby rofs2.iby -f..\include\testfeatureUIDs2.xml
61 ren h4hrp_001.techview.nand.rofs2.img rofs2.img
63 :: BUILDING THE FINAL ROM SECTION 3
65 call buildrom -D_FULL_DEBUG -D_NAND2 -D_ROFS_SIZE=20000000 h4hrp techview removablefeatures.iby rofs2.iby rofs3.iby -f..\include\testfeatureUIDs3.xml
66 ren h4hrp_001.techview.nand.rofs3.img rofs3.img
67 ren h4hrp_001.techview.nand.IMG core.img
69 :: NOW JUST COPY THESE TO THE MMC CARD WITH THE NANDLOADER