Hi there,
I’m not sure about doing it on the board, easiest way as far as I’m aware is to modify your kernel config in the sdbuild flow. Here’s a post with a similar problem. You wouldn’t have to regenerate the whole rootfs, just remake the boot_files.
Thanks
Shawn