Changes between Version 3 and Version 4 of TBR/BSP/Psim


Ignore:
Timestamp:
Nov 27, 2010, 9:04:04 PM (10 years ago)
Author:
Marto1914
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TBR/BSP/Psim

    v3 v4  
    22
    33
    4 This is a BSP for the PowerPC instruction simulator included with GDB.  It is a functional architectural simulator and not accurate from a timing perspective.  The decrementer simply counts instructions executed.  This is useful when optimizing to reduce overall instructions executed.  It does support a clock tick using the decrementer and a console so it is capable of executing most RTEMS tests.
     4{{ infobox
     5| bodyclass  = vcard
     6| bodystyle  = width:{{#if:{{{box_width|}}}|{{{box_width}}} |22em}}; font-size:95%; text-align:left;
     7| above      = '''{{{name|{{PAGENAME}}}}}'''
     8| aboveclass = fn
     9| abovestyle = text-align:center; font-size:125%;
     10| image      = {{#if:{{{image|}}}|{{{image}}}}}
     11| imageclass = {{image class names|{{{image}}}}}
     12| imagestyle = padding:4pt; line-height:1.25em; text-align:center; font-size:8pt;
     13| caption    = <div style="padding-top:2pt;">{{{caption|}}}</div>
     14| labelstyle = padding:0.2em 1.0em 0.2em 0.2em; background:transparent; line-height:1.2em; text-align:left; font-size:90%;
     15| datastyle  = padding:0.2em; line-height:1.3em; vertical-align:middle; font-size:90%;
    516
    6 The gdb shipped with the RTEMS PowerPC toolset already contains the simulator. For proper operation, a "device tree file" must be supplied to define the simulated hardware environment. This includes the location and amount of memory available, timer, UARTs and others. The easiest way to start the simulator either with or without debugger command line is to use the supplied scripts in <install-path/psim/tests/>.
     17| header1    =
     18| label1     = Board Name
     19| data1      = {{{BSP_name}}}
     20| label2     = Manufacturer
     21| data2      = {{{Manufacturer}}}
    722
    8 Example to debug the code (for rtems-4.10):
    9  
    10  /opt/rtems-4.10/powerpc-rtems4.10/psim/tests/psim-gdb ticker.exe
     23| label3     = Reference
     24| data3      = {{#if: {{{Board_URL|}}} | {{{Board_URL}}} | no product URL?}}
    1125
    12 Example to execute the code directly (for rtems-4.10):
    13  
    14  /opt/rtems-4.10/powerpc-rtems4.10/psim/tests/psim ticker.exe
    15 = Test Reports =
     26| label4     = Architecture
     27| data4      = {{{Architecture}}}
     28| label5     = CPU Model
     29| data5      = {{#if: {{{CPU_model|}}} | {{{CPU_model}}} | CPU model unspecified. }}
     30
     31| label6     = Monitor
     32| data6      = {{#if: {{{Monitor|}}} | {{{Monitor}}} | }}
    1633
    1734
    18 4.6.4: [wiki:User:JoelSherrill User:JoelSherrill] reports that it runs fine on gdb 5.3.
     35| label7     = Runs on Simulator?
     36| data7      = {{#if: {{{Simulator|}}} | {{{Simulator}}} | No. }}
    1937
    20 4.6.99.2: [wiki:User:JoelSherrill User:JoelSherrill] reports that it runs fine on gdb 6.3.
     38
     39| label10     = Aliases
     40| data10      = {{#if: {{{Aliases|}}} | {{{Aliases}}} | }}
     41
     42| label15     = RAM
     43| data15      = {{#if: {{{RAM|}}} | {{{RAM}}} | RAM Unspecified. }}
     44| label16     = Non-volatile Memory
     45| data16      = {{#if: {{{NVMEM|}}} | {{{NVMEM}}} | Non-volatile memory unspecified. }}
     46
     47| label20     = Serial Ports
     48| data20      = {{#if: {{{Serial|}}} | {{{Serial}}} |Serial Ports Unspecified. }}
     49
     50| label21     = NICs
     51| data21      = {{#if: {{{NICs|}}} | {{{NICs}}} |NICs Unspecified. }}
     52
     53
     54| label30     = Other
     55| data30      = {{#if: {{{Other|}}} | {{{Other}}} | }}
     56
     57}}