Hello,

The disk image you use is specific to the processor architecture you are 
running gem5 with. This is why, on the
http://www.m5sim.org/Download
page, there are sets of files for each processor architecture.

Did you try using the Alpha full system files?
http://www.m5sim.org/dist/current/m5_system_2.0b3.tar.bz2


From: gem5-users-boun...@gem5.org [mailto:gem5-users-boun...@gem5.org] On 
Behalf Of pmo...@masonlive.gmu.edu
Sent: Thursday, December 13, 2012 2:43 PM
To: gem5-users@gem5.org
Subject: [gem5-users] Running FFT in full system mode on Alpha

I tried the

scons build/ALPHA/tests/opt

And it worked fine. Building was complete.  but when I try this:
command line: build/ALPHA/gem5.opt configs/example/fs.py
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/pm/gem5-stable/src/python/m5/main.py", line 359, in main
    exec filecode in scope
  File "configs/example/fs.py", line 51, in <module>
    from FSConfig import *
  File "/home/pm/gem5-stable/configs/common/FSConfig.py", line 43, in <module>
    from Benchmarks import *
  File "/home/pm/gem5-stable/configs/common/Benchmarks.py", line 56
    elif buildEnv['TARGET_ISA'] == 'x86':
       ^
SyntaxError: invalid syntax
Here is the changes I made. In Syspath:
except KeyError:
                path = [ '/dist/m5/system', 
'/home/pm/gem5-stable/full_system_images/disks' ]
In Benchmarks:
elif buildEnv['TARGET_ISA'] == 'alpha':
            return env.get('LINUX_IMAGE', disk('LINUX_IMAGE', 
disk('linux-parsec-2-1-m5.img'))
        elif buildEnv['TARGET_ISA'] == 'x86':
In FSConfig:
    self.kernel = binary('vmlinux')



I see that it doesn't have the -- disk image command in comparison to youtube 
tutorial on ARM I tried it with all the img files in disks "but still the same 
result. what do you think is the problem?

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

Reply via email to