mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-13 19:48:16 +04:00
The devicetree set mediatek,bmt-max-reserved-blocks to 64, but the factory firmware uses 256. With the lower value NMBM fails to locate its signature on some boards, and the device does not boot. Restore the factory value of 256 to match stock firmware and fix boot on affected units. Vendor nmbm max blocks value: https://github.com/keenetic/kernel-49/blob/master/drivers/mtd/nmbm/nmbm-mtd.c#L31 Signed-off-by: Maxim Anisimov <maxim.anisimov.ua@gmail.com> Link: https://github.com/openwrt/openwrt/pull/24001 Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>