Hello Lior,

I have a few questions.

You said you are using flashrom v1.1, and that you checked
write-protection with --wp-status command
But --wp-status command was only released in v1.3

Also you are using
flash_erase /dev/mtd0 0 0
bur flash_erase is not flashrom?

‪On Thu, Mar 6, 2025 at 6:48 PM ‫ליאור סלמונה‬‎ <liors...@gmail.com> wrote:‬
>
> Dear Flashrom Developers,
>
> I am experiencing an issue with flashrom v1.1 on Linux 5.15.86 (x86_64) while 
> attempting to flash a Macronix MX25L25635E SPI NOR flash chip on my 
> Conga-TC570 board, which features an Intel® Core™ i5-1145GRE (Tiger Lake) 
> processor.
>
> Issue Details:
>
> When the flash is clean (filled with 0xFF), I can erase and write 
> successfully.
> However, verification fails, reporting mismatched data.
> The failure occurs at address 0x00000000, with the following error:
>
> FAILED at 0x00000000! Expected=0x11, found=0x00
> Failed byte count from 0x000000 - 0x01FFFFF: 0x8DD2A6
>
> Steps Taken So Far:
>
> Checked Write Protection using flashrom -p internal --wp-status → No active 
> protection.
> Attempted manual erase before writing:
>
> flash_erase /dev/mtd0 0 0
> flashrom -p internal -w bios.bin
>
> Loaded Intel SPI modules:
>
> modprobe intel_spi_pci
> modprobe intel_spi_platform
>
> Verified SPI device detection:
>
> ls /sys/bus/spi/devices/
>
> The SPI device appears correctly.
> Tested alternative flashing methods:
>
> Using dd:
>
> dd if=bios.bin of=/dev/mtd0 bs=4096
>
> Result: Write completes, but verification still fails.
> Using flashrom -p internal -V for verbose output (logs available on request).
>
> Questions:
>
> Is this a known issue with flashrom on Tiger Lake platforms?
> Could the Intel SPI controller be interfering with writes?
> Are there any debugging steps or patches I should try?
>
> Any guidance would be greatly appreciated. Thank you for your support!
>
> Best regards,
> Lior Salmona
>
>
> _______________________________________________
> flashrom mailing list -- flashrom@flashrom.org
> To unsubscribe send an email to flashrom-le...@flashrom.org



-- 
Anastasia.
_______________________________________________
flashrom mailing list -- flashrom@flashrom.org
To unsubscribe send an email to flashrom-le...@flashrom.org

Reply via email to