From Fedora Project Wiki
No edit summary
Line 6: Line 6:


  dnf install 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:
Edit '/boot/efi/config.txt' and remove the ram limitation or run the following command to comment it out:

Revision as of 18:54, 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|line total_mem=1024|# line total_mem=1024|g' /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.