U-Boot for mainline Kernel 5.10.x

How I can build a U-Boot for BPI-M5 that can boot Mainline Kernel 5.10.x? ¿The U-Boot 2021.04-armbian (Jul 19 2021 - 19:21:12 +0800) bananapi-m5/m2pro could work?