summaryrefslogtreecommitdiff
path: root/testcase/Readme
blob: c90ab71558fd688e4965e6325b89bb72481f30ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
====================
arm:
  Simulator:
  qemu-system-arm -no-reboot -net none -nographic -M realview-pbx-a9 -m 256M -kernel build/arm-rtems4.11-realview_pbx_a9_qemu/rtld
  add "-S -s" option and you can use gdbserver to debug rtld
  use "halt" to exit qemu.

  Configuration:
  waf configure --rtems=/opt/rtems-4.11 --rtems-tools=/opt/rtems-4.11 --rtems-archs=arm  --rtems-bsps=arm/realview_pbx_a9_qemu

  In the wscript, you can use different cflags to test.

powerpc:
  Simulator:
  psim -i build/powerpc-rtems4.11-psim/rtld

  Configuration:
  waf configure --rtems=/opt/rtems-4.11 --rtems-tools=/opt/rtems-4.11 --rtems-archs=powerpc  --rtems-bsps=powerpc/psim
  "-fno-common" are add to cflags to avoid common section problem.

bfin:
  Because the simulator does not respond to the input keys, use the automatic shell-init to load test.rap
  Also you should modify the
            rtems_linkflags = ['--base', 'rtld.prelink',
                               '--entry', '_my_main'],
  "-mlong-calls" can generate fewer reloc types. One can use this option to see what it affects.
  Simulator:
    bf537Stamp-gdb build/bfin-rtems4.11-bf537Stamp/rtld
  Note: if use gdb to run rtl, add 'rap ld './test.rap'' into shell-init

h8300:
 configure --rtems=/opt/rtems-4.11 --rtems-tools=/opt/rtems-4.11 --rtems-archs=h8300 --rtems-bsps=h8300/h8sim
 configure --rtems=/opt/rtems-4.11 --rtems-tools=/opt/rtems-4.11 --rtems-archs=h8300 --rtems-bsps=h8300/h8sxsim
 You should change '-B ${RTEMS_ARCH}' to '-B h8300h' for h8sim and '-B h8300sx' for h8sxsim

 Simulator:
   h8sim -i build/h8300-rtems4.11-h8sim/rtld