author | hgs |
Fri, 23 Apr 2010 22:08:41 +0100 | |
changeset 121 | 661475905584 |
parent 90 | 947f0dc9f7a8 |
child 257 | 3e88ff8f41d5 |
child 273 | 6a75fa55495f |
permissions | -rw-r--r-- |
0 | 1 |
/* |
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 |
* All rights reserved. |
|
4 |
* This component and the accompanying materials are made available |
|
5 |
* under the terms of the License "Eclipse Public License v1.0" |
|
6 |
* which accompanies this distribution, and is available |
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 |
* |
|
9 |
* Initial Contributors: |
|
10 |
* Nokia Corporation - initial contribution. |
|
11 |
* |
|
12 |
* Contributors: |
|
13 |
* |
|
14 |
* Description: |
|
15 |
* |
|
16 |
*/ |
|
17 |
#define BASE_ROM |
|
18 |
#define E32TESTS_INCLUDED |
|
19 |
||
20 |
// The base NAND tests assume ROFS is mounted on J: and the user area on I: |
|
21 |
// This must be before header.iby |
|
22 |
||
23 |
#if defined(_NAND2) |
|
24 |
#define _NANDTEST2 |
|
25 |
#undef _NAND2 |
|
26 |
#else |
|
27 |
#if defined(_NAND) |
|
28 |
#undef _NAND |
|
29 |
#endif |
|
30 |
#define _NANDTEST |
|
31 |
#endif |
|
32 |
||
33 |
#include <rom\##VARIANT##\header.iby> |
|
34 |
||
35 |
files= |
|
36 |
||
37 |
#ifdef PAGED_ROM |
|
90
947f0dc9f7a8
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
38 |
data=##BASEPATH##kernelhwsrv\kernel\eka\rombuild\gentestpaged.txt Test\test_paged.cpp paging_unmovable |
0 | 39 |
#endif |
40 |
||
41 |
#include <rom\##VARIANT##\kernel.iby> |
|
42 |
#include "user.iby" |
|
43 |
#include <rom\hal\hal.iby> |
|
44 |
#include <rom\f32\f32.iby> |
|
45 |
||
46 |
// tests |
|
47 |
#include <rom##E32PATH##\kernelhwsrv\kerneltest\e32test\group\##MAIN##test.iby> |
|
48 |
||
49 |
#if defined(SYMBIAN_INCLUDE_USB_OTG_HOST) |
|
50 |
#include "t_usbdi_helper.iby" |
|
51 |
#include "t_otgdi_helper.iby" |
|
52 |
#include <rom##E32PATH##\kernelhwsrv\kerneltest\e32test\usbho\t_otgdi\##MAIN##test.iby> |
|
53 |
#include <rom##E32PATH##\kernelhwsrv\kerneltest\e32test\usbho\t_usbdi\##MAIN##test.iby> |
|
54 |
#endif |
|
55 |
||
56 |
#ifndef VARIANT_PATH |
|
57 |
#include <rom##E32PATH##\##VARIANT##\test\##MAIN##test.iby> |
|
58 |
#else |
|
59 |
#define inc(a,b,c) <a\\b\\c> |
|
60 |
#include inc(rom##E32PATH##,VARIANT_PATH,\test\##MAIN##test.iby) |
|
61 |
#endif |
|
62 |
#include "..\..\..\kerneltest\f32test\loader\gen\ldrtest.iby" |
|
63 |
data=EPOCROOT##epoc32\release\##MAIN##\##BUILD##\t_ldrtst.exe sys\bin\t_ldrtst.exe |
|
64 |
||
65 |
#ifdef PAGED_ROM |
|
90
947f0dc9f7a8
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
66 |
data=##BASEPATH##kernelhwsrv\kernel\eka\rombuild\gentestpaged.txt Test\test_paged1.cpp paging_unmovable |
0 | 67 |
#endif |
68 |
||
69 |
// scripts |
|
70 |
#if !defined(MANUALROM) |
|
71 |
#if defined(RAMSTRESS) |
|
90
947f0dc9f7a8
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
72 |
data=##BASEPATH##kernelhwsrv\kernel\eka\rombuild\ramstress_autoexec.bat \autoexec.bat |
0 | 73 |
#define RAMSTRESS_SUFFFIX _ramstress |
74 |
#else |
|
75 |
#define RAMSTRESS_SUFFFIX |
|
76 |
#endif |
|
77 |
#if defined(LMNAND2) |
|
78 |
data=EPOCROOT##epoc32\rom\LMNAND2\nandtest_test_autoexec_e32test.bat \autoexec##RAMSTRESS_SUFFFIX##.bat |
|
79 |
#else |
|
80 |
data=EPOCROOT##epoc32\rom\##VARIANT##\nandtest_test_autoexec_e32test.bat \autoexec##RAMSTRESS_SUFFFIX##.bat |
|
81 |
#endif |
|
82 |
#endif |
|
83 |
||
84 |
#ifdef INST_ARMV5 |
|
85 |
#include "##BASEPATH##kernelhwsrv\kerneltest\f32test\demandpaging\t_pagestress_rom.iby" |
|
86 |
#endif |
|
87 |
||
88 |
#ifdef WITH_COMP |
|
89 |
#ifdef PAGED_ROM |
|
90
947f0dc9f7a8
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
90 |
data=##BASEPATH##kernelhwsrv\kernel\eka\rombuild\gentestnonpaged.txt Test\test_unpaged.cpp unpaged paging_unmovable |
0 | 91 |
#endif |
92 |
||
93 |
#ifdef MULTIPLEROFS |
|
94 |
rofsname = tests.rofs |
|
95 |
#else |
|
96 |
rofsname = dir.rofs |
|
97 |
#endif //MULTIPLEROFS |
|
98 |
rofssize = 0x500000 |
|
99 |
||
100 |
#ifdef PAGED_ROM |
|
101 |
PAGINGOVERRIDE DEFAULTPAGED |
|
102 |
#endif |
|
103 |
||
104 |
time = 23/11/2001 6:44:07 |
|
105 |
||
106 |
REM Round the size up/down to the nearest block size |
|
107 |
REM This will enable any ROFS extensions to be found |
|
108 |
REM BlockSize is typically 16K for most small-block NAND chips |
|
109 |
REM BlockSize is typically 128K for most large-block NAND chips |
|
110 |
#if defined SMALL_BLOCK |
|
111 |
autosize = 0x4000 |
|
112 |
#elif defined(LARGE_BLOCK) |
|
113 |
autosize = 0x20000 |
|
114 |
#endif |
|
115 |
#endif //WITH_COMP |
|
116 |
||
117 |
//#include <rom##E32PATH##\kernelhwsrv\kerneltest\f32test\group\##MAIN##test.iby> |
|
118 |
//#include <rom##E32PATH##\kernelhwsrv\kerneltest\f32test\rofs\##MAIN##test.iby> |
|
119 |
||
120 |
data=EPOCROOT##Epoc32\Release\##MAIN##\##BUILD##\d_exc.exe \sys\bin\d_exc.exe |
|
121 |
data=EPOCROOT##Epoc32\Release\##KMAIN##\##BUILD##\minkda.ldd \sys\bin\minkda.ldd |
|
122 |
||
123 |
||
124 |
#ifndef WITH_COMP |
|
125 |
#ifdef PAGED_ROM |
|
90
947f0dc9f7a8
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
126 |
data=##BASEPATH##kernelhwsrv\kernel\eka\rombuild\gentestnonpaged.txt Test\test_unpaged.cpp unpaged paging_unmovable |
0 | 127 |
#endif |
128 |
#endif |
|
129 |
||
130 |
// rom.pl will put this in a rofs image |
|
131 |
#include <rom\rofstest\dir.oby> |
|
132 |
||
133 |
// rom.pl will put this in a rofs extension image |
|
134 |
#include <rom\rofstest\extension.oby> |
|
135 |
||
31
56f325a607ea
Revision: 200951
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
136 |
// rom.pl will put this in a SMR partition image |
56f325a607ea
Revision: 200951
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
137 |
#include <rom\include\smr1.oby> |
56f325a607ea
Revision: 200951
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
138 |
|
0 | 139 |
#ifdef MULTIPLEROFS |
140 |
// rom.pl will put this in a rofs image |
|
141 |
#include <rom\rofstest\rofs1.oby> |
|
142 |
||
143 |
// rom.pl will put this in a rofs image |
|
144 |
#include <rom\rofstest\rofs2.oby> |
|
145 |
||
146 |
// rom.pl will put this in a rofs image |
|
147 |
#include <rom\rofstest\rofs3.oby> |
|
148 |
#endif // MULTIPLEROFS |