Hi Anirudh,
If you just specify --dual on the command line you'll get two systems and you don't need to actually bother with modifying the regression test you mention below, however you need to think about how they'll connect together. We have PCIe based ethernet network interface models, however that seems like it might not be the right thing for android. If you want to go down the PCIe route, then you'll need to do some work to enable PCIe in VExpress_EMM. Depending on what you want to do, you might want to create a wifi like adapter. Thanks, Ali On 29.05.2012 10:36, Anirudh Sivaraman wrote: > On Tue, May 29, 2012 at 7:46 AM, Nilay Vaish <ni...@cs.wisc.edu> wrote: > >> On Mon, 28 May 2012, Anirudh Sivaraman wrote: >> >>> Hi I am trying to simulate a configuration of networked Android devices implying I need to use the ARM architecture for it. I have been working off twosys-tsunami-simple-atomic.py because that's the only networked benchmark available within GEM5 at present. Can anyone help me out with modifying twosys-tsunami-simple-atomic.py to simulate two ARM devices instead of two ALPHA devices (like it does now). Thanks in advance for any advice you may have in this regard. >> Anirudh, you'll have to take the plunge on your own. Go ahead and modify the python script. At first, it might appear hard to do. But once you start modifying it, the script would not create much problems for you. I think Python has very good debugging support. So figuring out errors is also not an issue. In case you do face difficulties, you can always ask questions on gem5-users mailing list. > > Thank you for your prompt response. I started hacking the Python > script and to that end, created a function makeLinuxArmSystem in > FSConfig.py. This is based off makeLinuxAlphaSystem. I know it's > exceedingly naive, but to create makeLinuxArmSystem, I copied the body > of makeLinuxAlphaSystem and replaced the call to LinuxAlphaSystem with > a call to LinuxArmSystem. > > When I run the modified twosys-tsunami-simple-atomic.py, I get the foll. error : > > File "/afs/csail.mit.edu/u/a/anirudh/INFOCOMSubmission/gem5/configs/common/FSConfig.py", > line 338, in makeLinuxArmSystem > self.tsunami = BaseTsunami() > File "/afs/csail.mit.edu/u/a/anirudh/INFOCOMSubmission/gem5/src/python/m5/SimObject.py", > line 753, in __setattr__ > % (self.__class__.__name__, attr) > AttributeError: Class LinuxArmSystem has no parameter tsunami > > So by the looks of it, I need to add an attribute called tsunami to > the class LinuxArmSystem. I am not sure how to do this. I took at look > at the source defining LinuxAlphaSystem > (src/arch/alpha/AlphaSystem.py) but to no avail. > > Anirudh > >> -- Nilay _______________________________________________ gem5-users mailing list gem5-users@gem5.org [1] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [2] > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users Links: ------ [1] mailto:gem5-users@gem5.org [2] 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