then take sha256 I was not able to get same sha256 on multi runs of the above command!
I tried the repining many times and never worked! which puzzled me as I was I able to communicate with the chip why it's not fetching same content!
I then changed the speed to spisped=5000 and to my surprise it worked from first time (without even reconnecting the pins or the clamp!)
I tried 5 times and I get same sha256 every time! and you may think reducing the speed to 5000 may take ages, it didn't (it took a bit longer but was not significant)
So I recommend changing the speed of reading and writing to spisped=5000 instead of spisped=10000
When I was dumpping the bios content via this command
flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=10000 -r z620_bios_1.bin
then take sha256 I was not able to get same sha256 on multi runs of the above command!
I tried the repining many times and never worked! which puzzled me as I was I able to communicate with the chip why it's not fetching same content!
I then changed the speed to
spisped=5000
and to my surprise it worked from first time (without even reconnecting the pins or the clamp!)I tried 5 times and I get same sha256 every time! and you may think reducing the speed to 5000 may take ages, it didn't (it took a bit longer but was not significant)
So I recommend changing the speed of reading and writing to
spisped=5000
instead ofspisped=10000