OpenWrt 19.07 on devices with small kernel partition

I think the way is to update existing firmware with unlocked u-boot-env partition, then change magic number from userspace with fw_setenv and then upgrade it to new firmware with modified kernel space.