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