Hi
I have tested Chip "Pm25LD040(C)" with Raspberry Pi (linux_spi).
It is a "Pm25LD040" (without "C").
Chip works fine.

Test Steps:
- Readed
- Erased
- Written Data
- Written Data1 (overwritten)
Data and Data1 generated with "dd" from "/dev/urandom".

Greets
flashrom 0.9.9-115-g25fde40 on Linux 4.9.35-v7+ (armv7l)
flashrom was built with libpci 3.2.1, GCC 4.9.2, little endian
Command line (7 args): ./flashrom -p 
linux_spi:dev=/dev/spidev0.0,spispeed=30000 -c Pm25LD040(C) -VE -o 
Pm25LD040_Erase.txt
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Initializing linux_spi programmer
Using device /dev/spidev0.0
Using 30000 kHz clock
linux_spi_init: Using value from /sys/module/spidev/parameters/bufsiz as max 
buffer size.
linux_spi_init: max_kernel_buf_size: 4096
The following protocols are supported: SPI.
Probing for PMC Pm25LD040(C), 512 kB: probe_spi_rdid_generic: id1 0x7f9d, id2 
0x7e
Found PMC flash chip "Pm25LD040(C)" (512 kB, SPI) on linux_spi.
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: Bit 5 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
===
This flash part has status UNTESTED for operations: PROBE READ ERASE WRITE
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to [email protected] if any of the above operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and mention
which mainboard or programmer you tested in the subject line.
Thanks for your help!
Block protection is disabled.
Erasing and writing flash chip... Trying erase function 0... 
0x000000-0x000fff:E, 0x001000-0x001fff:E, 0x002000-0x002fff:E, 
0x003000-0x003fff:E, 0x004000-0x004fff:E, 0x005000-0x005fff:E, 
0x006000-0x006fff:E, 0x007000-0x007fff:E, 0x008000-0x008fff:E, 
0x009000-0x009fff:E, 0x00a000-0x00afff:E, 0x00b000-0x00bfff:E, 
0x00c000-0x00cfff:E, 0x00d000-0x00dfff:E, 0x00e000-0x00efff:E, 
0x00f000-0x00ffff:E, 0x010000-0x010fff:E, 0x011000-0x011fff:E, 
0x012000-0x012fff:E, 0x013000-0x013fff:E, 0x014000-0x014fff:E, 
0x015000-0x015fff:E, 0x016000-0x016fff:E, 0x017000-0x017fff:E, 
0x018000-0x018fff:E, 0x019000-0x019fff:E, 0x01a000-0x01afff:E, 
0x01b000-0x01bfff:E, 0x01c000-0x01cfff:E, 0x01d000-0x01dfff:E, 
0x01e000-0x01efff:E, 0x01f000-0x01ffff:E, 0x020000-0x020fff:E, 
0x021000-0x021fff:E, 0x022000-0x022fff:E, 0x023000-0x023fff:E, 
0x024000-0x024fff:E, 0x025000-0x025fff:E, 0x026000-0x026fff:E, 
0x027000-0x027fff:E, 0x028000-0x028fff:E, 0x029000-0x029fff:E, 
0x02a000-0x02afff:E, 0x02b000-0x02bfff:E, 0x02c000-0x02cfff:E, 
0x02d000-0x02dfff:E, 0x02e000-0x02efff:E, 0x02f000-0x02ffff:E, 
0x030000-0x030fff:E, 0x031000-0x031fff:E, 0x032000-0x032fff:E, 
0x033000-0x033fff:E, 0x034000-0x034fff:E, 0x035000-0x035fff:E, 
0x036000-0x036fff:E, 0x037000-0x037fff:E, 0x038000-0x038fff:E, 
0x039000-0x039fff:E, 0x03a000-0x03afff:E, 0x03b000-0x03bfff:E, 
0x03c000-0x03cfff:E, 0x03d000-0x03dfff:E, 0x03e000-0x03efff:E, 
0x03f000-0x03ffff:E, 0x040000-0x040fff:E, 0x041000-0x041fff:E, 
0x042000-0x042fff:E, 0x043000-0x043fff:E, 0x044000-0x044fff:E, 
0x045000-0x045fff:E, 0x046000-0x046fff:E, 0x047000-0x047fff:E, 
0x048000-0x048fff:E, 0x049000-0x049fff:E, 0x04a000-0x04afff:E, 
0x04b000-0x04bfff:E, 0x04c000-0x04cfff:E, 0x04d000-0x04dfff:E, 
0x04e000-0x04efff:E, 0x04f000-0x04ffff:E, 0x050000-0x050fff:E, 
0x051000-0x051fff:E, 0x052000-0x052fff:E, 0x053000-0x053fff:E, 
0x054000-0x054fff:E, 0x055000-0x055fff:E, 0x056000-0x056fff:E, 
0x057000-0x057fff:E, 0x058000-0x058fff:E, 0x059000-0x059fff:E, 
0x05a000-0x05afff:E, 0x05b000-0x05bfff:E, 0x05c000-0x05cfff:E, 
0x05d000-0x05dfff:E, 0x05e000-0x05efff:E, 0x05f000-0x05ffff:E, 
0x060000-0x060fff:E, 0x061000-0x061fff:E, 0x062000-0x062fff:E, 
0x063000-0x063fff:E, 0x064000-0x064fff:E, 0x065000-0x065fff:E, 
0x066000-0x066fff:E, 0x067000-0x067fff:E, 0x068000-0x068fff:E, 
0x069000-0x069fff:E, 0x06a000-0x06afff:E, 0x06b000-0x06bfff:E, 
0x06c000-0x06cfff:E, 0x06d000-0x06dfff:E, 0x06e000-0x06efff:E, 
0x06f000-0x06ffff:E, 0x070000-0x070fff:E, 0x071000-0x071fff:E, 
0x072000-0x072fff:E, 0x073000-0x073fff:E, 0x074000-0x074fff:E, 
0x075000-0x075fff:E, 0x076000-0x076fff:E, 0x077000-0x077fff:E, 
0x078000-0x078fff:E, 0x079000-0x079fff:E, 0x07a000-0x07afff:E, 
0x07b000-0x07bfff:E, 0x07c000-0x07cfff:E, 0x07d000-0x07dfff:E, 
0x07e000-0x07efff:E, 0x07f000-0x07ffff:E
Erase/write done.
flashrom 0.9.9-115-g25fde40 on Linux 4.9.35-v7+ (armv7l)
flashrom was built with libpci 3.2.1, GCC 4.9.2, little endian
Command line (8 args): ./flashrom -p 
linux_spi:dev=/dev/spidev0.0,spispeed=30000 -c Pm25LD040(C) -Vr test.rom -o 
Pm25LD040_Read.txt
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Initializing linux_spi programmer
Using device /dev/spidev0.0
Using 30000 kHz clock
linux_spi_init: Using value from /sys/module/spidev/parameters/bufsiz as max 
buffer size.
linux_spi_init: max_kernel_buf_size: 4096
The following protocols are supported: SPI.
Probing for PMC Pm25LD040(C), 512 kB: probe_spi_rdid_generic: id1 0x7f9d, id2 
0x7e
Found PMC flash chip "Pm25LD040(C)" (512 kB, SPI) on linux_spi.
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: Bit 5 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
===
This flash part has status UNTESTED for operations: PROBE READ ERASE WRITE
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to [email protected] if any of the above operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and mention
which mainboard or programmer you tested in the subject line.
Thanks for your help!
Block protection is disabled.
Reading flash... done.
flashrom 0.9.9-115-g25fde40 on Linux 4.9.35-v7+ (armv7l)
flashrom was built with libpci 3.2.1, GCC 4.9.2, little endian
Command line (8 args): ./flashrom -p 
linux_spi:dev=/dev/spidev0.0,spispeed=30000 -c Pm25LD040(C) -Vw data.rom -o 
Pm25LD040_Write.txt
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Initializing linux_spi programmer
Using device /dev/spidev0.0
Using 30000 kHz clock
linux_spi_init: Using value from /sys/module/spidev/parameters/bufsiz as max 
buffer size.
linux_spi_init: max_kernel_buf_size: 4096
The following protocols are supported: SPI.
Probing for PMC Pm25LD040(C), 512 kB: probe_spi_rdid_generic: id1 0x7f9d, id2 
0x7e
Found PMC flash chip "Pm25LD040(C)" (512 kB, SPI) on linux_spi.
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: Bit 5 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
===
This flash part has status UNTESTED for operations: PROBE READ ERASE WRITE
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to [email protected] if any of the above operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and mention
which mainboard or programmer you tested in the subject line.
Thanks for your help!
Block protection is disabled.
Reading old flash chip contents... done.
Erasing and writing flash chip... Trying erase function 0... 
0x000000-0x000fff:W, 0x001000-0x001fff:W, 0x002000-0x002fff:W, 
0x003000-0x003fff:W, 0x004000-0x004fff:W, 0x005000-0x005fff:W, 
0x006000-0x006fff:W, 0x007000-0x007fff:W, 0x008000-0x008fff:W, 
0x009000-0x009fff:W, 0x00a000-0x00afff:W, 0x00b000-0x00bfff:W, 
0x00c000-0x00cfff:W, 0x00d000-0x00dfff:W, 0x00e000-0x00efff:W, 
0x00f000-0x00ffff:W, 0x010000-0x010fff:W, 0x011000-0x011fff:W, 
0x012000-0x012fff:W, 0x013000-0x013fff:W, 0x014000-0x014fff:W, 
0x015000-0x015fff:W, 0x016000-0x016fff:W, 0x017000-0x017fff:W, 
0x018000-0x018fff:W, 0x019000-0x019fff:W, 0x01a000-0x01afff:W, 
0x01b000-0x01bfff:W, 0x01c000-0x01cfff:W, 0x01d000-0x01dfff:W, 
0x01e000-0x01efff:W, 0x01f000-0x01ffff:W, 0x020000-0x020fff:W, 
0x021000-0x021fff:W, 0x022000-0x022fff:W, 0x023000-0x023fff:W, 
0x024000-0x024fff:W, 0x025000-0x025fff:W, 0x026000-0x026fff:W, 
0x027000-0x027fff:W, 0x028000-0x028fff:W, 0x029000-0x029fff:W, 
0x02a000-0x02afff:W, 0x02b000-0x02bfff:W, 0x02c000-0x02cfff:W, 
0x02d000-0x02dfff:W, 0x02e000-0x02efff:W, 0x02f000-0x02ffff:W, 
0x030000-0x030fff:W, 0x031000-0x031fff:W, 0x032000-0x032fff:W, 
0x033000-0x033fff:W, 0x034000-0x034fff:W, 0x035000-0x035fff:W, 
0x036000-0x036fff:W, 0x037000-0x037fff:W, 0x038000-0x038fff:W, 
0x039000-0x039fff:W, 0x03a000-0x03afff:W, 0x03b000-0x03bfff:W, 
0x03c000-0x03cfff:W, 0x03d000-0x03dfff:W, 0x03e000-0x03efff:W, 
0x03f000-0x03ffff:W, 0x040000-0x040fff:W, 0x041000-0x041fff:W, 
0x042000-0x042fff:W, 0x043000-0x043fff:W, 0x044000-0x044fff:W, 
0x045000-0x045fff:W, 0x046000-0x046fff:W, 0x047000-0x047fff:W, 
0x048000-0x048fff:W, 0x049000-0x049fff:W, 0x04a000-0x04afff:W, 
0x04b000-0x04bfff:W, 0x04c000-0x04cfff:W, 0x04d000-0x04dfff:W, 
0x04e000-0x04efff:W, 0x04f000-0x04ffff:W, 0x050000-0x050fff:W, 
0x051000-0x051fff:W, 0x052000-0x052fff:W, 0x053000-0x053fff:W, 
0x054000-0x054fff:W, 0x055000-0x055fff:W, 0x056000-0x056fff:W, 
0x057000-0x057fff:W, 0x058000-0x058fff:W, 0x059000-0x059fff:W, 
0x05a000-0x05afff:W, 0x05b000-0x05bfff:W, 0x05c000-0x05cfff:W, 
0x05d000-0x05dfff:W, 0x05e000-0x05efff:W, 0x05f000-0x05ffff:W, 
0x060000-0x060fff:W, 0x061000-0x061fff:W, 0x062000-0x062fff:W, 
0x063000-0x063fff:W, 0x064000-0x064fff:W, 0x065000-0x065fff:W, 
0x066000-0x066fff:W, 0x067000-0x067fff:W, 0x068000-0x068fff:W, 
0x069000-0x069fff:W, 0x06a000-0x06afff:W, 0x06b000-0x06bfff:W, 
0x06c000-0x06cfff:W, 0x06d000-0x06dfff:W, 0x06e000-0x06efff:W, 
0x06f000-0x06ffff:W, 0x070000-0x070fff:W, 0x071000-0x071fff:W, 
0x072000-0x072fff:W, 0x073000-0x073fff:W, 0x074000-0x074fff:W, 
0x075000-0x075fff:W, 0x076000-0x076fff:W, 0x077000-0x077fff:W, 
0x078000-0x078fff:W, 0x079000-0x079fff:W, 0x07a000-0x07afff:W, 
0x07b000-0x07bfff:W, 0x07c000-0x07cfff:W, 0x07d000-0x07dfff:W, 
0x07e000-0x07efff:W, 0x07f000-0x07ffff:W
Erase/write done.
Verifying flash... VERIFIED.
flashrom 0.9.9-115-g25fde40 on Linux 4.9.35-v7+ (armv7l)
flashrom was built with libpci 3.2.1, GCC 4.9.2, little endian
Command line (8 args): ./flashrom -p 
linux_spi:dev=/dev/spidev0.0,spispeed=30000 -c Pm25LD040(C) -Vw data1.rom -o 
Pm25LD040_Write1.txt
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Initializing linux_spi programmer
Using device /dev/spidev0.0
Using 30000 kHz clock
linux_spi_init: Using value from /sys/module/spidev/parameters/bufsiz as max 
buffer size.
linux_spi_init: max_kernel_buf_size: 4096
The following protocols are supported: SPI.
Probing for PMC Pm25LD040(C), 512 kB: probe_spi_rdid_generic: id1 0x7f9d, id2 
0x7e
Found PMC flash chip "Pm25LD040(C)" (512 kB, SPI) on linux_spi.
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: Bit 5 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
===
This flash part has status UNTESTED for operations: PROBE READ ERASE WRITE
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to [email protected] if any of the above operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and mention
which mainboard or programmer you tested in the subject line.
Thanks for your help!
Block protection is disabled.
Reading old flash chip contents... done.
Erasing and writing flash chip... Trying erase function 0... 
0x000000-0x000fff:EW, 0x001000-0x001fff:EW, 0x002000-0x002fff:EW, 
0x003000-0x003fff:EW, 0x004000-0x004fff:EW, 0x005000-0x005fff:EW, 
0x006000-0x006fff:EW, 0x007000-0x007fff:EW, 0x008000-0x008fff:EW, 
0x009000-0x009fff:EW, 0x00a000-0x00afff:EW, 0x00b000-0x00bfff:EW, 
0x00c000-0x00cfff:EW, 0x00d000-0x00dfff:EW, 0x00e000-0x00efff:EW, 
0x00f000-0x00ffff:EW, 0x010000-0x010fff:EW, 0x011000-0x011fff:EW, 
0x012000-0x012fff:EW, 0x013000-0x013fff:EW, 0x014000-0x014fff:EW, 
0x015000-0x015fff:EW, 0x016000-0x016fff:EW, 0x017000-0x017fff:EW, 
0x018000-0x018fff:EW, 0x019000-0x019fff:EW, 0x01a000-0x01afff:EW, 
0x01b000-0x01bfff:EW, 0x01c000-0x01cfff:EW, 0x01d000-0x01dfff:EW, 
0x01e000-0x01efff:EW, 0x01f000-0x01ffff:EW, 0x020000-0x020fff:EW, 
0x021000-0x021fff:EW, 0x022000-0x022fff:EW, 0x023000-0x023fff:EW, 
0x024000-0x024fff:EW, 0x025000-0x025fff:EW, 0x026000-0x026fff:EW, 
0x027000-0x027fff:EW, 0x028000-0x028fff:EW, 0x029000-0x029fff:EW, 
0x02a000-0x02afff:EW, 0x02b000-0x02bfff:EW, 0x02c000-0x02cfff:EW, 
0x02d000-0x02dfff:EW, 0x02e000-0x02efff:EW, 0x02f000-0x02ffff:EW, 
0x030000-0x030fff:EW, 0x031000-0x031fff:EW, 0x032000-0x032fff:EW, 
0x033000-0x033fff:EW, 0x034000-0x034fff:EW, 0x035000-0x035fff:EW, 
0x036000-0x036fff:EW, 0x037000-0x037fff:EW, 0x038000-0x038fff:EW, 
0x039000-0x039fff:EW, 0x03a000-0x03afff:EW, 0x03b000-0x03bfff:EW, 
0x03c000-0x03cfff:EW, 0x03d000-0x03dfff:EW, 0x03e000-0x03efff:EW, 
0x03f000-0x03ffff:EW, 0x040000-0x040fff:EW, 0x041000-0x041fff:EW, 
0x042000-0x042fff:EW, 0x043000-0x043fff:EW, 0x044000-0x044fff:EW, 
0x045000-0x045fff:EW, 0x046000-0x046fff:EW, 0x047000-0x047fff:EW, 
0x048000-0x048fff:EW, 0x049000-0x049fff:EW, 0x04a000-0x04afff:EW, 
0x04b000-0x04bfff:EW, 0x04c000-0x04cfff:EW, 0x04d000-0x04dfff:EW, 
0x04e000-0x04efff:EW, 0x04f000-0x04ffff:EW, 0x050000-0x050fff:EW, 
0x051000-0x051fff:EW, 0x052000-0x052fff:EW, 0x053000-0x053fff:EW, 
0x054000-0x054fff:EW, 0x055000-0x055fff:EW, 0x056000-0x056fff:EW, 
0x057000-0x057fff:EW, 0x058000-0x058fff:EW, 0x059000-0x059fff:EW, 
0x05a000-0x05afff:EW, 0x05b000-0x05bfff:EW, 0x05c000-0x05cfff:EW, 
0x05d000-0x05dfff:EW, 0x05e000-0x05efff:EW, 0x05f000-0x05ffff:EW, 
0x060000-0x060fff:EW, 0x061000-0x061fff:EW, 0x062000-0x062fff:EW, 
0x063000-0x063fff:EW, 0x064000-0x064fff:EW, 0x065000-0x065fff:EW, 
0x066000-0x066fff:EW, 0x067000-0x067fff:EW, 0x068000-0x068fff:EW, 
0x069000-0x069fff:EW, 0x06a000-0x06afff:EW, 0x06b000-0x06bfff:EW, 
0x06c000-0x06cfff:EW, 0x06d000-0x06dfff:EW, 0x06e000-0x06efff:EW, 
0x06f000-0x06ffff:EW, 0x070000-0x070fff:EW, 0x071000-0x071fff:EW, 
0x072000-0x072fff:EW, 0x073000-0x073fff:EW, 0x074000-0x074fff:EW, 
0x075000-0x075fff:EW, 0x076000-0x076fff:EW, 0x077000-0x077fff:EW, 
0x078000-0x078fff:EW, 0x079000-0x079fff:EW, 0x07a000-0x07afff:EW, 
0x07b000-0x07bfff:EW, 0x07c000-0x07cfff:EW, 0x07d000-0x07dfff:EW, 
0x07e000-0x07efff:EW, 0x07f000-0x07ffff:EW
Erase/write done.
Verifying flash... VERIFIED.
_______________________________________________
flashrom mailing list
[email protected]
https://mail.coreboot.org/mailman/listinfo/flashrom

Reply via email to