Hi all,

I am trying to run splash-2 on M5 simulator. Following the step by step 
guideline, there is a paragraph mentioning:

"Keep the directory structure of the system files from m5sim.org, but move the 
parsec disk image in to disks and modify ./configs/common/Benchmarks.py line 53 
to return
env.get('LINUX_IMAGE', disk('linux-parsec-2-1-m5.img')) instead of linuxlatest. 
img. Do the same thing to line 67 of ./configs/common/FSConfig.py. "

I can find the right place in Benchmarks.py, however fails for FSCconfig.py. 
Items including line 67 in my FSConfig.py show as: 

63     self = LinuxAlphaSystem()
     64     if not mdesc:
     65         # generic system
     66         mdesc = SysConfig()
     67     self.readfile = mdesc.script()
     68     self.iobus = Bus(bus_id=0)
     69     self.membus = MemBus(bus_id=1)
     70     self.bridge = Bridge(delay='50ns', nack_delay='4ns')
     71     self.physmem = PhysicalMemory(range = AddrRange(mdesc.mem()))
     72     self.bridge.side_a = self.iobus.port
     73     self.bridge.side_b = self.membus.port
     74     self.physmem.port = self.membus.port
     75     self.disk0 = CowIdeDisk(driveID='master')
     76     self.disk2 = CowIdeDisk(driveID='master')
     77     self.disk0.childImage(mdesc.disk())
     78     self.disk2.childImage(disk('linux-bigswap2.img'))

Should I change line 78 to "linux-parsec-2-1-m5.img" since there is the only 
place in the file has clear img name. I am new comers to python and M5. 
Appreciate the answers to this stupid question.

Thanks,
HX


                                          
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to