How to run the MODISTARC regression tests for Freescale MPC5674F

From ErikaWiki

Revision as of 06:24, 29 July 2014 by Francesco (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  1. Checkout the svn repository to work with the last version of the test cases. Note that you can use subversion in anonymous mode without logging in (in this case you won't be allowed to write on the repository for adding, editing or removing files).
  2. Change the working directory to: repos/ee/trunk/ee/testcase
  3. Start the compilation by typing make ARCH=e200zx (see below for other targets) and by specifying MCU target, e.g: make ARCH=e200zx_diab_5_5_1_vle MCU_TARGET=mamba where mamba represents MPC5674F. The build system will compile all the projects through the following steps:
    1. Creating all the temporary directories;
    2. Processing the OIL configuration files using RT_DRUID;
    3. Compiling the sources to generate the .elf files;
    4. Creating the Lauterbach scripts to run the regression tests on the processor.DIRS="modistarc_task_1" </tt>
  4. Launch the tests: cd tmp; t32mppc
  5. After the test, open the file tmp/report.log. You should find a line saying Test OK for every test; if a test is marked with Test Failed then you have found something broken.

The e200zx target uses the Diab compiler and the FLE instruction set. It is possible to choose the CodeWarrior compiler and/or the VLE instruction set using one of these other targets: e200zx_diab_vle, e200zx_codewarrior_vle, or e200zx_codewarrior_fle.

See also: Freescale PPC e200 (MPC 56xx)

Personal tools