the following patch was just integrated into master:
commit 1e2bec3cb90b23b7b69236c14b882b771e431bdc
Author: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Date: Tue Nov 22 20:21:06 2011 +0200
Remove unused code files and cosmetic changes
Following files were no longer used in the build and are deleted:
src/arch/x86/init/entry.S
src/arch/x86/init/ldscript.ld
Also fix ugly whitespace in code copyrights and comments.
Change-Id: Ia6360b0ffc227f372d5f997495697a101f7ad81b
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Reviewed-By: Patrick Georgi <patrick(a)georgi-clan.de> at Thu Nov 24 11:43:10 2011, giving +2
See http://review.coreboot.org/440 for details.
-gerrit
Marc Jones (marcj303(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/455
-gerrit
commit e86d9b43328f703f2b67c8555ba74d905f8579e9
Author: Marc Jones <marcj303(a)gmail.com>
Date: Wed Nov 23 17:49:19 2011 -0700
Use MMCONF for all AMD family 10 CPUs.
This fixes problems in AP init when multiple APs are trying to access PCI config space.
All Fam10 CPUs setup and support MMCONF.
Change-Id: I00a25bbf4e4152c89024f14a3c4c1c36b48d0128
Signed-off-by: Marc Jones <marcj303(a)gmail.com>
---
src/cpu/amd/model_10xxx/Kconfig | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/cpu/amd/model_10xxx/Kconfig b/src/cpu/amd/model_10xxx/Kconfig
index 6aab30a..35fa069 100644
--- a/src/cpu/amd/model_10xxx/Kconfig
+++ b/src/cpu/amd/model_10xxx/Kconfig
@@ -82,3 +82,7 @@ config UPDATE_CPU_MICROCODE
Note that some operating system include these same microcode
patches, so you may need to also disable microcode updates in
your operating system in order for this option to matter.
+
+config MMCONF_SUPPORT_DEFAULT
+ bool
+ default y
the following patch was just integrated into master:
commit 6382d1b4a7cc5d71f2b6d2e912dac01698147d45
Author: Florian Zumbiehl <florz(a)florz.de>
Date: Tue Nov 1 20:19:04 2011 +0100
vt8237: add support for setting the power state after loss of power
Change-Id: Ia7e3e77235530e952b2e84fdec8373b90fa59b7a
Signed-off-by: Florian Zumbiehl <florz(a)florz.de>
Build-Tested: build bot (Jenkins) at Wed Nov 23 20:20:39 2011, giving +1
Reviewed-By: Rudolf Marek <r.marek(a)assembler.cz> at Thu Nov 24 00:12:41 2011, giving +2
See http://review.coreboot.org/437 for details.
-gerrit
Hi Chris,
I reported flashrom compatibility here:
http://www.flashrom.org/pipermail/flashrom/2011-October/008152.html
Regarding coreboot support: I'll try to port coreboot to this board. I
already have two additional flashchips and at the moment I'm waiting
for a serial port connector. I don't know how long it'll talke to port
it, but don't except anything useful in less than three months, since
I'm new to coreboot (and lazy :-))
Bernhard
On Sat, Nov 19, 2011 at 6:33 PM, Christopher Huang-Leaver
<zeonglow(a)googlemail.com> wrote:
> Hello,
> I noticed earlier versions of this board are fully supported, but not this
> one.
> I have attached the output of, Â lspci, Â flashrom and dmidecode, if that is
> any use to anyone.
> The spec sheet is easy to find by typing ASUS M5 A99X into Google. Â The
> board does have a neat feature of being able to flash the BIOS from within
> the BIOS menu, which I have already used to update it.
> Many thanks
> Chris
Kyösti Mälkki (kyosti.malkki(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/453
-gerrit
commit dcc9ad3b26c55474029db74e1f503fb6b82dedd6
Author: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Date: Wed Nov 23 16:33:12 2011 +0200
Fix ldscript for bootblock .rom section
Allocation size for the section was miscalculated, so the section
did not honour its upper-bound address.
Also align the section start to 4 bytes, so it starts with code
instead of pad bytes.
Change-Id: Ic2a43981836a0873b50abecfcad2def7b6586a5d
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
---
src/arch/x86/init/ldscript_failover.lb | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/src/arch/x86/init/ldscript_failover.lb b/src/arch/x86/init/ldscript_failover.lb
index 7e48dc1..83e5eb3 100644
--- a/src/arch/x86/init/ldscript_failover.lb
+++ b/src/arch/x86/init/ldscript_failover.lb
@@ -29,6 +29,14 @@ MEMORY {
TARGET(binary)
SECTIONS
{
+ /* Align .rom to next 4 byte boundary so no pad byte appears
+ * between _rom and _start.
+ */
+ .bogus ROMLOC_MIN : {
+ . = ALIGN(4);
+ ROMLOC = .;
+ } >rom = 0xff
+
/* This section might be better named .setup */
.rom ROMLOC : {
_rom = .;
@@ -39,7 +47,11 @@ SECTIONS
_erom = .;
} >rom = 0xff
- ROMLOC = 0xffffff00 - (_erom - _rom) + 1;
+ /* Allocation reserves extra 16 bytes here. Alignment requirements
+ * may cause the total size of a section to change when the start
+ * address gets applied.
+ */
+ ROMLOC_MIN = 0xffffff00 - (_erom - _rom + 16);
/DISCARD/ : {
*(.comment)
Kyösti Mälkki (kyosti.malkki(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/454
-gerrit
commit b76e507f4d76e75df84a25b52b58e23ec029e6b0
Author: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Date: Wed Nov 23 20:59:57 2011 +0200
Add support for RAM-less multi-processor init
For a hyper-threading processor, enabling cache requires that both the
BSP and AP CPU clear CR0.CD (Cache Disable) bit. For a Cache-As-Ram
implementation, partial multi-processor initialisation precedes
raminit and AP CPUs' 16bit entry must be run from ROM.
The AP CPU can only start execute real-mode code at a 4kB aligned
address below 1MB. The protected mode entry code for AP is identical
with the BSP code, which is already located at the top of bootblock.
This patch takes the simplest approach and aligns the bootblock
16 bit entry at highest possible 4kB boundary below 1MB when
Kconfig option SIPI_VECTOR_IN_ROM is set.
Change-Id: I82e4edbf208c9ba863f51a64e50cd92871c528ef
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
---
src/arch/x86/Kconfig | 7 +++++++
src/arch/x86/init/ldscript_failover.lb | 13 ++++++++-----
2 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/src/arch/x86/Kconfig b/src/arch/x86/Kconfig
index e71d0f3..9e8e82f 100644
--- a/src/arch/x86/Kconfig
+++ b/src/arch/x86/Kconfig
@@ -8,6 +8,13 @@ config AP_IN_SIPI_WAIT
default n
depends on ARCH_X86
+# Aligns 16bit entry code in bootblock so that hyper-threading CPUs
+# can boot AP CPUs to enable their shared caches.
+config SIPI_VECTOR_IN_ROM
+ bool
+ default n
+ depends on ARCH_X86
+
config ROMBASE
hex
default 0xffff0000
diff --git a/src/arch/x86/init/ldscript_failover.lb b/src/arch/x86/init/ldscript_failover.lb
index 83e5eb3..6f7d6fa 100644
--- a/src/arch/x86/init/ldscript_failover.lb
+++ b/src/arch/x86/init/ldscript_failover.lb
@@ -29,17 +29,19 @@ MEMORY {
TARGET(binary)
SECTIONS
{
- /* Align .rom to next 4 byte boundary so no pad byte appears
- * between _rom and _start.
+ /* Symbol ap_sipi_vector must be aligned to 4kB to start AP CPUs
+ * with Startup IPI message without RAM. Align .rom to next 4 byte
+ * boundary anyway, so no pad byte appears between _rom and _start.
*/
.bogus ROMLOC_MIN : {
- . = ALIGN(4);
- ROMLOC = .;
+ . = CONFIG_SIPI_VECTOR_IN_ROM ? ALIGN(4096) : ALIGN(4);
+ ROMLOC = . ;
} >rom = 0xff
/* This section might be better named .setup */
.rom ROMLOC : {
_rom = .;
+ ap_sipi_vector = .;
*(.rom.text);
*(.rom.data);
*(.rom.data.*);
@@ -51,7 +53,8 @@ SECTIONS
* may cause the total size of a section to change when the start
* address gets applied.
*/
- ROMLOC_MIN = 0xffffff00 - (_erom - _rom + 16);
+ ROMLOC_MIN = 0xffffff00 - (_erom - _rom + 16) -
+ (CONFIG_SIPI_VECTOR_IN_ROM ? 4096 : 0);
/DISCARD/ : {
*(.comment)