|
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 //#NAME: autotest NAND, nandloader component |
|
18 // depends on the nandtest_test being built first (it includes it) |
|
19 |
|
20 #define BASE_ROM |
|
21 #define NANDLOADER_ROM |
|
22 #define NANDLOADERTEST_ROM |
|
23 #include <rom\##VARIANT##\header.iby> |
|
24 |
|
25 #ifdef WITH_EXTENSION |
|
26 #undef WITH_EXTENSION |
|
27 #endif |
|
28 #ifdef WITH_ROFS |
|
29 #undef WITH_ROFS |
|
30 #endif |
|
31 #ifdef WITH_COMP |
|
32 #undef WITH_COMP |
|
33 #endif |
|
34 |
|
35 files= |
|
36 |
|
37 #include <rom\##VARIANT##\kernel.iby> |
|
38 #include "user.iby" |
|
39 #include <rom\hal\hal.iby> |
|
40 #include <rom\f32\f32.iby> |
|
41 |
|
42 file=\Epoc32\Release\##MAIN##\##BUILD##\crash.exe sys\bin\crash.exe |
|
43 |
|
44 #if defined(LMNAND2) |
|
45 data=\epoc32\rom\LMNAND2\nandtest_load_autoexec.bat \autoexec.bat |
|
46 #elif defined(_ONENAND) |
|
47 data=\epoc32\rom\##VARIANT##\nandtest_load_on_autoexec.bat \autoexec.bat |
|
48 #elif defined(_CREATE_NE1_TB_NAND_SWAP) // WDP on the NaviEngine is optional for now as the test results are poor |
|
49 data=\epoc32\rom\##VARIANT##\nandtest_load_wdp_autoexec.bat \autoexec.bat |
|
50 #else |
|
51 data=\epoc32\rom\##VARIANT##\nandtest_load_autoexec.bat \autoexec.bat |
|
52 #endif |
|
53 |
|
54 #if defined(LMNAND2) || defined(_NAND2) || defined(_ONENAND) |
|
55 #if defined (__LABRADOR_BOARD__) |
|
56 file=\Epoc32\Release\##MAIN##\##BUILD##\LAB_NANDLOADER_UNISTORE2.EXE \sys\bin\NANDLOADER.EXE |
|
57 #else |
|
58 file=\Epoc32\Release\##MAIN##\##BUILD##\NANDLOADER_UNISTORE2.EXE \sys\bin\NANDLOADER.EXE |
|
59 #endif |
|
60 #else |
|
61 file=\Epoc32\Release\##MAIN##\##BUILD##\NANDLOADER.EXE \sys\bin\NANDLOADER.EXE |
|
62 #endif |
|
63 |
|
64 // Built with nandtest_test.oby |
|
65 #ifdef NAMETAG |
|
66 data=##VARIANT##.##KMAIN##.##BUILD##.##NAMETAG##.core.img \core.img |
|
67 #else |
|
68 data=##VARIANT##.##KMAIN##.##BUILD##.core.img \core.img |
|
69 #endif |
|
70 |
|
71 #if defined(MULTIPLEROFS) |
|
72 // Built by rom.pl with type=nandtest_test |
|
73 data=tests.rofs \rofs1.img |
|
74 data=dir.rofs \rofs2.img |
|
75 data=extension.rofs \rofsextension3.img |
|
76 data=dir1.rofs \rofs4.img |
|
77 data=dir2.rofs \rofs5.img |
|
78 data=dir3.rofs \rofs6.img |
|
79 data=\epoc32\rom\rofstest\fatimage.bin \user3.img |
|
80 #else |
|
81 data=dir.rofs \rofs1.img |
|
82 data=extension.rofs \rofsextension2.img |
|
83 #endif |