Attention is currently required from: Cattus QQ.
Anastasia Klimchuk has posted comments on this change by Cattus QQ. ( https://review.coreboot.org/c/flashrom/+/85929?usp=email )
Change subject: Update glasgow info on hardware overview
......................................................................
Patch Set 1:
(5 comments)
Patchset:
PS1:
thanks for the patch! I have few comments, below
Commit Message:
https://review.coreboot.org/c/flashrom/+/85929/comment/94ac167e_b367691d?us… :
PS1, Line 6:
: Update glasgow info on hardware overview
We usually add a prefix to commit message, to give an idea which part of the code is changed, in this case the prefix would be `doc:`
The title itself is all good, so the end result can be:
`doc: Update glasgow info on hardware overview`
File doc/supported_hw/supported_prog/serprog/overview.rst:
https://review.coreboot.org/c/flashrom/+/85929/comment/9a7ea107_9858f8a8?us… :
PS1, Line 98: ==============
The underline only need to last for as long as the title last, so the remaining `=` can be removed.
It doesn't change how webpage looks, but that's redundant chars
https://review.coreboot.org/c/flashrom/+/85929/comment/5fad957c_424d7a15?us… :
PS1, Line 105: The official website can be found here: `glasgow-embedded.org <https://glasgow-embedded.org>`_.
It's up to you, but I just wanted to say: single new line in source .rst file does not produce a new line in html.
So currently, the text from lines 103 to 107 is generated as one paragraph without new lines.
If you would like to frame official website info, sources and examples with new lines (which is I think they deserve), you need to add 2 (two) new lines in the .rst source.
File util/git-hooks/commit-msg:
https://review.coreboot.org/c/flashrom/+/85929/comment/50f671d6_51fcdcf0?us… :
PS1, Line 203: #exit 1
This shouldn't be in the patch? probably by mistake?
did you have issues with git hook checker for sign off line? (I can see the patch has sign off line, good :) )
--
To view, visit https://review.coreboot.org/c/flashrom/+/85929?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: flashrom
Gerrit-Branch: main
Gerrit-Change-Id: I8ac347d6061e354f249223e6fc26b86670e37be6
Gerrit-Change-Number: 85929
Gerrit-PatchSet: 1
Gerrit-Owner: Cattus QQ <cattusqq(a)gmail.com>
Gerrit-Reviewer: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Cattus QQ <cattusqq(a)gmail.com>
Gerrit-Comment-Date: Sat, 11 Jan 2025 07:50:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Attention is currently required from: Nikolai Artemiev, Stefan Reinauer, garyodernichts(a)gmail.com.
Anastasia Klimchuk has posted comments on this change by garyodernichts(a)gmail.com. ( https://review.coreboot.org/c/flashrom/+/85869?usp=email )
Change subject: flashchips/micron: Not all N25QL256 support 4BA_WRITE
......................................................................
Patch Set 1:
(3 comments)
Patchset:
PS1:
> Looking at this again, it might be better to add a separate flashchip entry for the N25Q256A, instea […]
Thank you for your work!
I agree with your idea, it is better to split. Those models which do support 4ba can take advantage of it, and the one who doesn't will have a separate chip definition.
It seems to me, the new definition will go to `micron_numonyx_st.c` right?
The thing to take care about is, eraseblocks ordering. If the new definition does not support 4ba, then first eraseblock for a given size should be 3ba (for example, 20h should be first and then 21h).
I know this is not ideal and I want to fix, so that flashrom knows which erase opcodes correspond to 4ba vs 3ba - but at the moment it is what it is.
Commit Message:
https://review.coreboot.org/c/flashrom/+/85869/comment/9d2a30d6_64800319?us… :
PS1, Line 13: Since there are other chips with the N25Q256 rdid (0xBA19), it is not safe to assume that all chips support 4BA_WRITE.
: When testing this on a 25Q256, the 4BA_WRITE command behaved more like an erase by writing all 0xFFs.
: With the patch, which is now using the default page program operation, it works fine.
We wrap commit message by 72 chars width, could you please wrap the lines?
https://flashrom.org/dev_guide/development_guide.html#commit-message-1https://review.coreboot.org/c/flashrom/+/85869/comment/aec62b7e_2e4b1715?us… :
PS1, Line 16:
You can mention in commit message that the patch splits an entry into two (that was in the other comment thread),
and also if you could add link to datasheet into a commit message,
thanks!
--
To view, visit https://review.coreboot.org/c/flashrom/+/85869?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: flashrom
Gerrit-Branch: main
Gerrit-Change-Id: I3af103a99139705f6549369ed5af76a6197c3362
Gerrit-Change-Number: 85869
Gerrit-PatchSet: 1
Gerrit-Owner: garyodernichts(a)gmail.com
Gerrit-Reviewer: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: Nikolai Artemiev <nartemiev(a)google.com>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Attention: Nikolai Artemiev <nartemiev(a)google.com>
Gerrit-Attention: garyodernichts(a)gmail.com
Gerrit-Comment-Date: Thu, 09 Jan 2025 09:12:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: garyodernichts(a)gmail.com
Attention is currently required from: Matt DeVillier, Nikolai Artemiev, Stefan Reinauer.
Anastasia Klimchuk has posted comments on this change by Matt DeVillier. ( https://review.coreboot.org/c/flashrom/+/85896?usp=email )
Change subject: flashchips/winbond: Update test status for Winbond W25Q256JV_M
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://review.coreboot.org/c/flashrom/+/85896?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: flashrom
Gerrit-Branch: main
Gerrit-Change-Id: I48f37665c9578c4fdb360111f20958fbccc51a37
Gerrit-Change-Number: 85896
Gerrit-PatchSet: 1
Gerrit-Owner: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: Nikolai Artemiev <nartemiev(a)google.com>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Attention: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Attention: Nikolai Artemiev <nartemiev(a)google.com>
Gerrit-Comment-Date: Thu, 09 Jan 2025 00:54:32 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: Anastasia Klimchuk, Nikolai Artemiev, Stefan Reinauer.
garyodernichts(a)gmail.com has posted comments on this change by garyodernichts(a)gmail.com. ( https://review.coreboot.org/c/flashrom/+/85869?usp=email )
Change subject: flashchips/micron: Not all N25QL256 support 4BA_WRITE
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
Looking at this again, it might be better to add a separate flashchip entry for the N25Q256A, instead of removing 4BA_WRITE for the MT25Q256A. Even though as far as I know they're drop-in replacements for each other.
For the record this is the datasheet I was referencing: https://mm.digikey.com/Volume0/opasdata/d220001/medias/docus/789/N25Q256A.p…
--
To view, visit https://review.coreboot.org/c/flashrom/+/85869?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: flashrom
Gerrit-Branch: main
Gerrit-Change-Id: I3af103a99139705f6549369ed5af76a6197c3362
Gerrit-Change-Number: 85869
Gerrit-PatchSet: 1
Gerrit-Owner: garyodernichts(a)gmail.com
Gerrit-Reviewer: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: Nikolai Artemiev <nartemiev(a)google.com>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Attention: Nikolai Artemiev <nartemiev(a)google.com>
Gerrit-Attention: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Comment-Date: Mon, 06 Jan 2025 20:48:20 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
garyodernichts(a)gmail.com has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/85869?usp=email )
Change subject: flashchips/micron: Not all N25QL256 support 4BA_WRITE
......................................................................
flashchips/micron: Not all N25QL256 support 4BA_WRITE
According to the Micron N25Q256A 3V datasheet:
> This command is only for part numbers N25Q256A83ESF40x, N25Q256A83E1240x, and
N25Q256A83ESFA0F.
Since there are other chips with the N25Q256 rdid (0xBA19), it is not safe to assume that all chips support 4BA_WRITE.
When testing this on a 25Q256, the 4BA_WRITE command behaved more like an erase by writing all 0xFFs.
With the patch, which is now using the default page program operation, it works fine.
Change-Id: I3af103a99139705f6549369ed5af76a6197c3362
Signed-off-by: GaryOderNichts <garyodernichts(a)gmail.com>
---
M flashchips/micron.c
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/69/85869/1
diff --git a/flashchips/micron.c b/flashchips/micron.c
index 5b49892..08b3521 100644
--- a/flashchips/micron.c
+++ b/flashchips/micron.c
@@ -292,7 +292,8 @@
.page_size = 256,
/* supports SFDP */
/* OTP: 64B total; read 0x4B, write 0x42 */
- .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_4BA_WREN,
+ .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_4BA_ENTER_WREN |
+ FEATURE_4BA_EAR_C5C8 | FEATURE_4BA_READ | FEATURE_4BA_FAST_READ,
.tested = TEST_OK_PREW,
.probe = PROBE_SPI_RDID,
.probe_timing = TIMING_ZERO,
--
To view, visit https://review.coreboot.org/c/flashrom/+/85869?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: flashrom
Gerrit-Branch: main
Gerrit-Change-Id: I3af103a99139705f6549369ed5af76a6197c3362
Gerrit-Change-Number: 85869
Gerrit-PatchSet: 1
Gerrit-Owner: garyodernichts(a)gmail.com