Paul Menzel (paulepanter(a)users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2943
-gerrit
commit 5a3a7a9416689c5c8b521d3f3d5f742b7507e8ec
Author: Paul Menzel <paulepanter(a)users.sourceforge.net>
Date: Thu Mar 28 14:05:45 2013 +0100
ASRock E350M1: Include ASL file of Winbond W83627HF in the DSDT
Unfortunately there are still some problems, but note that the
ASRock E350M1 actually has a Nuvoton NCT6775F, which is supposed
to be compatible though [1]. At least Scott chose it in its
`devicetree.cb`.
Hooking up this ACPI snippet, under Linux, serial does not work
anymore. It works fine for coreboot, SeaBIOS and GRUB.
$ grep -i -e 8042 -e kbd -e mpu -e pnp /tmp/kern.log | cut -d " " -f 7-
[ 0.210990] acpi PNP0A08:00: Requesting ACPI _OSC control (0x1d)
[ 0.211079] acpi PNP0A08:00: ACPI _OSC control (0x1d) granted
[ 0.215591] calling pnp_init+0x0/0xf @ 1
[ 0.215616] initcall pnp_init+0x0/0xf returned 0 after 0 usecs
[ 0.222362] calling pnp_system_init+0x0/0xa @ 1
[ 0.222399] initcall pnp_system_init+0x0/0xa returned 0 after 29 usecs
[ 0.222404] calling pnpacpi_init+0x0/0x77 @ 1
[ 0.222407] pnp: PnP ACPI init
[ 0.222438] ACPI: bus type PNP registered
[ 0.223012] pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active)
[ 0.223156] pnp 00:01: Plug and Play ACPI device, IDs PNP0800 (active)
[ 0.223186] pnp 00:02: [dma 4]
[ 0.223233] pnp 00:02: Plug and Play ACPI device, IDs PNP0200 (active)
[ 0.223363] pnp 00:03: Plug and Play ACPI device, IDs PNP0c04 (active)
[ 0.223718] pnp 00:04: Plug and Play ACPI device, IDs PNP0a05 (active)
[ 0.223994] pnp 00:05: Plug and Play ACPI device, IDs PNP0700 (disabled)
[ 0.224304] pnp 00:06: Plug and Play ACPI device, IDs PNP0400 (disabled)
[ 0.224581] pnp 00:07: Plug and Play ACPI device, IDs PNP0501 (disabled)
[ 0.224886] pnp 00:08: Plug and Play ACPI device, IDs PNP0501 (disabled)
[ 0.225336] pnp 00:09: Plug and Play ACPI device, IDs PNP0303 (disabled)
[ 0.225610] pnp 00:0a: Plug and Play ACPI device, IDs PNP0f13 (disabled)
[ 0.225849] pnp 00:0b: Plug and Play ACPI device, IDs PNPb02f (disabled)
[ 0.226083] pnp 00:0c: Plug and Play ACPI device, IDs PNPb006 (disabled)
[ 0.226339] system 00:0d: Plug and Play ACPI device, IDs PNP0c02 (disabled)
[ 0.226357] pnp: PnP ACPI: found 14 devices
[ 0.226360] ACPI: bus type PNP unregistered
[ 0.226437] initcall pnpacpi_init+0x0/0x77 returned 0 after 3930 usecs
[ 0.226443] calling pnpbios_init+0x0/0x31c @ 1
[ 0.226448] PnPBIOS: Disabled by ACPI PNP
[ 0.226455] initcall pnpbios_init+0x0/0x31c returned -19 after 5 usecs
[ 0.921532] calling pnpbios_thread_init+0x0/0x54 @ 1
[ 0.921540] initcall pnpbios_thread_init+0x0/0x54 returned 0 after 0 usecs
[ 0.921545] calling isapnp_init+0x0/0x5c6 @ 1
[ 0.921549] isapnp: ISA Plug & Play support disabled
[ 0.921555] initcall isapnp_init+0x0/0x5c6 returned 0 after 3 usecs
[ 0.947430] calling i8042_init+0x0/0x383 @ 1
[ 0.947540] i8042 kbd 00:09: [irq 1]
[ 0.947549] i8042 kbd 00:09: unable to assign resources
[ 2.552437] i8042 kbd: probe of 00:09 failed with error -16
[ 2.552657] i8042 aux 00:0a: [irq 12]
[ 2.553260] i8042 aux 00:0a: activated
[ 2.553283] i8042: PNP: PS/2 Controller [PNP0f13:PS2M] at 0x0,0x0 irq 12
[ 2.553287] i8042: PNP: PS/2 controller has invalid data port 0x0; using default 0x60
[ 2.553290] i8042: PNP: PS/2 controller has invalid command port 0x0; using default 0x64
[ 2.553293] i8042: PNP: PS/2 controller doesn't have KBD irq; using default 1
[ 2.807764] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 2.807869] initcall i8042_init+0x0/0x383 returned 0 after 1816824 usecs
[ 2.808424] calling atkbd_init+0x0/0x1b @ 1
[ 2.808474] initcall atkbd_init+0x0/0x1b returned 0 after 42 usecs
[ 2.808479] calling xenkbd_init+0x0/0x28 @ 1
[ 2.808484] initcall xenkbd_init+0x0/0x28 returned -19 after 0 usecs
[ 68.133211] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2
[ 71.322602] calling alsa_mpu401_uart_init+0x0/0x1000 [snd_mpu401_uart] @ 697
[ 71.322615] initcall alsa_mpu401_uart_init+0x0/0x1000 [snd_mpu401_uart] returned 0 after 0 usecs
[ 73.965508] calling alsa_card_mpu401_init+0x0/0x1000 [snd_mpu401] @ 697
[ 73.965574] mpu401: probe of 00:0c failed with error -16
[ 73.965590] MPU-401 device not found or device busy
[ 75.509538] initcall alsa_card_mpu401_init+0x0/0x1000 [snd_mpu401] returned -19 after 1507823 usecs
[1] https://www.kernel.org/doc/Documentation/hwmon/w83627ehf
Change-Id: I82c98f16e6879d47594fcf90140a827b98a39a7f
Signed-off-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
---
src/mainboard/asrock/e350m1/dsdt.asl | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/mainboard/asrock/e350m1/dsdt.asl b/src/mainboard/asrock/e350m1/dsdt.asl
index 6269435..b1bb0f0 100644
--- a/src/mainboard/asrock/e350m1/dsdt.asl
+++ b/src/mainboard/asrock/e350m1/dsdt.asl
@@ -48,6 +48,9 @@ DefinitionBlock (
#include <southbridge/amd/cimx/sb800/acpi/fch.asl>
}
+
+ #include <superio/winbond/w83627hf/acpi/superio.asl>
+
} /* End Scope(_SB) */
/* Contains the supported sleep states for this chipset */
Duncan Laurie (dlaurie(a)chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5184
-gerrit
commit e045599e32678d0638dcea50216e9e900c897bca
Author: Duncan Laurie <dlaurie(a)chromium.org>
Date: Mon Feb 10 12:17:30 2014 -0800
google mainboards: Guard ACPI TPM Device with CONFIG_CHROMEOS
The TPM is currently only configured/enabled/used if CONFIG_CHROMEOS
is enabled, but the ACPI TPM device is defined always.
If CONFIG_CHROMEOS is not defined then the Linux kernel will timeout
trying to talk to the TPM on resume because it expects a defined TPM
to be sent the TPM Resume command before returning to the OS.
Change-Id: Ia1e88d52b94e74b0011810db24b114c1c7ff0cd8
Signed-off-by: Duncan Laurie <dlaurie(a)chromium.org>
---
src/mainboard/google/bolt/dsdt.asl | 2 ++
src/mainboard/google/falco/dsdt.asl | 2 ++
src/mainboard/google/peppy/dsdt.asl | 2 ++
src/mainboard/google/rambi/dsdt.asl | 2 ++
src/mainboard/google/slippy/dsdt.asl | 2 ++
5 files changed, 10 insertions(+)
diff --git a/src/mainboard/google/bolt/dsdt.asl b/src/mainboard/google/bolt/dsdt.asl
index 1316ebf..d976e7c 100644
--- a/src/mainboard/google/bolt/dsdt.asl
+++ b/src/mainboard/google/bolt/dsdt.asl
@@ -18,7 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#if CONFIG_CHROMEOS
#define ENABLE_TPM
+#endif
DefinitionBlock(
"dsdt.aml",
diff --git a/src/mainboard/google/falco/dsdt.asl b/src/mainboard/google/falco/dsdt.asl
index 1316ebf..d976e7c 100644
--- a/src/mainboard/google/falco/dsdt.asl
+++ b/src/mainboard/google/falco/dsdt.asl
@@ -18,7 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#if CONFIG_CHROMEOS
#define ENABLE_TPM
+#endif
DefinitionBlock(
"dsdt.aml",
diff --git a/src/mainboard/google/peppy/dsdt.asl b/src/mainboard/google/peppy/dsdt.asl
index 1316ebf..d976e7c 100644
--- a/src/mainboard/google/peppy/dsdt.asl
+++ b/src/mainboard/google/peppy/dsdt.asl
@@ -18,7 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#if CONFIG_CHROMEOS
#define ENABLE_TPM
+#endif
DefinitionBlock(
"dsdt.aml",
diff --git a/src/mainboard/google/rambi/dsdt.asl b/src/mainboard/google/rambi/dsdt.asl
index 172aaf4..3ebb60a 100644
--- a/src/mainboard/google/rambi/dsdt.asl
+++ b/src/mainboard/google/rambi/dsdt.asl
@@ -18,7 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#if CONFIG_CHROMEOS
#define ENABLE_TPM
+#endif
DefinitionBlock(
"dsdt.aml",
diff --git a/src/mainboard/google/slippy/dsdt.asl b/src/mainboard/google/slippy/dsdt.asl
index 1316ebf..d976e7c 100644
--- a/src/mainboard/google/slippy/dsdt.asl
+++ b/src/mainboard/google/slippy/dsdt.asl
@@ -18,7 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#if CONFIG_CHROMEOS
#define ENABLE_TPM
+#endif
DefinitionBlock(
"dsdt.aml",
Oskar Enoksson (enok(a)lysator.liu.se) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5188
-gerrit
commit 42c384b1c95c51082ec48ae39df8d9d39d37df2b
Author: Oskar Enoksson <enok(a)lysator.liu.se>
Date: Sat Feb 8 00:39:03 2014 +0100
hp/dl145_g1: Add missing copyright notes
Missing copyright notes added.
Change-Id: I55b320a169b1125017c63b7a2384078465e7ce6e
Signed-off-by: Oskar Enoksson <enok(a)lysator.liu.se>
---
src/mainboard/hp/dl145_g1/get_bus_conf.c | 4 ++++
src/mainboard/hp/dl145_g1/mb_sysconf.h | 4 ++++
src/mainboard/hp/dl145_g1/mptable.c | 4 ++++
src/mainboard/hp/dl145_g1/resourcemap.c | 5 ++++-
src/mainboard/hp/dl145_g1/romstage.c | 4 ++++
5 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/src/mainboard/hp/dl145_g1/get_bus_conf.c b/src/mainboard/hp/dl145_g1/get_bus_conf.c
index 9ca5792..d0336c4 100644
--- a/src/mainboard/hp/dl145_g1/get_bus_conf.c
+++ b/src/mainboard/hp/dl145_g1/get_bus_conf.c
@@ -1,3 +1,7 @@
+/*
+ * Copyright (c) 2011,2014, Oskar Enoksson <enok(a)lysator.liu.se>
+ * Subject to the GNU GPL v2, or (at your option) any later version.
+ */
#include <console/console.h>
#include <device/pci.h>
#include <device/pci_ids.h>
diff --git a/src/mainboard/hp/dl145_g1/mb_sysconf.h b/src/mainboard/hp/dl145_g1/mb_sysconf.h
index 2b16791..005b0e8 100644
--- a/src/mainboard/hp/dl145_g1/mb_sysconf.h
+++ b/src/mainboard/hp/dl145_g1/mb_sysconf.h
@@ -1,3 +1,7 @@
+/*
+ * Copyright (c) 2011,2014, Oskar Enoksson <enok(a)lysator.liu.se>
+ * Subject to the GNU GPL v2, or (at your option) any later version.
+ */
#ifndef MB_SYSCONF_H
#define MB_SYSCONF_H
diff --git a/src/mainboard/hp/dl145_g1/mptable.c b/src/mainboard/hp/dl145_g1/mptable.c
index 725220e..ac3d814 100644
--- a/src/mainboard/hp/dl145_g1/mptable.c
+++ b/src/mainboard/hp/dl145_g1/mptable.c
@@ -1,3 +1,7 @@
+/*
+ * Copyright (c) 2011,2014, Oskar Enoksson <enok(a)lysator.liu.se>
+ * Subject to the GNU GPL v2, or (at your option) any later version.
+ */
#include <console/console.h>
#include <arch/smp/mpspec.h>
#include <arch/ioapic.h>
diff --git a/src/mainboard/hp/dl145_g1/resourcemap.c b/src/mainboard/hp/dl145_g1/resourcemap.c
index 9a9fb10..4ba2215 100644
--- a/src/mainboard/hp/dl145_g1/resourcemap.c
+++ b/src/mainboard/hp/dl145_g1/resourcemap.c
@@ -1,6 +1,9 @@
/*
* DL145G1 needs a different resource map
- * This file may need more tweaking, it is copied from the Tyan S2881 mainboard
+ * This file was originally copied from the tyan/s2881 coreboot mainboard.
+ *
+ * Copyright (c) 2011,2014, Oskar Enoksson <enok(a)lysator.liu.se>
+ * Subject to the GNU GPL v2, or (at your option) any later version.
*/
static void setup_dl145g1_resource_map(void)
diff --git a/src/mainboard/hp/dl145_g1/romstage.c b/src/mainboard/hp/dl145_g1/romstage.c
index 63da831..4f5e3fe 100644
--- a/src/mainboard/hp/dl145_g1/romstage.c
+++ b/src/mainboard/hp/dl145_g1/romstage.c
@@ -1,3 +1,7 @@
+/*
+ * Copyright (c) 2011,2014, Oskar Enoksson <enok(a)lysator.liu.se>
+ * Subject to the GNU GPL v2, or (at your option) any later version.
+ */
#include <stdint.h>
#include <string.h>
#include <device/pci_def.h>
Oskar Enoksson (enok(a)lysator.liu.se) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5097
-gerrit
commit bccb7d176a9c9176819d3d6a5f5a11f0ff61dbe6
Author: Oskar Enoksson <enok(a)lysator.liu.se>
Date: Sat Feb 8 00:40:35 2014 +0100
hp/dl145_g1: Add HAVE_HARD_RESET
This platform has a hard reset button
Change-Id: Ic4d2f9382b6770654eea8842a37ad38cf12de459
Signed-off-by: Oskar Enoksson <enok(a)lysator.liu.se>
---
src/mainboard/hp/dl145_g1/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mainboard/hp/dl145_g1/Kconfig b/src/mainboard/hp/dl145_g1/Kconfig
index 2768007..a169b88 100644
--- a/src/mainboard/hp/dl145_g1/Kconfig
+++ b/src/mainboard/hp/dl145_g1/Kconfig
@@ -8,6 +8,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select SOUTHBRIDGE_AMD_AMD8131
select SOUTHBRIDGE_AMD_AMD8111
select SUPERIO_WINBOND_W83627HF
+ select HAVE_HARD_RESET
select HAVE_OPTION_TABLE
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE