Dave Frodin (dave.frodin(a)se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1660
-gerrit
commit 5cb3097c6a1c34073f69190c2a9688531be9ffdc
Author: Dave Frodin <dave.frodin(a)se-eng.com>
Date: Wed Oct 31 08:51:01 2012 -0600
Persimmon: disable the unconnected Full-Speed USB port
Change-Id: Ia3824059a38412896ed2be0c8714018b2291c9f8
Signed-off-by: Dave Frodin <dave.frodin(a)se-eng.com>
---
src/mainboard/amd/persimmon/devicetree.cb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mainboard/amd/persimmon/devicetree.cb b/src/mainboard/amd/persimmon/devicetree.cb
index da81dc3..178fd76 100644
--- a/src/mainboard/amd/persimmon/devicetree.cb
+++ b/src/mainboard/amd/persimmon/devicetree.cb
@@ -82,7 +82,7 @@ chip northbridge/amd/agesa/family14/root_complex
end # f81865f
end #LPC
device pci 14.4 on end # PCIB 0x4384, NOTE: PCI interface pins shared with GPIO {GPIO 35:0}
- device pci 14.5 on end # USB 2
+ device pci 14.5 off end # USB 2
device pci 15.0 off end # PCIe PortA
device pci 15.1 off end # PCIe PortB
device pci 15.2 off end # PCIe PortC
Dave Frodin (dave.frodin(a)se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1660
-gerrit
commit 31760c31c6593393d0c5d8d78e6fc6189ff8ec0e
Author: Dave Frodin <dave.frodin(a)se-eng.com>
Date: Wed Oct 31 08:51:01 2012 -0600
Persimmon: turn off the unused full speed USB port
Change-Id: Ia3824059a38412896ed2be0c8714018b2291c9f8
Signed-off-by: Dave Frodin <dave.frodin(a)se-eng.com>
---
src/mainboard/amd/persimmon/devicetree.cb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mainboard/amd/persimmon/devicetree.cb b/src/mainboard/amd/persimmon/devicetree.cb
index da81dc3..178fd76 100644
--- a/src/mainboard/amd/persimmon/devicetree.cb
+++ b/src/mainboard/amd/persimmon/devicetree.cb
@@ -82,7 +82,7 @@ chip northbridge/amd/agesa/family14/root_complex
end # f81865f
end #LPC
device pci 14.4 on end # PCIB 0x4384, NOTE: PCI interface pins shared with GPIO {GPIO 35:0}
- device pci 14.5 on end # USB 2
+ device pci 14.5 off end # USB 2
device pci 15.0 off end # PCIe PortA
device pci 15.1 off end # PCIe PortB
device pci 15.2 off end # PCIe PortC
Siyuan Wang (wangsiyuanbuaa(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1659
-gerrit
commit d43978cc03374c88ffd97a83e6e598af2207095c
Author: Siyuan Wang <wangsiyuanbuaa(a)gmail.com>
Date: Wed Oct 31 15:39:51 2012 +0800
AMD G34 CPU: change lapic_id in northbridge.c to accommodate G34 CPU
each G34 socket has two node. previous lapic algorithm is written for
the CPU which has one node per socket. I test the code on h8qgi with
4 family 15 CPUs(8 cores per CPU). the topology is:
socket 0 --> Node 0, Node 1
socket 2 --> Node 2, Node 3
socket 1 --> Node 4, Node 5
socket 3 --> Node 6, Node 7
each node has 4 cores.
I change the code according to this topology.
Change-Id: I45f242e0dfc61bd9b18afc952d7a0ad6a0fc3855
Signed-off-by: Siyuan Wang <SiYuan.Wang(a)amd.com>
Signed-off-by: Siyuan Wang <wangsiyuanbuaa(a)gmail.com>
---
src/northbridge/amd/agesa/family15/northbridge.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/northbridge/amd/agesa/family15/northbridge.c b/src/northbridge/amd/agesa/family15/northbridge.c
index 12a211f..78986e4 100644
--- a/src/northbridge/amd/agesa/family15/northbridge.c
+++ b/src/northbridge/amd/agesa/family15/northbridge.c
@@ -1068,7 +1068,11 @@ static u32 cpu_bus_scan(device_t dev, u32 max)
lapicid_start = (lapicid_start + 1) * core_max;
printk(BIOS_SPEW, "lpaicid_start=0x%x ", lapicid_start);
}
- u32 apic_id = (i * core_max) + j + lapicid_start;
+#if CONFIG_CPU_AMD_SOCKET_G34
+ u32 apic_id = (i / 2 * core_max) + j + lapicid_start + (i % 2 ? siblings + 1 : 0);
+#else
+ u32 apic_id = (i * core_max) + j + lapicid_start;
+#endif
printk(BIOS_SPEW, "node 0x%x core 0x%x apicid=0x%x\n",
i, j, apic_id);
Dne 23.10.2012 10:48, Paul Menzel napsal(a):
> Dear František,
>
>
> Am Dienstag, den 23.10.2012, 09:52 +0200 schrieb František Kučera:
>
>> I am interested in building high performance workstation completely based
>> on free software -- beside free GNU/Linux distribution I want to use
>> Coreboot.
> welcome!
>
> Please note, although strange in some languages that coreboot is spelled
> all lowercase.
OK, coreboot :-)
>> Important for me is virtualization support including IOMMU/VT-d.
>> Both Intel and AMD are good form me, but AMD seems to be a better choice,
>> isn't it?
> AMD directly contributes code.
>
>> I want to build this computer for myself and later may be offer same model
>> to others.
>> The ASUS M5A88-V looks good and, according to wiki, is supported, but this
>> board is discontinued and even if I can buy one somewhere, the availability
>> is problem.
>> Could you please recommend me some more modern board good for
>> experimenting with Coreboot?
>> What about some board with AMD 990FX e.g. ASUS SABERTOOTH 990FX R2.0?
>> I have seen that it is supported by Flashrom, so the first step is done.
> Please take a look at the *whole* thread »F2A85-V PRO as good target?«
> on the coreboot list [1]. If you want to reply to it, make sure to
> import the mbox of the archive from [2] to keep the threading.
Thanks for the link, I found here some inspiration.
I am thinking about AMD FX-8350, so I need an AM3+ board.
According to some pictures I found, Sabertooth 990 FX seems to have ITE
IT8721F,
which should be - al least partially - supported:
http://www.coreboot.org/pipermail/coreboot/2011-September/066483.html
(but I didn't find it in Supported Chipsets and Devices in wiki)
> Thanks,
>
> Paul
Also thanks. I will probably buy this board (if I don't find better one)
and post more info about it.
František
> [1] http://www.coreboot.org/pipermail/coreboot/2012-October/071705.html
> [2] http://www.coreboot.org/pipermail/coreboot/
the following patch was just integrated into master:
commit f87b0084fb4ffad4cafb9df88a2e65e291b8e556
Author: Stefan Tauner <stefan.tauner(a)gmx.at>
Date: Sat Oct 13 13:15:04 2012 +0200
Add support for socket LGA775
Change-Id: Ia7ef3a4cbc3638a9c9a48b297e392e4e655b6e6b
Signed-off-by: Stefan Tauner <stefan.tauner(a)gmx.at>
Reviewed-By: Patrick Georgi <patrick(a)georgi-clan.de> at Tue Oct 30 17:55:57 2012, giving +2
See http://review.coreboot.org/1581 for details.
-gerrit
Patrick Georgi (patrick(a)georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1655
-gerrit
commit 065fde704df295308e25c100cd622e4b55bbe2d8
Author: Nico Huber <nico.huber(a)secunet.com>
Date: Mon Oct 1 15:53:14 2012 +0200
Merge cpu/intel/acpi.h into cpu/intel/speedstep.h
We had only some MSR definitions in there, which are used in speedstep
related code. I think speedstep.h is the better and less confusing place
for these.
Change-Id: I1eddea72c1e2d3b2f651468b08b3c6f88b713149
Signed-off-by: Nico Huber <nico.huber(a)secunet.com>
---
src/cpu/intel/model_206ax/acpi.c | 1 -
src/cpu/intel/model_6ex/model_6ex_init.c | 1 -
src/cpu/intel/model_6fx/model_6fx_init.c | 1 -
src/cpu/intel/speedstep/acpi.c | 1 -
src/include/cpu/intel/acpi.h | 24 ------------------------
src/include/cpu/intel/speedstep.h | 7 +++++++
src/mainboard/intel/eagleheights/romstage.c | 2 +-
7 files changed, 8 insertions(+), 29 deletions(-)
diff --git a/src/cpu/intel/model_206ax/acpi.c b/src/cpu/intel/model_206ax/acpi.c
index c8c30a4..80ed4ba 100644
--- a/src/cpu/intel/model_206ax/acpi.c
+++ b/src/cpu/intel/model_206ax/acpi.c
@@ -26,7 +26,6 @@
#include <arch/acpigen.h>
#include <arch/cpu.h>
#include <cpu/x86/msr.h>
-#include <cpu/intel/acpi.h>
#include <cpu/intel/speedstep.h>
#include <cpu/intel/turbo.h>
#include <device/device.h>
diff --git a/src/cpu/intel/model_6ex/model_6ex_init.c b/src/cpu/intel/model_6ex/model_6ex_init.c
index 1c8c72b..9dbb137 100644
--- a/src/cpu/intel/model_6ex/model_6ex_init.c
+++ b/src/cpu/intel/model_6ex/model_6ex_init.c
@@ -30,7 +30,6 @@
#include <cpu/intel/microcode.h>
#include <cpu/intel/hyperthreading.h>
#include <cpu/intel/speedstep.h>
-#include <cpu/intel/acpi.h>
#include <cpu/x86/cache.h>
#include <cpu/x86/name.h>
#include <usbdebug.h>
diff --git a/src/cpu/intel/model_6fx/model_6fx_init.c b/src/cpu/intel/model_6fx/model_6fx_init.c
index 106719e..3cdfdc4 100644
--- a/src/cpu/intel/model_6fx/model_6fx_init.c
+++ b/src/cpu/intel/model_6fx/model_6fx_init.c
@@ -29,7 +29,6 @@
#include <cpu/x86/lapic.h>
#include <cpu/intel/microcode.h>
#include <cpu/intel/speedstep.h>
-#include <cpu/intel/acpi.h>
#include <cpu/intel/hyperthreading.h>
#include <cpu/x86/cache.h>
#include <cpu/x86/name.h>
diff --git a/src/cpu/intel/speedstep/acpi.c b/src/cpu/intel/speedstep/acpi.c
index 5cc4c1d..249d9e4 100644
--- a/src/cpu/intel/speedstep/acpi.c
+++ b/src/cpu/intel/speedstep/acpi.c
@@ -25,7 +25,6 @@
#include <arch/acpigen.h>
#include <arch/cpu.h>
#include <cpu/x86/msr.h>
-#include <cpu/intel/acpi.h>
#include <cpu/intel/speedstep.h>
#include <device/device.h>
diff --git a/src/include/cpu/intel/acpi.h b/src/include/cpu/intel/acpi.h
deleted file mode 100644
index aac4592..0000000
--- a/src/include/cpu/intel/acpi.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2010 Patrick Georgi <patrick(a)georgi-clan.de>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#define IA32_PLATFORM_ID 0x017
-#define IA32_PERF_STS 0x198
-#define IA32_PERF_CTL 0x199
-#define MSR_THERM2_CTL 0x19D
-#define IA32_MISC_ENABLES 0x1A0
diff --git a/src/include/cpu/intel/speedstep.h b/src/include/cpu/intel/speedstep.h
index 00a5b9b..c3cd2d2 100644
--- a/src/include/cpu/intel/speedstep.h
+++ b/src/include/cpu/intel/speedstep.h
@@ -32,3 +32,10 @@
*/
#define PMB1_BASE 0x800
+
+/* Speedstep related MSRs */
+#define IA32_PLATFORM_ID 0x017
+#define IA32_PERF_STS 0x198
+#define IA32_PERF_CTL 0x199
+#define MSR_THERM2_CTL 0x19D
+#define IA32_MISC_ENABLES 0x1A0
diff --git a/src/mainboard/intel/eagleheights/romstage.c b/src/mainboard/intel/eagleheights/romstage.c
index a250c05..1e906ef 100644
--- a/src/mainboard/intel/eagleheights/romstage.c
+++ b/src/mainboard/intel/eagleheights/romstage.c
@@ -30,7 +30,7 @@
#include <pc80/mc146818rtc.h>
#include <console/console.h>
#include <cpu/x86/bist.h>
-#include <cpu/intel/acpi.h>
+#include <cpu/intel/speedstep.h>
#include "southbridge/intel/i3100/early_smbus.c"
#include "southbridge/intel/i3100/early_lpc.c"
#include "reset.c"
Siyuan Wang (wangsiyuanbuaa(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1652
-gerrit
commit 65ef2bcf71650b60e3caa89ff86b93c61368a404
Author: Siyuan Wang <wangsiyuanbuaa(a)gmail.com>
Date: Sun Oct 28 18:06:40 2012 +0800
tyan s8226: change lapic of lapic_cluster 0 to 0x30
amd family15 cpu has a lapic_cluster which is the same level with
pci domain. Now, the lapic is 0x20 which is already taken by CPU.
there are two CPUs on s8226 and each CPU has 8 cores.
CPU 0 takes lapic from 0x10 to 0x17 and CPU 1 takes from 0x20 to 0x27.
Now, the dmesg complains as follow:
do_IRQ: 1.55 No irq handler for vector (irq -1)
so I change lapic of lapic_cluster to 0x30.
although I am not sure what's the exactly meaning of lapic_cluster,
this is a workaround to solve this issue.
Change-Id: Ie17820e0f11d11c35e7e2351a454fa8e823bbf2c
Signed-off-by: Siyuan Wang <SiYuan.Wang(a)amd.com>
Signed-off-by: Siyuan Wang <wangsiyuanbuaa(a)gmail.com>
---
src/mainboard/tyan/s8226/devicetree.cb | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/mainboard/tyan/s8226/devicetree.cb b/src/mainboard/tyan/s8226/devicetree.cb
index 4459019..c7bd8c3 100644
--- a/src/mainboard/tyan/s8226/devicetree.cb
+++ b/src/mainboard/tyan/s8226/devicetree.cb
@@ -19,8 +19,7 @@
chip northbridge/amd/agesa/family15/root_complex
device lapic_cluster 0 on
chip cpu/amd/agesa/family15
- device lapic 0x20 on end #f15
- #device lapic 0x10 on end #f10
+ device lapic 0x30 on end
end
end
device pci_domain 0 on