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
|
|
43 |
data=gentestpaged.txt Test\test_paged.cpp paging_unmovable
|
|
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
|
|
73 |
data=gentestpaged.txt Test\test_paged1.cpp paging_unmovable
|
|
74 |
#endif
|
|
75 |
|
|
76 |
#endif // #ifndef EXCLUDE_TESTS
|
|
77 |
|
|
78 |
// scripts
|
|
79 |
#if !defined(MANUALROM)
|
|
80 |
#if defined(RAMSTRESS)
|
|
81 |
data=ramstress_autoexec.bat \autoexec.bat
|
|
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
|
|
112 |
data=gentestnonpaged.txt Test\test_unpaged.cpp unpaged paging_unmovable
|
|
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
|
|
152 |
data=gentestnonpaged.txt Test\test_unpaged.cpp unpaged paging_unmovable
|
|
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 |
|
|
162 |
#ifdef MULTIPLEROFS
|
|
163 |
// rom.pl will put this in a rofs image
|
|
164 |
#include <rom\rofstest\rofs1.oby>
|
|
165 |
|
|
166 |
// rom.pl will put this in a rofs image
|
|
167 |
#include <rom\rofstest\rofs2.oby>
|
|
168 |
|
|
169 |
// rom.pl will put this in a rofs image
|
|
170 |
#include <rom\rofstest\rofs3.oby>
|
|
171 |
#endif // MULTIPLEROFS
|