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 |
//#NAME: autotest NAND, nandloader component
|
|
18 |
// loads images from drive d: into nand flash and boots from nand flash
|
|
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 |
// Enable SD support so that we can hide the card in slot#2
|
|
36 |
#define USE_SDIO_SD_MMC
|
|
37 |
|
|
38 |
|
|
39 |
files=
|
|
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 |
data=\epoc32\rom\##VARIANT##\nandtest_load_rel_autoexec.bat \autoexec.bat
|
|
47 |
|
|
48 |
#if defined(LMNAND2) || defined(_NAND2) || defined(_ONENAND)
|
|
49 |
#if defined (__LABRADOR_BOARD__)
|
|
50 |
file=\Epoc32\Release\##MAIN##\##BUILD##\LAB_NANDLOADER_UNISTORE2.EXE \nandloader\NANDLOADER.EXE
|
|
51 |
#else
|
|
52 |
file=\Epoc32\Release\##MAIN##\##BUILD##\NANDLOADER_UNISTORE2.EXE \nandloader\NANDLOADER.EXE
|
|
53 |
#endif
|
|
54 |
#else
|
|
55 |
file=\Epoc32\Release\##MAIN##\##BUILD##\NANDLOADER.EXE \nandloader\NANDLOADER.EXE
|
|
56 |
#endif
|
|
57 |
|