“From my point of view, the only benefit is saving some cost for the eMMC/uSD and maybe cooler. Actually spi booting is much slower than eMMC.”
Hi. I was very intrigued by your comment. Does it mean that I am making a futile effort to try to boot from nvme? I thought the operating system would run faster from nvme.
It is more than cost, but IO NVME can provide, and not burning out SD cards. Using software like home-assistant can / does burn out SD cards, where NVME drives are designed to be used as hard drives. Please understand that these SBCs are used as small servers or dev devices where IO and IOPS matter.
SPI + NVME boot does not work with Samsung 970EVOPlus, at least with current SW & instructions.
Instruction sucks also. Especially this part there "Put the M.2 NVME SSD into M.2 NVMe SSD Reader Adapter, and then insert them to PC. "
Why it does not instruct to copy existing image from SD to NVME. I tried that first. Boot did not worked. Then I used BalenaEtcher in my Mint. Still the same problem.
It is not big problem if I will not get SPI boot to work. I would like to get at least only boot part in SD card but I do not know how to proceed exactly for Rock PI. I have done that for Raspberry PI once. Idea is to avoid SD card wear out problem.
I want to have Ubuntu. I tested to create dummy files after boot from SD card in / and /home directories. Those files seems to be written in SSD afterall. So, I assume that all writing after boot will happen on SSD now.
Instead of using an adapter install etcher https://github.com/futurejones/balena-etcher-arm and flash it to nvme directly while using ubuntu in sd card / emmc. If everything goes right after u remove the sd card / emmc it should boot directly from nvme.
I rely on Ubuntu as I know that I will find all needed working installation instructions what ever I want to install there. I also know that the apps are running in Ubuntu. On the otherhand I do not know anything about Armbian.
I qess dd command does the same as Etcher. That you can give from terminal. Before that you also might want to create some partitions. Root file system in one partition and data to second. It it will be useful later. That I tried first but gave up too easily, I presume.
What i did to get nvme booting working (the only thing that worked after 2 days of trial and error) was to boot the ubuntu image provided in the topic, do the spi flashing and then with a clean nvme (if you’re unsure if it’s clean install gparted and remove every partition) flash it with etcher. After that remove the sd card / emmc and keep only the nvme. It should work.
I definitely want to have 2 partitions, as I want to make this long running server. I want to be able to update and upgrade system without loosing data partition. Installation quide should also consider that part! It doesn’t matter if I can get rid of the SD card as long as writing happens only in SDD.
Kingston a1000 is not compatible with SPI boot, controler are not reconized, but after the first loader sequence, its work, so you need the sdCard for start the loader, and after it continue the boot on ssd, mine doing /boot and root on SDD (with debian)
I’m thinking of buying a Rock Pi 4C because of it’s native NVMe support.
I’ve found this topic and I would like to know what is the boot speed with this SPI+ NVMe booting firwmare ?
I really want/need a (very) fast booting device as I’m thinking of putting it in a car.