The commands I executed is following:

git clone <https://github.com/beagleboard/linux.git>
cd linux
git branch -a
git checkout 5.10

sudo apt install gcc-arm-linux-gnueabihf

make omap2plus_defconfig
**Turn on the two options in the below figures**

make -j8 zImage

Screenshot from 2022-06-30 10-01-24.png

Untitled