[flashrom] add Numonyx/Micron N25Q128

frederic.temporelli at bull.net frederic.temporelli at bull.net
Sat Jun 9 14:51:15 CEST 2012


Hello


Numonyx/Micron N25Q128 is used on new X9 motherboards from Supermicro (X9DRT, ...)

Specs are availbale on Micron WWW site:
http://www.micron.com/~/media/Documents/Products/Data%20Sheet/NOR%20Flash/Serial%20NOR/N25Q/N25Q_128_3_Volt_with_boot_sector.pdf

Following patch add this chip to flashrom. Probe is OK.
Due to Manageability Engine, some work is required before being able to test READ/ERASE/WRITE...

=================================================================================
Signed-off-by: Frederic Temporelli <frederic.temporelli at bull.net>

diff -urN flashrom-0.9.5.2-r1540/flashchips.c flashrom-0.9.5.2-r1540-n25q128/flashchips.c
--- flashrom-0.9.5.2-r1540/flashchips.c 2012-05-20 23:32:32.000000000 +0000
+++ flashrom-0.9.5.2-r1540-n25q128/flashchips.c 2012-06-09 14:41:07.064141076 +0000
@@ -5453,6 +5453,37 @@
        },

        {
+               .vendor         = "Numonyx",
+               .name           = "N25Q128",
+               .bustype        = BUS_SPI,
+               .manufacture_id = ST_ID,
+               .model_id       = ST_N25Q128,
+               .total_size     = 16384,
+               .page_size      = 256,
+               .feature_bits   = FEATURE_WRSR_WREN | FEATURE_OTP,
+               .tested         = TEST_OK_PROBE,
+               .probe          = probe_spi_rdid,
+               .probe_timing   = TIMING_ZERO,
+               .block_erasers  =
+               {
+                       {
+                               .eraseblocks = { {4 * 1024, 4096 } },
+                               .block_erase = spi_block_erase_20,
+                       }, {
+                               .eraseblocks = { {64 * 1024, 256} },
+                               .block_erase = spi_block_erase_d8,
+                       }, {
+                               .eraseblocks = { {16 * 1024 * 1024, 1} },
+                               .block_erase = spi_block_erase_c7,
+                       }
+               },
+               .unlock         = spi_disable_blockprotect,
+               .write          = spi_chip_write_256,
+               .read           = spi_chip_read,
+       },
+
+
+       {
                .vendor         = "PMC",
                .name           = "Pm25LV010",
                .bustype        = BUS_SPI,
diff -urN flashrom-0.9.5.2-r1540/flashchips.h flashrom-0.9.5.2-r1540-n25q128/flashchips.h
--- flashrom-0.9.5.2-r1540/flashchips.h 2012-05-14 01:51:46.000000000 +0000
+++ flashrom-0.9.5.2-r1540-n25q128/flashchips.h 2012-06-08 20:46:47.225385676 +0000
@@ -587,6 +587,7 @@
 #define ST_M29W040B            0xE3
 #define ST_M29W512B            0x27
 #define ST_N25Q064             0xBA17
+#define ST_N25Q128             0xBA18  /* also Numonyx N25Q128 */

 #define SYNCMOS_MVC_ID         0x40    /* SyncMOS (SM) and Mosel Vitelic Corporation (MVC) */
 #define MVC_V29C51000T         0x00
=================================================================================








More information about the flashrom mailing list