There are a lot of flashes with 256Kb erase block (ex: Toshiba TC58CVG2S0HRAIG). On such flashes UBI mtd partition can't start at offset 0x20000 (the middle of erase block). Thus booting becomes impossible.
I suggest to put UBI partition at offset 0x80000 or 0x100000. Thus
- UBI will definitely start from the beginning of erase block (we also have space reservation for future flash with 512KB erase block, if it ever appears)
- it becomes more easy to switch from Airoha original firmware to openwrt and back.