- Useful links to look at:
rpi5-eeprom package on Arch Linux ARM brings the relevant eeprom tools.
- Recommended BOOT_ORDER:
BOOT_ORDER=0xf416 (retry - USB - SD - NVMe for easier debugging if smth goes wrong; remove SD after setting up NVMe)
- I formatted the NVMe as described in ALARM install guide from ALARM itself
- I mounted the partitions to
/tmp/boot and /tmp/root.
rsync -azrP /boot /tmp/boot/
rsync -azrP -x / /tmp/root/
- Edit
/tmp/root/etc/fstab and /tmp/boot/cmdline.txt to point to NVMe instead.
- Add
dtparam=pciex1 and optionally dtparam=pciex1_gen=3 to /boot/config.txt.