On Tue, Feb 28, 2012 at 11:15 AM, Xuhao Chen <[email protected]> wrote: > Hi Gedare, > > I have read your blog "a week in m5". And I have a question about m5. > The Solaris 10 binary image for SPARC includes "reset.bin, q.bin, openboot.bin" etc. > I copy *.bin and nvram1 from OpenSPARCT1_Arch.1.5/S10image/ to > the /dist/m5/system/binaries/ directory. > Also rename reset.bin, q.bin, and openboot.bin to reset_new.bin, q_new.bin, > and openboot_new.bin, which are the binaries expected by the m5 SPARC_FS scripts. > Then > copy disk.s10hw2 from the S10image/ directory to the /dist/m5/system/disks/ directory. > But when booting the system, it still cannot find the kernel file: > > info: No kernel set for full system simulation. Assuming you know what you're doing... > > Do you know the reason? Should I use the option --kernel to specify the > kernel file? But which one is the kernel file? > By the way, how many CPUs can gem5 run in SPARC FS mode? I know that it can > be up to 64 CPUs in Alpha FS mode. > Thanks. > It has been awhile since I worked with GEM5 so I cannot be certain; that post is nearly 2 years old so a lot may have changed since then. I did not have to specify a --kernel option, and the fs.py (FSConfig.py) had all the options set to point toward the OpenBoot binary files and example disk containing the OpenSolaris image. The info message does not necessarily mean there is a problem, and if you connect with m5term you might still reach the OpenBoot prompt anyway.
When I was using the SPARC_FS only 1 core was supported. Maybe someone has been developing this port but I am not aware. Unless you are really committed to the SPARC architecture, I would suggest trying one of the other CPU models. Good luck, Gedare > ________________________________ > > Xuhao Chen > > PhD student > > School of Computer > > National University of Defense Technology > > Changsha, Hunan, P.R.China, 410073 > > Tel: +86-159-741-03340 (Mobile) _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
