[FS#4010] Onion Omega2P+ reboot broken 19.07.8->21.02.0
OpenWrt Bugs
openwrt-bugs at lists.openwrt.org
Wed Sep 8 02:09:46 PDT 2021
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#4010 - Onion Omega2P+ reboot broken 19.07.8->21.02.0
User who did this - Rico Wang (tisrico)
----------
>From 19.07.8->21.02.0, mtd driver has been replaced with spi-nor, the new driver has introduced a new optional property: broken-flash-reset. If this new property is not set, the driver would not revert it back to 3 bytes mode during reset.
mtd/spi-nor/spi-nor.c: in spi_nor_scan:
if (of_property_read_bool(np, "broken-flash-reset"))
nor->flags |= SNOR_F_BROKEN_RESET;
mtd/spi-nor/spi-nor.c:
void spi_nor_restore(struct spi_nor *nor)
{
/* restore the addressing mode */
if (nor->addr_width == 4 && !(nor->flags & SNOR_F_4B_OPCODES) &&
nor->flags & SNOR_F_BROKEN_RESET)
nor->params.set_4byte(nor, false);
}
https://www.kernel.org/doc/Documentation/devicetree/bindings/mtd/jedec%2Cspi-nor.txt
----------
More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=4010#comment10063
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