Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/82602?usp=email )
Change subject: mb/google/nissa/var/sundance: Update eMMC DLL settings
......................................................................
mb/google/nissa/var/sundance: Update eMMC DLL settings
Currently Samsung eMMC (KLMBG2JETD-B041) can't power on to OS nomally.
According to Intel provides eMMC DLL delay patch that tuning on each
Sundance different eMMC system to modify some system can't boot to OS problem.
BUG=b:342057438
TEST=Build and check each SKU eMMC can work.
Change-Id: I29d4305bbe5f91d822d947cae942b654e80a8a57
Signed-off-by: Roger Wang <roger2.wang(a)lcfc.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82602
Reviewed-by: Paul Menzel <paulepanter(a)mailbox.org>
Reviewed-by: Subrata Banik <subratabanik(a)google.com>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Eric Lai <ericllai(a)google.com>
---
M src/mainboard/google/brya/variants/sundance/overridetree.cb
1 file changed, 45 insertions(+), 0 deletions(-)
Approvals:
build bot (Jenkins): Verified
Subrata Banik: Looks good to me, approved
Paul Menzel: Looks good to me, but someone else must approve
Eric Lai: Looks good to me, approved
diff --git a/src/mainboard/google/brya/variants/sundance/overridetree.cb b/src/mainboard/google/brya/variants/sundance/overridetree.cb
index 2f944d4..b4c7b5e 100644
--- a/src/mainboard/google/brya/variants/sundance/overridetree.cb
+++ b/src/mainboard/google/brya/variants/sundance/overridetree.cb
@@ -9,6 +9,51 @@
register "sagv" = "SaGv_Enabled"
+ # EMMC Tx CMD Delay
+ # Refer to EDS-Vol2-42.3.7.
+ # [14:8] steps of delay for DDR mode, each 125ps, range: 0 - 39, total 625ps.
+ # [6:0] steps of delay for SDR mode, each 125ps, range: 0 - 39, total 625ps.
+ register "common_soc_config.emmc_dll.emmc_tx_cmd_cntl" = "0x505"
+
+ # EMMC TX DATA Delay 1
+ # Refer to EDS-Vol2-42.3.8.
+ # [14:8] steps of delay for HS400, each 125ps, range: 0 - 78, total 465ps.
+ # [6:0] steps of delay for SDR104/HS200, each 125ps, range: 0 - 79, total 465ps.
+ register "common_soc_config.emmc_dll.emmc_tx_data_cntl1" = "0x909"
+
+ # EMMC TX DATA Delay 2
+ # Refer to EDS-Vol2-42.3.9.
+ # [30:24] steps of delay for SDR50, each 125ps, range: 0 - 79, total 3500ps.
+ # [22:16] steps of delay for DDR50, each 125ps, range: 0 - 78, total 5250ps.
+ # [14:8] steps of delay for SDR25/HS50, each 125ps, range: 0 -79, total 5000ps.
+ # [6:0] steps of delay for SDR12, each 125ps. Range: 0 - 79, total 5000ps.
+ register "common_soc_config.emmc_dll.emmc_tx_data_cntl2" = "0x1C2A2828"
+
+ # EMMC RX CMD/DATA Delay 1
+ # Refer to EDS-Vol2-42.3.10.
+ # [30:24] steps of delay for SDR50, each 125ps, range: 0 - 119, total 3500ps.
+ # [22:16] steps of delay for DDR50, each 125ps, range: 0 - 78, total 3375ps.
+ # [14:8] steps of delay for SDR25/HS50, each 125ps, range: 0 - 119, total 3250ps.
+ # [6:0] steps of delay for SDR12, each 125ps, range: 0 - 119, total 3375ps.
+ register "common_soc_config.emmc_dll.emmc_rx_cmd_data_cntl1" = "0x1C1B1A1B"
+
+ # EMMC RX CMD/DATA Delay 2
+ # Refer to EDS-Vol2-42.3.12.
+ # [17:16] stands for Rx Clock before Output Buffer,
+ # 00: Rx clock after output buffer,
+ # 01: Rx clock before output buffer,
+ # 10: Automatic selection based on working mode.
+ # 11: Reserved
+ # [14:8] steps of delay for Auto Tuning Mode, each 125ps, range: 0 - 39, total 0ps.
+ # [6:0] steps of delay for HS200, each 125ps, range: 0 - 79, total 5000ps.
+ register "common_soc_config.emmc_dll.emmc_rx_cmd_data_cntl2" = "0x10028"
+
+ # EMMC Rx Strobe Delay
+ # Refer to EDS-Vol2-42.3.11.
+ # [14:8] Rx Strobe Delay DLL 1 (HS400 Mode), each 125ps, range: 0 - 39, total 2625ps.
+ # [6:0] Rx Strobe Delay DLL 2 (HS400 Mode), each 125ps, range: 0 - 39, total 2625ps.
+ register "common_soc_config.emmc_dll.emmc_rx_strobe_cntl" = "0x11515"
+
# SOC Aux orientation override:
# This is a bitfield that corresponds to up to 4 TCSS ports.
# Bits (0,1) allocated for TCSS Port1 configuration and Bits (2,3)for TCSS Port2.
--
To view, visit https://review.coreboot.org/c/coreboot/+/82602?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I29d4305bbe5f91d822d947cae942b654e80a8a57
Gerrit-Change-Number: 82602
Gerrit-PatchSet: 20
Gerrit-Owner: Roger Wang <roger2.wang(a)lcfc.corp-partner.google.com>
Gerrit-Reviewer: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Reviewer: Eric Lai <ericllai(a)google.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: Shou-Chieh Hsu <shouchieh(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Leo Chou <leo.chou(a)lcfc.corp-partner.google.com>
Gerrit-CC: Melo Chuang <melo.chuang(a)lcfc.corp-partner.google.com>
Gerrit-CC: Varshit Pandya <15mece14(a)nirmauni.ac.in>
Attention is currently required from: Felix Singer, Nico Huber, Paul Menzel.
Hello Paul Menzel, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/82506?usp=email
to look at the new patch set (#9).
Change subject: mb/razer/blade_stealth_kbl: Add H3Q variant
......................................................................
mb/razer/blade_stealth_kbl: Add H3Q variant
The Razer Blade Stealth Kaby Lake has 2 variants. One is the H2U
variant, as originally committed, with the SKU number RZ09-01962, also
known as the 2016 model, and the H3Q model with SKU numbers RZ09-01963
and RZ09-01964, known as the Mid 2017 model. This commit adds support
for the H3Q model. With respect to coreboot, there are few known
differences:
1. Only the H2U has TPM.
2. The USB ports are different.
3. The screen size (and therefore VBIOS Table) is different.
4. The hda_verb is very slightly different.
Change-Id: I493a651e52c2eb938daa67a05e9caaa784020fa4
Signed-off-by: Reagan Bohan <xbjfk.github(a)gmail.com>
---
M src/mainboard/razer/blade_stealth_kbl/Kconfig
M src/mainboard/razer/blade_stealth_kbl/Kconfig.name
M src/mainboard/razer/blade_stealth_kbl/Makefile.mk
M src/mainboard/razer/blade_stealth_kbl/board_info.txt
M src/mainboard/razer/blade_stealth_kbl/devicetree.cb
A src/mainboard/razer/blade_stealth_kbl/variants/h2u/board_info.txt
R src/mainboard/razer/blade_stealth_kbl/variants/h2u/hda_verb.c
A src/mainboard/razer/blade_stealth_kbl/variants/h2u/overridetree.cb
A src/mainboard/razer/blade_stealth_kbl/variants/h3q/board_info.txt
C src/mainboard/razer/blade_stealth_kbl/variants/h3q/hda_verb.c
A src/mainboard/razer/blade_stealth_kbl/variants/h3q/overridetree.cb
11 files changed, 114 insertions(+), 46 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/06/82506/9
--
To view, visit https://review.coreboot.org/c/coreboot/+/82506?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I493a651e52c2eb938daa67a05e9caaa784020fa4
Gerrit-Change-Number: 82506
Gerrit-PatchSet: 9
Gerrit-Owner: Reagan <xbjfk.github(a)gmail.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-Attention: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Attention: Nico Huber <nico.h(a)gmx.de>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Attention is currently required from: Maciej Pijanowski.
Sergii Dmytruk has posted comments on this change by Maciej Pijanowski. ( https://review.coreboot.org/c/coreboot/+/82692?usp=email )
Change subject: util/smmstoretool: explain what happens when no store is found
......................................................................
Patch Set 2:
(1 comment)
File util/smmstoretool/storage.c:
https://review.coreboot.org/c/coreboot/+/82692/comment/b3fab015_1401cebd?us… :
PS2, Line 53: fprintf(stderr,
: "Variable store has not been found in the binary and will "
: "be initialized now.\nIt is expected if release binary is "
: "used, as variable store normally is initialized on the "
: "first boot of the platform.\n");
I'd format the message differently (also somewhat updated it, e.g. "binary" was too generic):
```suggestion
fprintf(stderr,
"\nThe variable store has not been found in the ROM image\n"
"and is about to be initialized. This situation is normal\n"
"for a release image, as the variable store is usually\n"
"initialized on the first boot of the platform.\n\n");
```
I just don't like unusually long strings in the output and long sequence of ungrouped sentences are hard to read as well (e.g. like `flashrom` does), this version produces the following output:
```
No firmware volume header present
No valid firmware volume was found
The variable store has not been found in the ROM image
and is about to be initialized. This situation is normal
for a release image, as the variable store is usually
initialized on the first boot of the platform.
Successfully created variable store in "coreboot.rom"
```
--
To view, visit https://review.coreboot.org/c/coreboot/+/82692?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Iaa2678f5ae7c243811484c0567ced97ae0b3fc0a
Gerrit-Change-Number: 82692
Gerrit-PatchSet: 2
Gerrit-Owner: Maciej Pijanowski <maciej.pijanowski(a)3mdeb.com>
Gerrit-Reviewer: Sergii Dmytruk <sergii.dmytruk(a)3mdeb.com>
Gerrit-Attention: Maciej Pijanowski <maciej.pijanowski(a)3mdeb.com>
Gerrit-Comment-Date: Wed, 29 May 2024 12:25:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Attention is currently required from: Nico Huber, Paul Menzel.
Reagan has posted comments on this change by Reagan. ( https://review.coreboot.org/c/coreboot/+/82458?usp=email )
Change subject: mb/razer/blade_stealth_kbl: add panel_cfg
......................................................................
Patch Set 14:
(1 comment)
File src/mainboard/razer/blade_stealth_kbl/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/82458/comment/26c98a58_66d83f9d?us… :
PS13, Line 163: .backlight_off_delay_ms = 5000, /* T12 */
> Alas, the VBT values are not in *ms*. I think it's 1/10th of a ms (most […]
Done. You are right, it is in 100us. At src/soc/intel/skylake/graphics.c, the ms number is multiplied by 10.
Annoyingly, `intel_reg` does not know these registers exist on Gen7+ - I had to manually enter the register address.
I also checked the stock firmware, and interestingly the registers are the same as on the doc.
Additionally, to get the same register values as the stock firmware `down_delay_ms` would need to be 50 and `cycle_delay_ms` 500. Why could this be, despite all VBIOS tables from the stock firmware having the values I used?
--
To view, visit https://review.coreboot.org/c/coreboot/+/82458?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I4c8b26ffb7a70d08655986084a714206d9d0c96a
Gerrit-Change-Number: 82458
Gerrit-PatchSet: 14
Gerrit-Owner: Reagan <xbjfk.github(a)gmail.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-Attention: Nico Huber <nico.h(a)gmx.de>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Comment-Date: Wed, 29 May 2024 12:22:58 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Attention is currently required from: Alexander Couzens, Elyes Haouas, Julius Werner, Michał Żygowski, Philipp Hug, Piotr Król, Ron Minnich.
Hello Alexander Couzens, Julius Werner, Michał Kopeć, Michał Żygowski, Philipp Hug, Piotr Król, Ron Minnich,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/82691?usp=email
to look at the new patch set (#3).
Change subject: tree: Remove duplicated <soc/gpio.h>
......................................................................
tree: Remove duplicated <soc/gpio.h>
<gpio.h> is supposed to chain-include <soc/gpio.h>.
Change-Id: Ib25581bd2c8dd38cdd0396561ce5f9a782365f14
Signed-off-by: Elyes Haouas <ehaouas(a)noos.fr>
---
M src/mainboard/lenovo/m900_tiny/ramstage.c
M src/mainboard/msi/ms7d25/die.c
M src/mainboard/msi/ms7e06/die.c
M src/mainboard/protectli/vault_cml/die.c
M src/soc/qualcomm/common/pcie_common.c
M src/soc/qualcomm/common/qspi.c
M src/soc/qualcomm/sc7280/pcie.c
M src/soc/rockchip/common/gpio.c
M src/soc/rockchip/rk3288/display.c
M src/soc/rockchip/rk3288/gpio.c
M src/soc/rockchip/rk3399/display.c
M src/soc/rockchip/rk3399/gpio.c
M src/soc/sifive/fu740/clock.c
M src/soc/sifive/fu740/gpio.c
14 files changed, 0 insertions(+), 14 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/91/82691/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/82691?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ib25581bd2c8dd38cdd0396561ce5f9a782365f14
Gerrit-Change-Number: 82691
Gerrit-PatchSet: 3
Gerrit-Owner: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-Reviewer: Alexander Couzens <lynxis(a)fe80.eu>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Michał Kopeć <michal.kopec(a)3mdeb.com>
Gerrit-Reviewer: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Reviewer: Philipp Hug <philipp(a)hug.cx>
Gerrit-Reviewer: Piotr Król <piotr.krol(a)3mdeb.com>
Gerrit-Reviewer: Ron Minnich <rminnich(a)gmail.com>
Gerrit-Attention: Philipp Hug <philipp(a)hug.cx>
Gerrit-Attention: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-Attention: Alexander Couzens <lynxis(a)fe80.eu>
Gerrit-Attention: Ron Minnich <rminnich(a)gmail.com>
Gerrit-Attention: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-Attention: Piotr Król <piotr.krol(a)3mdeb.com>
Attention is currently required from: Sergii Dmytruk.
Hello Sergii Dmytruk,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/82692?usp=email
to look at the new patch set (#2).
Change subject: util/smmstoretool: explain what happens when no store is found
......................................................................
util/smmstoretool: explain what happens when no store is found
We are going to expose ths tool to end users, and want to take
care that the presented information can be consumed by them.
The current code simply prints below warnings if we use release
binary available for end-user to download:
No firmware volume header present
No valid firmware volume was found
It will be concerning and not clear to end users, they might not
understant why it happens, what are the implications, and whether
it is something that they should worry about.
This commit tries to explain what actually happens here.
Change-Id: Iaa2678f5ae7c243811484c0567ced97ae0b3fc0a
Signed-off-by: Maciej Pijanowski <maciej.pijanowski(a)3mdeb.com>
---
M util/smmstoretool/storage.c
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/92/82692/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/82692?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Iaa2678f5ae7c243811484c0567ced97ae0b3fc0a
Gerrit-Change-Number: 82692
Gerrit-PatchSet: 2
Gerrit-Owner: Maciej Pijanowski <maciej.pijanowski(a)3mdeb.com>
Gerrit-Reviewer: Sergii Dmytruk <sergii.dmytruk(a)3mdeb.com>
Gerrit-Attention: Sergii Dmytruk <sergii.dmytruk(a)3mdeb.com>