Attention is currently required from: Edward O'Callaghan, Anastasia Klimchuk, Peter Marheine.
Hello build bot (Jenkins), Edward O'Callaghan, Anastasia Klimchuk,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/63724
to look at the new patch set (#7).
Change subject: [WIP] meson: rework the programmer selection
......................................................................
[WIP] meson: rework the programmer selection
This is a WIP implementation for a new programmer selection. It should
work by now but has some known and unknown bugs. (see Gerrit Comments)
- Each dependency is optional and get mandetory when the programmer is
selected as active.
- Each programmer is defined through an entry in the programmer
dictionary
- The entry lists systems & cpu_families where the programmer is
supported; Dependencies, sources and flags. The group parameter is for
selecting a set of programmer, the default parameter is to include the
programmer to the `all` and `auto` set.
- If the programmer get's selectet the `active` entry is set to true.
The `active` entry can be used afterwards to determin if the
programmer should be included in sources, config, documentation
- Needed system headers are represended through a pseudo dependency.
- The programmer's `srcs` attribute contains all files which are needed
to build the programmer.
Change-Id: Ib44b26e3748fc71f116184082b4aed0bb208b4c1
Signed-off-by: Thomas Heijligen <thomas.heijligen(a)secunet.com>
---
M meson.build
M meson_options.txt
2 files changed, 413 insertions(+), 337 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/24/63724/7
--
To view, visit https://review.coreboot.org/c/flashrom/+/63724
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ib44b26e3748fc71f116184082b4aed0bb208b4c1
Gerrit-Change-Number: 63724
Gerrit-PatchSet: 7
Gerrit-Owner: Thomas Heijligen <src(a)posteo.de>
Gerrit-Reviewer: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Felix Singer <felixsinger(a)posteo.net>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Peter Marheine <pmarheine(a)chromium.org>
Gerrit-CC: Richard Hughes <richard(a)hughsie.com>
Gerrit-Attention: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-Attention: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Attention: Peter Marheine <pmarheine(a)chromium.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: Edward O'Callaghan, Anastasia Klimchuk, Peter Marheine.
Thomas Heijligen has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/63724 )
Change subject: [WIP] meson: rework the programmer selection
......................................................................
Patch Set 6:
(2 comments)
File meson.build:
https://review.coreboot.org/c/flashrom/+/63724/comment/f557c4e9_92e8f2ff
PS2, Line 98: # 'deps' : list[dep], # fallback: []
> I'll have a deeper look at it. But I don't think so. […]
It's possible but quite complicated to put an optional external dependency together with an source file and would make the meson code less readable.
I would prefer to list all source files which are needed for a programmer into the `srcs` attribute.
For the dependencies on host system support like serial, spi driver, i2c driver we could spit the support into the platform abstraction and the programmer shared code. Build the platform support as part of the dependency and the shared code as part of the programmer.
https://review.coreboot.org/c/flashrom/+/63724/comment/7148ef3c_3caec68b
PS2, Line 464: if host_machine.system() in systems_serial_support
> I haven't looked deeply into the serial code how to build it the bust way. […]
For now the serial support is build as part of the programmer. I suggest to split the serial support into a platform abstraction, which is build as dependency, and code which is shared between the programmer.
--
To view, visit https://review.coreboot.org/c/flashrom/+/63724
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ib44b26e3748fc71f116184082b4aed0bb208b4c1
Gerrit-Change-Number: 63724
Gerrit-PatchSet: 6
Gerrit-Owner: Thomas Heijligen <src(a)posteo.de>
Gerrit-Reviewer: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Felix Singer <felixsinger(a)posteo.net>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Peter Marheine <pmarheine(a)chromium.org>
Gerrit-CC: Richard Hughes <richard(a)hughsie.com>
Gerrit-Attention: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-Attention: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Attention: Peter Marheine <pmarheine(a)chromium.org>
Gerrit-Comment-Date: Mon, 25 Apr 2022 14:49:44 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Thomas Heijligen <src(a)posteo.de>
Comment-In-Reply-To: Peter Marheine <pmarheine(a)chromium.org>
Gerrit-MessageType: comment
Attention is currently required from: Edward O'Callaghan, Anastasia Klimchuk, Peter Marheine.
Hello build bot (Jenkins), Edward O'Callaghan, Anastasia Klimchuk,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/63724
to look at the new patch set (#6).
Change subject: [WIP] meson: rework the programmer selection
......................................................................
[WIP] meson: rework the programmer selection
This is a WIP implementation for a new programmer selection. It should
work by now but has some known and unknown bugs. (see Gerrit Comments)
- Each dependency is optional and get mandetory when the programmer is
selected as active.
- Each programmer is defined through an entry in the programmer
dictionary
- The entry lists systems & cpu_families where the programmer is
supported; Dependencies, sources and flags. The group parameter is for
selecting a set of programmer, the default parameter is to include the
programmer to the `all` and `auto` set.
- If the programmer get's selectet the `active` entry is set to true.
The `active` entry can be used afterwards to determin if the
programmer should be included in sources, config, documentation
- Needed system headers are represended through a pseudo dependency.
- The programmer's `srcs` attribute contains all files which are needed
to build the programmer.
Change-Id: Ib44b26e3748fc71f116184082b4aed0bb208b4c1
Signed-off-by: Thomas Heijligen <thomas.heijligen(a)secunet.com>
---
M meson.build
M meson_options.txt
2 files changed, 413 insertions(+), 336 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/24/63724/6
--
To view, visit https://review.coreboot.org/c/flashrom/+/63724
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ib44b26e3748fc71f116184082b4aed0bb208b4c1
Gerrit-Change-Number: 63724
Gerrit-PatchSet: 6
Gerrit-Owner: Thomas Heijligen <src(a)posteo.de>
Gerrit-Reviewer: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Felix Singer <felixsinger(a)posteo.net>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Peter Marheine <pmarheine(a)chromium.org>
Gerrit-CC: Richard Hughes <richard(a)hughsie.com>
Gerrit-Attention: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-Attention: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Attention: Peter Marheine <pmarheine(a)chromium.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: Edward O'Callaghan, Anastasia Klimchuk, Peter Marheine.
Hello build bot (Jenkins), Edward O'Callaghan, Anastasia Klimchuk,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/63724
to look at the new patch set (#4).
Change subject: [WIP] meson: rework the programmer selection
......................................................................
[WIP] meson: rework the programmer selection
This is a WIP implementation for a new programmer selection. It should
work by now but has some known and unknown bugs. (see Gerrit Comments)
- Each dependency is optional and get mandetory when the programmer is
selected
- Each programmer is defined through an entry in the programmer
dictionary
- The entry lists systems & cpu_families where the programmer is
supported, dependencies, sources, flags. The group parameter is for
selecting a set of programmer, the default parameter is to include the
programmer to the `all` and `auto` set.
- If the programmer get's selectet the `active` entry is set to true.
The `active` entry can be used afterwards to determin if the
programmer should be included in sources, config, documentation
Change-Id: Ib44b26e3748fc71f116184082b4aed0bb208b4c1
Signed-off-by: Thomas Heijligen <thomas.heijligen(a)secunet.com>
---
M meson.build
M meson_options.txt
2 files changed, 404 insertions(+), 338 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/24/63724/4
--
To view, visit https://review.coreboot.org/c/flashrom/+/63724
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ib44b26e3748fc71f116184082b4aed0bb208b4c1
Gerrit-Change-Number: 63724
Gerrit-PatchSet: 4
Gerrit-Owner: Thomas Heijligen <src(a)posteo.de>
Gerrit-Reviewer: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Felix Singer <felixsinger(a)posteo.net>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Peter Marheine <pmarheine(a)chromium.org>
Gerrit-CC: Richard Hughes <richard(a)hughsie.com>
Gerrit-Attention: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-Attention: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Attention: Peter Marheine <pmarheine(a)chromium.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: Felix Singer, Thomas Heijligen, Anastasia Klimchuk.
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/58622 )
Change subject: Introduce an `include` directory for header files
......................................................................
Patch Set 6: Code-Review+2
(1 comment)
File platform/endian_big.c:
https://review.coreboot.org/c/flashrom/+/58622/comment/4851b50e_3dbc00b5
PS4, Line 18: #include "platform.h"
> Then this should be done for all includes. […]
Definition no, but sometimes it matters. #include "" looks in the local
directory of the compilation unit first, then in include paths. So for
"../platform.h" the quote form was needed.
Using <> when "" would work too, is probably a personal preference. Why
let the compiler look in the local dir when we know it won't find anything?
--
To view, visit https://review.coreboot.org/c/flashrom/+/58622
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Iaddd6bbfa0624b166d422f665877f096983bf4cf
Gerrit-Change-Number: 58622
Gerrit-PatchSet: 6
Gerrit-Owner: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: 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: Felix Singer <felixsinger(a)posteo.net>
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: Martin L Roth <martinroth(a)google.com>
Gerrit-CC: Peter Marheine <pmarheine(a)chromium.org>
Gerrit-Attention: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Attention: Thomas Heijligen <src(a)posteo.de>
Gerrit-Attention: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Comment-Date: Mon, 25 Apr 2022 12:24:59 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Comment-In-Reply-To: Thomas Heijligen <src(a)posteo.de>
Gerrit-MessageType: comment