[FS#3492] sysupgrade from CONFIG_MTD_SPI_NOR_USE_4K_SECTORS=y loses settings where image has BLOCKSIZE:=64k

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Fri Jul 16 05:56:52 PDT 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#3492 - sysupgrade from CONFIG_MTD_SPI_NOR_USE_4K_SECTORS=y loses settings where image has BLOCKSIZE:=64k
User who did this - Roger (rogerpueyo)

----------
Hi,

Maybe one of these workarounds could be applied for while/if there is no fix for the 4K blocksize problem:

  - Make soft_config read-only on all the devices, and unset CONFIG_MTD_SPI_NOR_USE_4K_SECTORS
  - Tweak mount_root so that it can find the sysupgrade settings

Each ones comes at a price. With the first one, soft_config will not be modifiable from the userspace. With the second one, writing to SPI will remain very slow although, most likely, this should only be noticeable when sysupgrading, I guess not for single-file editions.

Any ideas on how to implement the second idea, if even possible?
----------

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3492#comment9928

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list