Hi everyone,
I am excited to announce that we've added the optimized erase function selection algorithm to the master branch. It will optimally select the erase functions according to the flash region to erase/write. This should make using our application quicker and more convenient.
Please ensure you have the latest source code to test the new feature. Do the following change to the flashrom.c file : ``` -static bool use_legacy_erase_path = true; +static bool use_legacy_erase_path = false; ``` and build flashrom using make or meson. Makefile: ``` $ make clean && make ``` Meson: ``` $ meson setup out $ ninja -C out ```
This feature offers the following: - Lesser flash erase/write times (upto 80 times less on tests done so far) On the long term, we plan to enable feature by default. For now, you need to enable it manually and rebuild from source code. We would love to hear your feedback! Please let us know if you have any questions or encounter any issues.
-Aarya