CRC error on boot from nvme w/ubuntu?

Managed to get nvme boot working; thank you to everyone for the assistance. I had a question about CRC issues with SPIFlash. Is this caused by UEFI hitting nvme, failing, then falling back on the onboard SPI?

U-Boot SPL 2022.01+dfsg-2ubuntu2.5 (Sep 18 2023 - 03:02:43 +0000)
Trying to boot from MMC1


U-Boot 2022.01+dfsg-2ubuntu2.5 (Sep 18 2023 - 03:02:43 +0000)

CPU:   rv64imafdc
Model: SiFive HiFive Unmatched A00
DRAM:  16 GiB
MMC:   spi@10050000:mmc@0: 0
Loading Environment from SPIFlash... SF: Detected is25wp256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
*** Warning - bad CRC, using default environment

EEPROM: SiFive PCB EEPROM format v1
Product ID: 0002 (HiFive Unmatched)
PCB revision: 4
BOM revision: B
BOM variant: 0
Serial number: SF105SZ233800641
Ethernet MAC address: 70:b3:d5:92:fd:f5
CRC: 86b189d3
In:    serial@10010000
Out:   serial@10010000
Err:   serial@10010000
Model: SiFive HiFive Unmatched A00
Net:   eth0: ethernet@10090000
Hit any key to stop autoboot:  0
PCIE-0: Link up (Gen1-x8, Bus0)

Device 0: Vendor: 0x144d Rev: 2B2QEXM7 Prod: S58SNM0WA00379W
            Type: Hard Disk
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
... is now current device

No, this is just u-boot looking for custom environment variables in SPI flash. Since your SPI flash is probably empty, it fails with a CRC error.

You can ignore this message.

1 Like