Attention is currently required from: Hung-Te Lin, Jarried Lin, Yidi Lin.
Yu-Ping Wu has posted comments on this change by Jarried Lin. ( https://review.coreboot.org/c/coreboot/+/86013?usp=email )
Change subject: soc/mediatek/mt8196: Add mtk-fsp loader in ramstage
......................................................................
Patch Set 3: Code-Review+2
(1 comment)
File src/soc/mediatek/common/include/soc/memlayout.h:
https://review.coreboot.org/c/coreboot/+/86013/comment/fc28965d_181adc00?us… :
PS2, Line 16: #define FSP_INIT_CODE(addr, size) \
> Done
Ah sorry. I got `DRAM_INIT_CODE` and `DRAM_DMA` mixed up when reading the code. Feel free to move this back (or not).
--
To view, visit https://review.coreboot.org/c/coreboot/+/86013?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: Ia73d241694ca9a4686bf4b0533c51a663a765c21
Gerrit-Change-Number: 86013
Gerrit-PatchSet: 3
Gerrit-Owner: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Yidi Lin <yidilin(a)google.com>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Attention: Yidi Lin <yidilin(a)google.com>
Gerrit-Comment-Date: Fri, 17 Jan 2025 11:08:30 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Jarried Lin <jarried.lin(a)mediatek.com>
Comment-In-Reply-To: Yu-Ping Wu <yupingso(a)google.com>
Attention is currently required from: Hung-Te Lin, Jarried Lin, Yidi Lin, Yu-Ping Wu.
Bincai Liu has posted comments on this change by Jarried Lin. ( https://review.coreboot.org/c/coreboot/+/85951?usp=email )
Change subject: mb/google/rauru: Add edp driver in mainboard
......................................................................
Patch Set 4:
(10 comments)
File src/mainboard/google/rauru/chromeos.c:
https://review.coreboot.org/c/coreboot/+/85951/comment/f6ac00fd_c70e0692?us… :
PS2, Line 60: struct lb_gpio edp_pwm_gpios[] = {
: {GPIO_BL_PWM_1V8.id, ACTIVE_HIGH, -1, "PWM control"},
: };
: lb_add_gpios(gpios, edp_pwm_gpios, ARRAY_SIZE(edp_pwm_gpios));
: struct lb_gpio backlight_gpios[] = {
: {GPIO_AP_EDP_BKLTEN.id, ACTIVE_HIGH, -1, "backlight enable"},
: };
> Use a single array.
Done
File src/mainboard/google/rauru/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/85951/comment/479e64eb_5ef08970?us… :
PS2, Line 12: Panel
> PANEL
Done
File src/mainboard/google/rauru/gpio.h:
https://review.coreboot.org/c/coreboot/+/85951/comment/20a660af_10a3120a?us… :
PS2, Line 18: #define GPIO_BL_PWM_1V8 GPIO(DISP_PWM)
> leave one blank line on above
Done
File src/mainboard/google/rauru/panel.c:
https://review.coreboot.org/c/coreboot/+/85951/comment/7c59444f_704286dc?us… :
PS2, Line 3: #include <boardid.h>
: #include <cbfs.h>
: #include <delay.h>
: #include <fw_config.h>
: #include <gpio.h>
: #include <soc/ddp.h>
: #include <soc/dsi.h>
: #include <soc/gpio_common.h>
: #include <soc/mtcmos.h>
> remove unused headers
Done
https://review.coreboot.org/c/coreboot/+/85951/comment/dccbff0f_487a3474?us… :
PS2, Line 39: Panel
> PANEL
Done
File src/mainboard/google/rauru/panel_navi.c:
PS2:
> Rename to panel_oled.c, and rename `get_navi_description` to `get_oled_description`. […]
i take a look of previous project, it seems that they also name panel_xxx.c, xxx is project name.
https://review.coreboot.org/c/coreboot/+/85951/comment/20b13609_3c54abff?us… :
PS2, Line 3: #include <boardid.h>
: #include <cbfs.h>
: #include <delay.h>
: #include <fw_config.h>
: #include <gpio.h>
: #include <soc/ddp.h>
: #include <soc/dsi.h>
: #include <soc/gpio_common.h>
: #include <soc/mtcmos.h>
> please remove unused headers.
Done
https://review.coreboot.org/c/coreboot/+/85951/comment/26ce4a7f_193838c4?us… :
PS2, Line 15: struct panel_description *get_navi_description(void);
> Move to panel.h.
it seems that we need create a new header panel.h and then include this panel.h in panel.c?
https://review.coreboot.org/c/coreboot/+/85951/comment/cd70c272_ad31ba9e?us… :
PS2, Line 24: mdelay(400);
> Is this delay required if we enable the backlight in the payload (depthcharge) ?
i think this delay is till need
https://review.coreboot.org/c/coreboot/+/85951/comment/3c0cc929_94a511e1?us… :
PS2, Line 25: , 1);
: gpio_output(GPIO_BL_PWM_1V8, 1);
> I think we should pull down these two pins here and pull them up in the payload.
do you mean that we can enable backlight in payload?
--
To view, visit https://review.coreboot.org/c/coreboot/+/85951?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: Iea610c97351beb94a49cc1044701a523b7c85a6e
Gerrit-Change-Number: 85951
Gerrit-PatchSet: 4
Gerrit-Owner: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Yidi Lin <yidilin(a)google.com>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Bincai Liu <bincai.liu(a)mediatek.corp-partner.google.com>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Attention: Yidi Lin <yidilin(a)google.com>
Gerrit-Attention: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Comment-Date: Fri, 17 Jan 2025 11:06:49 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Yu-Ping Wu <yupingso(a)google.com>
Comment-In-Reply-To: Yidi Lin <yidilin(a)google.com>
Attention is currently required from: Hung-Te Lin, Jarried Lin, Jason-jh Lin, Yidi Lin.
Yu-Ping Wu has posted comments on this change by Jarried Lin. ( https://review.coreboot.org/c/coreboot/+/86027?usp=email )
Change subject: soc/mediatek/mt8196: Add GCE ddren sel control to mminfra
......................................................................
Patch Set 3: Code-Review+1
(3 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/86027/comment/d1891ee6_4d3501f2?us… :
PS3, Line 12: request
requests
https://review.coreboot.org/c/coreboot/+/86027/comment/8721964a_10587f46?us… :
PS3, Line 14: Otherwise, GCE will hang when accessing DRAM.
Move the first few words to the previous line
File src/soc/mediatek/mt8196/mminfra.c:
https://review.coreboot.org/c/coreboot/+/86027/comment/557889e4_bfc8ac10?us… :
PS3, Line 35: 0x1
Maybe just `1` for consistency?
--
To view, visit https://review.coreboot.org/c/coreboot/+/86027?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: I30309b0426f803e28858eb15652a649927f94c7e
Gerrit-Change-Number: 86027
Gerrit-PatchSet: 3
Gerrit-Owner: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Yidi Lin <yidilin(a)google.com>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Jason-jh Lin <jason-jh.lin(a)mediatek.corp-partner.google.com>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Jason-jh Lin <jason-jh.lin(a)mediatek.corp-partner.google.com>
Gerrit-Attention: Yidi Lin <yidilin(a)google.com>
Gerrit-Attention: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Comment-Date: Fri, 17 Jan 2025 11:05:02 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Attention is currently required from: Hung-Te Lin, Jarried Lin, agogo.
Paul Menzel has posted comments on this change by Jarried Lin. ( https://review.coreboot.org/c/coreboot/+/85888?usp=email )
The change is no longer submittable: All-Comments-Resolved is unsatisfied now.
Change subject: soc/mediatek/mt8196: Initialize MCUPM
......................................................................
Patch Set 9:
(1 comment)
File src/soc/mediatek/mt8196/mcupm.c:
https://review.coreboot.org/c/coreboot/+/85888/comment/7e2aea9a_a7c515ec?us… :
PS6, Line 21: "[EB_SPMC] Polling MCU_PORT_SET_R0_0 timeout, %#x\n",
> I think the log is fine as long as MTK thinks the information is enough for them to debug. […]
Sorry to re-open again. No, it’s an error message and not a debug message. In either case, I think the misunderstanding is, that you think these log messages are only for MediaTek developers. My view is, that later on also normal users are going to install coreboot on these devices and play with it, and the log messages – especially error message – should be as useful to them as possible.
[EB_SPMC] CPUEB_PROTECT_RDY not set after %d us, value %#x\n
would be much more useful in my opinion.
--
To view, visit https://review.coreboot.org/c/coreboot/+/85888?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: I223f245d384f32d54f6170a28b29573638f77296
Gerrit-Change-Number: 85888
Gerrit-PatchSet: 9
Gerrit-Owner: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Yidi Lin <yidilin(a)google.com>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Reviewer: agogo <agogo.huang(a)mediatek.corp-partner.google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: agogo <agogo.huang(a)mediatek.corp-partner.google.com>
Gerrit-Attention: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Comment-Date: Fri, 17 Jan 2025 11:01:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: agogo <agogo.huang(a)mediatek.corp-partner.google.com>
Comment-In-Reply-To: Paul Menzel <paulepanter(a)mailbox.org>
Comment-In-Reply-To: Yidi Lin <yidilin(a)google.com>