Need help to build rocky linux OS image from scratch for my BPI-M5 board

Hello Bpi users, Is there a document how to start from zero building a linux image in my case i want rocky 8 for banana pi BPI-M5 board? I know there is a centos image somewhere build but not for this one. Thank you in advance.

Is there a reason you need this specific distribution? @frank-w has a light-weight Ubuntu base image works very well and light weight.

If you need additional kernel modules, just compile in.

I have no image for bpi-m5…only for router boards

Bootchain (atf,uboot) and kernel are different for each board

I use the Armbian release from here. It’s a Debian Linux release.