Orange Pi 5 | Boot from SATA M.2 SSD

It screwed up the bootloader for me and subsequently messed up the kernel update.

So, advise here being. Do not update the bootloader with the update script. And do not update the kernel with the update script.

The u-boot you have in your Dietpi installer does not work at all for the OrangePi5. Legacy one works, but you need to find an older Armbian image, still some torrents around.

It’s kind of a mess as nobody seems to keep old releases alive. Here we need an old Armbian SD to boot from and install the legacy u-boot. You can still find it as torrent. Search for Armbian_24.2.1_Orangepi5_bookworm_legacy_5.10.160.img

What do you mean “not at all”? It boots fine for me. You mean with the SATA SSD in particular?

Michalng, the u-boot you have in your distribution does not work for an OrangePi5.Simple as that.

I also had problems to boot DietPi from internal NVMe. My solution was to boot OEM Debian from SD (downloaded from Orange Pi) and use it to flash the bootloader into the SPI.

After this I flashed a DietPi image directly to the internal Orange Pi 5 NVMe storage, removed SD, and then DietPi booted fine from NVME (from where it started and completed DietPi install scripts).

In fact I did not have success in booting from NVMe using the SPI image provided by neither by DietPi nor by Armbian.