[PATCH] ramips: replace obsolete mx25l25635f hack

DENG Qingfang dqfext at gmail.com
Thu Jan 21 22:25:09 EST 2021


Hi,

On Thu, Jan 21, 2021 at 5:37 PM David Bauer <mail at david-bauer.net> wrote:
>
> Is this dependent on board design? The need for the old hack should be fixed by
> this upstream commit [0]. Given that commit adds SNOR_F_4B_OPCODES for the
> mx25l25635f, it should in turn disable the hack enabled by broken-flash-reset, as
> this is dependend on 4B opcodes not being supported. [1]

I'm aware of the upstream fix, but some Youku-YK1 users have reported
their routers cannot survive a reboot on kernel 5.4, but are fine on
4.14 (with the mx25l25635f dts hack) [0].
Maybe some batch of the routers or flash chips does not have the BFPT
table set properly.

So, adding broken-flash-reset serves as a fail-safe.

[0] https://github.com/coolsnowwolf/lede/issues/6059



More information about the openwrt-devel mailing list