--------------------------------------------------------------------------------
Read 1 original memory.
$ time flashrom --programmer ch341a_spi --chip "GD25Q40(B)" --read
SAMSUNG-LS23C350H-00-original-GD25Q40B.bin -V
flashrom v1.0 on Linux 4.20.3-gentoo (x86_64)
flashrom is free software, get the source code at https://flashrom.org
flashrom was built with libpci 3.6.2, GCC 8.2.0, little endian
Command line (7 args): flashrom --programmer ch341a_spi --chip
GD25Q40(B) --read SAMSUNG-LS23C350H-00-original-GD25Q40B.bin -V
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Initializing ch341a_spi programmer
Device revision is 3.0.4
The following protocols are supported: SPI.
Probing for GigaDevice GD25Q40(B), 512 kB: probe_spi_rdid_generic: id1
0xc8, id2 0x4013
Found GigaDevice flash chip "GD25Q40(B)" (512 kB, SPI) on ch341a_spi.
Chip status register is 0x00.
Chip status register: Status Register Write Disable (SRWD, SRP, ...) is
not set
Chip status register: Block Protect 4 (BP4) 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
===
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!
Reading flash... done.
real 0m4,524s
user 0m0,191s
sys 0m0,006s
--------------------------------------------------------------------------------
Read 2 original memory.
$ time flashrom --programmer ch341a_spi --chip "GD25Q40(B)" --read
SAMSUNG-LS23C350H-01-original-GD25Q40B.bin -V
flashrom v1.0 on Linux 4.20.3-gentoo (x86_64)
flashrom is free software, get the source code at https://flashrom.org
flashrom was built with libpci 3.6.2, GCC 8.2.0, little endian
Command line (7 args): flashrom --programmer ch341a_spi --chip
GD25Q40(B) --read SAMSUNG-LS23C350H-01-original-GD25Q40B.bin -V
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Initializing ch341a_spi programmer
Device revision is 3.0.4
The following protocols are supported: SPI.
Probing for GigaDevice GD25Q40(B), 512 kB: probe_spi_rdid_generic: id1
0xc8, id2 0x4013
Found GigaDevice flash chip "GD25Q40(B)" (512 kB, SPI) on ch341a_spi.
Chip status register is 0x00.
Chip status register: Status Register Write Disable (SRWD, SRP, ...) is
not set
Chip status register: Block Protect 4 (BP4) 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
===
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!
Reading flash... done.
real 0m4,542s
user 0m0,187s
sys 0m0,006s
--------------------------------------------------------------------------------
List and compare the two reads.
$ ls -l SAMSUNG-LS23C350H-0?-original-GD25Q40B.bin
-rw-r--r-- 1 nestor nestor 524288 ene 23 03:38
SAMSUNG-LS23C350H-00-original-GD25Q40B.bin
-rw-r--r-- 1 nestor nestor 524288 ene 23 03:40
SAMSUNG-LS23C350H-01-original-GD25Q40B.bin
$ ls -lh SAMSUNG-LS23C350H-0?-original-GD25Q40B.bin
-rw-r--r-- 1 nestor nestor 512K ene 23 03:38
SAMSUNG-LS23C350H-00-original-GD25Q40B.bin
-rw-r--r-- 1 nestor nestor 512K ene 23 03:40
SAMSUNG-LS23C350H-01-original-GD25Q40B.bin
$ cmp SAMSUNG-LS23C350H-00-original-GD25Q40B.bin
SAMSUNG-LS23C350H-01-original-GD25Q40B.bin -b
All ok, the compare are equals.
$ eix -I flashrom
[I] sys-apps/flashrom
Available versions: 0.9.6.1 0.9.7 0.9.8 (~)0.9.9 (~)1.0 **9999
{atahpt +atapromise +atavia +bitbang_spi +buspirate_spi +ch341a_spi
(+)dediprog +developerbox_spi +digilent_spi doc +drkaiser +dummy
(+)ft2232_spi +gfxnvidia +internal +internal_dmi +it8212 +linux_mtd
+linux_spi mstarddc_spi +nic3com +nicintel +nicintel_eeprom
+nicintel_spi nicnatsemi (+)nicrealtek +ogp_spi +pickit2_spi +pony_spi
(+)rayer_spi (+)satamv +satasii +serprog static tools usbblaster
+usbblaster_spi +wiki}
Installed versions: 1.0(03:41:50 07/11/18)(buspirate_spi
ch341a_spi dummy ft2232_spi internal internal_dmi linux_spi pickit2_spi
pony_spi serprog tools wiki -atahpt -atapromise -atavia -dediprog
-drkaiser -gfxnvidia -it8212 -mstarddc_spi -nic3com -nicintel
-nicintel_eeprom -nicintel_spi -nicnatsemi -nicrealtek -ogp_spi
-rayer_spi -satamv -satasii -static -usbblaster_spi)
Homepage: https://flashrom.org/
Description: Utility for reading, writing, erasing and
verifying flash ROM chips
I'am gentoo testing branck ~amd64 and I have ch341a and buspirate 3.5c,
my motherboard is Gigabyte GA-990FXA-UD7 r1.00 with AMD FX8350 processor.
Regards and thaks for make flashrom great!
_______________________________________________
flashrom mailing list -- [email protected]
To unsubscribe send an email to [email protected]