Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/33514 )
Change subject: layout: Move generic layout functions into `layout.c`
......................................................................
Patch Set 1:
This change is ready for review.
--
To view, visit https://review.coreboot.org/c/flashrom/+/33514
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: If1edde70fc51e88e6e1c560d79a0d51941b9627c
Gerrit-Change-Number: 33514
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
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: Thomas Heijligen <src(a)posteo.de>
Gerrit-Comment-Date: Sun, 16 Jun 2019 01:55:16 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/33513 )
Change subject: layout: Never use global `layout` directly.
......................................................................
Patch Set 1:
This change is ready for review.
--
To view, visit https://review.coreboot.org/c/flashrom/+/33513
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ia2d7d1f4f649cd239b559ba6a40ee0977004e774
Gerrit-Change-Number: 33513
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
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: Thomas Heijligen <src(a)posteo.de>
Gerrit-Comment-Date: Sun, 16 Jun 2019 01:54:42 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Hello Patrick Rudolph,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/flashrom/+/33245
to review the following change.
Change subject: cli: Add error on missing IFD
......................................................................
cli: Add error on missing IFD
When no IFD is present, but the option --ifd is specified, flashrom would just
exit without printing a helpful error message.
Add error message that IFD could not be read or parsed.
Tested on Intel platform without IFD present.
Change-Id: Ie1edd7f36f647c52b17799878185d1e69e10d3b0
Signed-off-by: Patrick Rudolph <patrick.rudolph(a)9elements.com>
---
M cli_classic.c
1 file changed, 10 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/45/33245/1
diff --git a/cli_classic.c b/cli_classic.c
index ced08c6..f6bd59b 100644
--- a/cli_classic.c
+++ b/cli_classic.c
@@ -607,10 +607,16 @@
if (layoutfile) {
layout = get_global_layout();
- } else if (ifd && (flashrom_layout_read_from_ifd(&layout, fill_flash, NULL, 0) ||
- process_include_args(layout))) {
- ret = 1;
- goto out_shutdown;
+ } else if (ifd) {
+ ret = flashrom_layout_read_from_ifd(&layout, fill_flash, NULL, 0);
+ if (ret) {
+ msg_gerr("Failed to read or parse the IFD\n");
+ ret = 1;
+ goto out_shutdown;
+ } else if (process_include_args(layout)) {
+ ret = 1;
+ goto out_shutdown;
+ }
} else if (fmap && fmapfile) {
struct stat s;
if (stat(fmapfile, &s) != 0) {
--
To view, visit https://review.coreboot.org/c/flashrom/+/33245
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ie1edd7f36f647c52b17799878185d1e69e10d3b0
Gerrit-Change-Number: 33245
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-MessageType: newchange
Hello Angel Pons, Arthur Heymans, David Hendricks, Paul Menzel, build bot (Jenkins), Martin Roth, Patrick Georgi,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/23005
to look at the new patch set (#3).
Change subject: Add Manibuilder
......................................................................
Add Manibuilder
Add a set of Dockerfiles for build testing. If you have an x86 machine
and ~20GiB free disk space, run `make register` and `make -jxx` in
util/manibuilder and go eat some pizza. The former runs a privileged
docker container to set binfmt_misc up for qemu (read the code, don't
trust it).
Change-Id: I60863a5c7d70dde71486fccb66cb59b30ba4d982
Signed-off-by: Nico Huber <nico.h(a)gmx.de>
---
A util/manibuilder/Dockerfile.alpine
A util/manibuilder/Dockerfile.anita
A util/manibuilder/Dockerfile.centos
A util/manibuilder/Dockerfile.debian-debootstrap
A util/manibuilder/Dockerfile.djgpp
A util/manibuilder/Dockerfile.fedora
A util/manibuilder/Dockerfile.qemu-user-static
A util/manibuilder/Dockerfile.ubuntu-debootstrap
A util/manibuilder/Makefile
A util/manibuilder/Makefile.targets
A util/manibuilder/README.md
A util/manibuilder/anita-wrapper.sh
A util/manibuilder/mani-wrapper.sh
13 files changed, 470 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/05/23005/3
--
To view, visit https://review.coreboot.org/c/flashrom/+/23005
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I60863a5c7d70dde71486fccb66cb59b30ba4d982
Gerrit-Change-Number: 23005
Gerrit-PatchSet: 3
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset