Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/19949
to look at the new patch set (#3).
Change subject: soc/intel/apollolake: Use common gpio for apollolake[WIP]
......................................................................
soc/intel/apollolake: Use common gpio for apollolake[WIP]
Will remove WIP after testing this patch
Change-Id: I0fcc22df5eaec014f3b89755415f051b05aa554a
Signed-off-by: Hannah Williams <hannah.williams(a)intel.com>
---
M src/soc/intel/apollolake/Kconfig
M src/soc/intel/apollolake/Makefile.inc
R src/soc/intel/apollolake/acpi/gpio_apl.asl
M src/soc/intel/apollolake/acpi/gpiolib.asl
M src/soc/intel/apollolake/acpi/southbridge.asl
M src/soc/intel/apollolake/chip.h
D src/soc/intel/apollolake/gpio.c
A src/soc/intel/apollolake/gpio_apl.c
M src/soc/intel/apollolake/include/soc/gpio.h
R src/soc/intel/apollolake/include/soc/gpio_apl.h
10 files changed, 152 insertions(+), 683 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/49/19949/3
--
To view, visit https://review.coreboot.org/19949
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I0fcc22df5eaec014f3b89755415f051b05aa554a
Gerrit-PatchSet: 3
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Hannah Williams <hannah.williams(a)intel.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Ravishankar Sarawadi <ravishankar.sarawadi(a)intel.com>
Gerrit-Reviewer: Shaunak Saha <shaunak.saha(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Hannah Williams has uploaded a new patch set (#2). ( https://review.coreboot.org/19949 )
Change subject: soc/intel/apollolake: Use common gpio for apollolake[WIP]
......................................................................
soc/intel/apollolake: Use common gpio for apollolake[WIP]
Will remove WIP after testing with this patch
Change-Id: I0fcc22df5eaec014f3b89755415f051b05aa554a
Signed-off-by: Hannah Williams <hannah.williams(a)intel.com>
---
M src/soc/intel/apollolake/Kconfig
M src/soc/intel/apollolake/Makefile.inc
R src/soc/intel/apollolake/acpi/gpio_apl.asl
M src/soc/intel/apollolake/acpi/gpiolib.asl
M src/soc/intel/apollolake/acpi/southbridge.asl
M src/soc/intel/apollolake/chip.h
D src/soc/intel/apollolake/gpio.c
A src/soc/intel/apollolake/gpio_apl.c
M src/soc/intel/apollolake/include/soc/gpio.h
R src/soc/intel/apollolake/include/soc/gpio_apl.h
10 files changed, 152 insertions(+), 683 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/49/19949/2
--
To view, visit https://review.coreboot.org/19949
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I0fcc22df5eaec014f3b89755415f051b05aa554a
Gerrit-PatchSet: 2
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Hannah Williams <hannah.williams(a)intel.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Ravishankar Sarawadi <ravishankar.sarawadi(a)intel.com>
Gerrit-Reviewer: Shaunak Saha <shaunak.saha(a)intel.com>
Youness Alaoui has posted comments on this change. ( https://review.coreboot.org/19849 )
Change subject: console/flashsconsole: Add spi flash console for debugging
......................................................................
Patch Set 2:
(3 comments)
https://review.coreboot.org/#/c/19849/2/src/console/Kconfig
File src/console/Kconfig:
Line 258: region in the CBFS.
> What do you mean with "custom fmd"? Just integrate this in the default FMAP
This was discussed on IRC with Aaron. Adding it to the default FMAP would make everyone have a CONSOLE area (with size 0 if disabled), which is not practical for such a pre-bootable-board-porting debugging feature.
I think anyone wants to use that feature, they can set a custom fmap, or use the cbfs feature instead if they don't want to bother.
IRC log for posterity :
May 24 14:17:47 <KaKaRoTo> adurbin, well, I figured if I added it, it would have a size of zero if flashconsole is disabled, but the area would still be present
May 24 14:19:01 <KaKaRoTo> unless I replace '##FMAP_SIZE##" by "0x100\n\tCONSOLE ...." so the default-x86.fmd file isn't modified, but that's hacky. other possibility is having one default fmd with and one without the console, but I don't like the redundancy
May 24 14:26:03 <adurbin> KaKaRoTo: i would just leave it alone and just test for it dynamically first in the driver. it gets complicated pretty quickly since you need to allocate your area with proper alignment. our tooling for doing that sorta thing automatically in fmap is non-existent
May 24 14:26:42 <KaKaRoTo> adurbin, right, didn't think about alignment (although not needed anyways since I don't do any erase operations anymore)
May 24 14:27:05 <adurbin> ahh. well, if there are no erase paths then it doesn't matter as much
https://review.coreboot.org/#/c/19849/9/src/drivers/spi/flashconsole.c
File src/drivers/spi/flashconsole.c:
Line 93: car_set_var(g_rdev, rdev);
> Here as well (since due to the way the console fills up and has to be manua
The FMAP and CBFS APIs already do prints, such as :
"FMAP: Found "FLASH" version 1.1 at e00000."
and "FMAP: area %s found @ %x (%d bytes)"
same with CBFS APIs.
Also, those lines will not appear because the console is not yet initialized. They would only appear in cbmem, and flashconsole should not be used if cbmem is available (in which case, they are helpful to tell us we forgot to disable the option).
Line 167
> nit: just pull this into _tx_flush() so you don't need to have it twice?
Good idea. I hadn't noticed that all the 'risky' code was in tx_flush now.
--
To view, visit https://review.coreboot.org/19849
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I74a297b94f6881d8c27cbe5168f161d8331c3df3
Gerrit-PatchSet: 2
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Youness Alaoui <snifikino(a)gmail.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Youness Alaoui <snifikino(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-HasComments: Yes
Caesar Wang has posted comments on this change. ( https://review.coreboot.org/19863 )
Change subject: google/gru: enable the pull high for touchpad
......................................................................
Patch Set 2:
> Sorry, I don't quite understand what problem is solved here. Do you
> have a link to a Google bug with more information? (It's okay to
> put BUG=b:XXXX lines in these patches, even if they're
> access-restricted.)
https://partnerissuetracker.corp.google.com/u/2/issues/36705749
>
> The touchpad is not accessed by the firmware and the kernel should
> reset it when it's initializing. Why does this GPIO have to be
> configured in firmware? What's the harm in doing it later?
--
To view, visit https://review.coreboot.org/19863
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I9a67d1c041afafde24ed9f00716ba41a9b41a8da
Gerrit-PatchSet: 2
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Caesar Wang <wxt(a)rock-chips.com>
Gerrit-Reviewer: Caesar Wang <wxt(a)rock-chips.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Philip Chen <philipchen(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-HasComments: No
Julius Werner has posted comments on this change. ( https://review.coreboot.org/19849 )
Change subject: console/flashsconsole: Add spi flash console for debugging
......................................................................
Patch Set 2:
(4 comments)
https://review.coreboot.org/#/c/19849/2/src/console/Kconfig
File src/console/Kconfig:
Line 258: region in the CBFS.
> I suppose you can keep it.
What do you mean with "custom fmd"? Just integrate this in the default FMAPs (which AFAIK are used by everything that's not defining CONFIG_CHROMEOS), then people can use it without knowing anything about FMAPs (other than that they need to use cbfstool read instead of cbfstool extract). I still think an FMAP region is a much better fit for this and there's no reason to add a new feature with two different but not really complementary ways of using it.
(The default FMAPs are in util/cbfstool/default[-x86].fmd and get their values from the top-level Makefile.inc.)
https://review.coreboot.org/#/c/19849/9/src/drivers/spi/flashconsole.c
File src/drivers/spi/flashconsole.c:
Line 51: cbfs_file_data(&cbfs_region, &file);
Please avoid prints in console init handlers unless it's a really important error... otherwise you will always have this line above the "coreboot-XXX <stage> starting..." banner, which is just weird.
Line 93: car_set_var(g_rdev, rdev);
Here as well (since due to the way the console fills up and has to be manually cleaned, this would be a pretty common condition).
Line 167
nit: just pull this into _tx_flush() so you don't need to have it twice?
--
To view, visit https://review.coreboot.org/19849
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I74a297b94f6881d8c27cbe5168f161d8331c3df3
Gerrit-PatchSet: 2
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Youness Alaoui <snifikino(a)gmail.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Youness Alaoui <snifikino(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-HasComments: Yes
Patrick Georgi has submitted this change and it was merged. ( https://review.coreboot.org/19902 )
Change subject: cbfscomptool: fix display of time_t
......................................................................
cbfscomptool: fix display of time_t
Not all systems have sizeof(time_t) == sizeof(long), so
cast the delta here to a long to match the %ld format.
Change-Id: If235577fc35454ddb15043c5a543f614b6f16a9e
Signed-off-by: Mike Frysinger <vapier(a)chromium.org>
Reviewed-on: https://review.coreboot.org/19902
Reviewed-by: Patrick Georgi <pgeorgi(a)google.com>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
---
M util/cbfstool/cbfscomptool.c
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
build bot (Jenkins): Verified
Patrick Georgi: Looks good to me, approved
diff --git a/util/cbfstool/cbfscomptool.c b/util/cbfstool/cbfscomptool.c
index 3430809..1021bc8 100644
--- a/util/cbfstool/cbfscomptool.c
+++ b/util/cbfstool/cbfscomptool.c
@@ -81,7 +81,7 @@
clock_gettime(CLOCK_MONOTONIC, &t_e);
printf("compressing %d bytes to %d took %ld seconds\n",
bufsize, outsize,
- t_e.tv_sec - t_s.tv_sec);
+ (long)(t_e.tv_sec - t_s.tv_sec));
}
free(data);
free(compressed_data);
--
To view, visit https://review.coreboot.org/19902
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If235577fc35454ddb15043c5a543f614b6f16a9e
Gerrit-PatchSet: 3
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Mike Frysinger <vapier(a)chromium.org>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Mike Frysinger <vapier(a)chromium.org>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/19902 )
Change subject: cbfscomptool: fix display of time_t
......................................................................
Patch Set 2:
> how does one get a CL merged ? :)
by waiting 24 hours (that's to enable review no matter the timezone), and then having somebody with submit permission check it in.
--
To view, visit https://review.coreboot.org/19902
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: If235577fc35454ddb15043c5a543f614b6f16a9e
Gerrit-PatchSet: 2
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Mike Frysinger <vapier(a)chromium.org>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Mike Frysinger <vapier(a)chromium.org>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-HasComments: No