First off, when you send emails to the list, you should make sure the subject reflects what your asking about. Second, you shouldn't reply to an unrelated email to ask your own question. You should start a new thread specifically for your question.

As far as configuring things for more CPUs, you'd do that using standard Linux kernel configuration mechanisms. In that tar ball are regular Linux config files which you can copy into a kernel source tree and use in the normal way. I'm sure there's lots of documentation about that online somewhere. There are only two things you should be careful about, getting the version of the kernel to match the config (mostly to make life simpler for yourself) and also that exotic options that use special hardware or platform features may not work.

Gabe

Quoting Xuhao Chen <[email protected]>:

Hi Gabe,
You mentioned that there's a configuration option for the kernel that sets how many CPUs it supports in X86 FS mode. Do you mean the config files "config-x86.tar" at http://www.m5sim.org/Download. How to apply such configuration and set it to support 64-core?
Thanks.



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: Gabe Black
Date: 2012-02-29 04:42
To: gem5-users
Subject: Re: [gem5-users] How to boot SPARC FS?
On 02/28/12 09: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
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Also I should point out that I think image is for booting Solaris, I
think, not Linux. I don't think we got SMP working for SPARC FS, but I
don't really remember.

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


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

Reply via email to