Ron,
If the 8111 is connected to 8131. Should add the config for 8131 and say its north is "amd8111".
Regards
Yinghai Lu
-----邮件原件----- 发件人: ron minnich [mailto:rminnich@lanl.gov] 发送时间: 2003年7月30日 15:45 收件人: linuxbios@clustermatic.org 主题: static config for CPUs with K8 example
OK, I am hoping this is the kind of thing that will work for the K8.
First, in cpu/k8, define a file, chip.h:
struct cpu_k8_config { struct chip *north, *south, *east, *west; };
Thenin cpu/k8/Config.lb, add this line: config chip.h
Note this file could be called anything, but chip.h is a habit for me.
In the mainboard config (mainboard/arima/hdama/Config.lb), you set things up as follows:
southbridge amd/amd8111 "amd8111" end southbridge amd/amd8131 "amd8131" end
# pull in all includes, etc. for the k8. # should we have a 'noise keyword' for this, e.g. 'cputype k8'?
dir /cpu/k8
# define the CPUs, their names, and their connections. cpu k8 "cpu0" register "north" = "amd8111" register "east" = "cpu1" end
cpu k8 "cpu1" register "north" = "amd8131" register "west" = "cpu0" end
This will result in initialized structures, per-cpu, that "do the right thing".
I've hit a bug I have to ask Greg about, but this is a rough idea. Comments?
ron
_______________________________________________ Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios
On Wed, 30 Jul 2003, YhLu wrote:
If the 8111 is connected to 8131. Should add the config for 8131 and say its north is "amd8111".
ah, ok, I need that more complex diagram that stefan sent me. All the diagrams he has sent so far show no link from 8131 to 8111 ...
Stefan? can you send 2 and 4 cpu pictures again?
ron
are the names 'north, south, east, west' acceptable to everyone? It follows current nomenclature.
ron
Hello from Gregg C Levine Okay. It works for me. ------------------- Gregg C Levine hansolofalcon@worldnet.att.net ------------------------------------------------------------ "The Force will be with you...Always." Obi-Wan Kenobi "Use the Force, Luke." Obi-Wan Kenobi (This company dedicates this E-Mail to General Obi-Wan Kenobi ) (This company dedicates this E-Mail to Master Yoda )
-----Original Message----- From: linuxbios-admin@clustermatic.org [mailto:linuxbios- admin@clustermatic.org] On Behalf Of ron minnich Sent: Wednesday, July 30, 2003 9:20 PM To: YhLu Cc: linuxbios@clustermatic.org Subject: Re: static config for CPUs with K8 example
are the names 'north, south, east, west' acceptable to everyone? It follows current nomenclature.
ron
Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios