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