MIPS Simulator runs ticker!!!

Joel Sherrill joel.sherrill at OARcorp.com
Fri Dec 15 15:33:01 UTC 2000


I couldn't resist posting this. :)

The JMR3904 simulated by gdb is a Toshiba eval board 
for the TX3904 MIPS CPU.

========================
This GDB was configured as "--host=i686-pc-linux-gnu
--target=mipstx39-rtems"...Connected to the simulator.
Loading section .text, size 0x15230 lma 0x88000000
rLoading section .reginfo, size 0x18 lma 0x88015230
Loading section .rdata, size 0x10a0 lma 0x88015250
Loading section .data, size 0x7d0 lma 0x880162f0
Loading section .lit8, size 0x20 lma 0x88016ac0
Loading section .sdata, size 0x80 lma 0x88016ae0
Start address 0x88000004
Transfer rate: 744128 bits in <1 sec.
(gdb) r
Starting program:
/usr1/rtems/build/b-mips/mips-rtems/jmr3904/tests/ticker.exe 


*** CLOCK TICK TEST ***
TA1  - rtems_clock_get - 09:00:00   12/31/1988
TA2  - rtems_clock_get - 09:00:00   12/31/1988
TA3  - rtems_clock_get - 09:00:00   12/31/1988
TA1  - rtems_clock_get - 09:00:05   12/31/1988
TA2  - rtems_clock_get - 09:00:10   12/31/1988
TA1  - rtems_clock_get - 09:00:10   12/31/1988
TA3  - rtems_clock_get - 09:00:15   12/31/1988
TA1  - rtems_clock_get - 09:00:15   12/31/1988
TA2  - rtems_clock_get - 09:00:20   12/31/1988
TA1  - rtems_clock_get - 09:00:20   12/31/1988
TA1  - rtems_clock_get - 09:00:25   12/31/1988
TA3  - rtems_clock_get - 09:00:30   12/31/1988
TA1  - rtems_clock_get - 09:00:30   12/31/1988
TA2  - rtems_clock_get - 09:00:30   12/31/1988
*** END OF CLOCK TICK TEST ***

========================

The console is polled.  The counter/timer is counting instructions
(like psim for powerpc) rather than cycles (like sis for sparc/erc32).
The BSP does not have a timer driver yet so I don't have benchmarks.

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985



More information about the users mailing list