Hello Alexander Couzens, Christoph Pomaska, Angel Pons, Jonathan Neuschäfer, Felix Singer, build bot (Jenkins), Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/34475
to look at the new patch set (#38).
Change subject: Add Razer Blade Stealth (2016) H2U
......................................................................
Add Razer Blade Stealth (2016) H2U
The Razer Blade Stealth H2U is a KabyLake System using:
- Intel KBL 7500U
- ITE8528E SuperIO
- Intel 600P Series NVMe SSD
- Either four MT52L1G32D4PG (16GB) or MT52L512MB32D4PG (8GB)
of soldered memory in dualchannel mode
- (Optional) Touchscreen
- HDMI 2.0a via DP-1: Paradetech PS175
Even though it has a 16MB chip equipped (W25Q128.V) only the first 8MB
are used and mapped via IFD. The rest is left empty (0xFF). The flash is
not secured in any way and can be read via flashrom. It should be the
source for this port's IFD and ME blobs.
Working:
- USB-A Ports left and right
- Speakers
- Touchscreen (USB)
- Onboard Keyboard in Linux
- NVMe SSD
- SeaBIOS, Tianocore and Grub Payloads
- Webcam
- Powersaving Modes
- Battery state and LID switch, sometimes slow to update.
- Touchpad (I2C-HID)
- Headphones
Not part of this commit:
- Thunderbolt (Requires advanced EC signaling)
- Full HDMI support (Currently requires plugged connection at boot)
Change-Id: I7ede881d631e1863f07f5130f84bc3b8ca61a350
Signed-off-by: Johanna Schander <coreboot(a)mimoja.de>
---
A src/mainboard/razer/Kconfig
A src/mainboard/razer/Kconfig.name
A src/mainboard/razer/blade_stealth_kbl/Kconfig
A src/mainboard/razer/blade_stealth_kbl/Kconfig.name
A src/mainboard/razer/blade_stealth_kbl/Makefile.inc
A src/mainboard/razer/blade_stealth_kbl/acpi/ac.asl
A src/mainboard/razer/blade_stealth_kbl/acpi/battery.asl
A src/mainboard/razer/blade_stealth_kbl/acpi/ec.asl
A src/mainboard/razer/blade_stealth_kbl/acpi/mainboard.asl
A src/mainboard/razer/blade_stealth_kbl/acpi/superio.asl
A src/mainboard/razer/blade_stealth_kbl/acpi_tables.c
A src/mainboard/razer/blade_stealth_kbl/board_info.txt
A src/mainboard/razer/blade_stealth_kbl/devicetree.cb
A src/mainboard/razer/blade_stealth_kbl/dsdt.asl
A src/mainboard/razer/blade_stealth_kbl/gma-mainboard.ads
A src/mainboard/razer/blade_stealth_kbl/gpio.h
A src/mainboard/razer/blade_stealth_kbl/hda_verb.c
A src/mainboard/razer/blade_stealth_kbl/mainboard.c
A src/mainboard/razer/blade_stealth_kbl/ramstage.c
A src/mainboard/razer/blade_stealth_kbl/romstage.c
A src/mainboard/razer/blade_stealth_kbl/spd/Makefile.inc
A src/mainboard/razer/blade_stealth_kbl/spd/micron_dimm_MT52L1G32D4PG-107.spd.hex
A src/mainboard/razer/blade_stealth_kbl/spd/micron_dimm_MT52L512M32D2PF-107.spd.hex
A src/mainboard/razer/blade_stealth_kbl/spd/spd.h
A src/mainboard/razer/blade_stealth_kbl/spd/spd_util.c
25 files changed, 1,317 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/75/34475/38
--
To view, visit https://review.coreboot.org/c/coreboot/+/34475
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I7ede881d631e1863f07f5130f84bc3b8ca61a350
Gerrit-Change-Number: 34475
Gerrit-PatchSet: 38
Gerrit-Owner: Mimoja <coreboot(a)mimoja.de>
Gerrit-Reviewer: Alexander Couzens <lynxis(a)fe80.eu>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Christoph Pomaska <github(a)aufmachen.jetzt>
Gerrit-Reviewer: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Mimoja <coreboot(a)mimoja.de>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newpatchset
Hello Alexander Couzens, Christoph Pomaska, Angel Pons, Jonathan Neuschäfer, Felix Singer, build bot (Jenkins), Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/34475
to look at the new patch set (#37).
Change subject: Add Razer Blade Stealth (2016) H2U
......................................................................
Add Razer Blade Stealth (2016) H2U
The Razer Blade Stealth H2U is a KabyLake System using:
- Intel KBL 7500U
- ITE8528E SuperIO
- Intel 600P Series NVMe SSD
- Either four MT52L1G32D4PG (16GB) or MT52L512MB32D4PG (8GB)
of soldered memory in dualchannel mode
- (Optional) Touchscreen
- HDMI 2.0a via DP-1: Paradetech PS175
Even though it has a 16MB chip equipped (W25Q128.V) only the first 8MB
are used and mapped via IFD. The rest is left empty (0xFF). The flash is
not secured in any way and can be read via flashrom. It should be the
source for this port's IFD and ME blobs.
Working:
- USB-A Ports left and right
- Speakers
- Touchscreen (USB)
- Onboard Keyboard in Linux
- NVMe SSD
- SeaBIOS, Tianocore and Grub Payloads
- Webcam
- Powersaving Modes
- Battery state and LID switch, sometimes slow to update.
- Touchpad (I2C-HID)
- Headphones
Not part of this commit:
- Thunderbolt (Requires advanced EC signaling)
- Full HDMI support (Currently requires plugged connection at boot)
Change-Id: I7ede881d631e1863f07f5130f84bc3b8ca61a350
Signed-off-by: Johanna Schander <coreboot(a)mimoja.de>
---
A src/mainboard/razer/Kconfig
A src/mainboard/razer/Kconfig.name
A src/mainboard/razer/blade_stealth_kbl/Kconfig
A src/mainboard/razer/blade_stealth_kbl/Kconfig.name
A src/mainboard/razer/blade_stealth_kbl/Makefile.inc
A src/mainboard/razer/blade_stealth_kbl/acpi/ac.asl
A src/mainboard/razer/blade_stealth_kbl/acpi/battery.asl
A src/mainboard/razer/blade_stealth_kbl/acpi/ec.asl
A src/mainboard/razer/blade_stealth_kbl/acpi/mainboard.asl
A src/mainboard/razer/blade_stealth_kbl/acpi/superio.asl
A src/mainboard/razer/blade_stealth_kbl/acpi_tables.c
A src/mainboard/razer/blade_stealth_kbl/board_info.txt
A src/mainboard/razer/blade_stealth_kbl/devicetree.cb
A src/mainboard/razer/blade_stealth_kbl/dsdt.asl
A src/mainboard/razer/blade_stealth_kbl/gma-mainboard.ads
A src/mainboard/razer/blade_stealth_kbl/gpio.h
A src/mainboard/razer/blade_stealth_kbl/hda_verb.c
A src/mainboard/razer/blade_stealth_kbl/mainboard.c
A src/mainboard/razer/blade_stealth_kbl/ramstage.c
A src/mainboard/razer/blade_stealth_kbl/romstage.c
A src/mainboard/razer/blade_stealth_kbl/spd/Makefile.inc
A src/mainboard/razer/blade_stealth_kbl/spd/micron_dimm_MT52L1G32D4PG-107.spd.hex
A src/mainboard/razer/blade_stealth_kbl/spd/micron_dimm_MT52L512M32D2PF-107.spd.hex
A src/mainboard/razer/blade_stealth_kbl/spd/spd.h
A src/mainboard/razer/blade_stealth_kbl/spd/spd_util.c
25 files changed, 1,317 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/75/34475/37
--
To view, visit https://review.coreboot.org/c/coreboot/+/34475
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I7ede881d631e1863f07f5130f84bc3b8ca61a350
Gerrit-Change-Number: 34475
Gerrit-PatchSet: 37
Gerrit-Owner: Mimoja <coreboot(a)mimoja.de>
Gerrit-Reviewer: Alexander Couzens <lynxis(a)fe80.eu>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Christoph Pomaska <github(a)aufmachen.jetzt>
Gerrit-Reviewer: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Mimoja <coreboot(a)mimoja.de>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newpatchset
Hello Alexander Couzens, Christoph Pomaska, Angel Pons, Jonathan Neuschäfer, Felix Singer, build bot (Jenkins), Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/34475
to look at the new patch set (#36).
Change subject: Add Razer Blade Stealth (2016) H2U
......................................................................
Add Razer Blade Stealth (2016) H2U
The Razer Blade Stealth H2U is a KabyLake System using:
- Intel KBL 7500U
- ITE8528E SuperIO
- Intel 600P Series NVMe SSD
- Either four MT52L1G32D4PG (16GB) or MT52L512MB32D4PG (8GB)
of soldered memory in dualchannel mode
- (Optional) Touchscreen
- HDMI 2.0a via DP-1: Paradetech PS175
Even tho it has a 16MB chip equipped (W25Q128.V) only the first 8MB
are used and mapped via IFD. The rest is left empty (0xFF). The flash is
not secured in any way and can be read via flashrom. It should be the
source for this port's IFD and ME blobs.
Working:
- USB-A Ports left and right
- Speakers
- Touchscreen (USB)
- Onboard Keyboard in Linux
- NVMe SSD
- SeaBIOS, Tianocore and Grub Payloads
- Webcam
- Powersaving Modes
- Battery state and LID switch, sometimes slow to update.
- Touchpad (I2C-HID)
- Headphones
Not part of this commit:
- Thunderbolt (Requires advanced EC signaling)
- Full HDMI support (Currently requires plugged connection at boot)
Change-Id: I7ede881d631e1863f07f5130f84bc3b8ca61a350
Signed-off-by: Johanna Schander <coreboot(a)mimoja.de>
---
A src/mainboard/razer/Kconfig
A src/mainboard/razer/Kconfig.name
A src/mainboard/razer/blade_stealth_kbl/Kconfig
A src/mainboard/razer/blade_stealth_kbl/Kconfig.name
A src/mainboard/razer/blade_stealth_kbl/Makefile.inc
A src/mainboard/razer/blade_stealth_kbl/acpi/ac.asl
A src/mainboard/razer/blade_stealth_kbl/acpi/battery.asl
A src/mainboard/razer/blade_stealth_kbl/acpi/ec.asl
A src/mainboard/razer/blade_stealth_kbl/acpi/mainboard.asl
A src/mainboard/razer/blade_stealth_kbl/acpi/superio.asl
A src/mainboard/razer/blade_stealth_kbl/acpi_tables.c
A src/mainboard/razer/blade_stealth_kbl/board_info.txt
A src/mainboard/razer/blade_stealth_kbl/devicetree.cb
A src/mainboard/razer/blade_stealth_kbl/dsdt.asl
A src/mainboard/razer/blade_stealth_kbl/gma-mainboard.ads
A src/mainboard/razer/blade_stealth_kbl/gpio.h
A src/mainboard/razer/blade_stealth_kbl/hda_verb.c
A src/mainboard/razer/blade_stealth_kbl/mainboard.c
A src/mainboard/razer/blade_stealth_kbl/ramstage.c
A src/mainboard/razer/blade_stealth_kbl/romstage.c
A src/mainboard/razer/blade_stealth_kbl/spd/Makefile.inc
A src/mainboard/razer/blade_stealth_kbl/spd/micron_dimm_MT52L1G32D4PG-107.spd.hex
A src/mainboard/razer/blade_stealth_kbl/spd/micron_dimm_MT52L512M32D2PF-107.spd.hex
A src/mainboard/razer/blade_stealth_kbl/spd/spd.h
A src/mainboard/razer/blade_stealth_kbl/spd/spd_util.c
25 files changed, 1,317 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/75/34475/36
--
To view, visit https://review.coreboot.org/c/coreboot/+/34475
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I7ede881d631e1863f07f5130f84bc3b8ca61a350
Gerrit-Change-Number: 34475
Gerrit-PatchSet: 36
Gerrit-Owner: Mimoja <coreboot(a)mimoja.de>
Gerrit-Reviewer: Alexander Couzens <lynxis(a)fe80.eu>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Christoph Pomaska <github(a)aufmachen.jetzt>
Gerrit-Reviewer: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Mimoja <coreboot(a)mimoja.de>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newpatchset
Tristan Hsieh has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/31604
Change subject: mediatek: Pass board specific message to BL31
......................................................................
mediatek: Pass board specific message to BL31
Sometimes we need to pass board specific messages to BL31, so that BL31
can do board specific operation based on common code.
BUG=b:80501386
BRANCH=none
TEST=emerge-kukui coreboot
Change-Id: I60b09423d479b356ac5c04517906042fc8d512ca
Signed-off-by: Tristan Shieh <tristan.shieh(a)mediatek.com>
---
A src/soc/mediatek/common/bl31_plat_params.c
A src/soc/mediatek/common/include/soc/bl31_plat_params.h
M src/soc/mediatek/mt8183/Makefile.inc
3 files changed, 54 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/04/31604/1
diff --git a/src/soc/mediatek/common/bl31_plat_params.c b/src/soc/mediatek/common/bl31_plat_params.c
new file mode 100644
index 0000000..eb7477a
--- /dev/null
+++ b/src/soc/mediatek/common/bl31_plat_params.c
@@ -0,0 +1,30 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2019 MediaTek Inc.
+ *
+ * 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.
+ */
+
+#include <arm_tf.h>
+#include <soc/bl31_plat_params.h>
+
+static struct bl31_plat_param *plat_params;
+
+void register_bl31_param(struct bl31_plat_param *param)
+{
+ param->next = plat_params;
+ plat_params = param;
+}
+
+void *soc_get_bl31_plat_params(bl31_params_t *bl31_params)
+{
+ return plat_params;
+}
diff --git a/src/soc/mediatek/common/include/soc/bl31_plat_params.h b/src/soc/mediatek/common/include/soc/bl31_plat_params.h
new file mode 100644
index 0000000..399b0d5
--- /dev/null
+++ b/src/soc/mediatek/common/include/soc/bl31_plat_params.h
@@ -0,0 +1,23 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2019 MediaTek Inc.
+ *
+ * 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.
+ */
+
+#ifndef __BL31_PLAT_PARAMS_H__
+#define __BL31_PLAT_PARAMS_H__
+
+#include <arm-trusted-firmware/plat/mediatek/common/plat_params.h>
+
+void register_bl31_param(struct bl31_plat_param *param);
+
+#endif
diff --git a/src/soc/mediatek/mt8183/Makefile.inc b/src/soc/mediatek/mt8183/Makefile.inc
index 8af3d68..fc2bbe2 100644
--- a/src/soc/mediatek/mt8183/Makefile.inc
+++ b/src/soc/mediatek/mt8183/Makefile.inc
@@ -50,6 +50,7 @@
ramstage-y += ../common/usb.c
ramstage-y += ../common/wdt.c
+ramstage-y += ../common/bl31_plat_params.c
BL31_MAKEARGS += PLAT=mt8183
CPPFLAGS_common += -Isrc/soc/mediatek/mt8183/include
--
To view, visit https://review.coreboot.org/c/coreboot/+/31604
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I60b09423d479b356ac5c04517906042fc8d512ca
Gerrit-Change-Number: 31604
Gerrit-PatchSet: 1
Gerrit-Owner: Tristan Hsieh <tristan.shieh(a)mediatek.com>
Gerrit-MessageType: newchange