source: rtems-testing/sim-scripts/edb7312.in @ 1ba5b39

4.11
Last change on this file since 1ba5b39 was 1ba5b39, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 13, 2009 at 3:00:05 PM

2009-08-13 Joel Sherrill <joel.sherrill@…>

  • .cvsignore, Makefile, edb7312.in, gdb-sim-run.in, skyeye-support: Add support for invoking a simulator external to gdb in gdb server mode. Have the gdb commands generated to include attaching to that server instance.
  • Property mode set to 100644
File size: 857 bytes
Line 
1#
2#  ARM/EDB7312 Support
3#
4#  $Id$
5#
6
7##INSERT SKYEYE SUPPORT HERE
8runARGS()
9{
10  echo "-c ${bspTreeFile} -e ${1}"
11}
12
13gdbServerARGS()
14{
15  echo "-c ${bspTreeFile} -d"
16}
17
18checkBSPFaults()
19{
20  bspExited_ARM
21  return $?
22}
23
24bspGeneratesDeviceTree="yes"
25bspTreeFile=edb7312.conf
26
27### Generate the PSIM device tree based upon the type of application being run
28bspGenerateDeviceTree()
29{
30cat <<EOF
31cpu: arm720t
32mach: ep7312
33mem_bank: map=I,type=RW, addr=0x80000000, size=0x00100000
34mem_bank: map=M, type=RW, addr=0x00000000, size=0x1000000
35uart: mod=pipe, desc_in=/dev/null, desc_out=/dev/stdout
36shutdown_device: addr=0xb0000000, max_ins=0
37EOF
38#shutdown_device: addr=0xb0000000, max_ins=${limit}0000000
39
40if [ ${coverage} = yes ] ; then
41  # enable 1 MB of RAM to be analyzed.
42  echo "code_coverage: state=on, filename=${2}.cov, start=0x00000000, end=0x00100000"
43fi
44}
Note: See TracBrowser for help on using the repository browser.