sl@0
|
1 |
/*
|
sl@0
|
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
sl@0
|
3 |
* All rights reserved.
|
sl@0
|
4 |
* This component and the accompanying materials are made available
|
sl@0
|
5 |
* under the terms of the License "Eclipse Public License v1.0"
|
sl@0
|
6 |
* which accompanies this distribution, and is available
|
sl@0
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
sl@0
|
8 |
*
|
sl@0
|
9 |
* Initial Contributors:
|
sl@0
|
10 |
* Nokia Corporation - initial contribution.
|
sl@0
|
11 |
*
|
sl@0
|
12 |
* Contributors:
|
sl@0
|
13 |
*
|
sl@0
|
14 |
* Description:
|
sl@0
|
15 |
*
|
sl@0
|
16 |
*/
|
sl@0
|
17 |
//#NAME: autotest NAND, nandloader component
|
sl@0
|
18 |
// depends on the nandtest_test being built first (it includes it)
|
sl@0
|
19 |
|
sl@0
|
20 |
#define BASE_ROM
|
sl@0
|
21 |
#define NANDLOADER_ROM
|
sl@0
|
22 |
#define NANDLOADERTEST_ROM
|
sl@0
|
23 |
#include <rom\##VARIANT##\header.iby>
|
sl@0
|
24 |
|
sl@0
|
25 |
#ifdef WITH_EXTENSION
|
sl@0
|
26 |
#undef WITH_EXTENSION
|
sl@0
|
27 |
#endif
|
sl@0
|
28 |
#ifdef WITH_ROFS
|
sl@0
|
29 |
#undef WITH_ROFS
|
sl@0
|
30 |
#endif
|
sl@0
|
31 |
#ifdef WITH_COMP
|
sl@0
|
32 |
#undef WITH_COMP
|
sl@0
|
33 |
#endif
|
sl@0
|
34 |
|
sl@0
|
35 |
files=
|
sl@0
|
36 |
|
sl@0
|
37 |
#include <rom\##VARIANT##\kernel.iby>
|
sl@0
|
38 |
#include "user.iby"
|
sl@0
|
39 |
#include <rom\hal\hal.iby>
|
sl@0
|
40 |
#include <rom\f32\f32.iby>
|
sl@0
|
41 |
|
sl@0
|
42 |
file=\Epoc32\Release\##MAIN##\##BUILD##\crash.exe sys\bin\crash.exe
|
sl@0
|
43 |
|
sl@0
|
44 |
#if defined(LMNAND2)
|
sl@0
|
45 |
data=\epoc32\rom\LMNAND2\nandtest_load_autoexec.bat \autoexec.bat
|
sl@0
|
46 |
#elif defined(_ONENAND)
|
sl@0
|
47 |
data=\epoc32\rom\##VARIANT##\nandtest_load_on_autoexec.bat \autoexec.bat
|
sl@0
|
48 |
#elif defined(_CREATE_NE1_TB_NAND_SWAP) // WDP on the NaviEngine is optional for now as the test results are poor
|
sl@0
|
49 |
data=\epoc32\rom\##VARIANT##\nandtest_load_wdp_autoexec.bat \autoexec.bat
|
sl@0
|
50 |
#else
|
sl@0
|
51 |
data=\epoc32\rom\##VARIANT##\nandtest_load_autoexec.bat \autoexec.bat
|
sl@0
|
52 |
#endif
|
sl@0
|
53 |
|
sl@0
|
54 |
#if defined(LMNAND2) || defined(_NAND2) || defined(_ONENAND)
|
sl@0
|
55 |
#if defined (__LABRADOR_BOARD__)
|
sl@0
|
56 |
file=\Epoc32\Release\##MAIN##\##BUILD##\LAB_NANDLOADER_UNISTORE2.EXE \sys\bin\NANDLOADER.EXE
|
sl@0
|
57 |
#else
|
sl@0
|
58 |
file=\Epoc32\Release\##MAIN##\##BUILD##\NANDLOADER_UNISTORE2.EXE \sys\bin\NANDLOADER.EXE
|
sl@0
|
59 |
#endif
|
sl@0
|
60 |
#else
|
sl@0
|
61 |
file=\Epoc32\Release\##MAIN##\##BUILD##\NANDLOADER.EXE \sys\bin\NANDLOADER.EXE
|
sl@0
|
62 |
#endif
|
sl@0
|
63 |
|
sl@0
|
64 |
// Built with nandtest_test.oby
|
sl@0
|
65 |
#ifdef NAMETAG
|
sl@0
|
66 |
data=##VARIANT##.##KMAIN##.##BUILD##.##NAMETAG##.core.img \core.img
|
sl@0
|
67 |
#else
|
sl@0
|
68 |
data=##VARIANT##.##KMAIN##.##BUILD##.core.img \core.img
|
sl@0
|
69 |
#endif
|
sl@0
|
70 |
|
sl@0
|
71 |
#if defined(MULTIPLEROFS)
|
sl@0
|
72 |
// Built by rom.pl with type=nandtest_test
|
sl@0
|
73 |
data=tests.rofs \rofs1.img
|
sl@0
|
74 |
data=dir.rofs \rofs2.img
|
sl@0
|
75 |
data=extension.rofs \rofsextension3.img
|
sl@0
|
76 |
data=dir1.rofs \rofs4.img
|
sl@0
|
77 |
data=dir2.rofs \rofs5.img
|
sl@0
|
78 |
data=dir3.rofs \rofs6.img
|
sl@0
|
79 |
data=\epoc32\rom\rofstest\fatimage.bin \user3.img
|
sl@0
|
80 |
#else
|
sl@0
|
81 |
data=dir.rofs \rofs1.img
|
sl@0
|
82 |
data=extension.rofs \rofsextension2.img
|
sl@0
|
83 |
#endif
|
sl@0
|
84 |
|
sl@0
|
85 |
data=smr1.img \smr1.img
|
sl@0
|
86 |
data=\epoc32\data\smr_part_102400.img \smr2.img
|
sl@0
|
87 |
|