Boot order: SD+NVMe

Does anyone know if it is a correct behavior?

So what I have:

  1. I put the latest Ubuntu Server on SD card.
  2. I booted with SD and flashed SPI.
  3. I put the latest Ubuntu Server on NMVe too.
  4. I attached NVMe without removing SD card.
  5. Board boots from NVMe.

My impression was that if SD card is present board shouldn’t boot from NVMe.

In console I see the following when having SD card attached only:

Device 0: unknown device
dcache on
switch to partitions #0, OK
mmc1 is current device
do_rkimg_test found IDB in SDcard
Boot from SDcard

When I attach NVMe I get the following:

Device 0: Vendor: blabla
Type: Hard Disk
Capacity: 122104.3 MB = 119.2 GB (250069680 x 512)
… is now current device
Bootdev: nvme 0

Is that correct? My impression was that if SD card is attached board will chose card not NVMe.

Thanks. I didn’t find that topic so you answered my question.