os/kernelhwsrv/kerneltest/e32test/nkernsa/howto.txt
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 How to run the standalone nanokernel tests
     2 ==========================================
     3 
     4 The standalone nanokernel tests run in a very restricted environment, compiled
     5 directly into a minimal version of the nanokernel. Only the single memory model
     6 is supported, and armv5 roms cannot be built due to an issue with RVCT's
     7 runtime libraries.
     8 
     9 No display driver is included in this environment, the only output is via
    10 bootstrap debug support. For this to work you must either boot the rom via
    11 serial download, so that the bootloader initialises the serial port, or
    12 uncomment "GBLL	CFG_InitDebugPort" in ne1_tb\single\config.inc before building
    13 the bootstrap.
    14 
    15 To build this for NaviEngine SMP:
    16 
    17 cd \bsp\hwip_nec_naviengine\ne1_tb\single
    18 abld build arm4smp nkern_sa
    19 abld test build arm4smp nktest_lib
    20 abld test build arm4smp nktest
    21 cd \e32\rombuild
    22 rom -v sne1_tb -i arm4smp -x arm4smp -t nktest
    23 
    24 Either udeb or urel may be used depending if you want to use the benchmarks.
    25 
    26 The resulting rom will run all the nanokernel standalone tests, which takes
    27 quite a while: you may wish to comment some of them out in main.cpp here.