
Fedora 35

sudo dnf install gawk make wget tar bzip2 gzip python3 unzip perl patch diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath ccache perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue perl-bignum socat python3-pexpect findutils which file cpio python python3-pip xz python3-GitPython python3-jinja2 SDL-devel xterm rpcgen mesa-libGL-devel perl-FindBin perl-File-Compare perl-File-Copy perl-locale zstd lz4
I'm not install Documentation packages.

git clone git://git.yoctoproject.org/poky
git checkout -t origin/kirkstone -b my-kirkstone
git pull
cd poky
source oe-init-build-env rpi-build
Many hardware layers are available. The Yocto Project Source Repositories has many hardware layers.
cd poky
git clone https://git.yoctoproject.org/meta-raspberrypi
cd meta-raspberrypi/
git checkout -t origin/kirkstone -b my-kirkstone
git pull
Before you can use a layer during build, you must add it to your bblayers.conf file, which is found in the uild Directory conf directory.
cd poky/rpi-build
bitbake-layers add-layer ../meta-raspberrypi
cd poky/rpi-build/
vi conf/local.conf
# Change the machine
MACHINE ??= "raspberrypi3-64"

bitbake core-image-base

Done.
cd poky/rpi-build/tmp/deploy/images/
sudo bmaptool copy <image file>.rootfs.wic.bz2 --bmap <image file>.rootfs.wic.bmap <device>
Burn Yocto Linux image file to your microSD.

Connect cable to your Raspberry Pi board

You can login to enter root as a username.
[Site] https://docs.yoctoproject.org/ref-manual/system-requirements.html
[Site] https://git.yoctoproject.org/meta-raspberrypi/
[Site] https://docs.yoctoproject.org/brief-yoctoprojectqs/
[Site] https://github.com/agherzan/meta-raspberrypi