flashrom
Threads by month
- ----- 2026 -----
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
January 2015
- 35 participants
- 121 discussions
AT45db642d - SPI Mode Ft2232h - Successfull operation - Read/Wirte /Erase
by Mahesh Mokal Jan. 24, 2015
by Mahesh Mokal Jan. 24, 2015
Jan. 24, 2015
Hi.
Flashrom is wonderfull project and help me lot. i am successfully able
to copy AT45db642d into new chip. i used Ft2232H chip in FT2232SPI
Programming Option. Read, Write , Erase Successfully working, Chip
is successfully tested on Production board
Details
Operatig System- Ubunty 14,04 ,32 Bit
Flashrom version - flashrom_0.9.7+r1852-1
Programmer - FT2232SPI
Tested Chip - AT45db642D
Read- Success
Write - Success
Erase- Success
Logs attached for referece
Regards,
Mahesh Mokal
1
0
Re: [flashrom] [PATCH] Fix the --mainboard parameter that controls board enables.
by Stefan Tauner Jan. 24, 2015
by Stefan Tauner Jan. 24, 2015
Jan. 24, 2015
On Sun, 14 Dec 2014 23:10:28 +0100
Stefan Tauner <stefan.tauner(a)alumni.tuwien.ac.at> wrote:
> We refactored board_match_name()/--mainboard handling in r1577 and
> apparently broke it because since then we were always comparing to
> the respective coreboot values of board and vendor names instead of
> the user-supplied strings.
>
> Signed-off-by: Stefan Tauner <stefan.tauner(a)alumni.tuwien.ac.at>
Acked-by: Stefan Tauner <stefan.tauner(a)alumni.tuwien.ac.at>
and committed in r1870.
--
Kind regards/Mit freundlichen Grüßen, Stefan Tauner
1
1
Author: stefanct
Date: Sat Jan 24 16:16:14 2015
New Revision: 1871
URL: http://flashrom.org/trac/flashrom/changeset/1871
Log:
Fix the --mainboard parameter that controls board enables.
We refactored board_match_name()/--mainboard handling in r1577 and
apparently broke it because since then we were always comparing to
the respective coreboot values of board and vendor names instead of
the user-supplied strings.
Signed-off-by: Stefan Tauner <stefan.tauner(a)student.tuwien.ac.at>
Acked-by: Stefan Tauner <stefan.tauner(a)alumni.tuwien.ac.at>
Modified:
trunk/board_enable.c
Modified: trunk/board_enable.c
==============================================================================
--- trunk/board_enable.c Sat Jan 24 16:06:27 2015 (r1870)
+++ trunk/board_enable.c Sat Jan 24 16:16:14 2015 (r1871)
@@ -2524,20 +2524,24 @@
/*
* Match boards on vendor and model name.
- * Hint: the parameters can come either from the coreboot table or the command line (i.e. the user).
+ * The string parameters can come either from the coreboot table or the command line (i.e. the user).
+ * The boolean needs to be set accordingly to compare them to the right entries of the board enables table.
* Require main PCI IDs to match too as extra safety.
- * vendor and model must be non-NULL!
+ * Parameters vendor and model must be non-NULL!
*/
-static const struct board_match *board_match_name(const char *vendor, const char *model)
+static const struct board_match *board_match_name(const char *vendor, const char *model, bool cb)
{
const struct board_match *board = board_matches;
const struct board_match *partmatch = NULL;
for (; board->vendor_name; board++) {
- if (!board->lb_vendor || strcasecmp(board->lb_vendor, vendor))
+ const char *cur_vendor = cb ? board->lb_vendor : board->vendor_name;
+ const char *cur_model = cb ? board->lb_part : board->board_name;
+
+ if (!cur_vendor || strcasecmp(cur_vendor, vendor))
continue;
- if (!board->lb_part || strcasecmp(board->lb_part, model))
+ if (!cur_model || strcasecmp(cur_model, model))
continue;
if (!pci_dev_find(board->first_vendor, board->first_device)) {
@@ -2680,7 +2684,7 @@
int ret = 0;
if (vendor != NULL && model != NULL) {
- board = board_match_name(vendor, model);
+ board = board_match_name(vendor, model, false);
if (!board) { /* If a board was given by the user it has to match, else we abort here. */
msg_perr("No suitable board enable found for vendor=\"%s\", model=\"%s\".\n",
vendor, model);
@@ -2688,7 +2692,7 @@
}
}
if (board == NULL && cb_vendor != NULL && cb_model != NULL) {
- board = board_match_name(cb_vendor, cb_model);
+ board = board_match_name(cb_vendor, cb_model, true);
if (!board) { /* Failure is an option here, because many cb boards don't require an enable. */
msg_pdbg2("No board enable found matching coreboot IDs vendor=\"%s\", model=\"%s\".\n",
cb_vendor, cb_model);
1
0
Author: stefanct
Date: Sat Jan 24 16:06:27 2015
New Revision: 1870
URL: http://flashrom.org/trac/flashrom/changeset/1870
Log:
Add support for Eon EN25P Series.
These are very similar to Eon's EN25B series but unlike those the
EN25P has uniform sectors (of 32 and 64 kB). They can not be
distinguished by RDID alone but the RES and REMS IDs are different
and hence could be detected eventually in the future. This patch
also refines tiny bits of the EN25B series.
The series includes:
- EN25P05
- EN25P10
- EN25P20
- EN25P40
- EN25P80
- EN25P16
- EN25P32
- EN25P64
Signed-off-by: Stefan Tauner <stefan.tauner(a)student.tuwien.ac.at>
Acked-by: Stefan Tauner <stefan.tauner(a)alumni.tuwien.ac.at>
Modified:
trunk/flashchips.c
trunk/flashchips.h
Modified: trunk/flashchips.c
==============================================================================
--- trunk/flashchips.c Mon Jan 19 20:52:34 2015 (r1869)
+++ trunk/flashchips.c Sat Jan 24 16:06:27 2015 (r1870)
@@ -3332,7 +3332,7 @@
.printlock = spi_prettyprint_status_register_plain, /* TODO: improve */
.unlock = spi_disable_blockprotect,
.write = spi_chip_write_256,
- .read = spi_chip_read,
+ .read = spi_chip_read, /* Fast read (0x0B) supported */
.voltage = {2700, 3600},
},
@@ -3366,7 +3366,37 @@
.printlock = spi_prettyprint_status_register_plain, /* TODO: improve */
.unlock = spi_disable_blockprotect,
.write = spi_chip_write_256,
- .read = spi_chip_read,
+ .read = spi_chip_read, /* Fast read (0x0B) supported */
+ .voltage = {2700, 3600},
+ },
+
+ {
+ .vendor = "Eon",
+ .name = "EN25P05",
+ .bustype = BUS_SPI,
+ .manufacture_id = EON_ID_NOPREFIX,
+ .model_id = EON_EN25B05,
+ .total_size = 64,
+ .page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
+ .tested = TEST_UNTESTED,
+ .probe = probe_spi_rdid,
+ .probe_timing = TIMING_ZERO,
+ .block_erasers =
+ {
+ {
+ .eraseblocks = {
+ {32 * 1024, 2} },
+ .block_erase = spi_block_erase_d8,
+ }, {
+ .eraseblocks = { {64 * 1024, 1} },
+ .block_erase = spi_block_erase_c7,
+ }
+ },
+ .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */
+ .unlock = spi_disable_blockprotect,
+ .write = spi_chip_write_256,
+ .read = spi_chip_read, /* Fast read (0x0B) supported */
.voltage = {2700, 3600},
},
@@ -3400,7 +3430,7 @@
.printlock = spi_prettyprint_status_register_plain, /* TODO: improve */
.unlock = spi_disable_blockprotect,
.write = spi_chip_write_256,
- .read = spi_chip_read,
+ .read = spi_chip_read, /* Fast read (0x0B) supported */
.voltage = {2700, 3600},
},
@@ -3434,7 +3464,36 @@
.printlock = spi_prettyprint_status_register_plain, /* TODO: improve */
.unlock = spi_disable_blockprotect,
.write = spi_chip_write_256,
- .read = spi_chip_read,
+ .read = spi_chip_read, /* Fast read (0x0B) supported */
+ .voltage = {2700, 3600},
+ },
+
+ {
+ .vendor = "Eon",
+ .name = "EN25P10",
+ .bustype = BUS_SPI,
+ .manufacture_id = EON_ID_NOPREFIX,
+ .model_id = EON_EN25B10,
+ .total_size = 128,
+ .page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
+ .tested = TEST_UNTESTED,
+ .probe = probe_spi_rdid,
+ .probe_timing = TIMING_ZERO,
+ .block_erasers =
+ {
+ {
+ .eraseblocks = { {32 * 1024, 4} },
+ .block_erase = spi_block_erase_d8,
+ }, {
+ .eraseblocks = { {128 * 1024, 1} },
+ .block_erase = spi_block_erase_c7,
+ }
+ },
+ .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */
+ .unlock = spi_disable_blockprotect,
+ .write = spi_chip_write_256,
+ .read = spi_chip_read, /* Fast read (0x0B) supported */
.voltage = {2700, 3600},
},
@@ -3469,7 +3528,7 @@
.printlock = spi_prettyprint_status_register_plain, /* TODO: improve */
.unlock = spi_disable_blockprotect,
.write = spi_chip_write_256,
- .read = spi_chip_read,
+ .read = spi_chip_read, /* Fast read (0x0B) supported */
.voltage = {2700, 3600},
},
@@ -3504,7 +3563,36 @@
.printlock = spi_prettyprint_status_register_plain, /* TODO: improve */
.unlock = spi_disable_blockprotect,
.write = spi_chip_write_256,
- .read = spi_chip_read,
+ .read = spi_chip_read, /* Fast read (0x0B) supported */
+ .voltage = {2700, 3600},
+ },
+
+ {
+ .vendor = "Eon",
+ .name = "EN25P20",
+ .bustype = BUS_SPI,
+ .manufacture_id = EON_ID_NOPREFIX,
+ .model_id = EON_EN25B20,
+ .total_size = 256,
+ .page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
+ .tested = TEST_UNTESTED,
+ .probe = probe_spi_rdid,
+ .probe_timing = TIMING_ZERO,
+ .block_erasers =
+ {
+ {
+ .eraseblocks = { {64 * 1024, 4} },
+ .block_erase = spi_block_erase_d8,
+ }, {
+ .eraseblocks = { {256 * 1024, 1} },
+ .block_erase = spi_block_erase_c7,
+ }
+ },
+ .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */
+ .unlock = spi_disable_blockprotect,
+ .write = spi_chip_write_256,
+ .read = spi_chip_read, /* Fast read (0x0B) supported */
.voltage = {2700, 3600},
},
@@ -3539,7 +3627,7 @@
.printlock = spi_prettyprint_status_register_plain, /* TODO: improve */
.unlock = spi_disable_blockprotect,
.write = spi_chip_write_256,
- .read = spi_chip_read,
+ .read = spi_chip_read, /* Fast read (0x0B) supported */
.voltage = {2700, 3600},
},
@@ -3574,7 +3662,36 @@
.printlock = spi_prettyprint_status_register_plain, /* TODO: improve */
.unlock = spi_disable_blockprotect,
.write = spi_chip_write_256,
- .read = spi_chip_read,
+ .read = spi_chip_read, /* Fast read (0x0B) supported */
+ .voltage = {2700, 3600},
+ },
+
+ {
+ .vendor = "Eon",
+ .name = "EN25P40",
+ .bustype = BUS_SPI,
+ .manufacture_id = EON_ID_NOPREFIX,
+ .model_id = EON_EN25B40,
+ .total_size = 512,
+ .page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
+ .tested = TEST_UNTESTED,
+ .probe = probe_spi_rdid,
+ .probe_timing = TIMING_ZERO,
+ .block_erasers =
+ {
+ {
+ .eraseblocks = { {64 * 1024, 8} },
+ .block_erase = spi_block_erase_d8,
+ }, {
+ .eraseblocks = { {512 * 1024, 1} },
+ .block_erase = spi_block_erase_c7,
+ }
+ },
+ .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */
+ .unlock = spi_disable_blockprotect,
+ .write = spi_chip_write_256,
+ .read = spi_chip_read, /* Fast read (0x0B) supported */
.voltage = {2700, 3600},
},
@@ -3609,7 +3726,7 @@
.printlock = spi_prettyprint_status_register_plain, /* TODO: improve */
.unlock = spi_disable_blockprotect,
.write = spi_chip_write_256,
- .read = spi_chip_read,
+ .read = spi_chip_read, /* Fast read (0x0B) supported */
.voltage = {2700, 3600},
},
@@ -3644,7 +3761,36 @@
.printlock = spi_prettyprint_status_register_plain, /* TODO: improve */
.unlock = spi_disable_blockprotect,
.write = spi_chip_write_256,
- .read = spi_chip_read,
+ .read = spi_chip_read, /* Fast read (0x0B) supported */
+ .voltage = {2700, 3600},
+ },
+
+ {
+ .vendor = "Eon",
+ .name = "EN25P80",
+ .bustype = BUS_SPI,
+ .manufacture_id = EON_ID_NOPREFIX,
+ .model_id = EON_EN25B80,
+ .total_size = 1024,
+ .page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
+ .tested = TEST_UNTESTED,
+ .probe = probe_spi_rdid,
+ .probe_timing = TIMING_ZERO,
+ .block_erasers =
+ {
+ {
+ .eraseblocks = { {64 * 1024, 16} },
+ .block_erase = spi_block_erase_d8,
+ }, {
+ .eraseblocks = { {1024 * 1024, 1} },
+ .block_erase = spi_block_erase_c7,
+ }
+ },
+ .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */
+ .unlock = spi_disable_blockprotect,
+ .write = spi_chip_write_256,
+ .read = spi_chip_read, /* Fast read (0x0B) supported */
.voltage = {2700, 3600},
},
@@ -3679,7 +3825,7 @@
.printlock = spi_prettyprint_status_register_plain, /* TODO: improve */
.unlock = spi_disable_blockprotect,
.write = spi_chip_write_256,
- .read = spi_chip_read,
+ .read = spi_chip_read, /* Fast read (0x0B) supported */
.voltage = {2700, 3600},
},
@@ -3714,7 +3860,36 @@
.printlock = spi_prettyprint_status_register_plain, /* TODO: improve */
.unlock = spi_disable_blockprotect,
.write = spi_chip_write_256,
- .read = spi_chip_read,
+ .read = spi_chip_read, /* Fast read (0x0B) supported */
+ .voltage = {2700, 3600},
+ },
+
+ {
+ .vendor = "Eon",
+ .name = "EN25P16",
+ .bustype = BUS_SPI,
+ .manufacture_id = EON_ID_NOPREFIX,
+ .model_id = EON_EN25B16,
+ .total_size = 2048,
+ .page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
+ .tested = TEST_UNTESTED,
+ .probe = probe_spi_rdid,
+ .probe_timing = TIMING_ZERO,
+ .block_erasers =
+ {
+ {
+ .eraseblocks = { {64 * 1024, 32} },
+ .block_erase = spi_block_erase_d8,
+ }, {
+ .eraseblocks = { {2 * 1024 * 1024, 1} },
+ .block_erase = spi_block_erase_c7,
+ }
+ },
+ .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */
+ .unlock = spi_disable_blockprotect,
+ .write = spi_chip_write_256,
+ .read = spi_chip_read, /* Fast read (0x0B) supported */
.voltage = {2700, 3600},
},
@@ -3726,7 +3901,8 @@
.model_id = EON_EN25B32,
.total_size = 4096,
.page_size = 256,
- .feature_bits = FEATURE_WRSR_WREN,
+ /* OTP: 512B total; enter 0x3A */
+ .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP,
.tested = TEST_UNTESTED,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
@@ -3749,7 +3925,7 @@
.printlock = spi_prettyprint_status_register_plain, /* TODO: improve */
.unlock = spi_disable_blockprotect,
.write = spi_chip_write_256,
- .read = spi_chip_read,
+ .read = spi_chip_read, /* Fast read (0x0B) supported */
.voltage = {2700, 3600},
},
@@ -3761,7 +3937,8 @@
.model_id = EON_EN25B32,
.total_size = 4096,
.page_size = 256,
- .feature_bits = FEATURE_WRSR_WREN,
+ /* OTP: 512B total; enter 0x3A */
+ .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP,
.tested = TEST_UNTESTED,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
@@ -3784,7 +3961,37 @@
.printlock = spi_prettyprint_status_register_plain, /* TODO: improve */
.unlock = spi_disable_blockprotect,
.write = spi_chip_write_256,
- .read = spi_chip_read,
+ .read = spi_chip_read, /* Fast read (0x0B) supported */
+ .voltage = {2700, 3600},
+ },
+
+ {
+ .vendor = "Eon",
+ .name = "EN25P32", /* Uniform version of EN25B32 */
+ .bustype = BUS_SPI,
+ .manufacture_id = EON_ID_NOPREFIX,
+ .model_id = EON_EN25B32,
+ .total_size = 4096,
+ .page_size = 256,
+ /* OTP: 512B total; enter 0x3A */
+ .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP,
+ .tested = TEST_UNTESTED,
+ .probe = probe_spi_rdid,
+ .probe_timing = TIMING_ZERO,
+ .block_erasers =
+ {
+ {
+ .eraseblocks = { {64 * 1024, 64} },
+ .block_erase = spi_block_erase_d8,
+ }, {
+ .eraseblocks = { {4 * 1024 * 1024, 1} },
+ .block_erase = spi_block_erase_c7,
+ }
+ },
+ .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */
+ .unlock = spi_disable_blockprotect,
+ .write = spi_chip_write_256,
+ .read = spi_chip_read, /* Fast read (0x0B) supported */
.voltage = {2700, 3600},
},
@@ -3796,7 +4003,8 @@
.model_id = EON_EN25B64,
.total_size = 8192,
.page_size = 256,
- .feature_bits = FEATURE_WRSR_WREN,
+ /* OTP: 512B total; enter 0x3A */
+ .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP,
.tested = TEST_UNTESTED,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
@@ -3819,7 +4027,7 @@
.printlock = spi_prettyprint_status_register_plain, /* TODO: improve */
.unlock = spi_disable_blockprotect,
.write = spi_chip_write_256,
- .read = spi_chip_read,
+ .read = spi_chip_read, /* Fast read (0x0B) supported */
.voltage = {2700, 3600},
},
@@ -3831,7 +4039,8 @@
.model_id = EON_EN25B64,
.total_size = 8192,
.page_size = 256,
- .feature_bits = FEATURE_WRSR_WREN,
+ /* OTP: 512B total; enter 0x3A */
+ .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP,
.tested = TEST_UNTESTED,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
@@ -3854,7 +4063,37 @@
.printlock = spi_prettyprint_status_register_plain, /* TODO: improve */
.unlock = spi_disable_blockprotect,
.write = spi_chip_write_256,
- .read = spi_chip_read,
+ .read = spi_chip_read, /* Fast read (0x0B) supported */
+ .voltage = {2700, 3600},
+ },
+
+ {
+ .vendor = "Eon",
+ .name = "EN25P64",
+ .bustype = BUS_SPI,
+ .manufacture_id = EON_ID_NOPREFIX,
+ .model_id = EON_EN25B64,
+ .total_size = 8192,
+ .page_size = 256,
+ /* OTP: 512B total; enter 0x3A */
+ .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP,
+ .tested = TEST_UNTESTED,
+ .probe = probe_spi_rdid,
+ .probe_timing = TIMING_ZERO,
+ .block_erasers =
+ {
+ {
+ .eraseblocks = { {64 * 1024, 128} },
+ .block_erase = spi_block_erase_d8,
+ }, {
+ .eraseblocks = { {8 * 1024 * 1024, 1} },
+ .block_erase = spi_block_erase_c7,
+ }
+ },
+ .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */
+ .unlock = spi_disable_blockprotect,
+ .write = spi_chip_write_256,
+ .read = spi_chip_read, /* Fast read (0x0B) supported */
.voltage = {2700, 3600},
},
Modified: trunk/flashchips.h
==============================================================================
--- trunk/flashchips.h Mon Jan 19 20:52:34 2015 (r1869)
+++ trunk/flashchips.h Sat Jan 24 16:06:27 2015 (r1870)
@@ -237,28 +237,36 @@
*/
#define EON_ID 0x7F1C /* EON Silicon Devices */
#define EON_ID_NOPREFIX 0x1C /* EON, missing 0x7F prefix */
-#define EON_EN25B05 0x2010 /* Same as P05, 2^19 kbit or 2^16 kByte */
+#define EON_EN25B05 0x2010 /* Same as EN25P05, can be distinguished by RES/REMS: */
+#define EON_EN25P05 0x05
#define EON_EN25B05T 0x25
#define EON_EN25B05B 0x95
-#define EON_EN25B10 0x2011 /* Same as P10 */
+#define EON_EN25B10 0x2011 /* Same as EN25P10, can be distinguished by RES/REMS: */
+#define EON_EN25P10 0x10
#define EON_EN25B10T 0x40
#define EON_EN25B10B 0x30
-#define EON_EN25B20 0x2012 /* Same as P20 */
+#define EON_EN25B20 0x2012 /* Same as EN25P20, can be distinguished by RES/REMS: */
+#define EON_EN25P20 0x11
#define EON_EN25B20T 0x41
#define EON_EN25B20B 0x31
-#define EON_EN25B40 0x2013 /* Same as P40 */
+#define EON_EN25B40 0x2013 /* Same as EN25P40, can be distinguished by RES/REMS: */
+#define EON_EN25P40 0x12
#define EON_EN25B40T 0x42
#define EON_EN25B40B 0x32
-#define EON_EN25B80 0x2014 /* Same as P80 */
+#define EON_EN25B80 0x2014 /* Same as EN25P80, can be distinguished by RES/REMS: */
+#define EON_EN25P80 0x13
#define EON_EN25B80T 0x43
#define EON_EN25B80B 0x33
-#define EON_EN25B16 0x2015 /* Same as P16 */
+#define EON_EN25B16 0x2015 /* Same as EN25P16, can be distinguished by RES/REMS: */
+#define EON_EN25P16 0x14
#define EON_EN25B16T 0x44
#define EON_EN25B16B 0x34
-#define EON_EN25B32 0x2016 /* Same as P32 */
+#define EON_EN25B32 0x2016 /* Same as EN25P32, can be distinguished by RES/REMS: */
+#define EON_EN25P32 0x15
#define EON_EN25B32T 0x45
#define EON_EN25B32B 0x35
-#define EON_EN25B64 0x2017 /* Same as P64 */
+#define EON_EN25B64 0x2017 /* Same as EN25P64, can be distinguished by RES/REMS: */
+#define EON_EN25P64 0x16
#define EON_EN25B64T 0x46
#define EON_EN25B64B 0x36
#define EON_EN25F05 0x3110
1
0
flashrom v0.9.5.2-r1546 on Linux 3.2.0-4-amd64 (x86_64)
flashrom is free software, get the source code at http://www.flashrom.org
flashrom was built with libpci 3.1.7, GCC 4.6.2, little endian
Command line (1 args): flashrom -V
Calibrating delay loop... OS timer resolution is 1 usecs, 866M loops per
second, 10 myus = 11 us, 100 myus = 101 us,
1000 myus = 1000 us, 10000 myus = 10021 us, 4 myus = 5 us, OK.
Initializing internal programmer
No coreboot table found.
DMI string system-manufacturer: "Shuttle Inc"
DMI string system-product-name: "SN68S"
DMI string system-version: "V10"
DMI string baseboard-manufacturer: "Shuttle Inc"
DMI string baseboard-product-name: "FN68S"
DMI string baseboard-version: "V10"
DMI string chassis-type: "Desktop"
Found ITE Super I/O, ID 0x8716 on port 0x2e
Found chipset "NVIDIA MCP67" with PCI ID 10de:0548. Enabling flash write...
This chipset is not really supported yet
. Guesswork...
ISA/LPC bridge reg 0x8a contents: 0x00, bit 6 is 0, bit 5 is 0
Flash bus type is LPC
Found SMBus device 10de:0542 at 00:01:1
MCP SPI BAR is at 0x00000000
MCP SPI is not used.
Please send the output of "flashrom -V" to flashrom(a)flashrom.org with
your board name: flashrom -V as the subject to help us finish support for
your
chipset. Thanks.
OK.
No IT87* serial flash segment enabled.
The following protocols are supported: LPC.
Probing for AMIC A49LF040A, 512 kB: probe_jedec_common: id1 0x9d, id2 0x6e
Probing for Atmel AT49LH002, 256 kB: probe_82802ab: id1 0x99, id2 0x32, id1
parity violation, id1 is normal flash co
ntent, id2 is normal flash content
Probing for PMC Pm49FL002, 256 kB: probe_jedec_common: id1 0x9d, id2 0x6e
Probing for PMC Pm49FL004, 512 kB: probe_jedec_common: id1 0x9d, id2 0x6e
Found PMC flash chip "Pm49FL004" (512 kB, LPC, FWH) at physical address
0xfff80000.
Probing for SST SST49LF020, 256 kB: probe_jedec_common: id1 0x9d, id2 0x6e
Probing for SST SST49LF020A, 256 kB: probe_jedec_common: id1 0x9d, id2 0x6e
Probing for SST SST49LF040, 512 kB: probe_jedec_common: id1 0x9d, id2 0x6e
Probing for SST SST49LF040B, 512 kB: probe_jedec_common: id1 0x9d, id2 0x6e
Probing for SST SST49LF080A, 1024 kB: Chip lacks correct probe timing
information, using default 10mS/40uS. probe_je
dec_common: id1 0xff, id2 0xff, id1 parity violation, id1 is normal flash
content, id2 is normal flash content
Probing for SST SST49LF160C, 2048 kB: probe_82802ab: id1 0xff, id2 0xff,
id1 parity violation, id1 is normal flash c
ontent, id2 is normal flash content
Probing for ST M50FLW040A, 512 kB: probe_82802ab: id1 0x49, id2 0x4d, id1
is normal flash content, id2 is normal fla
sh content
Probing for ST M50FLW040B, 512 kB: probe_82802ab: id1 0x49, id2 0x4d, id1
is normal flash content, id2 is normal fla
sh content
Probing for ST M50FLW080A, 1024 kB: probe_82802ab: id1 0xff, id2 0xff, id1
parity violation, id1 is normal flash con
tent, id2 is normal flash content
Probing for ST M50FLW080B, 1024 kB: probe_82802ab: id1 0xff, id2 0xff, id1
parity violation, id1 is normal flash con
tent, id2 is normal flash content
Probing for ST M50LPW116, 2048 kB: probe_82802ab: id1 0xff, id2 0xff, id1
parity violation, id1 is normal flash cont
ent, id2 is normal flash content
Probing for Winbond W39V040A, 512 kB: probe_jedec_common: id1 0x9d, id2 0x6e
Probing for Winbond W39V040B, 512 kB: probe_jedec_common: id1 0x9d, id2 0x6e
Probing for Winbond W39V040C, 512 kB: probe_jedec_common: id1 0x9d, id2 0x6e
Probing for Winbond W39V080A, 1024 kB: probe_jedec_common: id1 0xff, id2
0xff, id1 parity violation, id1 is normal f
lash content, id2 is normal flash content
Probing for Winbond W49V002A, 256 kB: probe_jedec_common: id1 0x9d, id2 0x6e
Found PMC flash chip "Pm49FL004" (512 kB, LPC, FWH).
No operations were specified.
Restoring PCI config space for 00:01:0 reg 0x6d
Restoring PCI config space for 00:01:0 reg 0x90
Restoring PCI config space for 00:01:0 reg 0x8c
Restoring PCI config space for 00:01:0 reg 0x88
1
0
Jan. 22, 2015
Warning: BIOS region SMM protection is enabled!
Warning: Setting Bios Control at 0xdc from 0x2a to 0x09 failed.
New value is 0x2b.
Warning: SPI Configuration Lockdown activated.
FREG0: Warning: Flash Descriptor region (0x00000000-0x00000fff) is
read-only.
FREG2: Warning: Management Engine region (0x00005000-0x0050ffff) is locked.
Not all flash regions are freely accessible by flashrom. This is most likely
due to an active ME. Please see http://flashrom.org/ME for details.
PR0: Warning: 0x00ff0000-0x00ffffff is read-only.
flashrom v0.9.7-r1852 on Linux 3.13.0-32-generic (x86_64)
flashrom is free software, get the source code at http://www.flashrom.org
flashrom was built with libpci 3.2.1, GCC 4.9.1, little endian
Command line (3 args): flashrom -p internal -V
Calibrating delay loop... OS timer resolution is 1 usecs, 2848M loops per
second, 10 myus = 10 us, 100 myus = 95 us, 1000 myus = 952 us, 10000 myus =
9557 us, 4 myus = 4 us, OK.
Initializing internal programmer
No coreboot table found.
Using Internal DMI decoder.
No DMI table found.
W836xx enter config mode worked or we were already in config mode. W836xx
leave config mode had no effect.
Active config mode, unknown reg 0x20 ID: 1c.
Please send the output of "flashrom -V -p internal" to
flashrom(a)flashrom.org with W836xx: your board name: flashrom -V
as the subject to help us finish support for your Super I/O. Thanks.
Found chipset "Intel C60x/X79" with PCI ID 8086:1d41. Enabling flash
write... Root Complex Register Block address = 0xfed1c000
GCS = 0xc2d: BIOS Interface Lock-Down: enabled, Boot BIOS Straps: 0x3 (SPI)
Top Swap: not enabled
0xfff80000/0xffb80000 FWH IDSEL: 0x0
0xfff00000/0xffb00000 FWH IDSEL: 0x0
0xffe80000/0xffa80000 FWH IDSEL: 0x1
0xffe00000/0xffa00000 FWH IDSEL: 0x1
0xffd80000/0xff980000 FWH IDSEL: 0x2
0xffd00000/0xff900000 FWH IDSEL: 0x2
0xffc80000/0xff880000 FWH IDSEL: 0x3
0xffc00000/0xff800000 FWH IDSEL: 0x3
0xff700000/0xff300000 FWH IDSEL: 0x4
0xff600000/0xff200000 FWH IDSEL: 0x5
0xff500000/0xff100000 FWH IDSEL: 0x6
0xff400000/0xff000000 FWH IDSEL: 0x7
0xfff80000/0xffb80000 FWH decode enabled
0xfff00000/0xffb00000 FWH decode enabled
0xffe80000/0xffa80000 FWH decode enabled
0xffe00000/0xffa00000 FWH decode enabled
0xffd80000/0xff980000 FWH decode enabled
0xffd00000/0xff900000 FWH decode enabled
0xffc80000/0xff880000 FWH decode enabled
0xffc00000/0xff800000 FWH decode enabled
0xff700000/0xff300000 FWH decode enabled
0xff600000/0xff200000 FWH decode enabled
0xff500000/0xff100000 FWH decode enabled
0xff400000/0xff000000 FWH decode enabled
Maximum FWH chip size: 0x100000 bytes
SPI Read Configuration: prefetching enabled, caching enabled,
BIOS_CNTL = 0x2b: BIOS Lock Enable: enabled, BIOS Write Enable: enabled
SPIBAR = 0x00007f450768b000 + 0x3800
0x04: 0xe008 (HSFS)
HSFS: FDONE=0, FCERR=0, AEL=0, BERASE=1, SCIP=0, FDOPSS=1, FDV=1, FLOCKDN=1
Reading OPCODES... done
0x06: 0x0000 (HSFC)
HSFC: FGO=0, FCYCLE=0, FDBC=0, SME=0
0x50: 0x00001a1b (FRAP)
BMWAG 0x00, BMRAG 0x00, BRWA 0x1a, BRRA 0x1b
0x54: 0x00000000 0x58: 0x0fff0510 FREG1: BIOS region
(0x00510000-0x00ffffff) is read-write.
0x5C: 0x050f0005 0x60: 0x00020001 FREG3: Gigabit Ethernet region
(0x00001000-0x00002fff) is read-write.
0x64: 0x00040003 FREG4: Platform Data region (0x00003000-0x00004fff) is
read-write.
0x74: 0x8fff0ff0 Writes have been disabled for safety reasons. You can
enforce write
support with the ich_spi_force programmer option, but you will most likely
harm your hardware! If you force flashrom you will get no support if
something breaks. On a few mainboards it is possible to enable write
access by setting a jumper (see its documentation or the board itself).
0x90: 0x84 (SSFS)
SSFS: SCIP=0, FDONE=1, FCERR=0, AEL=0
0x91: 0xfc0000 (SSFC)
SSFC: SCGO=0, ACS=0, SPOP=0, COP=0, DBC=0, SME=0, SCF=4
0x94: 0x0006 (PREOP)
0x96: 0x043b (OPTYPE)
0x98: 0x05200302 (OPMENU)
0x9C: 0x0000019f (OPMENU+4)
0xA0: 0x00000000 (BBAR)
0xC4: 0x00802005 (LVSCC)
LVSCC: BES=0x1, WG=1, WSR=0, WEWS=0, EO=0x20, VCL=1
0xC8: 0x00002005 (UVSCC)
UVSCC: BES=0x1, WG=1, WSR=0, WEWS=0, EO=0x20
0xD0: 0x00000000 (FPB)
OK.
The following protocols are supported: FWH, SPI.
Probing for AMIC A25L05PT, 64 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for AMIC A25L05PU, 64 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for AMIC A25L10PT, 128 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for AMIC A25L10PU, 128 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for AMIC A25L20PT, 256 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for AMIC A25L20PU, 256 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for AMIC A25L40PT, 512 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for AMIC A25L40PU, 512 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for AMIC A25L80P, 1024 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for AMIC A25L16PT, 2048 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for AMIC A25L16PU, 2048 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for AMIC A25L512, 64 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for AMIC A25L010, 128 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for AMIC A25L020, 256 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for AMIC A25L040, 512 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for AMIC A25L080, 1024 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for AMIC A25L016, 2048 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for AMIC A25L032, 4096 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for AMIC A25LQ16, 2048 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for AMIC A25LQ032/A25LQ32A, 4096 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for AMIC A25LQ64, 8192 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Atmel AT25DF021, 256 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Atmel AT25DF041A, 512 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Atmel AT25DF081, 1024 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Atmel AT25DF081A, 1024 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Atmel AT25DF161, 2048 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Atmel AT25DF321, 4096 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Atmel AT25DF321A, 4096 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Atmel AT25DF641(A), 8192 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Atmel AT25DL081, 1024 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Atmel AT25DL161, 2048 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Atmel AT25DQ161, 2048 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Atmel AT25F512, 64 kB: Invalid OPCODE 0x15, will not execute.
Probing for Atmel AT25F512A, 64 kB: Invalid OPCODE 0x15, will not execute.
Probing for Atmel AT25F512B, 64 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Atmel AT25F1024(A), 128 kB: Invalid OPCODE 0x15, will not
execute.
Probing for Atmel AT25F2048, 256 kB: Invalid OPCODE 0x15, will not execute.
Probing for Atmel AT25F4096, 512 kB: Invalid OPCODE 0x15, will not execute.
Probing for Atmel AT25FS010, 128 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Atmel AT25FS040, 512 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Atmel AT26DF041, 512 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Atmel AT26DF081A, 1024 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Atmel AT26DF161, 2048 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Atmel AT26DF161A, 2048 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Atmel AT26F004, 512 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Atmel AT45CS1282, 16896 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Atmel AT45DB011D, 128 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Atmel AT45DB021D, 256 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Atmel AT45DB041D, 512 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Atmel AT45DB081D, 1024 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Atmel AT45DB161D, 2048 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Atmel AT45DB321C, 4224 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Atmel AT45DB321D, 4096 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Atmel AT45DB321E, 4096 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Atmel AT45DB642D, 8192 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for ESMT F25L008A, 1024 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for ESMT F25L32PA, 4096 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25B05, 64 kB: probe_spi_rdid_generic: id1 0xef, id2 0x4018
Probing for Eon EN25B05T, 64 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25B10, 128 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25B10T, 128 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25B20, 256 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25B20T, 256 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25B40, 512 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25B40T, 512 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25B80, 1024 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25B80T, 1024 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25B16, 2048 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25B16T, 2048 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25B32, 4096 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25B32T, 4096 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25B64, 8192 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25B64T, 8192 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25F05, 64 kB: probe_spi_rdid_generic: id1 0xef, id2 0x4018
Probing for Eon EN25F10, 128 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25F20, 256 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25F40, 512 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25F80, 1024 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25F16, 2048 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25F32, 4096 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25F64, 8192 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25Q40, 512 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25Q80(A), 1024 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25Q16, 2048 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25Q32(A/B), 4096 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Eon EN25Q64, 8192 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25Q128, 16384 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25QH16, 2048 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25QH32, 4096 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25QH64, 8192 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25QH128, 16384 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25S10, 128 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25S20, 256 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25S40, 512 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25S80, 1024 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25S16, 2048 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25S32, 4096 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Eon EN25S64, 8192 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for GigaDevice GD25LQ32, 4096 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for GigaDevice GD25Q512, 64 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for GigaDevice GD25Q10, 128 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for GigaDevice GD25Q20(B), 256 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for GigaDevice GD25Q40(B), 512 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for GigaDevice GD25Q80(B), 1024 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for GigaDevice GD25Q16(B), 2048 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for GigaDevice GD25Q32(B), 4096 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for GigaDevice GD25Q64(B), 8192 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for GigaDevice GD25Q128B, 16384 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for GigaDevice GD25T80, 1024 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Intel 25F160S33B8, 2048 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Intel 25F160S33T8, 2048 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Intel 25F320S33B8, 4096 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Intel 25F320S33T8, 4096 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Intel 25F640S33B8, 8192 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Intel 25F640S33T8, 8192 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Macronix MX23L1654, 2048 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Macronix MX23L3254, 4096 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Macronix MX23L6454, 8192 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Macronix MX23L12854, 16384 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Macronix MX25L512(E)/MX25V512(C), 64 kB:
probe_spi_rdid_generic: id1 0xef, id2 0x4018
Probing for Macronix MX25L1005(C)/MX25L1006E, 128 kB:
probe_spi_rdid_generic: id1 0xef, id2 0x4018
Probing for Macronix MX25L2005(C), 256 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Macronix MX25L4005(A/C), 512 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Macronix MX25L8005/MX25V8005, 1024 kB: probe_spi_rdid_generic:
id1 0xef, id2 0x4018
Probing for Macronix MX25L1605, 2048 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Macronix MX25L1605A/MX25L1606E, 2048 kB:
probe_spi_rdid_generic: id1 0xef, id2 0x4018
Probing for Macronix MX25L1605D/MX25L1608D/MX25L1673E, 2048 kB:
probe_spi_rdid_generic: id1 0xef, id2 0x4018
Probing for Macronix MX25L1635D, 2048 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Macronix MX25L1635E, 2048 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Macronix MX25L3205(A), 4096 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Macronix MX25L3205D/MX25L3208D, 4096 kB:
probe_spi_rdid_generic: id1 0xef, id2 0x4018
Probing for Macronix MX25L3206E, 4096 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Macronix MX25L3273E, 4096 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Macronix MX25L3235D, 4096 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Macronix MX25L6405(D), 8192 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Macronix MX25L6406E/MX25L6436E, 8192 kB:
probe_spi_rdid_generic: id1 0xef, id2 0x4018
Probing for Macronix MX25L6445E/MX25L6473E, 8192 kB:
probe_spi_rdid_generic: id1 0xef, id2 0x4018
Probing for Macronix MX25L12805(D), 16384 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Macronix MX25U1635E, 2048 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Macronix MX25U3235E/F, 4096 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Macronix MX25U6435E/F, 8192 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Macronix MX25U12835F, 16384 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Micron/Numonyx/ST M25P05-A, 64 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Micron/Numonyx/ST M25P05, 64 kB: Ignoring RES in favour of RDID.
Probing for Micron/Numonyx/ST M25P10-A, 128 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Micron/Numonyx/ST M25P10, 128 kB: Ignoring RES in favour of
RDID.
Probing for Micron/Numonyx/ST M25P20, 256 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Micron/Numonyx/ST M25P20-old, 256 kB: Ignoring RES in favour of
RDID.
Probing for Micron/Numonyx/ST M25P40, 512 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Micron/Numonyx/ST M25P40-old, 512 kB: Ignoring RES in favour of
RDID.
Probing for Micron/Numonyx/ST M25P80, 1024 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Micron/Numonyx/ST M25P16, 2048 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Micron/Numonyx/ST M25P32, 4096 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Micron/Numonyx/ST M25P64, 8192 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Micron/Numonyx/ST M25P128, 16384 kB: probe_spi_rdid_generic:
id1 0xef, id2 0x4018
Probing for Micron/Numonyx/ST M25PE10, 128 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Micron/Numonyx/ST M25PE20, 256 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Micron/Numonyx/ST M25PE40, 512 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Micron/Numonyx/ST M25PE80, 1024 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Micron/Numonyx/ST M25PE16, 2048 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Micron/Numonyx/ST M25PX80, 1024 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Micron/Numonyx/ST M25PX16, 2048 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Micron/Numonyx/ST M25PX32, 4096 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Micron/Numonyx/ST M25PX64, 8192 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Micron/Numonyx/ST M45PE10, 128 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Micron/Numonyx/ST M45PE20, 256 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Micron/Numonyx/ST M45PE40, 512 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Micron/Numonyx/ST M45PE80, 1024 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Micron/Numonyx/ST M45PE16, 2048 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Micron/Numonyx/ST N25Q016, 2048 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Micron/Numonyx/ST N25Q032..1E, 4096 kB: probe_spi_rdid_generic:
id1 0xef, id2 0x4018
Probing for Micron/Numonyx/ST N25Q032..3E, 4096 kB: probe_spi_rdid_generic:
id1 0xef, id2 0x4018
Probing for Micron/Numonyx/ST N25Q064..1E, 8192 kB: probe_spi_rdid_generic:
id1 0xef, id2 0x4018
Probing for Micron/Numonyx/ST N25Q064..3E, 8192 kB: probe_spi_rdid_generic:
id1 0xef, id2 0x4018
Probing for Micron/Numonyx/ST N25Q128..1E, 16384 kB:
probe_spi_rdid_generic: id1 0xef, id2 0x4018
Probing for Micron/Numonyx/ST N25Q128..3E, 16384 kB:
probe_spi_rdid_generic: id1 0xef, id2 0x4018
Probing for Nantronics N25S10, 128 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Nantronics N25S20, 256 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Nantronics N25S40, 512 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Nantronics N25S80, 1024 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Nantronics N25S16, 2048 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for PMC Pm25LD256C, 32 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for PMC Pm25LD512(C), 64 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for PMC Pm25LD010(C), 128 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for PMC Pm25LD020(C), 256 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for PMC Pm25LD040(C), 512 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for PMC Pm25LV512(A), 64 kB: Invalid OPCODE 0xab, will not execute.
Probing for PMC Pm25LV010, 128 kB: Invalid OPCODE 0xab, will not execute.
Probing for PMC Pm25LV010A, 128 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for PMC Pm25LV020, 256 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for PMC Pm25LV040, 512 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for PMC Pm25LV080B, 1024 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for PMC Pm25LV016B, 2048 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Sanyo LE25FW106, 128 kB: Invalid OPCODE 0xab, will not execute.
Probing for Sanyo LE25FW406A, 512 kB: Invalid OPCODE 0xab, will not execute.
Probing for Sanyo LE25FU406B, 512 kB: Invalid OPCODE 0xab, will not execute.
Probing for Sanyo LE25FW203A, 256 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Sanyo LE25FW403A, 512 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Sanyo LE25FW418A, 512 kB: Invalid OPCODE 0xab, will not execute.
Probing for Sanyo LE25FW806, 1024 kB: Invalid OPCODE 0xab, will not execute.
Probing for Sanyo LE25FW808, 1024 kB: Invalid OPCODE 0xab, will not execute.
Probing for Spansion S25FL004A, 512 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Spansion S25FL008A, 1024 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Spansion S25FL016A, 2048 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Spansion S25FL032A/P, 4096 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Spansion S25FL064A/P, 8192 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Spansion S25FL204K, 512 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Spansion S25FL208K, 1024 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Spansion S25FL116K/S25FL216K, 2048 kB: probe_spi_rdid_generic:
id1 0xef, id2 0x4018
Probing for Spansion S25FL132K, 4096 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Spansion S25FL164K, 8192 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Spansion S25FL128P......0, 16384 kB: probe_spi_rdid_generic:
id1 0xef, id2 0x4018
Probing for Spansion S25FL128P......1, 16384 kB: probe_spi_rdid_generic:
id1 0xef, id2 0x4018
Probing for Spansion S25FL128S......0, 16384 kB: probe_spi_rdid_generic:
id1 0xef, id2 0x4018
Probing for Spansion S25FL128S......1, 16384 kB: probe_spi_rdid_generic:
id1 0xef, id2 0x4018
Probing for Spansion S25FL129P......0, 16384 kB: probe_spi_rdid_generic:
id1 0xef, id2 0x4018
Probing for Spansion S25FL129P......1, 16384 kB: probe_spi_rdid_generic:
id1 0xef, id2 0x4018
Probing for SST SST25LF020A, 256 kB: Invalid OPCODE 0x90, will not execute.
Probing for SST SST25LF040A, 512 kB: Invalid OPCODE 0xab, will not execute.
Probing for SST SST25LF080(A), 1024 kB: Invalid OPCODE 0xab, will not
execute.
Probing for SST SST25VF512(A), 64 kB: Invalid OPCODE 0x90, will not execute.
Probing for SST SST25VF010(A), 128 kB: Invalid OPCODE 0x90, will not
execute.
Probing for SST SST25VF020, 256 kB: Invalid OPCODE 0x90, will not execute.
Probing for SST SST25VF020B, 256 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for SST SST25VF040, 512 kB: Invalid OPCODE 0x90, will not execute.
Probing for SST SST25VF040B, 512 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for SST SST25VF040B.REMS, 512 kB: Invalid OPCODE 0x90, will not
execute.
Probing for SST SST25VF080B, 1024 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for SST SST25VF016B, 2048 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for SST SST25VF032B, 4096 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for SST SST25VF064C, 8192 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for SST SST25WF512, 64 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for SST SST25WF010, 128 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for SST SST25WF020, 256 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for SST SST25WF040, 512 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for SST SST25WF080, 1024 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Winbond W25Q40.V, 512 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Winbond W25Q80.V, 1024 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Winbond W25Q16.V, 2048 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Winbond W25Q32.V, 4096 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Winbond W25Q64.V, 8192 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Winbond W25Q128.V, 16384 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Found Winbond flash chip "W25Q128.V" (16384 kB, SPI) mapped at physical
address 0x00000000ff000000.
Chip status register is 0x00.
Probing for Winbond W25Q20.W, 256 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Winbond W25Q40.W, 512 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Winbond W25Q80.W, 1024 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Winbond W25Q16.W, 2048 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Winbond W25Q32.W, 4096 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Winbond W25Q64.W, 8192 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Winbond W25X10, 128 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Winbond W25X20, 256 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Winbond W25X40, 512 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Winbond W25X80, 1024 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Winbond W25X16, 2048 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Winbond W25X32, 4096 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Winbond W25X64, 8192 kB: probe_spi_rdid_generic: id1 0xef, id2
0x4018
Probing for Unknown SFDP-capable chip, 0 kB: Invalid OPCODE 0x5a, will not
execute.
Receiving SFDP signature failed.
Probing for AMIC unknown AMIC SPI chip, 0 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Atmel unknown Atmel SPI chip, 0 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Eon unknown Eon SPI chip, 0 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Macronix unknown Macronix SPI chip, 0 kB:
probe_spi_rdid_generic: id1 0xef, id2 0x4018
Probing for PMC unknown PMC SPI chip, 0 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for SST unknown SST SPI chip, 0 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for ST unknown ST SPI chip, 0 kB: probe_spi_rdid_generic: id1 0xef,
id2 0x4018
Probing for Sanyo unknown Sanyo SPI chip, 0 kB: probe_spi_rdid_generic: id1
0xef, id2 0x4018
Probing for Winbond unknown Winbond (ex Nexcom) SPI chip, 0 kB:
probe_spi_rdid_generic: id1 0xef, id2 0x4018
Probing for Generic unknown SPI chip (RDID), 0 kB: probe_spi_rdid_generic:
id1 0xef, id2 0x4018
Probing for Generic unknown SPI chip (REMS), 0 kB: Invalid OPCODE 0x90,
will not execute.
Probing for Atmel AT49LH002, 256 kB: probe_82802ab: id1 0xd0, id2 0x2c, id1
is normal flash content, id2 is normal flash content
Probing for Atmel AT49LH00B4, 512 kB: probe_82802ab: id1 0x0f, id2 0x69,
id1 parity violation, id1 is normal flash content, id2 is normal flash
content
Probing for Atmel AT49LH004, 512 kB: probe_82802ab: id1 0x0f, id2 0x69, id1
parity violation, id1 is normal flash content, id2 is normal flash content
Probing for Intel 82802AB, 512 kB: probe_82802ab: id1 0x0f, id2 0x69, id1
parity violation, id1 is normal flash content, id2 is normal flash content
Probing for Intel 82802AC, 1024 kB: probe_82802ab: id1 0x9f, id2 0x40, id1
parity violation, id1 is normal flash content, id2 is normal flash content
Probing for PMC Pm49FL002, 256 kB: probe_jedec_common: id1 0xd0, id2 0x2c,
id1 is normal flash content, id2 is normal flash content
Probing for PMC Pm49FL004, 512 kB: probe_jedec_common: id1 0x0f, id2 0x69,
id1 parity violation, id1 is normal flash content, id2 is normal flash
content
Probing for Sharp LHF00L04, 1024 kB: probe_82802ab: id1 0x9f, id2 0x40, id1
parity violation, id1 is normal flash content, id2 is normal flash content
Probing for SST SST49LF002A/B, 256 kB: probe_jedec_common: id1 0xd0, id2
0x2c, id1 is normal flash content, id2 is normal flash content
Probing for SST SST49LF003A/B, 384 kB: probe_jedec_common: id1 0x0f, id2
0xb6, id1 parity violation, id1 is normal flash content, id2 is normal
flash content
Probing for SST SST49LF004A/B, 512 kB: probe_jedec_common: id1 0x0f, id2
0x69, id1 parity violation, id1 is normal flash content, id2 is normal
flash content
Probing for SST SST49LF004C, 512 kB: probe_82802ab: id1 0x0f, id2 0x69, id1
parity violation, id1 is normal flash content, id2 is normal flash content
Probing for SST SST49LF008A, 1024 kB: probe_jedec_common: id1 0x9f, id2
0x40, id1 parity violation, id1 is normal flash content, id2 is normal
flash content
Probing for SST SST49LF008C, 1024 kB: probe_82802ab: id1 0x9f, id2 0x40,
id1 parity violation, id1 is normal flash content, id2 is normal flash
content
Probing for SST SST49LF016C, 2048 kB: probe_82802ab: id1 0x00, id2 0x00,
id1 parity violation, id1 is normal flash content, id2 is normal flash
content
Probing for ST M50FLW040A, 512 kB: probe_82802ab: id1 0x0f, id2 0x69, id1
parity violation, id1 is normal flash content, id2 is normal flash content
Probing for ST M50FLW040B, 512 kB: probe_82802ab: id1 0x0f, id2 0x69, id1
parity violation, id1 is normal flash content, id2 is normal flash content
Probing for ST M50FLW080A, 1024 kB: probe_82802ab: id1 0x9f, id2 0x40, id1
parity violation, id1 is normal flash content, id2 is normal flash content
Probing for ST M50FLW080B, 1024 kB: probe_82802ab: id1 0x9f, id2 0x40, id1
parity violation, id1 is normal flash content, id2 is normal flash content
Probing for ST M50FW002, 256 kB: probe_82802ab: id1 0xd0, id2 0x2c, id1 is
normal flash content, id2 is normal flash content
Probing for ST M50FW016, 2048 kB: probe_82802ab: id1 0x00, id2 0x00, id1
parity violation, id1 is normal flash content, id2 is normal flash content
Probing for ST M50FW040, 512 kB: probe_82802ab: id1 0x0f, id2 0x69, id1
parity violation, id1 is normal flash content, id2 is normal flash content
Probing for ST M50FW080, 1024 kB: probe_82802ab: id1 0x9f, id2 0x40, id1
parity violation, id1 is normal flash content, id2 is normal flash content
Probing for Winbond W39V040FA, 512 kB: probe_jedec_common: id1 0x0f, id2
0x69, id1 parity violation, id1 is normal flash content, id2 is normal
flash content
Probing for Winbond W39V040FB, 512 kB: probe_jedec_common: id1 0x0f, id2
0x69, id1 parity violation, id1 is normal flash content, id2 is normal
flash content
Probing for Winbond W39V040FC, 512 kB: probe_jedec_common: id1 0x0f, id2
0x69, id1 parity violation, id1 is normal flash content, id2 is normal
flash content
Probing for Winbond W49V002FA, 256 kB: probe_jedec_common: id1 0xd0, id2
0x2c, id1 is normal flash content, id2 is normal flash content
Probing for Winbond W39V080FA, 1024 kB: probe_jedec_common: id1 0x9f, id2
0x40, id1 parity violation, id1 is normal flash content, id2 is normal
flash content
Probing for Winbond W39V080FA (dual mode), 512 kB: probe_jedec_common: id1
0x0f, id2 0x69, id1 parity violation, id1 is normal flash content, id2 is
normal flash content
Found Winbond flash chip "W25Q128.V" (16384 kB, SPI).
This chip may contain one-time programmable memory. flashrom cannot read
and may never be able to write it, hence it may not be able to completely
clone the contents of this chip (see man page for details).
No operations were specified.
Restoring MMIO space at 0x7f450768e8a0
Restoring PCI config space for 00:1f:0 reg 0xdc
1
0
Bios IC is a MX25L12845EMI-10G.
I'm trying to update boot block, but can't even read the contents.
Best Regards
Luiz Renault
Warning: BIOS region SMM protection is enabled!
Warning: Setting Bios Control at 0xdc from 0x2a to 0x09 failed.
New value is 0x2b.
Warning: SPI Configuration Lockdown activated.
FREG0: Warning: Flash Descriptor region (0x00000000-0x00000fff) is
read-only.
FREG2: Warning: Management Engine region (0x00005000-0x0050ffff) is locked.
Not all flash regions are freely accessible by flashrom. This is most likely
due to an active ME. Please see http://flashrom.org/ME for details.
PR0: Warning: 0x00ff0000-0x00ffffff is read-only.
flashrom v0.9.7-r1852 on Linux 3.13.0-32-generic (x86_64)
flashrom is free software, get the source code at http://www.flashrom.org
flashrom was built with libpci 3.2.1, GCC 4.9.1, little endian
Command line (3 args): flashrom -V --programmer internal
Calibrating delay loop... OS timer resolution is 1 usecs, 2844M loops per
second, 10 myus = 9 us, 100 myus = 92 us, 1000 myus = 924 us, 10000 myus =
9200 us, 4 myus = 4 us, OK.
Initializing internal programmer
No coreboot table found.
Using Internal DMI decoder.
No DMI table found.
W836xx enter config mode worked or we were already in config mode. W836xx
leave config mode had no effect.
Active config mode, unknown reg 0x20 ID: 1c.
Please send the output of "flashrom -V -p internal" to
flashrom(a)flashrom.org with W836xx: your board name: flashrom -V
as the subject to help us finish support for your Super I/O. Thanks.
Found chipset "Intel C60x/X79" with PCI ID 8086:1d41. Enabling flash
write... Root Complex Register Block address = 0xfed1c000
GCS = 0xc2d: BIOS Interface Lock-Down: enabled, Boot BIOS Straps: 0x3 (SPI)
Top Swap: not enabled
0xfff80000/0xffb80000 FWH IDSEL: 0x0
0xfff00000/0xffb00000 FWH IDSEL: 0x0
0xffe80000/0xffa80000 FWH IDSEL: 0x1
0xffe00000/0xffa00000 FWH IDSEL: 0x1
0xffd80000/0xff980000 FWH IDSEL: 0x2
0xffd00000/0xff900000 FWH IDSEL: 0x2
0xffc80000/0xff880000 FWH IDSEL: 0x3
0xffc00000/0xff800000 FWH IDSEL: 0x3
0xff700000/0xff300000 FWH IDSEL: 0x4
0xff600000/0xff200000 FWH IDSEL: 0x5
0xff500000/0xff100000 FWH IDSEL: 0x6
0xff400000/0xff000000 FWH IDSEL: 0x7
0xfff80000/0xffb80000 FWH decode enabled
0xfff00000/0xffb00000 FWH decode enabled
0xffe80000/0xffa80000 FWH decode enabled
0xffe00000/0xffa00000 FWH decode enabled
0xffd80000/0xff980000 FWH decode enabled
0xffd00000/0xff900000 FWH decode enabled
0xffc80000/0xff880000 FWH decode enabled
0xffc00000/0xff800000 FWH decode enabled
0xff700000/0xff300000 FWH decode enabled
0xff600000/0xff200000 FWH decode enabled
0xff500000/0xff100000 FWH decode enabled
0xff400000/0xff000000 FWH decode enabled
Maximum FWH chip size: 0x100000 bytes
SPI Read Configuration: prefetching enabled, caching enabled,
BIOS_CNTL = 0x2b: BIOS Lock Enable: enabled, BIOS Write Enable: enabled
SPIBAR = 0x00007fb695338000 + 0x3800
0x04: 0xe008 (HSFS)
HSFS: FDONE=0, FCERR=0, AEL=0, BERASE=1, SCIP=0, FDOPSS=1, FDV=1, FLOCKDN=1
Reading OPCODES... done
0x06: 0x0000 (HSFC)
HSFC: FGO=0, FCYCLE=0, FDBC=0, SME=0
0x50: 0x00001a1b (FRAP)
BMWAG 0x00, BMRAG 0x00, BRWA 0x1a, BRRA 0x1b
0x54: 0x00000000 0x58: 0x0fff0510 FREG1: BIOS region
(0x00510000-0x00ffffff) is read-write.
0x5C: 0x050f0005 0x60: 0x00020001 FREG3: Gigabit Ethernet region
(0x00001000-0x00002fff) is read-write.
0x64: 0x00040003 FREG4: Platform Data region (0x00003000-0x00004fff) is
read-write.
0x74: 0x8fff0ff0 Writes have been disabled for safety reasons. You can
enforce write
support with the ich_spi_force programmer option, but you will most likely
harm your hardware! If you force flashrom you will get no support if
something breaks. On a few mainboards it is possible to enable write
access by setting a jumper (see its documentation or the board itself).
0x90: 0x84 (SSFS)
SSFS: SCIP=0, FDONE=1, FCERR=0, AEL=0
0x91: 0xfc0000 (SSFC)
SSFC: SCGO=0, ACS=0, SPOP=0, COP=0, DBC=0, SME=0, SCF=4
0x94: 0x0006 (PREOP)
0x96: 0x043b (OPTYPE)
0x98: 0x05200302 (OPMENU)
0x9C: 0x0000019f (OPMENU+4)
0xA0: 0x00000000 (BBAR)
0xC4: 0x00802005 (LVSCC)
LVSCC: BES=0x1, WG=1, WSR=0, WEWS=0, EO=0x20, VCL=1
0xC8: 0x00002005 (UVSCC)
UVSCC: BES=0x1, WG=1, WSR=0, WEWS=0, EO=0x20
0xD0: 0x00000000 (FPB)
OK.
The following protocols are supported: FWH, SPI.
Probing for AMIC A25L05PT, 64 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for AMIC A25L05PU, 64 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for AMIC A25L10PT, 128 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for AMIC A25L10PU, 128 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for AMIC A25L20PT, 256 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for AMIC A25L20PU, 256 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for AMIC A25L40PT, 512 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for AMIC A25L40PU, 512 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for AMIC A25L80P, 1024 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for AMIC A25L16PT, 2048 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for AMIC A25L16PU, 2048 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for AMIC A25L512, 64 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for AMIC A25L010, 128 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for AMIC A25L020, 256 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for AMIC A25L040, 512 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for AMIC A25L080, 1024 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for AMIC A25L016, 2048 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for AMIC A25L032, 4096 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for AMIC A25LQ16, 2048 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for AMIC A25LQ032/A25LQ32A, 4096 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for AMIC A25LQ64, 8192 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Atmel AT25DF021, 256 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Atmel AT25DF041A, 512 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Atmel AT25DF081, 1024 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Atmel AT25DF081A, 1024 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Atmel AT25DF161, 2048 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Atmel AT25DF321, 4096 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Atmel AT25DF321A, 4096 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Atmel AT25DF641(A), 8192 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Atmel AT25DL081, 1024 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Atmel AT25DL161, 2048 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Atmel AT25DQ161, 2048 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Atmel AT25F512, 64 kB: Invalid OPCODE 0x15, will not execute.
Probing for Atmel AT25F512A, 64 kB: Invalid OPCODE 0x15, will not execute.
Probing for Atmel AT25F512B, 64 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Atmel AT25F1024(A), 128 kB: Invalid OPCODE 0x15, will not
execute.
Probing for Atmel AT25F2048, 256 kB: Invalid OPCODE 0x15, will not execute.
Probing for Atmel AT25F4096, 512 kB: Invalid OPCODE 0x15, will not execute.
Probing for Atmel AT25FS010, 128 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Atmel AT25FS040, 512 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Atmel AT26DF041, 512 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Atmel AT26DF081A, 1024 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Atmel AT26DF161, 2048 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Atmel AT26DF161A, 2048 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Atmel AT26F004, 512 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Atmel AT45CS1282, 16896 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Atmel AT45DB011D, 128 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Atmel AT45DB021D, 256 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Atmel AT45DB041D, 512 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Atmel AT45DB081D, 1024 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Atmel AT45DB161D, 2048 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Atmel AT45DB321C, 4224 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Atmel AT45DB321D, 4096 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Atmel AT45DB321E, 4096 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Atmel AT45DB642D, 8192 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for ESMT F25L008A, 1024 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for ESMT F25L32PA, 4096 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25B05, 64 kB: probe_spi_rdid_generic: id1 0xc2, id2 0x2018
Probing for Eon EN25B05T, 64 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25B10, 128 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25B10T, 128 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25B20, 256 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25B20T, 256 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25B40, 512 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25B40T, 512 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25B80, 1024 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25B80T, 1024 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25B16, 2048 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25B16T, 2048 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25B32, 4096 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25B32T, 4096 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25B64, 8192 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25B64T, 8192 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25F05, 64 kB: probe_spi_rdid_generic: id1 0xc2, id2 0x2018
Probing for Eon EN25F10, 128 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25F20, 256 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25F40, 512 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25F80, 1024 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25F16, 2048 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25F32, 4096 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25F64, 8192 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25Q40, 512 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25Q80(A), 1024 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25Q16, 2048 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25Q32(A/B), 4096 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Eon EN25Q64, 8192 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25Q128, 16384 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25QH16, 2048 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25QH32, 4096 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25QH64, 8192 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25QH128, 16384 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25S10, 128 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25S20, 256 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25S40, 512 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25S80, 1024 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25S16, 2048 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25S32, 4096 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Eon EN25S64, 8192 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for GigaDevice GD25LQ32, 4096 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for GigaDevice GD25Q512, 64 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for GigaDevice GD25Q10, 128 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for GigaDevice GD25Q20(B), 256 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for GigaDevice GD25Q40(B), 512 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for GigaDevice GD25Q80(B), 1024 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for GigaDevice GD25Q16(B), 2048 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for GigaDevice GD25Q32(B), 4096 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for GigaDevice GD25Q64(B), 8192 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for GigaDevice GD25Q128B, 16384 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for GigaDevice GD25T80, 1024 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Intel 25F160S33B8, 2048 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Intel 25F160S33T8, 2048 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Intel 25F320S33B8, 4096 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Intel 25F320S33T8, 4096 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Intel 25F640S33B8, 8192 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Intel 25F640S33T8, 8192 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Macronix MX23L1654, 2048 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Macronix MX23L3254, 4096 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Macronix MX23L6454, 8192 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Macronix MX23L12854, 16384 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Macronix MX25L512(E)/MX25V512(C), 64 kB:
probe_spi_rdid_generic: id1 0xc2, id2 0x2018
Probing for Macronix MX25L1005(C)/MX25L1006E, 128 kB:
probe_spi_rdid_generic: id1 0xc2, id2 0x2018
Probing for Macronix MX25L2005(C), 256 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Macronix MX25L4005(A/C), 512 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Macronix MX25L8005/MX25V8005, 1024 kB: probe_spi_rdid_generic:
id1 0xc2, id2 0x2018
Probing for Macronix MX25L1605, 2048 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Macronix MX25L1605A/MX25L1606E, 2048 kB:
probe_spi_rdid_generic: id1 0xc2, id2 0x2018
Probing for Macronix MX25L1605D/MX25L1608D/MX25L1673E, 2048 kB:
probe_spi_rdid_generic: id1 0xc2, id2 0x2018
Probing for Macronix MX25L1635D, 2048 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Macronix MX25L1635E, 2048 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Macronix MX25L3205(A), 4096 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Macronix MX25L3205D/MX25L3208D, 4096 kB:
probe_spi_rdid_generic: id1 0xc2, id2 0x2018
Probing for Macronix MX25L3206E, 4096 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Macronix MX25L3273E, 4096 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Macronix MX25L3235D, 4096 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Macronix MX25L6405(D), 8192 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Macronix MX25L6406E/MX25L6436E, 8192 kB:
probe_spi_rdid_generic: id1 0xc2, id2 0x2018
Probing for Macronix MX25L6445E/MX25L6473E, 8192 kB:
probe_spi_rdid_generic: id1 0xc2, id2 0x2018
Probing for Macronix MX25L12805(D), 16384 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Found Macronix flash chip "MX25L12805(D)" (16384 kB, SPI) mapped at
physical address 0x00000000ff000000.
Chip status register is 0x00.
Chip status register: Status Register Write Disable (SRWD, SRP, ...) is not
set
Chip status register: Bit 6 is not set
Chip status register: Block Protect 3 (BP3) is not set
Chip status register: Block Protect 2 (BP2) is not set
Chip status register: Block Protect 1 (BP1) is not set
Chip status register: Block Protect 0 (BP0) is not set
Chip status register: Write Enable Latch (WEL) is not set
Chip status register: Write In Progress (WIP/BUSY) is not set
Probing for Macronix MX25U1635E, 2048 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Macronix MX25U3235E/F, 4096 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Macronix MX25U6435E/F, 8192 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Macronix MX25U12835F, 16384 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Micron/Numonyx/ST M25P05-A, 64 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Micron/Numonyx/ST M25P05, 64 kB: Ignoring RES in favour of RDID.
Probing for Micron/Numonyx/ST M25P10-A, 128 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Micron/Numonyx/ST M25P10, 128 kB: Ignoring RES in favour of
RDID.
Probing for Micron/Numonyx/ST M25P20, 256 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Micron/Numonyx/ST M25P20-old, 256 kB: Ignoring RES in favour of
RDID.
Probing for Micron/Numonyx/ST M25P40, 512 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Micron/Numonyx/ST M25P40-old, 512 kB: Ignoring RES in favour of
RDID.
Probing for Micron/Numonyx/ST M25P80, 1024 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Micron/Numonyx/ST M25P16, 2048 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Micron/Numonyx/ST M25P32, 4096 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Micron/Numonyx/ST M25P64, 8192 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Micron/Numonyx/ST M25P128, 16384 kB: probe_spi_rdid_generic:
id1 0xc2, id2 0x2018
Probing for Micron/Numonyx/ST M25PE10, 128 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Micron/Numonyx/ST M25PE20, 256 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Micron/Numonyx/ST M25PE40, 512 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Micron/Numonyx/ST M25PE80, 1024 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Micron/Numonyx/ST M25PE16, 2048 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Micron/Numonyx/ST M25PX80, 1024 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Micron/Numonyx/ST M25PX16, 2048 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Micron/Numonyx/ST M25PX32, 4096 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Micron/Numonyx/ST M25PX64, 8192 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Micron/Numonyx/ST M45PE10, 128 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Micron/Numonyx/ST M45PE20, 256 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Micron/Numonyx/ST M45PE40, 512 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Micron/Numonyx/ST M45PE80, 1024 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Micron/Numonyx/ST M45PE16, 2048 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Micron/Numonyx/ST N25Q016, 2048 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Micron/Numonyx/ST N25Q032..1E, 4096 kB: probe_spi_rdid_generic:
id1 0xc2, id2 0x2018
Probing for Micron/Numonyx/ST N25Q032..3E, 4096 kB: probe_spi_rdid_generic:
id1 0xc2, id2 0x2018
Probing for Micron/Numonyx/ST N25Q064..1E, 8192 kB: probe_spi_rdid_generic:
id1 0xc2, id2 0x2018
Probing for Micron/Numonyx/ST N25Q064..3E, 8192 kB: probe_spi_rdid_generic:
id1 0xc2, id2 0x2018
Probing for Micron/Numonyx/ST N25Q128..1E, 16384 kB:
probe_spi_rdid_generic: id1 0xc2, id2 0x2018
Probing for Micron/Numonyx/ST N25Q128..3E, 16384 kB:
probe_spi_rdid_generic: id1 0xc2, id2 0x2018
Probing for Nantronics N25S10, 128 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Nantronics N25S20, 256 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Nantronics N25S40, 512 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Nantronics N25S80, 1024 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Nantronics N25S16, 2048 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for PMC Pm25LD256C, 32 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for PMC Pm25LD512(C), 64 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for PMC Pm25LD010(C), 128 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for PMC Pm25LD020(C), 256 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for PMC Pm25LD040(C), 512 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for PMC Pm25LV512(A), 64 kB: Invalid OPCODE 0xab, will not execute.
Probing for PMC Pm25LV010, 128 kB: Invalid OPCODE 0xab, will not execute.
Probing for PMC Pm25LV010A, 128 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for PMC Pm25LV020, 256 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for PMC Pm25LV040, 512 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for PMC Pm25LV080B, 1024 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for PMC Pm25LV016B, 2048 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Sanyo LE25FW106, 128 kB: Invalid OPCODE 0xab, will not execute.
Probing for Sanyo LE25FW406A, 512 kB: Invalid OPCODE 0xab, will not execute.
Probing for Sanyo LE25FU406B, 512 kB: Invalid OPCODE 0xab, will not execute.
Probing for Sanyo LE25FW203A, 256 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Sanyo LE25FW403A, 512 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Sanyo LE25FW418A, 512 kB: Invalid OPCODE 0xab, will not execute.
Probing for Sanyo LE25FW806, 1024 kB: Invalid OPCODE 0xab, will not execute.
Probing for Sanyo LE25FW808, 1024 kB: Invalid OPCODE 0xab, will not execute.
Probing for Spansion S25FL004A, 512 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Spansion S25FL008A, 1024 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Spansion S25FL016A, 2048 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Spansion S25FL032A/P, 4096 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Spansion S25FL064A/P, 8192 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Spansion S25FL204K, 512 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Spansion S25FL208K, 1024 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Spansion S25FL116K/S25FL216K, 2048 kB: probe_spi_rdid_generic:
id1 0xc2, id2 0x2018
Probing for Spansion S25FL132K, 4096 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Spansion S25FL164K, 8192 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Spansion S25FL128P......0, 16384 kB: probe_spi_rdid_generic:
id1 0xc2, id2 0x2018
Probing for Spansion S25FL128P......1, 16384 kB: probe_spi_rdid_generic:
id1 0xc2, id2 0x2018
Probing for Spansion S25FL128S......0, 16384 kB: probe_spi_rdid_generic:
id1 0xc2, id2 0x2018
Probing for Spansion S25FL128S......1, 16384 kB: probe_spi_rdid_generic:
id1 0xc2, id2 0x2018
Probing for Spansion S25FL129P......0, 16384 kB: probe_spi_rdid_generic:
id1 0xc2, id2 0x2018
Probing for Spansion S25FL129P......1, 16384 kB: probe_spi_rdid_generic:
id1 0xc2, id2 0x2018
Probing for SST SST25LF020A, 256 kB: Invalid OPCODE 0x90, will not execute.
Probing for SST SST25LF040A, 512 kB: Invalid OPCODE 0xab, will not execute.
Probing for SST SST25LF080(A), 1024 kB: Invalid OPCODE 0xab, will not
execute.
Probing for SST SST25VF512(A), 64 kB: Invalid OPCODE 0x90, will not execute.
Probing for SST SST25VF010(A), 128 kB: Invalid OPCODE 0x90, will not
execute.
Probing for SST SST25VF020, 256 kB: Invalid OPCODE 0x90, will not execute.
Probing for SST SST25VF020B, 256 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for SST SST25VF040, 512 kB: Invalid OPCODE 0x90, will not execute.
Probing for SST SST25VF040B, 512 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for SST SST25VF040B.REMS, 512 kB: Invalid OPCODE 0x90, will not
execute.
Probing for SST SST25VF080B, 1024 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for SST SST25VF016B, 2048 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for SST SST25VF032B, 4096 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for SST SST25VF064C, 8192 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for SST SST25WF512, 64 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for SST SST25WF010, 128 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for SST SST25WF020, 256 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for SST SST25WF040, 512 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for SST SST25WF080, 1024 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Winbond W25Q40.V, 512 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Winbond W25Q80.V, 1024 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Winbond W25Q16.V, 2048 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Winbond W25Q32.V, 4096 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Winbond W25Q64.V, 8192 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Winbond W25Q128.V, 16384 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Winbond W25Q20.W, 256 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Winbond W25Q40.W, 512 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Winbond W25Q80.W, 1024 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Winbond W25Q16.W, 2048 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Winbond W25Q32.W, 4096 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Winbond W25Q64.W, 8192 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Winbond W25X10, 128 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Winbond W25X20, 256 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Winbond W25X40, 512 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Winbond W25X80, 1024 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Winbond W25X16, 2048 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Winbond W25X32, 4096 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Winbond W25X64, 8192 kB: probe_spi_rdid_generic: id1 0xc2, id2
0x2018
Probing for Unknown SFDP-capable chip, 0 kB: Invalid OPCODE 0x5a, will not
execute.
Receiving SFDP signature failed.
Probing for AMIC unknown AMIC SPI chip, 0 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Atmel unknown Atmel SPI chip, 0 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Eon unknown Eon SPI chip, 0 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Macronix unknown Macronix SPI chip, 0 kB:
probe_spi_rdid_generic: id1 0xc2, id2 0x2018
Probing for PMC unknown PMC SPI chip, 0 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for SST unknown SST SPI chip, 0 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for ST unknown ST SPI chip, 0 kB: probe_spi_rdid_generic: id1 0xc2,
id2 0x2018
Probing for Sanyo unknown Sanyo SPI chip, 0 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x2018
Probing for Winbond unknown Winbond (ex Nexcom) SPI chip, 0 kB:
probe_spi_rdid_generic: id1 0xc2, id2 0x2018
Probing for Generic unknown SPI chip (RDID), 0 kB: probe_spi_rdid_generic:
id1 0xc2, id2 0x2018
Probing for Generic unknown SPI chip (REMS), 0 kB: Invalid OPCODE 0x90,
will not execute.
Probing for Atmel AT49LH002, 256 kB: probe_82802ab: id1 0xd0, id2 0x2c, id1
is normal flash content, id2 is normal flash content
Probing for Atmel AT49LH00B4, 512 kB: probe_82802ab: id1 0x0f, id2 0x69,
id1 parity violation, id1 is normal flash content, id2 is normal flash
content
Probing for Atmel AT49LH004, 512 kB: probe_82802ab: id1 0x0f, id2 0x69, id1
parity violation, id1 is normal flash content, id2 is normal flash content
Probing for Intel 82802AB, 512 kB: probe_82802ab: id1 0x0f, id2 0x69, id1
parity violation, id1 is normal flash content, id2 is normal flash content
Probing for Intel 82802AC, 1024 kB: probe_82802ab: id1 0x9f, id2 0x40, id1
parity violation, id1 is normal flash content, id2 is normal flash content
Probing for PMC Pm49FL002, 256 kB: probe_jedec_common: id1 0xd0, id2 0x2c,
id1 is normal flash content, id2 is normal flash content
Probing for PMC Pm49FL004, 512 kB: probe_jedec_common: id1 0x0f, id2 0x69,
id1 parity violation, id1 is normal flash content, id2 is normal flash
content
Probing for Sharp LHF00L04, 1024 kB: probe_82802ab: id1 0x9f, id2 0x40, id1
parity violation, id1 is normal flash content, id2 is normal flash content
Probing for SST SST49LF002A/B, 256 kB: probe_jedec_common: id1 0xd0, id2
0x2c, id1 is normal flash content, id2 is normal flash content
Probing for SST SST49LF003A/B, 384 kB: probe_jedec_common: id1 0x0f, id2
0xb6, id1 parity violation, id1 is normal flash content, id2 is normal
flash content
Probing for SST SST49LF004A/B, 512 kB: probe_jedec_common: id1 0x0f, id2
0x69, id1 parity violation, id1 is normal flash content, id2 is normal
flash content
Probing for SST SST49LF004C, 512 kB: probe_82802ab: id1 0x0f, id2 0x69, id1
parity violation, id1 is normal flash content, id2 is normal flash content
Probing for SST SST49LF008A, 1024 kB: probe_jedec_common: id1 0x9f, id2
0x40, id1 parity violation, id1 is normal flash content, id2 is normal
flash content
Probing for SST SST49LF008C, 1024 kB: probe_82802ab: id1 0x9f, id2 0x40,
id1 parity violation, id1 is normal flash content, id2 is normal flash
content
Probing for SST SST49LF016C, 2048 kB: probe_82802ab: id1 0x00, id2 0x00,
id1 parity violation, id1 is normal flash content, id2 is normal flash
content
Probing for ST M50FLW040A, 512 kB: probe_82802ab: id1 0x0f, id2 0x69, id1
parity violation, id1 is normal flash content, id2 is normal flash content
Probing for ST M50FLW040B, 512 kB: probe_82802ab: id1 0x0f, id2 0x69, id1
parity violation, id1 is normal flash content, id2 is normal flash content
Probing for ST M50FLW080A, 1024 kB: probe_82802ab: id1 0x9f, id2 0x40, id1
parity violation, id1 is normal flash content, id2 is normal flash content
Probing for ST M50FLW080B, 1024 kB: probe_82802ab: id1 0x9f, id2 0x40, id1
parity violation, id1 is normal flash content, id2 is normal flash content
Probing for ST M50FW002, 256 kB: probe_82802ab: id1 0xd0, id2 0x2c, id1 is
normal flash content, id2 is normal flash content
Probing for ST M50FW016, 2048 kB: probe_82802ab: id1 0x00, id2 0x00, id1
parity violation, id1 is normal flash content, id2 is normal flash content
Probing for ST M50FW040, 512 kB: probe_82802ab: id1 0x0f, id2 0x69, id1
parity violation, id1 is normal flash content, id2 is normal flash content
Probing for ST M50FW080, 1024 kB: probe_82802ab: id1 0x9f, id2 0x40, id1
parity violation, id1 is normal flash content, id2 is normal flash content
Probing for Winbond W39V040FA, 512 kB: probe_jedec_common: id1 0x0f, id2
0x69, id1 parity violation, id1 is normal flash content, id2 is normal
flash content
Probing for Winbond W39V040FB, 512 kB: probe_jedec_common: id1 0x0f, id2
0x69, id1 parity violation, id1 is normal flash content, id2 is normal
flash content
Probing for Winbond W39V040FC, 512 kB: probe_jedec_common: id1 0x0f, id2
0x69, id1 parity violation, id1 is normal flash content, id2 is normal
flash content
Probing for Winbond W49V002FA, 256 kB: probe_jedec_common: id1 0xd0, id2
0x2c, id1 is normal flash content, id2 is normal flash content
Probing for Winbond W39V080FA, 1024 kB: probe_jedec_common: id1 0x9f, id2
0x40, id1 parity violation, id1 is normal flash content, id2 is normal
flash content
Probing for Winbond W39V080FA (dual mode), 512 kB: probe_jedec_common: id1
0x0f, id2 0x69, id1 parity violation, id1 is normal flash content, id2 is
normal flash content
Found Macronix flash chip "MX25L12805(D)" (16384 kB, SPI).
This chip may contain one-time programmable memory. flashrom cannot read
and may never be able to write it, hence it may not be able to completely
clone the contents of this chip (see man page for details).
No operations were specified.
Restoring MMIO space at 0x7fb69533b8a0
Restoring PCI config space for 00:1f:0 reg 0xdc
1
0
Print total size of large chips in Megabytes.
Signed-off-by: Boris Baykov <dev(a)borisbaykov.com>
---
Index: cli_common.c
===================================================================
--- cli_common.c (revision 1869)
+++ cli_common.c (working copy)
@@ -55,10 +55,23 @@
ret[strlen(ret) - 2] = '\0';
ret = realloc(ret, strlen(ret) + 1);
return ret;
}
+char *flashsize_to_text(unsigned int chip_size)
+{
+ char *ret = malloc(100);
+ if(chip_size < 1024) {
+ sprintf(ret, "%d kB", chip_size);
+ } else if(chip_size % 1024 == 0){
+ sprintf(ret, "%d MB", chip_size / 1024);
+ } else {
+ sprintf(ret, "%1.1f MB", (double)chip_size / 1024);
+ }
+ ret = realloc(ret, strlen(ret) + 1);
+ return ret;
+}
void print_chip_support_status(const struct flashchip *chip)
{
if (chip->feature_bits & FEATURE_OTP) {
msg_cdbg("This chip may contain one-time programmable memory. flashrom cannot read\n"
Index: flash.h
===================================================================
--- flash.h (revision 1869)
+++ flash.h (working copy)
@@ -295,10 +295,11 @@
*/
#define ERROR_FLASHROM_LIMIT -201
/* cli_common.c */
char *flashbuses_to_text(enum chipbustype bustype);
+char *flashsize_to_text(unsigned int chip_size);
void print_chip_support_status(const struct flashchip *chip);
/* cli_output.c */
extern int verbose_screen;
extern int verbose_logfile;
Index: flashrom.c
===================================================================
--- flashrom.c (revision 1869)
+++ flashrom.c (working copy)
@@ -1121,18 +1121,21 @@
int probe_flash(struct registered_master *mst, int startchip, struct flashctx *flash, int force)
{
const struct flashchip *chip;
enum chipbustype buses_common;
char *tmp;
+ char *tmp2;
for (chip = flashchips + startchip; chip && chip->name; chip++) {
if (chip_to_probe && strcmp(chip->name, chip_to_probe) != 0)
continue;
buses_common = mst->buses_supported & chip->bustype;
if (!buses_common)
continue;
- msg_gdbg("Probing for %s %s, %d kB: ", chip->vendor, chip->name, chip->total_size);
+ tmp2 = flashsize_to_text(chip->total_size);
+ msg_gdbg("Probing for %s %s, %s: ", chip->vendor, chip->name, tmp2);
+ free(tmp2);
if (!chip->probe && !force) {
msg_gdbg("failed! flashrom has no probe function for this flash chip.\n");
continue;
}
@@ -1202,14 +1205,16 @@
if (!flash->chip)
return -1;
+ tmp2 = flashsize_to_text(flash->chip->total_size);
tmp = flashbuses_to_text(flash->chip->bustype);
- msg_cinfo("%s %s flash chip \"%s\" (%d kB, %s) ", force ? "Assuming" : "Found",
- flash->chip->vendor, flash->chip->name, flash->chip->total_size, tmp);
+ msg_cinfo("%s %s flash chip \"%s\" (%s, %s) ", force ? "Assuming" : "Found",
+ flash->chip->vendor, flash->chip->name, tmp2, tmp);
free(tmp);
+ free(tmp2);
#if CONFIG_INTERNAL == 1
if (programmer_table[programmer].map_flash_region == physmap)
msg_cinfo("mapped at physical address 0x%0*" PRIxPTR ".\n",
PRIxPTR_WIDTH, flash->physical_memory);
else
1
0
Date: Mon, 19 Jan 2015 23:08:59 +0100
Fix the warning below found by Clang’s static analyzer scan-build
3.6 and use `sizeof(unsigned char)` as the size argument.
flashrom.c:1304:23: warning: Result of 'calloc' is converted to a pointer of type 'unsigned char', which is incompatible with sizeof operand type 'char'
unsigned char *buf = calloc(size, sizeof(char));
~~~~~~~~~~~~~~~ ^~~~~~ ~~~~~~~~~~~~
1 warning generated.
Signed-off-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
---
flashrom.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flashrom.c b/flashrom.c
index 9df1478..5ef22b0 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -1301,7 +1301,7 @@ int write_buf_to_file(const unsigned char *buf, unsigned long size, const char *
int read_flash_to_file(struct flashctx *flash, const char *filename)
{
unsigned long size = flash->chip->total_size * 1024;
- unsigned char *buf = calloc(size, sizeof(char));
+ unsigned char *buf = calloc(size, sizeof(unsigned char));
int ret = 0;
msg_cinfo("Reading flash... ");
--
2.1.4
2
1
Date: Mon, 19 Jan 2015 22:51:31 +0100
Address the warning below found by Clang’s static analyzer scan-build
3.6 and remove that assignment.
spi25.c:1163:3: warning: Value stored to 'pos' is never read
pos += pos % 2;
^ ~~~~~~~
1 warning generated.
This was introduced in revision 1211 (Switch all flash chips to partial
write.).
Signed-off-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
---
spi25.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/spi25.c b/spi25.c
index 673bdf5..6c9d0e9 100644
--- a/spi25.c
+++ b/spi25.c
@@ -1157,11 +1157,9 @@ int default_spi_write_aai(struct flashctx *flash, const uint8_t *buf, unsigned i
}
/* Write remaining byte (if any). */
- if (pos < start + len) {
+ if (pos < start + len)
if (spi_chip_write_1(flash, buf + pos - start, pos, pos % 2))
return SPI_GENERIC_ERROR;
- pos += pos % 2;
- }
return 0;
--
2.1.4
2
1