WANG Siyuan (wangsiyuanbuaa(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5358
-gerrit
commit bd051426a9e5a3a4766c8509f6cf7c8cbe63efab
Author: WANG Siyuan <wangsiyuanbuaa(a)gmail.com>
Date: Mon Mar 10 15:39:57 2014 +0800
AMD Kabini: change memory layout
According to BKDG, from TOM to 4G is MMIO space. In the current setting,
TOM is 0xE0000000 and MMCONF_BASE_ADDRESS is 0xA0000000. This is not
correct.Take 4G memory as an example, the current memory layout is:
0. 0000000000000000-0000000000000fff: CONFIGURATION TABLES
1. 0000000000001000-000000000009ffff: RAM
2. 00000000000c0000-000000009fffffff: RAM
3. 00000000a0000000-00000000afffffff: RESERVED (PCIe configration space)
4. 00000000b0000000-00000000bf13efff: RAM
5. 00000000bf13f000-00000000bfffffff: CONFIGURATION TABLES
6. 00000000c0000000-00000000dfffffff: RESERVED (UMA memory)
7. 0000000100000000-000000011fffffff: RAM
In this patch, change TOM to 0xC0000000 and change MMCONF_BASE_ADDRESS
to 0xC0000000. Take 4G memory as an example, the new memory layout is:
0. 0000000000000000-0000000000000fff: CONFIGURATION TABLES
1. 0000000000001000-000000000009ffff: RAM
2. 00000000000c0000-000000009f12ffff: RAM
3. 000000009f130000-000000009fffffff: CONFIGURATION TABLES
4. 00000000a0000000-00000000cfffffff: RESERVED (UMA memory and PCIe configration space)
5. 0000000100000000-000000013fffffff: RAM
I have tested on OliveHill with 2G, 4G and 8G memory. coreboot+seabios
can boot to Windows 7 and Ubuntu 13.10. S3 is good in both of them.
Change-Id: Icdb36bca384c34e9c2c6798162b36c07df0149f8
Signed-off-by: WANG Siyuan <SiYuan.Wang(a)amd.com>
Signed-off-by: WANG Siyuan <wangsiyuanbuaa(a)gmail.com>
---
src/mainboard/amd/olivehill/agesawrapper.c | 1 +
src/mainboard/asrock/imb-a180/agesawrapper.c | 1 +
src/northbridge/amd/agesa/family16kb/Kconfig | 2 +-
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/mainboard/amd/olivehill/agesawrapper.c b/src/mainboard/amd/olivehill/agesawrapper.c
index a1cf7de..00997fb 100644
--- a/src/mainboard/amd/olivehill/agesawrapper.c
+++ b/src/mainboard/amd/olivehill/agesawrapper.c
@@ -291,6 +291,7 @@ agesawrapper_amdinitpost (
AmdCreateStruct (&AmdParamStruct);
PostParams = (AMD_POST_PARAMS *)AmdParamStruct.NewStructPtr;
+ PostParams->MemConfig.BottomIo = 0xC0;
status = AmdInitPost (PostParams);
if (status != AGESA_SUCCESS) agesawrapper_amdreadeventlog(PostParams->StdHeader.HeapStatus);
AmdReleaseStruct (&AmdParamStruct);
diff --git a/src/mainboard/asrock/imb-a180/agesawrapper.c b/src/mainboard/asrock/imb-a180/agesawrapper.c
index 0f9212f..c64cfe1 100644
--- a/src/mainboard/asrock/imb-a180/agesawrapper.c
+++ b/src/mainboard/asrock/imb-a180/agesawrapper.c
@@ -291,6 +291,7 @@ agesawrapper_amdinitpost (
AmdCreateStruct (&AmdParamStruct);
PostParams = (AMD_POST_PARAMS *)AmdParamStruct.NewStructPtr;
+ PostParams->MemConfig.BottomIo = 0xC0;
status = AmdInitPost (PostParams);
if (status != AGESA_SUCCESS) agesawrapper_amdreadeventlog(PostParams->StdHeader.HeapStatus);
AmdReleaseStruct (&AmdParamStruct);
diff --git a/src/northbridge/amd/agesa/family16kb/Kconfig b/src/northbridge/amd/agesa/family16kb/Kconfig
index 259195b..db186f9 100644
--- a/src/northbridge/amd/agesa/family16kb/Kconfig
+++ b/src/northbridge/amd/agesa/family16kb/Kconfig
@@ -32,7 +32,7 @@ config HW_MEM_HOLE_SIZE_AUTO_INC
config MMCONF_BASE_ADDRESS
hex
- default 0xA0000000
+ default 0xC0000000
config MMCONF_BUS_NUMBER
int
the following patch was just integrated into master:
commit 36ecd018ab39951b04001df20993bbe62ab2da69
Author: Vladimir Serbinenko <phcoder(a)gmail.com>
Date: Sun Mar 2 17:31:42 2014 +0100
intel/gma: Remove MCH register declarations.
i915_reg.h re-declares some of MCH registers as seen through MCHBAR mirror.
It's not currently used and we don't want any MCH registers in GFX.
Change-Id: I5fa4711fee60d64316696b7ed713013de8759b54
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
See http://review.coreboot.org/5318 for details.
-gerrit
the following patch was just integrated into master:
commit 5217955ebe369e458a7733b9b80a4f2fa11d4d4e
Author: Vladimir Serbinenko <phcoder(a)gmail.com>
Date: Sun Mar 2 19:14:44 2014 +0100
smbios: Supply tag type 2 (base board information)
Information really contained in it is mostly the same as in type 1 tag.
However Linux uses type 2 to match hardware. Duplicate the info.
Change-Id: I75e13d764464053ecab4a833fbb83836cedf26e6
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
See http://review.coreboot.org/5322 for details.
-gerrit
the following patch was just integrated into master:
commit fc1ee19014968d8214a40547ed152961df8b18a0
Author: Vladimir Serbinenko <phcoder(a)gmail.com>
Date: Mon Jan 27 00:16:51 2014 +0100
lbtdump: Dump forwarded tables.
Recent coreboot puts real tables in high memory and only pointer
is remaining at traditional location.
This patch makes lbtdump work with recent coreboot.
Change-Id: I1c4945909da16c0ec81e59c2d94d9a7d27e2aba5
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
See http://review.coreboot.org/4830 for details.
-gerrit
the following patch was just integrated into master:
commit fe71e8b4f8c6a2b25f7e3fbebb3a75dbaea3f59a
Author: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Date: Mon Mar 10 01:58:37 2014 +1100
mainboard/jetway/nf81-t56n-lf: Turn PS/2 driver on by default.
This board has a working PS/2 port for a keyboard. Thus, it
makes for a good option to have on by default.
Change-Id: Ifcde0474d7be26152f1b5e19fe4906e87732b9a4
Signed-off-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
See http://review.coreboot.org/5357 for details.
-gerrit
Edward O'Callaghan (eocallaghan(a)alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5357
-gerrit
commit fe71e8b4f8c6a2b25f7e3fbebb3a75dbaea3f59a
Author: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Date: Mon Mar 10 01:58:37 2014 +1100
mainboard/jetway/nf81-t56n-lf: Turn PS/2 driver on by default.
This board has a working PS/2 port for a keyboard. Thus, it
makes for a good option to have on by default.
Change-Id: Ifcde0474d7be26152f1b5e19fe4906e87732b9a4
Signed-off-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
---
src/mainboard/jetway/nf81-t56n-lf/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mainboard/jetway/nf81-t56n-lf/Kconfig b/src/mainboard/jetway/nf81-t56n-lf/Kconfig
index d602ffa..6fbd75c 100644
--- a/src/mainboard/jetway/nf81-t56n-lf/Kconfig
+++ b/src/mainboard/jetway/nf81-t56n-lf/Kconfig
@@ -111,6 +111,6 @@ config SB800_AHCI_ROM
config DRIVERS_PS2_KEYBOARD
bool
- default n
+ default y
endif # BOARD_JETWAY_NF81_T56N_LF