Attention is currently required from: Nico Huber, Angel Pons. Simon Buhrow has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/58467 )
Change subject: flashchips.c: big erase blocksize first ......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
Have you tried with random data? You can create a file with random data like this: […]
You are right. With your setup writing random_data_2.bin takes much longer with this commit than with origin. So the solution must be much smarter.
Furthermore I saw that the erase function is set in walk_by_layout while the per block function is called somewhat deeper. This looks like a good solution will need reorder of steps.
I´ll keep trying/thinking of how the steps you mentioned could be implemented. Any suggestions are welcome.
@Angel: Thanks a lot for your detailed setup description. That helped me a lot!