If I want openwrt to mount xfs when it starts, do I need to modify the startup script?

Or, through other means?

Why not from fstab?

After the kernel filesystem support is in place, install package block-mount, then configure automatic mounting in /etc/config/fstab.

Does block-mount work for xfs?