os/kernelhwsrv/kernel/eka/rombuild/mmctest_test_e32tests.oby
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
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(_NAND2)
sl@0
    24
#define _NANDTEST2
sl@0
    25
#undef _NAND2
sl@0
    26
#else
sl@0
    27
#if defined(_NAND)
sl@0
    28
#undef _NAND
sl@0
    29
#endif
sl@0
    30
#define _NANDTEST
sl@0
    31
#endif
sl@0
    32
sl@0
    33
#include <rom\##VARIANT##\header.iby>
sl@0
    34
#undef MULTIPLEROFS
sl@0
    35
sl@0
    36
files=
sl@0
    37
sl@0
    38
#ifdef PAGED_ROM
sl@0
    39
data=gentestpaged.txt			Test\test_paged.cpp paging_unmovable
sl@0
    40
#endif
sl@0
    41
sl@0
    42
#include <rom\##VARIANT##\kernel.iby>
sl@0
    43
#include "user.iby"
sl@0
    44
#include <rom\hal\hal.iby>
sl@0
    45
#include <rom\f32\f32.iby>
sl@0
    46
sl@0
    47
// tests
sl@0
    48
#include <rom##E32PATH##\kernelhwsrv\kerneltest\e32test\group\##MAIN##test.iby>
sl@0
    49
#ifndef VARIANT_PATH
sl@0
    50
#include <rom##E32PATH##\##VARIANT##\test\##MAIN##test.iby>
sl@0
    51
#else
sl@0
    52
#define inc(a,b,c) <a\\b\\c>
sl@0
    53
#include inc(rom##E32PATH##,VARIANT_PATH,\test\##MAIN##test.iby)
sl@0
    54
#endif
sl@0
    55
#include "..\..\..\kerneltest\f32test\loader\gen\ldrtest.iby"
sl@0
    56
data=EPOCROOT##epoc32\release\##MAIN##\##BUILD##\t_ldrtst.exe			sys\bin\t_ldrtst.exe
sl@0
    57
sl@0
    58
sl@0
    59
data=gentestpaged.txt			Test\test_paged1.cpp paging_unmovable
sl@0
    60
sl@0
    61
// scripts
sl@0
    62
#if !defined(MANUALROM)
sl@0
    63
data=EPOCROOT##epoc32\rom\##VARIANT##\mmctest_test_autoexec_e32test.bat			\autoexec.bat
sl@0
    64
#endif
sl@0
    65
data=EPOCROOT##epoc32\rom\##VARIANT##\mmcdemandpaginge32tests.bat				\test\mmcdemandpaginge32tests.bat
sl@0
    66
data=EPOCROOT##epoc32\rom\##VARIANT##\mmcdemandpagingf32tests.bat				\test\mmcdemandpagingf32tests.bat
sl@0
    67
sl@0
    68
#ifdef PAGED_ROM
sl@0
    69
#ifdef INST_ARMV5
sl@0
    70
#include "##BASEPATH##f32test\demandpaging\t_pagestress_rom.iby"
sl@0
    71
#endif
sl@0
    72
#endif
sl@0
    73
sl@0
    74
#ifdef WITH_COMP
sl@0
    75
#ifdef PAGED_ROM
sl@0
    76
data=gentestnonpaged.txt			Test\test_unpaged.cpp	unpaged paging_unmovable
sl@0
    77
#endif
sl@0
    78
sl@0
    79
rofsname = dir.rofs
sl@0
    80
rofssize = 0x500000
sl@0
    81
sl@0
    82
#ifdef PAGED_ROM
sl@0
    83
PAGINGOVERRIDE DEFAULTPAGED
sl@0
    84
#endif
sl@0
    85
sl@0
    86
REM Round the size up/down to the nearest block size
sl@0
    87
REM This will enable any ROFS extensions to be found
sl@0
    88
REM BlockSize is typically 16K for most small-block NAND chips
sl@0
    89
REM BlockSize is typically 128K for most large-block NAND chips
sl@0
    90
#if defined SMALL_BLOCK
sl@0
    91
autosize = 0x4000
sl@0
    92
#elif defined(LARGE_BLOCK)
sl@0
    93
autosize = 0x20000
sl@0
    94
#endif
sl@0
    95
#endif  //WITH_COMP
sl@0
    96
sl@0
    97
data=EPOCROOT##epoc32\Release\##MAIN##\##BUILD##\d_exc.exe			\sys\bin\d_exc.exe
sl@0
    98
data=EPOCROOT##epoc32\Release\##KMAIN##\##BUILD##\minkda.ldd			\sys\bin\minkda.ldd
sl@0
    99
sl@0
   100
sl@0
   101
#ifndef WITH_COMP
sl@0
   102
#ifdef PAGED_ROM
sl@0
   103
data=gentestnonpaged.txt			Test\test_unpaged.cpp	unpaged paging_unmovable
sl@0
   104
#endif
sl@0
   105
#endif
sl@0
   106
sl@0
   107
// rom.pl will put this in a rofs image
sl@0
   108
#include <rom\rofstest\dir.oby>
sl@0
   109