.
Hi Flashrom,
I have a Winbond W25Q16 that i can read and write ok on raspberry pi 2b
I've now tried the same process using a pi-400 and since now flashrom returns with unusual response(s) - writing and reading seems to work though..? (identical contents on rewrite) - btw : i am using WiringPi sysfs from bash to control the spi pins using a std 'bus pirate' ribbon to header cable
here the flashrom response...
Programming the SPI-Flash...
flashrom unknown on Linux 6.6.51+rpt-rpi-v8 (aarch64) flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns). === SFDP has autodetected a flash chip which is not natively supported by flashrom yet. All standard operations (read, verify, erase and write) should work, but to support all possible features we need to add them manually. You can help us by mailing us the output of the following command to flashrom@flashrom.org: 'flashrom -VV [plus the -p/--programmer parameter]' Thanks for your help! === Found Unknown flash chip "SFDP-capable chip" (2048 kB, SPI) on linux_spi. === This flash part has status UNTESTED for operations: WP 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 flashrom@flashrom.org 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 old flash chip contents... done. Erasing and writing flash chip... Warning: Chip content is identical to the requested image. Erase/write done.
Programming the SPI-Flash done.
i tried 1/4 speed but no change
then i performed (as suggested)
flashrom -VV --programmer dummy
- please see the attached file - and advise...
Best Regards & Wishes
frans
.
Hello Frans,
Which response you mean is unusual, do you mean this one "Warning: Chip content is identical to the requested image." ? Maybe it is identical?
What is the full command line that you run?
On Thu, Mar 6, 2025 at 6:42 PM Frans Peens via flashrom flashrom@flashrom.org wrote:
.
Hi Flashrom,
I have a Winbond W25Q16 that i can read and write ok on raspberry pi 2b
I've now tried the same process using a pi-400 and since now flashrom returns with unusual response(s)
- writing and reading seems to work though..? (identical contents on rewrite)
- btw : i am using WiringPi sysfs from bash to control the spi pins using a std 'bus pirate' ribbon to header cable
here the flashrom response...
Programming the SPI-Flash...
flashrom unknown on Linux 6.6.51+rpt-rpi-v8 (aarch64) flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
SFDP has autodetected a flash chip which is not natively supported by flashrom yet. All standard operations (read, verify, erase and write) should work, but to support all possible features we need to add them manually. You can help us by mailing us the output of the following command to flashrom@flashrom.org: 'flashrom -VV [plus the -p/--programmer parameter]' Thanks for your help! === Found Unknown flash chip "SFDP-capable chip" (2048 kB, SPI) on linux_spi. === This flash part has status UNTESTED for operations: WP 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 flashrom@flashrom.org 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 old flash chip contents... done. Erasing and writing flash chip... Warning: Chip content is identical to the requested image. Erase/write done.
Programming the SPI-Flash done.
i tried 1/4 speed but no change
then i performed (as suggested)
flashrom -VV --programmer dummy
- please see the attached file
- and advise...
Best Regards & Wishes
frans
._______________________________________________ flashrom mailing list -- flashrom@flashrom.org To unsubscribe send an email to flashrom-leave@flashrom.org
It looks to me like your communication isn't working at all, since your log looks like you're reading all ones: "id1 0xff, id2 0xff, id1 parity violation" appears for every chip that it's probing for, and the "parity violation" part in particular looks like a communication error.
On Tue, Feb 18, 2025 at 12:28 AM Frans Peens via flashrom < flashrom@flashrom.org> wrote:
.
Hi Flashrom,
I have a Winbond W25Q16 that i can read and write ok on raspberry pi 2b
I've now tried the same process using a pi-400 and since now flashrom returns with unusual response(s)
- writing and reading seems to work though..? (identical contents on
rewrite)
- btw : i am using WiringPi sysfs from bash to control the spi pins using
a std 'bus pirate' ribbon to header cable
here the flashrom response...
Programming the SPI-Flash...
flashrom unknown on Linux 6.6.51+rpt-rpi-v8 (aarch64) flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
SFDP has autodetected a flash chip which is not natively supported by flashrom yet. All standard operations (read, verify, erase and write) should work, but to support all possible features we need to add them manually. You can help us by mailing us the output of the following command to flashrom@flashrom.org: 'flashrom -VV [plus the -p/--programmer parameter]' Thanks for your help! === Found Unknown flash chip "SFDP-capable chip" (2048 kB, SPI) on linux_spi. === This flash part has status UNTESTED for operations: WP 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 flashrom@flashrom.org 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 old flash chip contents... done. Erasing and writing flash chip... Warning: Chip content is identical to the requested image. Erase/write done.
Programming the SPI-Flash done.
i tried 1/4 speed but no change
then i performed (as suggested)
flashrom -VV --programmer dummy
- please see the attached file
- and advise...
Best Regards & Wishes
frans
._______________________________________________ flashrom mailing list -- flashrom@flashrom.org To unsubscribe send an email to flashrom-leave@flashrom.org
Hello Frans,
In addition to what Peter said,
I can say that the message "SFDP has autodetected a flash chip which is not natively supported by flashrom yet" is not an issue by itself. We have a large list of know flashchips definitions, but if the chip is not recognised as any of the ones we know, flashrom tries to talk to the chip with SFDP protocol. If talking SFDP works, then flashrom can try read and write *based on what information is returned by SFDP request*.
However, what I said "if the chip is not recognised as any of the ones we know" the reason can be what Peter said, comms issue. And, maybe on another environment (Raspberry Pi-2b) there is no comms issue, and so the chip is recognised as a known one -> and so flashrom continues based on existing flashchip definition, without requesting parameters via SFDP. If it is possible, check in the logs of your Raspberry Pi-2b environment, does it say that the chip was recognised, which model?
On Fri, Mar 7, 2025 at 9:40 AM Peter Marheine pmarheine@chromium.org wrote:
It looks to me like your communication isn't working at all, since your log looks like you're reading all ones: "id1 0xff, id2 0xff, id1 parity violation" appears for every chip that it's probing for, and the "parity violation" part in particular looks like a communication error.
On Tue, Feb 18, 2025 at 12:28 AM Frans Peens via flashrom flashrom@flashrom.org wrote:
.
Hi Flashrom,
I have a Winbond W25Q16 that i can read and write ok on raspberry pi 2b
I've now tried the same process using a pi-400 and since now flashrom returns with unusual response(s)
- writing and reading seems to work though..? (identical contents on rewrite)
- btw : i am using WiringPi sysfs from bash to control the spi pins using a std 'bus pirate' ribbon to header cable
here the flashrom response...
Programming the SPI-Flash...
flashrom unknown on Linux 6.6.51+rpt-rpi-v8 (aarch64) flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
SFDP has autodetected a flash chip which is not natively supported by flashrom yet. All standard operations (read, verify, erase and write) should work, but to support all possible features we need to add them manually. You can help us by mailing us the output of the following command to flashrom@flashrom.org: 'flashrom -VV [plus the -p/--programmer parameter]' Thanks for your help! === Found Unknown flash chip "SFDP-capable chip" (2048 kB, SPI) on linux_spi. === This flash part has status UNTESTED for operations: WP 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 flashrom@flashrom.org 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 old flash chip contents... done. Erasing and writing flash chip... Warning: Chip content is identical to the requested image. Erase/write done.
Programming the SPI-Flash done.
i tried 1/4 speed but no change
then i performed (as suggested)
flashrom -VV --programmer dummy
- please see the attached file
- and advise...
Best Regards & Wishes
frans
._______________________________________________ flashrom mailing list -- flashrom@flashrom.org To unsubscribe send an email to flashrom-leave@flashrom.org
flashrom mailing list -- flashrom@flashrom.org To unsubscribe send an email to flashrom-leave@flashrom.org
I also think that there is a communication problem here, because the Winbond ICs W25Q16... are reliably recognized by flashrom. Which version of flashrom are you using, your log says “flashrom unknown on Linux 6.6.51+rpt-rpi-v8 (aarch64)"
Regards Stephan
Am 07.03.25 um 13:42 schrieb Anastasia Klimchuk:
Hello Frans,
In addition to what Peter said,
I can say that the message "SFDP has autodetected a flash chip which is not natively supported by flashrom yet" is not an issue by itself. We have a large list of know flashchips definitions, but if the chip is not recognised as any of the ones we know, flashrom tries to talk to the chip with SFDP protocol. If talking SFDP works, then flashrom can try read and write *based on what information is returned by SFDP request*.
However, what I said "if the chip is not recognised as any of the ones we know" the reason can be what Peter said, comms issue. And, maybe on another environment (Raspberry Pi-2b) there is no comms issue, and so the chip is recognised as a known one -> and so flashrom continues based on existing flashchip definition, without requesting parameters via SFDP. If it is possible, check in the logs of your Raspberry Pi-2b environment, does it say that the chip was recognised, which model?
On Fri, Mar 7, 2025 at 9:40 AM Peter Marheine pmarheine@chromium.org wrote:
It looks to me like your communication isn't working at all, since your log looks like you're reading all ones: "id1 0xff, id2 0xff, id1 parity violation" appears for every chip that it's probing for, and the "parity violation" part in particular looks like a communication error.
On Tue, Feb 18, 2025 at 12:28 AM Frans Peens via flashrom flashrom@flashrom.org wrote:
.
Hi Flashrom,
I have a Winbond W25Q16 that i can read and write ok on raspberry pi 2b
I've now tried the same process using a pi-400 and since now flashrom returns with unusual response(s)
- writing and reading seems to work though..? (identical contents on rewrite)
- btw : i am using WiringPi sysfs from bash to control the spi pins using a std 'bus pirate' ribbon to header cable
here the flashrom response...
Programming the SPI-Flash...
flashrom unknown on Linux 6.6.51+rpt-rpi-v8 (aarch64) flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
SFDP has autodetected a flash chip which is not natively supported by flashrom yet. All standard operations (read, verify, erase and write) should work, but to support all possible features we need to add them manually. You can help us by mailing us the output of the following command to flashrom@flashrom.org: 'flashrom -VV [plus the -p/--programmer parameter]' Thanks for your help! === Found Unknown flash chip "SFDP-capable chip" (2048 kB, SPI) on linux_spi. === This flash part has status UNTESTED for operations: WP 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 flashrom@flashrom.org 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 old flash chip contents... done. Erasing and writing flash chip... Warning: Chip content is identical to the requested image. Erase/write done.
Programming the SPI-Flash done.
i tried 1/4 speed but no change
then i performed (as suggested)
flashrom -VV --programmer dummy
- please see the attached file
- and advise...
Best Regards & Wishes
frans
._______________________________________________ flashrom mailing list -- flashrom@flashrom.org To unsubscribe send an email to flashrom-leave@flashrom.org
flashrom mailing list -- flashrom@flashrom.org To unsubscribe send an email to flashrom-leave@flashrom.org