os/kernelhwsrv/kernel/eka/rombuild/nandtest_test_f32tests.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
sl@0
    19
// The base NAND tests assume ROFS is mounted on J: and the user area on I:
sl@0
    20
// This must be before header.iby
sl@0
    21
sl@0
    22
#if defined(_NAND2)
sl@0
    23
#define _NANDTEST2
sl@0
    24
#undef _NAND2
sl@0
    25
#else
sl@0
    26
#if defined(_NAND)
sl@0
    27
#undef _NAND
sl@0
    28
#endif
sl@0
    29
#define _NANDTEST
sl@0
    30
#endif
sl@0
    31
sl@0
    32
#include <rom\##VARIANT##\header.iby>
sl@0
    33
sl@0
    34
files=
sl@0
    35
sl@0
    36
#ifdef PAGED_ROM
sl@0
    37
data=gentestpaged.txt			Test\test_paged.cpp paging_unmovable
sl@0
    38
#endif
sl@0
    39
sl@0
    40
#include <rom\##VARIANT##\kernel.iby>
sl@0
    41
#include "user.iby"
sl@0
    42
#include <rom\hal\hal.iby>
sl@0
    43
#include <rom\f32\f32.iby>
sl@0
    44
sl@0
    45
// (e32)tests
sl@0
    46
// #include <rom##E32PATH##\kernelhwsrv\kerneltest\e32test\group\##MAIN##test.iby>
sl@0
    47
data=EPOCROOT##epoc32\release\##KMAIN##\##BUILD##\d_pagestress.ldd		sys\bin\d_pagestress.ldd attrib=r
sl@0
    48
data=EPOCROOT##epoc32\release\##KMAIN##\##BUILD##\d_ramstress.ldd		sys\bin\d_ramstress.ldd attrib=r
sl@0
    49
data=EPOCROOT##epoc32\data\z\test\UnicodeData.txt				test\UnicodeData.txt
sl@0
    50
file=\epoc32\release\##MAIN##\##BUILD##\t_loclus.dll        			sys\bin\T_LOCLUS.DLL 
sl@0
    51
data=\epoc32\release\##MAIN##\##BUILD##\t_loclus.dll  				sys\bin\T_LOCLUS_RAM.DLL attrib=r
sl@0
    52
file=\epoc32\release\##MAIN##\##BUILD##\T_LOCLUS1.DLL       			sys\bin\T_LOCLUS1.DLL 
sl@0
    53
file=\epoc32\release\##MAIN##\##BUILD##\T_LOCLUS2.DLL      			sys\bin\T_LOCLUS2.DLL
sl@0
    54
file=\epoc32\release\##MAIN##\##BUILD##\T_LOCLGE.DLL       			sys\bin\T_LOCLGE.DLL
sl@0
    55
file=\epoc32\release\##MAIN##\##BUILD##\setcap.exe    				sys\bin\setcap.exe
sl@0
    56
sl@0
    57
#ifndef VARIANT_PATH
sl@0
    58
#include <rom##E32PATH##\##VARIANT##\test\##MAIN##test.iby>
sl@0
    59
#else
sl@0
    60
#define inc(a,b,c) <a\\b\\c>
sl@0
    61
#include inc(rom##E32PATH##,VARIANT_PATH,\test\##MAIN##test.iby)
sl@0
    62
#endif
sl@0
    63
#include "..\..\..\kerneltest\f32test\loader\gen\ldrtest.iby"
sl@0
    64
data=EPOCROOT##epoc32\release\##MAIN##\##BUILD##\t_ldrtst.exe			sys\bin\t_ldrtst.exe
sl@0
    65
sl@0
    66
#if defined(SYMBIAN_INCLUDE_USB_OTG_HOST) && defined(WITH_MASS_STORAGE)
sl@0
    67
#include <rom##E32PATH##\kernelhwsrv\kerneltest\f32test\shostmassstorage\##MAIN##test.iby>
sl@0
    68
#endif
sl@0
    69
sl@0
    70
#ifdef PAGED_ROM
sl@0
    71
data=gentestpaged.txt			Test\test_paged1.cpp paging_unmovable
sl@0
    72
#endif
sl@0
    73
sl@0
    74
// scripts
sl@0
    75
#if !defined(MANUALROM)
sl@0
    76
#if defined(RAMSTRESS)
sl@0
    77
data=ramstress_autoexec.bat			\autoexec.bat
sl@0
    78
