From Fedora Project Wiki
No edit summary
No edit summary
Line 13: Line 13:
Edit '/boot/efi/config.txt' and remove the ram limitation or run the following command to comment it out:
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|# line total_mem=1024|' /boot/efi/config.txt
  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:
Reboot the machine into the new kernel-lpae. You should now see the additional ram available and can safely remove the standard kernel package:

Revision as of 18:56, 11 January 2022

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. To do so manually, after writing the disk image open the 'config.txt' file found on the first partition and add 'line total_mem=1024'.

Apply power and boot the system. You will need to ssh to the machine to install the kernel-lpae

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.