author | Mike Kinghan <mikek@symbian.org> |
Thu, 25 Nov 2010 14:35:45 +0000 | |
branch | GCC_SURGE |
changeset 305 | 1ba12ef4ef89 |
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 (_ONENAND) |
|
24 |
#define _ONENANDTEST |
|
25 |
#undef _ONENAND |
|
26 |
#else |
|
27 |
#if defined(_NAND2) |
|
28 |
#define _NANDTEST2 |
|
29 |
#undef _NAND2 |
|
30 |
#else |
|
31 |
#if defined(_NAND) |
|
32 |
#undef _NAND |
|
33 |
#endif |
|
34 |
#define _NANDTEST |
|
35 |
#endif |
|
36 |
#endif |
|
37 |
||
38 |
#include <rom\##VARIANT##\header.iby> |
|
39 |
||
40 |
files= |
|
41 |
||
42 |
#ifdef PAGED_ROM |
|
90
947f0dc9f7a8
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
43 |
data=##BASEPATH##kernelhwsrv\kernel\eka\rombuild\gentestpaged.txt Test\test_paged.cpp paging_unmovable |
0 | 44 |
#endif |
45 |
||
46 |
#include <rom\##VARIANT##\kernel.iby> |
|
47 |
#include "user.iby" |
|
48 |
#include <rom\hal\hal.iby> |
|
49 |
#include <rom\f32\f32.iby> |
|
50 |
||
51 |
#ifndef EXCLUDE_TESTS |
|
52 |
||
53 |
// tests |
|
54 |
#include <rom##E32PATH##\kernelhwsrv\kerneltest\e32test\group\##MAIN##test.iby> |
|
55 |
||
56 |
#if defined(SYMBIAN_INCLUDE_USB_OTG_HOST) |
|
57 |
#include "t_usbdi_helper.iby" |
|
58 |
#include "t_otgdi_helper.iby" |
|
59 |
#include <rom##E32PATH##\kernelhwsrv\kerneltest\e32test\usbho\t_otgdi\##MAIN##test.iby> |
|
60 |
#include <rom##E32PATH##\kernelhwsrv\kerneltest\e32test\usbho\t_usbdi\##MAIN##test.iby> |
|
61 |
#endif |
|
62 |
||
63 |
#ifndef VARIANT_PATH |
|
64 |
#include <rom##E32PATH##\##VARIANT##\test\##MAIN##test.iby> |
|
65 |
#else |
|
66 |
#define inc(a,b,c) <a\\b\\c> |
|
67 |
#include inc(rom##E32PATH##,VARIANT_PATH,\test\##MAIN##test.iby) |
|
68 |
#endif |
|
69 |
#include "..\..\..\kerneltest\f32test\loader\gen\ldrtest.iby" |
|
70 |
data=EPOCROOT##epoc32\release\##MAIN##\##BUILD##\t_ldrtst.exe sys\bin\t_ldrtst.exe |
|
71 |
||
72 |
#ifdef PAGED_ROM |
|
90
947f0dc9f7a8
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
73 |
data=##BASEPATH##kernelhwsrv\kernel\eka\rombuild\gentestpaged.txt Test\test_paged1.cpp paging_unmovable |
0 | 74 |
#endif |
75 |
||
76 |
#endif // #ifndef EXCLUDE_TESTS |
|
77 |
||
78 |
// scripts |
|
79 |
#if !defined(MANUALROM) |
|
80 |
#if defined(RAMSTRESS) |
|
90
947f0dc9f7a8
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
81 |
data=##BASEPATH##kernelhwsrv\kernel\eka\rombuild\ramstress_autoexec.bat \autoexec.bat |
0 | 82 |
#define RAMSTRESS_SUFFFIX _ramstress |
83 |
#else |
|
84 |
#define RAMSTRESS_SUFFFIX |
|
85 |
#endif |
|
86 |
#if defined(LMNAND2) |
|
87 |
data=EPOCROOT##epoc32\rom\LMNAND2\nandtest_test_autoexec.bat \autoexec##RAMSTRESS_SUFFFIX##.bat |
|
88 |
#else |
|
89 |
#if defined(SHORTER_NAND_TEST) |
|
90 |
data=EPOCROOT##epoc32\rom\##VARIANT##\nandtest_shortertest_autoexec.bat \autoexec##RAMSTRESS_SUFFFIX##.bat |
|
91 |
data=EPOCROOT##epoc32\rom\##VARIANT##\nanddemandpaginge32tests.bat \test\nanddemandpaginge32tests.bat |
|
92 |
#else |
|
93 |
#if defined(FULL_NAND_TEST) |
|
94 |
data=EPOCROOT##epoc32\rom\##VARIANT##\nandtest_fulltest_autoexec.bat \autoexec##RAMSTRESS_SUFFFIX##.bat |
|
95 |
data=EPOCROOT##epoc32\rom\##VARIANT##\nanddemandpaginge32tests.bat \test\nanddemandpaginge32tests.bat |
|
96 |
#else |
|
97 |
data=EPOCROOT##epoc32\rom\##VARIANT##\nandtest_test_autoexec.bat \autoexec##RAMSTRESS_SUFFFIX##.bat |
|
98 |
#endif |
|
99 |
#endif |
|
100 |
#endif |
|
101 |
#endif |
|
102 |
||
103 |
#ifndef EXCLUDE_TESTS |
|
104 |
||
105 |
#ifdef INST_ARMV5 |
|
106 |
#include "..\..\..\kerneltest\f32test\demandpaging\t_pagestress_rom.iby" |
|
107 |
#endif |
|
108 |
#endif // #ifndef EXCLUDE_TESTS |
|
109 |
||
110 |
#ifdef WITH_COMP |
|
111 |
#ifdef PAGED_ROM |
|
90
947f0dc9f7a8
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
112 |
data=##BASEPATH##kernelhwsrv\kernel\eka\rombuild\gentestnonpaged.txt Test\test_unpaged.cpp unpaged paging_unmovable |
0 | 113 |
#endif |
114 |
||
115 |
#ifdef MULTIPLEROFS |
|
116 |
rofsname = tests.rofs |
|
117 |
#else |
|
118 |
rofsname = dir.rofs |
|
119 |
#endif //MULTIPLEROFS |
|
120 |
rofssize = 0x700000 |
|
121 |
||
122 |
#ifdef PAGED_ROM |
|
123 |
PAGINGOVERRIDE DEFAULTPAGED |
|
124 |
#endif |
|
125 |
||
126 |
time = 23/11/2001 6:44:07 |
|
127 |
||
128 |
REM Round the size up/down to the nearest block size |
|
129 |
REM This will enable any ROFS extensions to be found |
|
130 |
REM BlockSize is typically 16K for most small-block NAND chips |
|
131 |
REM BlockSize is typically 128K for most large-block NAND chips |
|
132 |
#if defined SMALL_BLOCK |
|
133 |
autosize = 0x4000 |
|
134 |
#elif defined(LARGE_BLOCK) |
|
135 |
autosize = 0x20000 |
|
136 |
#endif |
|
137 |
#endif //WITH_COMP |
|
138 |
||
139 |
#ifndef EXCLUDE_TESTS |
|
140 |
||
141 |
#include <rom##E32PATH##\kernelhwsrv\kerneltest\f32test\group\##MAIN##test.iby> |
|
142 |
#include <rom##E32PATH##\kernelhwsrv\kerneltest\f32test\rofs\##MAIN##test.iby> |
|
143 |
||
144 |
#endif // #ifndef EXCLUDE_TESTS |
|
145 |
||
146 |
data=EPOCROOT##Epoc32\Release\##MAIN##\##BUILD##\d_exc.exe \sys\bin\d_exc.exe |
|
147 |
data=EPOCROOT##Epoc32\Release\##KMAIN##\##BUILD##\minkda.ldd \sys\bin\minkda.ldd |
|
148 |
||
149 |
||
150 |
#ifndef WITH_COMP |
|
151 |
#ifdef PAGED_ROM |
|
90
947f0dc9f7a8
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
152 |
data=##BASEPATH##kernelhwsrv\kernel\eka\rombuild\gentestnonpaged.txt Test\test_unpaged.cpp unpaged paging_unmovable |
0 | 153 |
#endif |
154 |
#endif |
|
155 |
||
156 |
// rom.pl will put this in a rofs image |
|
157 |
#include <rom\rofstest\dir.oby> |
|
158 |
||
159 |
// rom.pl will put this in a rofs extension image |
|
160 |
#include <rom\rofstest\extension.oby> |
|
161 |
||
31
56f325a607ea
Revision: 200951
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
162 |
// 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
|
163 |
#include <rom\include\smr1.oby> |
56f325a607ea
Revision: 200951
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
164 |
|
0 | 165 |
#ifdef MULTIPLEROFS |
166 |
// rom.pl will put this in a rofs image |
|
167 |
#include <rom\rofstest\rofs1.oby> |
|
168 |
||
169 |
// rom.pl will put this in a rofs image |
|
170 |
#include <rom\rofstest\rofs2.oby> |
|
171 |
||
172 |
// rom.pl will put this in a rofs image |
|
173 |
#include <rom\rofstest\rofs3.oby> |
|
174 |
#endif // MULTIPLEROFS |