#define RAMSTRESS_SUFFFIX	_ramstress
sl@0
    79
#else
sl@0
    80
#define RAMSTRESS_SUFFFIX	
sl@0
    81
#endif
sl@0
    82
#if defined(LMNAND2)
sl@0
    83
data=EPOCROOT##epoc32\rom\LMNAND2\nandtest_test_autoexec_f32test.bat			\autoexec##RAMSTRESS_SUFFFIX##.bat
sl@0
    84
#else
sl@0
    85
data=EPOCROOT##epoc32\rom\##VARIANT##\nandtest_test_autoexec_f32test.bat			\autoexec##RAMSTRESS_SUFFFIX##.bat
sl@0
    86
#endif
sl@0
    87
#endif
sl@0
    88
sl@0
    89
#ifdef INST_ARMV5
sl@0
    90
#include "##BASEPATH##kernelhwsrv\kerneltest\f32test\demandpaging\t_pagestress_rom.iby"
sl@0
    91
#endif
sl@0
    92
sl@0
    93
#ifdef WITH_COMP
sl@0
    94
#ifdef PAGED_ROM
sl@0
    95
data=gentestnonpaged.txt			Test\test_unpaged.cpp	unpaged paging_unmovable
sl@0
    96
#endif
sl@0
    97
sl@0
    98
#ifdef MULTIPLEROFS
sl@0
    99
rofsname = tests.rofs
sl@0
   100
#else
sl@0
   101
rofsname = dir.rofs
sl@0
   102
#endif	//MULTIPLEROFS
sl@0
   103
rofssize = 0x500000
sl@0
   104
sl@0
   105
#ifdef PAGED_ROM
sl@0
   106
PAGINGOVERRIDE DEFAULTPAGED
sl@0
   107
#endif
sl@0
   108
sl@0
   109
time = 23/11/2001 6:44:07
sl@0
   110
sl@0
   111
REM Round the size up/down to the nearest block size
sl@0
   112
REM This will enable any ROFS extensions to be found
sl@0
   113
REM BlockSize is typically 16K for most small-block NAND chips
sl@0
   114
REM BlockSize is typically 128K for most large-block NAND chips
sl@0
   115
#if defined SMALL_BLOCK
sl@0
   116
autosize = 0x4000
sl@0
   117
#elif defined(LARGE_BLOCK)
sl@0
   118
autosize = 0x20000
sl@0
   119
#endif
sl@0
   120
#endif  //WITH_COMP
sl@0
   121
sl@0
   122
// f32tests 
sl@0
   123
#include <rom##E32PATH##\kernelhwsrv\kerneltest\f32test\group\##MAIN##test.iby>
sl@0
   124
#include <rom##E32PATH##\kernelhwsrv\kerneltest\f32test\rofs\##MAIN##test.iby>
sl@0
   125
sl@0
   126
data=EPOCROOT##Epoc32\Release\##MAIN##\##BUILD##\d_exc.exe			\sys\bin\d_exc.exe
sl@0
   127
data=EPOCROOT##Epoc32\Release\##KMAIN##\##BUILD##\minkda.ldd			\sys\bin\minkda.ldd
sl@0
   128
sl@0
   129
sl@0
   130
#ifndef WITH_COMP
sl@0
   131
#ifdef PAGED_ROM
sl@0
   132
data=gentestnonpaged.txt			Test\test_unpaged.cpp	unpaged paging_unmovable
sl@0
   133
#endif
sl@0
   134
#endif
sl@0
   135
sl@0
   136
// rom.pl will put this in a rofs image
sl@0
   137
#include <rom\rofstest\dir.oby>
sl@0
   138
sl@0
   139
// rom.pl will put this in a rofs extension image
sl@0
   140
#include <rom\rofstest\extension.oby>
sl@0
   141
sl@0
   142
// rom.pl will put this in a SMR partition image
sl@0
   143
#include <rom\include\smr1.oby>
sl@0
   144
sl@0
   145
#ifdef MULTIPLEROFS
sl@0
   146
// rom.pl will put this in a rofs image
sl@0
   147
#include <rom\rofstest\rofs1.oby>
sl@0
   148
sl@0
   149
// rom.pl will put this in a rofs image
sl@0
   150
#include <rom\rofstest\rofs2.oby>
sl@0
   151
sl@0
   152
// rom.pl will put this in a rofs image
sl@0
   153
#include <rom\rofstest\rofs3.oby>
sl@0
   154
#endif // MULTIPLEROFS