First I installed Ubuntu OS to eMMC, then I flashed SPINOR flash rock-5b-spi-image-gd1cf491-20240523-debug.img, and flashed ubuntu image to nvme after booting from eMMC.
The problem is when I reboot the board, the eMMC still is plugged on it, but the board runs OS on nvme.
I tried to use rkdevtool to flash a zero image to spinor flash, the board always boots to nvme OS. Is there any SPIFLASH image which could boot from spinor-> emmc -> nvme?
just install mtd-tools in system and double check if Your spi is really empty,
You can dump spi easily and review,
if still You have system running from nvme, then probably You are booting from something else, but Your disk ids are the same or just referred in boot config.