I have the CM3 IO board and attached a CM3 without eMMC, and connected in the PCIe slot an adapter board for NVMe drive.
I have flashed SPI on CM3, and also loaded the Debian image on the NVMe drive, and if I switch on the IO board, it is not booting from the NVMe.
What can be the problem? Is the NVMe boot supported in the current U-Boot/SPI image?
I can see on the UART2 the following messages:
U-Boot SPL board init
U-Boot SPL 2017.09-g8684d740b9f-230227 #stephen (Mar 31 2023 - 14:20:11)
Trying to boot from MMC2
Card did not respond to voltage select!
mmc_init: -95, time 9
spl: mmc init failed with error: -95
Trying to boot from MMC1
Card did not respond to voltage select!
mmc_init: -95, time 13
spl: mmc init failed with error: -95
Trying to boot from MTD2
GPT: last_usable_lba incorrect: X > 7fde
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
GPT: last_usable_lba incorrect: X > 7fde
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
GPT: last_usable_lba incorrect: X > 7fde
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
No misc partition
GPT: last_usable_lba incorrect: X > 7fde
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
GPT: last_usable_lba incorrect: X > 7fde
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
# Reset the board to bootrom #