Attention is currently required from: Alexander Goncharov, Miklós Márton, Thomas Heijligen.
Anastasia Klimchuk has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/75270?usp=email )
Change subject: doc: Add build instructions for NI-845x on Windows
......................................................................
Patch Set 7: Code-Review+2
--
To view, visit https://review.coreboot.org/c/flashrom/+/75270?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I97ad08632f35aa241b3d19d9ce7711146e3f1f4a
Gerrit-Change-Number: 75270
Gerrit-PatchSet: 7
Gerrit-Owner: Thomas Heijligen <src(a)posteo.de>
Gerrit-Reviewer: Alexander Goncharov <chat(a)joursoir.net>
Gerrit-Reviewer: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: Miklós Márton <martonmiklosqdev(a)gmail.com>
Gerrit-Reviewer: Peter Marheine <pmarheine(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Miklós Márton <martonmiklosqdev(a)gmail.com>
Gerrit-Attention: Thomas Heijligen <src(a)posteo.de>
Gerrit-Attention: Alexander Goncharov <chat(a)joursoir.net>
Gerrit-Comment-Date: Thu, 08 Jun 2023 08:12:00 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Miklós Márton, Peter Marheine, Thomas Heijligen.
Anastasia Klimchuk has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/75236?usp=email )
Change subject: meson: Add support for ni845x_spi on Windows
......................................................................
Patch Set 6: Code-Review+1
(3 comments)
Commit Message:
https://review.coreboot.org/c/flashrom/+/75236/comment/661b91c8_865c4261 :
PS6, Line 12: choise
Oh I found typo: choise -> choice
Patchset:
PS4:
> I rebased this branch on top of master (currently b09aad573) and it built successfully for me. […]
Miklos, does this work for you?
I see you approved documentation patch (next one in the chain), does it mean it builds for you successfully?
PS4:
> Need testing: what if the include path is not available under windows? will it just ignore the non e […]
Thomas, do you plan any more testing? Which include path do you mean, is that the one hardcoded in meson options, `C:\Program Files (x86)\National Instruments\Ni-845x\MS Visual C` ?
--
To view, visit https://review.coreboot.org/c/flashrom/+/75236?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I2d32f11852ac1a5184af8e8683ca1914a6e72973
Gerrit-Change-Number: 75236
Gerrit-PatchSet: 6
Gerrit-Owner: Thomas Heijligen <src(a)posteo.de>
Gerrit-Reviewer: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: Miklós Márton <martonmiklosqdev(a)gmail.com>
Gerrit-Reviewer: Peter Marheine <pmarheine(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Miklós Márton <martonmiklosqdev(a)gmail.com>
Gerrit-Attention: Thomas Heijligen <src(a)posteo.de>
Gerrit-Attention: Peter Marheine <pmarheine(a)chromium.org>
Gerrit-Comment-Date: Thu, 08 Jun 2023 08:11:44 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Miklós Márton <martonmiklosqdev(a)gmail.com>
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: Anastasia Klimchuk, Edward O'Callaghan.
Stefan Reinauer has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/75646?usp=email )
Change subject: Replace all flashchips accesses with get functions
......................................................................
Patch Set 5:
(6 comments)
Patchset:
PS5:
good thoughts on the simplification.. maybe generally the API should already have an init function at this point that handles a possible failure case (flashchips = NULL) and bails out so we don't have to test for null/0 at various places in the code over and again.
File flashchips.c:
https://review.coreboot.org/c/flashrom/+/75646/comment/ab2028b4_0acf0ddf :
PS5, Line 34: internal_
> no need to rename if it becomes static, also "internal" is a overloaded term with the internal progr […]
i understand there is no technical need, but i did it to make it more obvious that it is not coming from the outside. it keeps the code easier to understand
https://review.coreboot.org/c/flashrom/+/75646/comment/571ad0b5_ced6bafb :
PS5, Line 20844: get_flashchips(void)
> you *could* have a signature of: […]
sure, but that would be more complex.
https://review.coreboot.org/c/flashrom/+/75646/comment/e0d7eb5f_cdff91bf :
PS5, Line 20849: unsigned int
> should be `size_t` for the size of an array.
maybe so. it was unsigned int before, so i didn't change it. if we want to fix that, we could do that in a separate patch that focused on that. trying to keep it to one logical change per patch
File ichspi.c:
https://review.coreboot.org/c/flashrom/+/75646/comment/3f7ed0e0_aa93c407 :
PS5, Line 1469: const struct flashchip *chip;
:
: struct flashchip *flashchips=get_flashchips();
:
: if (!flashchips)
: return NULL;
> ``` […]
very clever. and doesn't check the return value. i suppose we could bail out earlier if we don't have a good database in memory
File libflashrom.c:
https://review.coreboot.org/c/flashrom/+/75646/comment/39849728_2d12ddb0 :
PS5, Line 95: unsigned int
> size_t
shouldn't then i downstairs also be size_t? not against this, but it seems that is a larger consistency cleanup that needs to happen across the tree separately if this is a notion that is agreed upon.
--
To view, visit https://review.coreboot.org/c/flashrom/+/75646?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ibc89e32c83975e01c958b8cf0d11dad73c461a53
Gerrit-Change-Number: 75646
Gerrit-PatchSet: 5
Gerrit-Owner: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-Attention: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-Attention: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Comment-Date: Thu, 08 Jun 2023 05:08:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-MessageType: comment
Attention is currently required from: Stefan Reinauer, Thomas Heijligen.
Edward O'Callaghan has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/75648?usp=email )
Change subject: Hook up mjson into build system
......................................................................
Patch Set 5: Code-Review+1
(1 comment)
File meson.build:
https://review.coreboot.org/c/flashrom/+/75648/comment/595dadf1_8898f228 :
PS5, Line 76: 'mjson.c',
: 'flashchips.c',
probably the structure should be:
```
imports/mjson/{mjson.c, meson.build} => gen 'mjson.a'.
```
&&
```
flashchipdb/{flashchips.c, flashchips.h, meson.build} => gen flashchips.a
```
this affords us the path to having a feature flag for link-time decision to which db to use - builtin or parsed external. WDYT?
--
To view, visit https://review.coreboot.org/c/flashrom/+/75648?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I714b35f7c869932924ff50c505ad39cf88cf3950
Gerrit-Change-Number: 75648
Gerrit-PatchSet: 5
Gerrit-Owner: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-Reviewer: Thomas Heijligen <src(a)posteo.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Attention: Thomas Heijligen <src(a)posteo.de>
Gerrit-Comment-Date: Thu, 08 Jun 2023 03:38:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Stefan Reinauer.
Edward O'Callaghan has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/75647?usp=email )
Change subject: Plain mjson 1.6
......................................................................
Patch Set 5: Code-Review+2
(1 comment)
Patchset:
PS5:
can we plop this into a directory called 'import/' or something with its own little meson file and it can just be linked to should it be enabled as a feature.
--
To view, visit https://review.coreboot.org/c/flashrom/+/75647?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I9f770baec883f35507bf3b7b60ef2d581db27002
Gerrit-Change-Number: 75647
Gerrit-PatchSet: 5
Gerrit-Owner: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Comment-Date: Thu, 08 Jun 2023 03:35:54 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Jonathon Hall has abandoned this change. ( https://review.coreboot.org/c/flashrom/+/68093?usp=email )
Change subject: serprog.c: Replace custom mapper with max_rom_decode
......................................................................
Abandoned
Couldn't find anyone with serprog hardware to test.
--
To view, visit https://review.coreboot.org/c/flashrom/+/68093?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: If8b313708a52813b9354cbf45cb91cdd1fe36b13
Gerrit-Change-Number: 68093
Gerrit-PatchSet: 3
Gerrit-Owner: Jonathon Hall <jonathon.hall(a)puri.sm>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-Reviewer: Thomas Heijligen <src(a)posteo.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: abandon
Attention is currently required from: Thomas Heijligen.
Jonathon Hall has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/68093?usp=email )
Change subject: serprog.c: Replace custom mapper with max_rom_decode
......................................................................
Patch Set 3:
(1 comment)
Patchset:
PS3:
Abandoning this since I could not find someone with the appropriate hardware to test.
--
To view, visit https://review.coreboot.org/c/flashrom/+/68093?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: If8b313708a52813b9354cbf45cb91cdd1fe36b13
Gerrit-Change-Number: 68093
Gerrit-PatchSet: 3
Gerrit-Owner: Jonathon Hall <jonathon.hall(a)puri.sm>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-Reviewer: Thomas Heijligen <src(a)posteo.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Thomas Heijligen <src(a)posteo.de>
Gerrit-Comment-Date: Wed, 07 Jun 2023 20:17:19 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment