I am trying to simulate ffmpeg with fs mode. I downloaded x86 image and
binaries, set the paths towards them ( this fixed can't find system path
problem ).

I followed tutorial:

/work/gem5] mount –o loop,offset=32256 linux-x86.img /mnt
[/work/gem5] ls /mnt
bin  boot  dev  etc  home  lib  lost+found  media  mnt  proc  root  sbin
 sys  tmp  usr  var  writable
[/work/gem5] cp queens /mnt
[/work/gem5] cp queens-w-chkpt /mnt    // this step didn't work but I am
guessing that this is important only for use of checkpoints.

Now, I need a help with the script. My ffmpeg is in gem5 root, so how to
create that script, what exactly that script does?

After that my simulation command should be ./build/X86/gem5.opt
./configs/example/fs.py --script=./ffmpeg.rcS   // also I would like to
pass AVIDemo.avi as an argument so should I specify that in the script?

I tried different one and got this:
command line: ./build/X86/gem5.opt configs/example/fs.py
--script=./configs/boot/queens.rcS
warning: add_child('terminal'): child 'terminal' already has parent
Global frequency set at 1000000000000 ticks per second
info: No kernel set for full system simulation. Assuming you know what
you're doing if not SPARC ISA
      0: rtc: Real-time clock set to Sun Jan  1 00:00:00 2012
panic: Error opening /tmp/linux-x86.img
 @ cycle 0
[open:build/X86/dev/disk_image.cc, line 79]
Memory Usage: 211764 KBytes
Program aborted at cycle 0
Aborted



Thank you
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to