Attention is currently required from: Richard Hughes, David Hendricks, Mario Limonciello, Edward O'Callaghan, Daniel Campello.
Hello build bot (Jenkins), Richard Hughes, David Hendricks, Mario Limonciello, Edward O'Callaghan, Richard Hughes,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/51552
to look at the new patch set (#2).
Change subject: meson: add missing meson options from ebuild
......................................................................
meson: add missing meson options from ebuild
This change adds missing meson options from chromiumos-overlay flashrom
ebuild in order to migrate to meson.
Signed-off-by: Daniel Campello <campello(a)chromium.org>
Change-Id: I97d2fd687aa21533b86f9af446038bfe3da1f7d3
---
M meson.build
M meson_options.txt
2 files changed, 8 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/52/51552/2
--
To view, visit https://review.coreboot.org/c/flashrom/+/51552
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I97d2fd687aa21533b86f9af446038bfe3da1f7d3
Gerrit-Change-Number: 51552
Gerrit-PatchSet: 2
Gerrit-Owner: Daniel Campello <campello(a)chromium.org>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-Reviewer: Mario Limonciello <superm1(a)gmail.com>
Gerrit-Reviewer: Richard Hughes <hughsient(a)gmail.com>
Gerrit-Reviewer: Richard Hughes <richard(a)hughsie.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Richard Hughes <richard(a)hughsie.com>
Gerrit-Attention: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Attention: Mario Limonciello <superm1(a)gmail.com>
Gerrit-Attention: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-Attention: Daniel Campello <campello(a)chromium.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: Richard Hughes, David Hendricks, Mario Limonciello, Edward O'Callaghan, Daniel Campello.
Richard Hughes has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/51552 )
Change subject: meson: add missing meson options from ebuild
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
The wiki option is fine, but I don't think the static library option is correct. I think if you change the `shared_library()` to just `library()` then you can do `-Ddefault_library=static` and everything should magically work. I didn't know a static library was ever desired, so this is why I didn't use `library()` on initial submission. Apologies.
--
To view, visit https://review.coreboot.org/c/flashrom/+/51552
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I97d2fd687aa21533b86f9af446038bfe3da1f7d3
Gerrit-Change-Number: 51552
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Campello <campello(a)chromium.org>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-Reviewer: Mario Limonciello <superm1(a)gmail.com>
Gerrit-Reviewer: Richard Hughes <hughsient(a)gmail.com>
Gerrit-Reviewer: Richard Hughes <richard(a)hughsie.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Richard Hughes <richard(a)hughsie.com>
Gerrit-Attention: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Attention: Mario Limonciello <superm1(a)gmail.com>
Gerrit-Attention: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-Attention: Daniel Campello <campello(a)chromium.org>
Gerrit-Comment-Date: Wed, 17 Mar 2021 10:44:16 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Angel Pons, Anastasia Klimchuk.
Hello build bot (Jenkins), Edward O'Callaghan, Angel Pons,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/51555
to look at the new patch set (#2).
Change subject: rayer_spi.c: Remove forward-declarations
......................................................................
rayer_spi.c: Remove forward-declarations
Reorder functions to avoid forward-declarations.
This was aimed to be done for all spi masters in the earlier patch
however this file was missed.
BUG=b:140394053
TEST=builds
Change-Id: I0e3c82967a169d6a2512ffa17d1e0c78eafb2797
Signed-off-by: Anastasia Klimchuk <aklm(a)chromium.org>
---
M rayer_spi.c
1 file changed, 45 insertions(+), 54 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/55/51555/2
--
To view, visit https://review.coreboot.org/c/flashrom/+/51555
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I0e3c82967a169d6a2512ffa17d1e0c78eafb2797
Gerrit-Change-Number: 51555
Gerrit-PatchSet: 2
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: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: Drew Fustini, Nikolai Artemiev.
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/51113 )
Change subject: Add support for GD25LQ256D
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
> I have to admit this is the first time I've looked at the flashrom source code so I may not be the b […]
Please test the changes that Angel suggested.
One thing about write tests: flashrom compares the current contents of the
flash chip to the provided data. If they are equal, flashrom does nothing.
In your verbose write log you can actually see that. In the list of blocks
in the end:
0x000000-0x000fff:S
The S tells us that the block was *S*kipped. All of them, it seems. To
really test writes, one could use random data, e.g.
dd if=/dev/urandom bs=1M count=32 of=random.rom
flashrom -p ... -w random.rom
If that says VERIFIED, we're all good.
Also, if you have the time, it would be nice to test these additional
feature flags:
* FEATURE_4BA_READ,
* FEATURE_4BA_WRITE, and
* FEATURE_4BA_EXT_ADDR (this last one without any other FEATURE_4BA*)
each with new random data.
--
To view, visit https://review.coreboot.org/c/flashrom/+/51113
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: If1b745cac070d8deb96ce65137fd9060b148b965
Gerrit-Change-Number: 51113
Gerrit-PatchSet: 1
Gerrit-Owner: Drew Fustini <drew(a)beagleboard.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: Nikolai Artemiev <nartemiev(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Attention: Drew Fustini <drew(a)beagleboard.org>
Gerrit-Attention: Nikolai Artemiev <nartemiev(a)google.com>
Gerrit-Comment-Date: Tue, 16 Mar 2021 18:17:43 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Drew Fustini <drew(a)beagleboard.org>
Gerrit-MessageType: comment
Douglas Anderson has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/50206 )
Change subject: linux_mtd: Switch fopen() to open() for MTD devices
......................................................................
Patch Set 2:
(1 comment)
File linux_mtd.c:
https://review.coreboot.org/c/flashrom/+/50206/comment/55079206_83e35ecd
PS2, Line 206: if (read(dev_fileno, buf + i, step) != step) {
> It's probably not hard to get around. (Sorry for not replying earlier,
> I didn't expect this to get abandoned this fast.)
I'm happy to restore it if you want. ;-) I moved to "Abandoned" state because it seemed like there was general consensus that we didn't want to do it. Just yell if you want it restored.
> This should directly map to a read of the flash right? Then we could
> just re-try the current block (a few times?) if `>= 0 && != step`.
Sure, we could. My bias, which you seemed to share in your other comment, is to leave well enough alone. Thus it doesn't really take much to convince me to abandon this change. My original motivation for posting this was that I don't like ignoring review feedback and Hung-Te requested it. If you and he both agree that there's some benefit for the change then I'm happy to keep spinning but I'm not going to fight for it. In my opinion if we find a case where the current stdio-based implementation is broken then we can switch to the direct ops, but until then it's just churn and you've shown that at least one tricky corner case might not be right. Why mess with it?
> I couldn't find any documentation specific to the MTD device nodes,
> do you know any? I'm also not much experienced with Linux device
> nodes in general. I guess there could be exceptions to the read()
> behavior, and it's fair to assume Linux behaviour in this driver
> anyway.
Yeah, I'm not an expert either. I mostly ended up down this rat hole because flashrom was failing on me and I wanted to fix it. ;-) I took a quick look and don't see any obvious documentation that would cover this type of thing, so probably it's tribal knowledge / read the source code.
--
To view, visit https://review.coreboot.org/c/flashrom/+/50206
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ifeb00b049ba5aa0bc8fdc591ac1f9861ad5d428d
Gerrit-Change-Number: 50206
Gerrit-PatchSet: 2
Gerrit-Owner: Douglas Anderson <dianders(a)chromium.org>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-Comment-Date: Tue, 16 Mar 2021 15:09:54 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Comment-In-Reply-To: Douglas Anderson <dianders(a)chromium.org>
Gerrit-MessageType: comment
Attention is currently required from: Angel Pons.
Evgeny Zinoviev has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/51320 )
Change subject: chipset_enable: Mark QS67 as DEP
......................................................................
Patch Set 2:
(1 comment)
Commit Message:
https://review.coreboot.org/c/flashrom/+/51320/comment/348a5b48_6358e3da
PS1, Line 9: MBA
> MacBook Air? (I wouldn't use an abbreviation here)
fixed
--
To view, visit https://review.coreboot.org/c/flashrom/+/51320
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ia31c9d336d6ffe441323616174018b0f6a8897bd
Gerrit-Change-Number: 51320
Gerrit-PatchSet: 2
Gerrit-Owner: Evgeny Zinoviev <me(a)ch1p.io>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Comment-Date: Tue, 16 Mar 2021 13:36:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-MessageType: comment