Any suggestion of how to write .rcS file.
I am not familiar with that. I just make a little modification of the
ammp.rcS script in configs/boot.

By the way is that right to copy the benchmark to the mount point of the
disk image?

Regards,
Bojun

On Wed, Jun 20, 2012 at 10:36 PM, Anthony Gutierrez <atgut...@umich.edu>wrote:

> usage: /sbin/m5 exit [delay]
>        /sbin/m5 resetstats [delay [period]]
>        /sbin/m5 dumpstats [delay [period]]
>        /sbin/m5 dumpresetstats [delay [period]]
>        /sbin/m5 readfile [filename]
>        /sbin/m5 execfile <filename>
> /sbin/m5 checkpoint [delay [period]]
>        /sbin/m5 loadsymbol <address> <symbol>
>        /sbin/m5 initparam
>        /sbin/m5 sw99param
>        /sbin/m5 pin <cpu> <program> [args ...]
> All times in nanoseconds!
> /tmp/script: line 11: can't open input: no such file
>
> Your script file isn't there. Also, it looks like you never start the
> benchmark in your rcS script. All you have is "< input".
>
> On Wed, Jun 20, 2012 at 10:24 PM, Bojun Ma <boj...@mtu.edu> wrote:
>
>> Here is the system.terminal file. (in attachment)
>> It seems cannot open the input file of ammp.
>>
>> Yes I compile it statically.
>>
>> I mean I put it in the /mnt of my Ubuntu OP which is the mount point I
>> used for the disk image.
>> The Structure is like this:
>> bojun@bojun-desktop:/mnt$ ls
>> 164.gzip  bin   dev  gzip  input  lost+found  mnt  proc  sbin     srv
>> tmp  var
>> ammp      boot  etc  home  lib    media       opt  root  selinux  sys  usr
>>
>> Maybe I misunderstood the document in wiki "put benchmark into the disk
>> image". If so, where should I put the benchmark?
>>
>> Another question is I need to simulate all input file in ref, how should
>> I put them and in which structure could the FS system find them?
>>
>> Regards,
>> Bojun
>>
>>
>> On Wed, Jun 20, 2012 at 10:13 PM, Anthony Gutierrez 
>> <atgut...@umich.edu>wrote:
>>
>>> The stats file isn't really useful here. What do the simulator and
>>> system.terminal output say? Is it exiting because of m5 exit? If so I have
>>> a feeling that your binary isn't able to execute. Did you compile it
>>> statically? Why are you placing it in the /mnt directory of the disk image?
>>>
>>> -Tony
>>>
>>> On Wed, Jun 20, 2012 at 10:09 PM, Bojun Ma <boj...@mtu.edu> wrote:
>>>
>>>> Hi, All,
>>>>      I am running SPEC CPU2000 benchmark in ARM FS mode.(ammp)
>>>>      I copy ammp binary and input file to the /mnt of the disk image
>>>> which download from the gem5 website.
>>>>
>>>>      My .rcS file:
>>>>      #!/bin/sh
>>>>
>>>>
>>>>
>>>> /sbin/m5 checkpoint 0 0
>>>> /sbin/m5 checkpoint 100000000 200000000
>>>>
>>>> /sbin/m5 loadsymbol
>>>>
>>>> /sbin/m5 resetstats
>>>> < input
>>>> /sbin/m5 exit
>>>>
>>>>
>>>>
>>>>      The command line I used:
>>>>      build/ARM_FS/gem5.opt --outdir=ammp00 --debug-flags=O3PipeView
>>>> --trace-start=50000 --trace-file=ammp_trace.out configs/example/fs.py
>>>> --num-cpus=4 --script=./configs/boot/ammp00.rcS
>>>>
>>>>
>>>>      However the simulation just continue in 0.000367s and there is
>>>> nothing in the trace file.
>>>>      The attachment is the stats.txt
>>>>
>>>>      Can anyone help to figure out the reason?
>>>>      Is there something wrong in my rcS file?
>>>>      Do I miss some important component?
>>>>
>>>>      Thanks in advance.
>>>>
>>>> Regards,
>>>> Bojun Ma
>>>>
>>>> _______________________________________________
>>>> gem5-users mailing list
>>>> gem5-users@gem5.org
>>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>>>
>>>
>>>
>>> _______________________________________________
>>> gem5-users mailing list
>>> gem5-users@gem5.org
>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>>
>>
>>
>> _______________________________________________
>> gem5-users mailing list
>> gem5-users@gem5.org
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to