os/persistentdata/featuremgmt/featureregistry/test/compositeromtesting/testfiles/featregtest_rombuild.bat
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 @rem
     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".
     8 @rem
     9 @rem Initial Contributors:
    10 @rem Nokia Corporation - initial contribution.
    11 @rem
    12 @rem Contributors:
    13 @rem
    14 @rem Description:
    15 @rem
    16 
    17 ::	IMPORTANT NOTE:
    18 ::	Before running these batch file, the following steps need to be done:
    19 ::
    20 ::	- copy estartnandcomp.txt in the testfiles folder to epoc32\rom\h4hrp\unistore2
    21 ::
    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)
    24 
    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
    31 ::
    32 ::	- Copy the core.img,rofs1.img,rofs2.img,rofs3.img to MMC card
    33 ::
    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
    36 ::
    37 ::	Call quicknand.bat to set-up the core image and the rofs partitions.
    38 ::
    39 ::	- Run featregsetuptest
    40 ::
    41 ::	F=FEATURE & XF=EXCLUDE_FEATURE
    42 ::	CORE
    43 ::	F=		XF
    44 ::	
    45 ::	ROFS2.IBY
    46 ::	F=TestAA  	XF=TestBB, Fax, XF=TestCC
    47 ::
    48 ::	ROFS3.IBY
    49 ::	ROFS3	F=TestBB,Usb	XF=TestAA, F=TestCC	
    50 ::
    51 :: This batch file should be run from \epoc32\rom\tools
    52 ::
    53 :: BUILDING THE DEFAULT TECHVIEW ROM IN NAND2 I.E CORE AND ROFS1 
    54 ::
    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
    57 
    58 :: BUILDING THE ADDITIONAL ROM SECTION 2
    59 ::
    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
    62 
    63 :: BUILDING THE FINAL ROM SECTION 3
    64 ::
    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
    68 
    69 :: NOW JUST COPY THESE TO THE MMC CARD WITH THE NANDLOADER
    70