os/kernelhwsrv/kerneltest/e32test/nkernsa/howto.txt
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/kernelhwsrv/kerneltest/e32test/nkernsa/howto.txt	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,27 @@
     1.4 +How to run the standalone nanokernel tests
     1.5 +==========================================
     1.6 +
     1.7 +The standalone nanokernel tests run in a very restricted environment, compiled
     1.8 +directly into a minimal version of the nanokernel. Only the single memory model
     1.9 +is supported, and armv5 roms cannot be built due to an issue with RVCT's
    1.10 +runtime libraries.
    1.11 +
    1.12 +No display driver is included in this environment, the only output is via
    1.13 +bootstrap debug support. For this to work you must either boot the rom via
    1.14 +serial download, so that the bootloader initialises the serial port, or
    1.15 +uncomment "GBLL	CFG_InitDebugPort" in ne1_tb\single\config.inc before building
    1.16 +the bootstrap.
    1.17 +
    1.18 +To build this for NaviEngine SMP:
    1.19 +
    1.20 +cd \bsp\hwip_nec_naviengine\ne1_tb\single
    1.21 +abld build arm4smp nkern_sa
    1.22 +abld test build arm4smp nktest_lib
    1.23 +abld test build arm4smp nktest
    1.24 +cd \e32\rombuild
    1.25 +rom -v sne1_tb -i arm4smp -x arm4smp -t nktest
    1.26 +
    1.27 +Either udeb or urel may be used depending if you want to use the benchmarks.
    1.28 +
    1.29 +The resulting rom will run all the nanokernel standalone tests, which takes
    1.30 +quite a while: you may wish to comment some of them out in main.cpp here.