Hi Ali,
Thank you very much.
The problem is that there is nothing printed out in m5term console.  




Xuhao Chen
PhD student
School of Computer
National University of Defense Technology
Changsha, Hunan, P.R.China, 410073
Tel:  +86-159-741-03340 (Mobile)

From: Ali Saidi
Date: 2012-02-29 07:20
To: gem5 users mailing list
Subject: Re: [gem5-users]How to boot SPARC FS?
On 28.02.2012 11:27, Gedare Bloom wrote:
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



The message printed it simply a message that you need to know what you're 
doing. In SPARC/Solaris unlike other architectures we run the full bare-metal 
boot loader which pulls the kernel off the disk image. For SPARC no kernel 
should be specified on the command line. I imagine the system is booting just 
fine. We only ever got Solaris/SPARC booting on a single core in atomic mode. 
While some of the peripherals that needed to exist were written for multi-cores 
it was never tested and debugged.Ali
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to