Attention is currently required from: Thomas Heijligen.
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/58468 )
Change subject: ich_descriptors_tool/Makefile: TARGET_OS is given as cmdline argument
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
Doesn't this break standalone builds?
--
To view, visit https://review.coreboot.org/c/flashrom/+/58468
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I353c3de250167994a4aea1edfef57d839e900d78
Gerrit-Change-Number: 58468
Gerrit-PatchSet: 1
Gerrit-Owner: Thomas Heijligen <src(a)posteo.de>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Thomas Heijligen <src(a)posteo.de>
Gerrit-Comment-Date: Wed, 20 Oct 2021 17:25:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Thomas Heijligen, Edward O'Callaghan, Angel Pons, Anastasia Klimchuk.
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/57918 )
Change subject: tests: Add init-shutdown test for raiden_debug_spi
......................................................................
Patch Set 7:
(1 comment)
File tests/init_shutdown.c:
https://review.coreboot.org/c/flashrom/+/57918/comment/b6c41659_96366406
PS6, Line 57: ss
> Specifically here, there were no warnings about raiden functions. But CONFIG_RAIDEN_DEBUG_SPI is enabled by default, maybe that's why?
I expected warnings because these functions were neither declared static
nor in a forward-declaration (e.g. in a header file). This is usually
enabled by GCC's `-Wmissing-prototypes` option. It seems the `meson.build`
just uses different warning options than the `Makefile`. That's not a
good idea because reviewers are used to these warnings and probably won't
check things that they assume the compiled checked.
The `Makefile` also has a switch `WARNERROR` that defaults to `yes`. We
could have something similar for the tests that may default to `no` if
you prefer but would be enable by `test_build.sh` for the CI?
>
> And even more global question, about switching away from meson for tests, there is a lot to think about. But we do need to think about it, yes.
I guess the problem is that the current `meson.build` was not meant
for general use. Somebody added their use case but maintaining it
beyond that was not the plan. Thomas is working to re-structure
flashrom so we might be able to perform a cleaner switch to Meson
in the future. If this will ever happen, it will take quite some
time until then.
If we want to use Meson for the tests, it might be better if
somebody took over maintenance for it right now.
--
To view, visit https://review.coreboot.org/c/flashrom/+/57918
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I880a8637ab02de179df9169c1898230bce4dc1c7
Gerrit-Change-Number: 57918
Gerrit-PatchSet: 7
Gerrit-Owner: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Thomas Heijligen <src(a)posteo.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Thomas Heijligen <src(a)posteo.de>
Gerrit-Attention: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Comment-Date: Wed, 20 Oct 2021 16:22:17 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Comment-In-Reply-To: Edward O'Callaghan <quasisec(a)chromium.org>
Comment-In-Reply-To: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-MessageType: comment
Attention is currently required from: Nico Huber.
Simon Buhrow has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/58467 )
Change subject: flashchips.c: big erase blocksize first
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
Just a starting point for discussion.
I used the following comands:
time sudo flashrom -p ft2232_spi:type=2232H,port=A -E -VV
and
time sudo flashrom -p ft2232_spi:type=2232H,port=A -w write_64Mb_flash.bin -VV
In the first case the order modification does save more than 2 minutes. In the second case it saved 2 seconds (the .bin file has only the first word different from a erased flash).
Just let me know if this setup covers in a satisfying way the range of scenarios. If needed I can upload the flashrom output.
--
To view, visit https://review.coreboot.org/c/flashrom/+/58467
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I862ce0b5f8912565e43c340578d8126aa2e6aa3b
Gerrit-Change-Number: 58467
Gerrit-PatchSet: 1
Gerrit-Owner: Simon Buhrow
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Nico Huber <nico.h(a)gmx.de>
Gerrit-Comment-Date: Wed, 20 Oct 2021 14:09:00 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Thomas Heijligen has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/58468 )
Change subject: ich_descriptors_tool/Makefile: TARGET_OS is given as cmdline argument
......................................................................
ich_descriptors_tool/Makefile: TARGET_OS is given as cmdline argument
TARGET_OS is determined at the top level Makefile and pass to the
ich_descriptors_tool Makefile. No need to determine TARGET_OS again.
Change-Id: I353c3de250167994a4aea1edfef57d839e900d78
Signed-off-by: Thomas Heijligen <thomas.heijligen(a)secunet.de>
---
M util/ich_descriptors_tool/Makefile
1 file changed, 0 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/68/58468/1
diff --git a/util/ich_descriptors_tool/Makefile b/util/ich_descriptors_tool/Makefile
index 168220c..f668c53 100644
--- a/util/ich_descriptors_tool/Makefile
+++ b/util/ich_descriptors_tool/Makefile
@@ -4,8 +4,6 @@
# This Makefile works standalone, but it is usually called from the main
# Makefile in the flashrom directory.
-include ../../Makefile.include
-
PROGRAM=ich_descriptors_tool
EXTRAINCDIRS = ../../ .
DEPPATH = .dep
@@ -34,8 +32,6 @@
FLASHROM_CFLAGS += -D__USE_MINGW_ANSI_STDIO=1
endif
-override TARGET_OS := $(call c_macro_test, ../../Makefile.d/os_test.h)
-
ifeq ($(TARGET_OS), DOS)
EXEC_SUFFIX := .exe
# DJGPP has odd uint*_t definitions which cause lots of format string warnings.
--
To view, visit https://review.coreboot.org/c/flashrom/+/58468
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I353c3de250167994a4aea1edfef57d839e900d78
Gerrit-Change-Number: 58468
Gerrit-PatchSet: 1
Gerrit-Owner: Thomas Heijligen <src(a)posteo.de>
Gerrit-MessageType: newchange
Thomas Heijligen has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/58451 )
Change subject: Makefile: unify the use of filter
......................................................................
Patch Set 2:
(1 comment)
Commit Message:
https://review.coreboot.org/c/flashrom/+/58451/comment/1f326047_7dc4f10c
PS1, Line 9: some cosmetics
> Should have a verb, e.g. `fix some cosmetics`, `change some cosmetics`.
Done
--
To view, visit https://review.coreboot.org/c/flashrom/+/58451
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I6cd1e169b435cadb06423836cd9d64cdd2f51a94
Gerrit-Change-Number: 58451
Gerrit-PatchSet: 2
Gerrit-Owner: Thomas Heijligen <src(a)posteo.de>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Comment-Date: Wed, 20 Oct 2021 13:41:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Gerrit-MessageType: comment
Attention is currently required from: Thomas Heijligen.
Hello build bot (Jenkins), Nico Huber,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/58451
to look at the new patch set (#2).
Change subject: Makefile: unify the use of filter
......................................................................
Makefile: unify the use of filter
Make a filter statement easier to read and fix some cosmetics.
Change-Id: I6cd1e169b435cadb06423836cd9d64cdd2f51a94
Signed-off-by: Thomas Heijligen <thomas.heijligen(a)secunet.de>
---
M Makefile
1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/51/58451/2
--
To view, visit https://review.coreboot.org/c/flashrom/+/58451
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I6cd1e169b435cadb06423836cd9d64cdd2f51a94
Gerrit-Change-Number: 58451
Gerrit-PatchSet: 2
Gerrit-Owner: Thomas Heijligen <src(a)posteo.de>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Thomas Heijligen <src(a)posteo.de>
Gerrit-MessageType: newpatchset