and about nmbm
This is mediatek solution for bad-block collection and remapping.
Like additional layer on top of hardware NAND that is filesystem independent.
If bootloader have it enabled and OEM use it . This should be also enabled in OpenWRT
Thanks for your reply, the stock bootloader, u-boot and firmware enabled NMBM.
But the same devices in openwrt tree disabled them, their stock enabled NMBM.
Those devices rebuild their bootloader and u-boot with NMBM disabled in openwrt build.
What i should do in this situation?
I added another config with nmbm enabled.
Now it have two same layout config, one disable nmbm for openwrt u-boot and the other enable nmbm for other u-boot.