Nico Huber has posted comments on this change. ( https://review.coreboot.org/23203 )
Change subject: Add support to get layout from fmap (e.g. coreboot rom)
......................................................................
Patch Set 24:
(1 comment)
https://review.coreboot.org/#/c/23203/22/fmap.h
File fmap.h:
https://review.coreboot.org/#/c/23203/22/fmap.h@3
PS22, Line 3: -present
> Nah, I kinda like it actually. It just says explicitly what we
> already assume,
Absolutely not. "present" may be interpreted as the point in time
when sb. reads the file, which may be an arbitrary point in the
future but Copyright does not indefinitely extend into the future
(by current law afaik).
> and prevents issues with people updating copyright
> notices needlessly to match the present year whenever they touch a
> file.
"present" when touching a file, yes. But not when reading/copying/
(sb. else)modifying the file. "present" is just not accurate enough.
You could write `2018-<last edit>` and nobody would be offended, I
guess, but "present" leaves too much room for interpretation.
> In any case our non-lawyer opinions are irrelevant, so no point in
> arguing.
I was not too much arguing about the legal situation. Mostly about
the impression Facebook makes. Big ugly company that needs its
special treatment?
I understand the intention. "present" is just the very very wrong
word.
--
To view, visit https://review.coreboot.org/23203
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I0e7fad38ed79a84d41358e1f175c36d255786c12
Gerrit-Change-Number: 23203
Gerrit-PatchSet: 24
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Comment-Date: Sun, 23 Sep 2018 14:22:59 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
Nico Huber has posted comments on this change. ( https://review.coreboot.org/23203 )
Change subject: Add support to get layout from fmap (e.g. coreboot rom)
......................................................................
Patch Set 22:
(1 comment)
https://review.coreboot.org/#/c/23203/22/flashrom.8.tmpl
File flashrom.8.tmpl:
https://review.coreboot.org/#/c/23203/22/flashrom.8.tmpl@52
PS22, Line 52: [\fB\-i\fR <image>]] [\fB\-n\fR] [\fB\-N\fR] [\fB\-f\fR]]
> Sorry, I meant the visible output in a man page viewer. You can see […]
Hmmm, new gerrit UI refused to save after editing above comment...
at least one thing got lost:
I would remove the escaped line breaks. They are only for the
source file, but the lines are within the current 112 chars limit
anyway. Would make it more readable and the output more predic-
table, imho.
--
To view, visit https://review.coreboot.org/23203
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I0e7fad38ed79a84d41358e1f175c36d255786c12
Gerrit-Change-Number: 23203
Gerrit-PatchSet: 22
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Comment-Date: Sun, 23 Sep 2018 13:56:57 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
Nico Huber has posted comments on this change. ( https://review.coreboot.org/23203 )
Change subject: Add support to get layout from fmap (e.g. coreboot rom)
......................................................................
Patch Set 24:
(5 comments)
https://review.coreboot.org/#/c/23203/22/flashrom.8.tmpl
File flashrom.8.tmpl:
https://review.coreboot.org/#/c/23203/22/flashrom.8.tmpl@52
PS22, Line 52: \-\-fmap\fR|\fB\-\-fmap-file\fR <file>) \
> Yeah, it's not the longest line but it is quite long. […]
Sorry, I meant the visible output in a man page viewer. You can see
above that some lines are already broken manually for the output (when
a linebreak is not escaped).
So the whole thing could become
.B flashrom \fR[\fB\-h\fR|\fB\-R\fR|\fB\-L\fR|\fB\-z\fR|\fB\-p\fR <programmername>[:<parameters>]
[\fB\-E\fR|\fB\-r\fR <file>|\fB\-w\fR <file>|\fB\-v\fR <file>] [\fB\-c\fR <chipname>]
[(\fB\-l\fR <file>|\fB\-\-ifd\fR|\fB\-\-fmap\fR|\fB\-\-fmap-file\fR <file>) [\fB\-i\fR <image>]]
[\fB\-n\fR] [\fB\-N\fR] [\fB\-f\fR]]
[\fB\-V\fR[\fBV\fR[\fBV\fR]]] [\fB-o\fR <logfile>]
which should be output as follows
flashrom [-h|-R|-L|-z|-p <programmername>[:<parameters>]
[-E|-r <file>|-w <file>|-v <file>] [-c <chipname>]
[(-l <file>|--ifd|--fmap|--fmap-file <file>) [-i <image>]]
[-n] [-N] [-f]]
[-V[V[V]]] [-o <logfile>]
Note that there also was a \fR missing after --ifd.
https://review.coreboot.org/#/c/23203/22/fmap.c
File fmap.c:
https://review.coreboot.org/#/c/23203/22/fmap.c@203
PS22, Line 203: }
> moved above malloc
Now the malloc error path is missing the finalize_flash_access()...
https://review.coreboot.org/#/c/23203/22/fmap.c@321
PS22, Line 321: an fma
> I say "an" in my head. […]
Thanks.
AFAIK, it's not literally about a consonant vs. a vowel, rather
about the sound you make. Even with a literal vowel you might
make a consonant sound and vice versa, e.g. unique, hour...
https://review.coreboot.org/#/c/23203/24/fmap.c
File fmap.c:
https://review.coreboot.org/#/c/23203/24/fmap.c@281
PS24, Line 281: * should be a valid, usable fmap. */
Should we set `ret = 2` here too?
https://review.coreboot.org/#/c/23203/24/fmap.c@285
PS24, Line 285: *fmap_out = malloc(fmap_len);
: if (*fmap_out == NULL) {
: msg_gerr("Out of memory.\n");
: goto _free_ret;
: }
:
: memcpy(*fmap_out, fmap, fmap_len);
Now that the code is more straight forward to read. We don't need
this malloc()/memcpy(), do we? Wouldn't a simple `*fmap_out = fmap;`
suffice (while skipping the free(fmap) ofc)?
--
To view, visit https://review.coreboot.org/23203
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I0e7fad38ed79a84d41358e1f175c36d255786c12
Gerrit-Change-Number: 23203
Gerrit-PatchSet: 24
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Comment-Date: Sun, 23 Sep 2018 13:52:17 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
Marc Schink has posted comments on this change. ( https://review.coreboot.org/28087 )
Change subject: Add initial J-Link SPI programmer
......................................................................
Patch Set 8:
> Patch Set 7:
>
> I'll try to work on getting the builders updated tonight.
Any news regarding builder update?
--
To view, visit https://review.coreboot.org/28087
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie03a054a75457ec9e1cab36ea124bb53b10e8d7e
Gerrit-Change-Number: 28087
Gerrit-PatchSet: 8
Gerrit-Owner: Marc Schink <flashrom-dev(a)marcschink.de>
Gerrit-Reviewer: Marc Schink <flashrom-dev(a)marcschink.de>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Sat, 22 Sep 2018 12:19:19 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No
Hello Richard Spiegel, build bot (Jenkins), Nico Huber,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/28707
to look at the new patch set (#3).
Change subject: Remove unneeded whitespace
......................................................................
Remove unneeded whitespace
Change-Id: I0e72e3e3736a39685b7f166c5e6b06cc241b26be
Signed-off-by: Elyes HAOUAS <ehaouas(a)noos.fr>
---
M board_enable.c
M cbtable.c
M chipset_enable.c
M drkaiser.c
M flashchips.c
M flashchips.h
M flashrom.c
M hwaccess.h
M pickit2_spi.c
9 files changed, 280 insertions(+), 353 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/07/28707/3
--
To view, visit https://review.coreboot.org/28707
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I0e72e3e3736a39685b7f166c5e6b06cc241b26be
Gerrit-Change-Number: 28707
Gerrit-PatchSet: 3
Gerrit-Owner: Elyes HAOUAS <ehaouas(a)noos.fr>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Richard Spiegel <richard.spiegel(a)silverbackltd.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>