[FS#510] slow sysupgrade

LEDE Bugs lede-bugs at lists.infradead.org
Fri Sep 1 07:07:00 PDT 2017


The following task has a new comment added:

FS#510 - slow sysupgrade
User who did this - Arjen de Korte (arjendekorte)

----------
Well, the log shows that the device is a Winbond W25Q128 (a NOR flash device). Assuming it is the W25Q128FV, the erase times could be (depending on the erase block size used) up to

Block erase time (64 KB) 2 seconds x 256 = 512 seconds
Sector erase time (4 KB) 400 ms x 4096 = 1638 seconds

Assuming that only part of the device must be erased, 300 seconds doesn't seem to be excessive. If the device is erased in 4 KB sectors, this may indeed take a very long time.

With NOR flash, it usually pays off to use the largest erase size possible (see above) if you need to erase almost everything.
----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=510#comment3397



More information about the lede-bugs mailing list