From Fedora Project Wiki

Using the Raspberry Pi 4 with 32-Bit ARM

To use the Raspberry Pi 4 with 32-bit arm you will need first limit the ram to 1024M in order to boot and install the kernel-lpae package. This is done automatically with the arm-image-installer script when selecting the target 'rpi4' and writing an 'armhfp' (32-bit arm) image. You will also need to ssh to the host, use --addkey option to install your ssh public key to the image. Example (replace $USER and $MEDIA):

sudo arm-image-installer --image=Fedora-Minimal-Rawhide-20220106.n.0.armhfp.raw.xz --target=rpi4 --media=/dev/$MEDIA --resizefs --addkey /home/$YOUR_USER_ACCOUNT/.ssh/id_rsa.pub

Apply power, boot the system and ssh to the root account on the machine. If you do not know the IP address of the Raspberry Pi 4, you can use nmap to scan the network. Look for the host listed as 'Raspberry Pi Foundation' and corresponding IP address.

sudo nmap -sn 192.168.0.0/24
..
MAC Address: B8:27:EB:DE:91:E0 (Raspberry Pi Foundation)
Nmap scan report for 192.168.0.143
Host is up (0.18s latency).
..

After logging into the image, install the kernel-lpae package:

dnf install kernel-lpae

Ensure the kernel-lpae is set to the default kernel

grub2-editenv - set "saved_entry=$(ls /boot/loader/entries/*lpae* | cut -d/ -f5 | cut -d. -f1-5)"

Edit '/boot/efi/config.txt' and remove the ram limitation or run the following command to comment it out:

sed -i 's|^total_mem=1024|# total_mem=1024|' /boot/efi/config.txt

Reboot the machine into the new kernel-lpae. You should now see the additional ram available and can safely remove the standard kernel package:

dnf remove kernel

Known Issues

When using the standard kernel and limiting RAM, USB is not available.