Paul Kocialkowski has posted comments on this change. ( https://review.coreboot.org/23261 )
Change subject: edi: Print debug info like others while probing for ENE chips
......................................................................
Patch Set 8: Code-Review+2
--
To view, visit https://review.coreboot.org/23261
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: Id8e62bc9f6785b4bf0be0aaf0f74c8120d77c0d4
Gerrit-Change-Number: 23261
Gerrit-PatchSet: 8
Gerrit-Owner: Mike Banon <mikebdp2(a)gmail.com>
Gerrit-Reviewer: Mike Banon <mikebdp2(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Kocialkowski <contact(a)paulk.fr>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Sun, 11 Feb 2018 15:11:05 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: Yes
Paul Kocialkowski has posted comments on this change. ( https://review.coreboot.org/23260 )
Change subject: edi: Add dummy read to ensure proper detection of ENE chips
......................................................................
Patch Set 9: Code-Review+2
--
To view, visit https://review.coreboot.org/23260
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: I69ee71674649cd8ba4fc635f889cb39a1cd204b9
Gerrit-Change-Number: 23260
Gerrit-PatchSet: 9
Gerrit-Owner: Mike Banon <mikebdp2(a)gmail.com>
Gerrit-Reviewer: Mike Banon <mikebdp2(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Kocialkowski <contact(a)paulk.fr>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Sun, 11 Feb 2018 15:10:42 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: Yes
Paul Kocialkowski has posted comments on this change. ( https://review.coreboot.org/23259 )
Change subject: Add support for the ENE Embedded Debug Interface EDI and KB9012 EC
......................................................................
Patch Set 10: Code-Review+2
--
To view, visit https://review.coreboot.org/23259
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: Ib8b2eb2feeef5c337d725d15ebf994a299897854
Gerrit-Change-Number: 23259
Gerrit-PatchSet: 10
Gerrit-Owner: Mike Banon <mikebdp2(a)gmail.com>
Gerrit-Reviewer: Mike Banon <mikebdp2(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Kocialkowski <contact(a)paulk.fr>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Sun, 11 Feb 2018 15:09:59 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: Yes
Paul Kocialkowski has posted comments on this change. ( https://review.coreboot.org/23258 )
Change subject: Add support for selecting the erased bit value with a flag
......................................................................
Patch Set 6: Code-Review+2
--
To view, visit https://review.coreboot.org/23258
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: Ia7b0de8568e31f9bf263ba0ad6b051e837477b6b
Gerrit-Change-Number: 23258
Gerrit-PatchSet: 6
Gerrit-Owner: Mike Banon <mikebdp2(a)gmail.com>
Gerrit-Reviewer: Mike Banon <mikebdp2(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Kocialkowski <contact(a)paulk.fr>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Sun, 11 Feb 2018 15:08:13 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: Yes
Paul Kocialkowski has posted comments on this change. ( https://review.coreboot.org/23262 )
Change subject: Add a SPI command class to `struct flashchip`
......................................................................
Patch Set 5: Code-Review+2
--
To view, visit https://review.coreboot.org/23262
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: I89a53ccaef2791a2ac32904d7ab813da7478a6f0
Gerrit-Change-Number: 23262
Gerrit-PatchSet: 5
Gerrit-Owner: Mike Banon <mikebdp2(a)gmail.com>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Mike Banon <mikebdp2(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Kocialkowski <contact(a)paulk.fr>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Urja Rannikko <urjaman(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Sun, 11 Feb 2018 15:07:04 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: Yes
Nico Huber has posted comments on this change. ( https://review.coreboot.org/23693 )
Change subject: improve termios settings on some OSes
......................................................................
Patch Set 1:
(1 comment)
I have generally trouble to understand why everybody modifies an
existing terminal config instead of writing his own. Are there
too many implementation specific pitfalls?
https://review.coreboot.org/#/c/23693/1/serial.c
File serial.c:
https://review.coreboot.org/#/c/23693/1/serial.c@216
PS1, Line 216: wanted.c_cflag &= ~(PARENB | CSTOPB | CSIZE | CRTSCTS);
: wanted.c_cflag |= (CS8 | CLOCAL | CREAD);
: wanted.c_lflag &= ~(ICANON | ECHO | ECHOE | ECHOK | ECHONL | ISIG | IEXTEN);
: wanted.c_lflag &= ~(ECHOCTL | ECHOKE);
: wanted.c_iflag &= ~(IXON | IXOFF | IXANY | ICRNL | IGNCR | INLCR);
: wanted.c_iflag &= ~(PARMRK);
: wanted.c_oflag &= ~OPOST;
> It might be wise to start with cfmakeraw(3). Although it does not
> appear to be standardized by Open Group, I see cfmakeraw(3)
> available on my GNU/Linux installations.
>
> https://nxr.netbsd.org/xref/src/lib/libc/termios/cfmakeraw.c#51
>
Given that flashrom is supposed to work on much more than Linux/BSD,
I'd rather not try to use non-standard functions.
> But, if you've covered all the bits that NetBSD's cfmakeraw(3)
> does, I have no objection.
It's actually your patch ;) I merely ported it from patchwork [1].
No idea if anybody or why nobody considered it earlier.
I have trouble understanding every detail in the man pages and
have no way for regression testing (lack of any serial based
programmer). That's also why a related commit, 22334, didn't make
it into the 1.0 release.
If you can test this on at least two different OSs (e.g. Linux,
BSD) that would be very nice.
[1] https://patchwork.coreboot.org/patch/2757/
--
To view, visit https://review.coreboot.org/23693
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: I5da80f541e02c3b8e676e47a45388bfb115b4762
Gerrit-Change-Number: 23693
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Jonathan A. Kollasch <jakllsch(a)kollasch.net>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Sun, 11 Feb 2018 14:53:36 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
Jonathan A. Kollasch has posted comments on this change. ( https://review.coreboot.org/23693 )
Change subject: improve termios settings on some OSes
......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/#/c/23693/1/serial.c
File serial.c:
https://review.coreboot.org/#/c/23693/1/serial.c@216
PS1, Line 216: wanted.c_cflag &= ~(PARENB | CSTOPB | CSIZE | CRTSCTS);
: wanted.c_cflag |= (CS8 | CLOCAL | CREAD);
: wanted.c_lflag &= ~(ICANON | ECHO | ECHOE | ECHOK | ECHONL | ISIG | IEXTEN);
: wanted.c_lflag &= ~(ECHOCTL | ECHOKE);
: wanted.c_iflag &= ~(IXON | IXOFF | IXANY | ICRNL | IGNCR | INLCR);
: wanted.c_iflag &= ~(PARMRK);
: wanted.c_oflag &= ~OPOST;
It might be wise to start with cfmakeraw(3). Although it does not appear to be standardized by Open Group, I see cfmakeraw(3) available on my GNU/Linux installations.
https://nxr.netbsd.org/xref/src/lib/libc/termios/cfmakeraw.c#51
But, if you've covered all the bits that NetBSD's cfmakeraw(3) does, I have no objection.
--
To view, visit https://review.coreboot.org/23693
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: I5da80f541e02c3b8e676e47a45388bfb115b4762
Gerrit-Change-Number: 23693
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Jonathan A. Kollasch <jakllsch(a)kollasch.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Sun, 11 Feb 2018 14:13:06 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
Nico Huber has posted comments on this change. ( https://review.coreboot.org/22971 )
Change subject: git-hooks: Fix install script for various git versions
......................................................................
Patch Set 2:
Beside the problems with the install script, I run into more trouble
lately while I moved patches from patchwork to gerrit. The whole
approach with the in-tree wrapper.sh seems broken: You must never
check a commit out before wrapper.sh was introduced. Otherwise not
even your <hook>.local files are run. So, the lesson I've learned,
the hooks must not rely on the state of the tree.
One way to mitigate that would be to copy wrapper.sh along with the
flashrom hooks into .git/hooks/. We could still try to keep them
up to date there (based on timestamps? not sure how much shell foo
is necessary).
One problem will haunt us forever, though. Every time you run make
for a commit between the introduction of wrapper.sh and a possible
fix, it will overwrite existing hooks and <hook>.local files (un-
conditionally). So we have to find a new name for <hook>.local and
should probably keep wrapper.sh around forever to help until ano-
ther run of (the updated) install script fixed things again.
An alternative: Drop all this shit. Use something less error-prone
like `make gitconfig` in coreboot. Downside: After a `make` with a
wrapper.sh revision broke things, you'd have to repair it manually,
hopefully just run `make gitconfig` again. Upside: We don't look
like fools.
--
To view, visit https://review.coreboot.org/22971
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: I7ee8d4d54db48f7207fe8abf895c7fbba7685ad2
Gerrit-Change-Number: 22971
Gerrit-PatchSet: 2
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
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: Stefan Tauner <stefan.tauner(a)gmx.at>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Sun, 11 Feb 2018 13:38:09 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No