Attention is currently required from: Drew Fustini.
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/51113 )
Change subject: Add support for GD25LQ256D
......................................................................
Patch Set 1: Code-Review+1
(4 comments)
File flashchips.c:
https://review.coreboot.org/c/flashrom/+/51113/comment/b601db2c_1ae6cf94
PS1, Line 6718: .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_4BA_ENTER,
Missing FEATURE_QPI?
https://review.coreboot.org/c/flashrom/+/51113/comment/3795c395_87728745
PS1, Line 6750: spi_prettyprint_status_register_bp3_srwd
According to the datasheet, this should be `spi_prettyprint_status_register_bp4_srwd` instead.
https://review.coreboot.org/c/flashrom/+/51113/comment/7654655c_ec5e0ef9
PS1, Line 6751: spi_disable_blockprotect
spi_disable_blockprotect_bp4_srwd
https://review.coreboot.org/c/flashrom/+/51113/comment/44655ee3_6fe0cd8f
PS1, Line 6757:
nit: one blank line is enough here
--
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: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Drew Fustini <drew(a)beagleboard.org>
Gerrit-Comment-Date: Sun, 28 Feb 2021 10:58:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Drew Fustini, Angel Pons.
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/51113 )
Change subject: Add support for GD25LQ256D
......................................................................
Patch Set 1: Code-Review+2
(3 comments)
Patchset:
PS1:
As the datasheet seems incomplete wrt. 4-byte addressing, it would be
nice to leave a TODO comment about that. Also, please upload a verbose
log of a write (with changed data) run to `paste.flashrom.org`.
File flashchips.c:
https://review.coreboot.org/c/flashrom/+/51113/comment/8ef9c63b_bcf769e9
PS1, Line 6719: UNTESTED
You can update this to PREW.
https://review.coreboot.org/c/flashrom/+/51113/comment/fb174837_aece195a
PS1, Line 6726: .block_erase = spi_block_erase_21,
This (and the other 4-byte address commands) is not mentioned in
the datasheet (rev. 2.0 I found). If flashrom didn't complain, it
seems supported, though.
--
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: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Drew Fustini <drew(a)beagleboard.org>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Comment-Date: Sun, 28 Feb 2021 10:55:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Angel Pons, Nikolai Artemiev.
Edward O'Callaghan has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/51097 )
Change subject: Add support for Adesto AT25SF128A
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://review.coreboot.org/c/flashrom/+/51097
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I1ce2a6699a1f0116306f668123673a1ba9c932d2
Gerrit-Change-Number: 51097
Gerrit-PatchSet: 1
Gerrit-Owner: Nikolai Artemiev <nartemiev(a)google.com>
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: Nikolai Artemiev <nartemiev(a)google.com>
Gerrit-Comment-Date: Fri, 26 Feb 2021 05:12:51 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Edward O'Callaghan.
Hello Edward O'Callaghan,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/flashrom/+/51097
to review the following change.
Change subject: Add support for Adesto AT25SF128A
......................................................................
Add support for Adesto AT25SF128A
The following adds support for the Adesto AT25SF128A-SHB-T part.
We have varied the correct chip name is reported as well as write
and read 16MBytes of random data and verified the checksum's match.
Further, --wp-list appears to report the correct ranges.
BUG=None
BRANCH=none
TEST=Ran flashrom with a Dediprog SF100, RW random data and checksum
matched.
Original-Change-Id: Ic22ca588f33753fdf492e8445324bcc0a809d3e2
Original-Signed-off-by: Edward O'Callaghan <quasisec(a)chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/1593201
Original-Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator(a)appspot.gserviceaccount.com>
Original-Tested-by: Martin Roth <martinroth(a)chromium.org>
Original-Reviewed-by: Martin Roth <martinroth(a)chromium.org>
(cherry picked from commit 1fa87e058b72a2de1e9127a45e9978361de48479)
Note: this does not include the changes made to writeprotect.c in the
original patch, as they depend on a large amount of additional
writeprotect code that is currently only present in the cros tree, and
the intention here is just to reduce the diff in flashchips.c.
The `.wp` field has also been removed.
Change-Id: I1ce2a6699a1f0116306f668123673a1ba9c932d2
Signed-off-by: Nikolai Artemiev <nartemiev(a)google.com>
---
M flashchips.c
M flashchips.h
2 files changed, 39 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/97/51097/1
diff --git a/flashchips.c b/flashchips.c
index 6d94a12..4aaa8ac 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -2293,6 +2293,44 @@
{
.vendor = "Atmel",
+ .name = "AT25SF128A",
+ .bustype = BUS_SPI,
+ .manufacture_id = ATMEL_ID,
+ .model_id = ATMEL_AT25SF128A,
+ .total_size = 16384,
+ .page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP,
+ .tested = TEST_OK_PR,
+ .probe = probe_spi_rdid,
+ .probe_timing = TIMING_ZERO,
+ .block_erasers =
+ {
+ {
+ .eraseblocks = { {4 * 1024, 4096} },
+ .block_erase = spi_block_erase_20,
+ }, {
+ .eraseblocks = { {32 * 1024, 512} },
+ .block_erase = spi_block_erase_52,
+ }, {
+ .eraseblocks = { {64 * 1024, 256} },
+ .block_erase = spi_block_erase_d8,
+ }, {
+ .eraseblocks = { {16 * 1024 * 1024, 1} },
+ .block_erase = spi_block_erase_60,
+ }, {
+ .eraseblocks = { {16 * 1024 * 1024, 1} },
+ .block_erase = spi_block_erase_c7,
+ }
+ },
+ .printlock = spi_prettyprint_status_register_bp4_srwd,
+ .unlock = spi_disable_blockprotect_bp4_srwd,
+ .write = spi_chip_write_256,
+ .read = spi_chip_read,
+ .voltage = {1700, 2000},
+ },
+
+ {
+ .vendor = "Atmel",
.name = "AT25SF161",
.bustype = BUS_SPI,
.manufacture_id = ATMEL_ID,
diff --git a/flashchips.h b/flashchips.h
index a85fa6a..2ad09df 100644
--- a/flashchips.h
+++ b/flashchips.h
@@ -152,6 +152,7 @@
#define ATMEL_AT25SF161 0x8601
#define ATMEL_AT25SF321 0x8701
#define ATMEL_AT25SL128A 0x4218
+#define ATMEL_AT25SF128A 0x8901 /* Adesto AT25SF128A */
#define ATMEL_AT26DF041 0x4400
#define ATMEL_AT26DF081 0x4500 /* guessed, no datasheet available */
#define ATMEL_AT26DF081A 0x4501
--
To view, visit https://review.coreboot.org/c/flashrom/+/51097
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I1ce2a6699a1f0116306f668123673a1ba9c932d2
Gerrit-Change-Number: 51097
Gerrit-PatchSet: 1
Gerrit-Owner: Nikolai Artemiev <nartemiev(a)google.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-Attention: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-MessageType: newchange
Attention is currently required from: Neil Armstrong.
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/51038
to look at the new patch set (#2).
Change subject: Support Genesys Logic, Inc GL32xx Flash programming support
......................................................................
Support Genesys Logic, Inc GL32xx Flash programming support
The Genesys Logic, Inc USB Memory Card Reader Controller devices
offers ISP (In System Programming) of their attached flash.
The protocl uses vendor SCSI/USB Mass Storage CBD commands exposing
the SPI Flash bus providing command sending and optimized read/write.
The protocol should be compatible with the GL32xx Memory Card Reader
devices, including devices with a custom VID/PID.
Only the tested GL3232 devices listed in the devs has been validated,
but the driver matches with all Genesys Logic, Inc mass storage
devices.
Signed-off-by: Neil Armstrong <narmstrong(a)baylibre.com>
Change-Id: I8ac27a1d5cfe3683d060fb2586482ea72f913699
---
M Makefile
M flashrom.8.tmpl
M flashrom.c
A gl32xx_spi.c
M meson.build
M meson_options.txt
M programmer.h
7 files changed, 642 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/38/51038/2
--
To view, visit https://review.coreboot.org/c/flashrom/+/51038
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I8ac27a1d5cfe3683d060fb2586482ea72f913699
Gerrit-Change-Number: 51038
Gerrit-PatchSet: 2
Gerrit-Owner: Neil Armstrong <narmstrong(a)baylibre.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Neil Armstrong <narmstrong(a)baylibre.com>
Gerrit-MessageType: newpatchset