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