os/persistentdata/persistentstorage/centralrepository/test/multirofs/group/multirofsbuild.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.
17 :: Build a UREL NAND2 TECHVIEW TEST ROM for H4
18 :: PRE: -CBR TOOL is installed to allow retrieving base_e32 source to build nandloader
19 :: -This batch file should be run from epoc32\rom\tools
21 :: POST:- \PREQ2112_NAND_LOADER contains the sys$rom.bin
22 :: - \PREQ2112_ROM_IMG contains the core.img and rofs1.img
23 :: - Copy all these files to the MMC card
26 REM As we are introducing additional ROFS layer on top of the default in NAND2 we need to update the following
27 REM * epoc32/rom/h4hrp/quicknand.bat
28 REM * epoc32/rom/h4hrp/unistore2/estartnandcomp.txt
30 REM -----------------------Build NANDLoader--------------------------
31 rmdir /S /Q PREQ2112_NAND_LOADER
33 mkdir PREQ2112_NAND_LOADER
34 cd PREQ2112_NAND_LOADER
36 call getsource -o -i . base_e32
37 pushd src\cedar\generic\base\e32\rombuild\
38 call rom -v=h4hrp -i=armv5 -b=urel -t=nandloader -m=_NAND2 --name=sys$rom.bin
39 copy /Y sys$rom.bin ..\..\..\..\..\..\sys$rom.bin
41 :: Back to PREQ1818_NAND_LOADER dir
46 :: Back to main group dir
49 REM ----------------------Build the Core and ROFS1 image--------------------
51 rmdir /S /Q PREQ2112_ROM_IMG
52 mkdir PREQ2112_ROM_IMG
55 call buildrom -D_NAND2 -D_FULL_DEBUG h4hrp techview centreptesthelper.iby preq2112_rofs1.iby
57 rename h4hrp_001.techview.nand.IMG core.img
58 rename h4hrp_001.techview.nand.rofs.img rofs1.img
60 REM --------------------- Build the ROFS2 image------------------------------
62 rmdir /S /Q PREQ2112_ROFS2_IMG
63 mkdir PREQ2112_ROFS2_IMG
65 call rofsbuild ../../include/PREQ2112_ROFS2.iby