SiFive Unmatched (riscv64), hang scanning xhci_pci

Alex kallisti5 at unixzen.com
Wed Jul 27 01:03:51 CEST 2022


Somewhere between e7fb67df319cec410c20906bbf33936a6f7479b2 and
86feeab3dc71977afb70f595e42060ce324086d0 u-boot stopped booting on the SiFive unmatched.

  gcc version 11.2.0 (GCC) 
  GNU ld (GNU Binutils) 2.36.1


First boot...

U-Boot SPL 2022.10-rc1-00159-g86feeab3dc (Jul 26 2022 - 17:01:52 -0500)
Trying to boot from MMC1

U-Boot 2022.10-rc1-00159-g86feeab3dc (Jul 26 2022 - 17:01:52 -0500)

CPU:   rv64imafdc
Model: SiFive HiFive Unmatched A00
DRAM:  16 GiB
Core:  34 devices, 21 uclasses, devicetree: separate
MMC:   spi at 10050000:mmc at 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: 3
BOM revision: B
BOM variant: 0
Serial number: SF105SZ212200269
Ethernet MAC address: 70:b3:d5:92:f7:bf
CRC: c9ba1779
In:    serial at 10010000
Out:   serial at 10010000
Err:   serial at 10010000
Model: SiFive HiFive Unmatched A00
Net:   eth0: ethernet at 10090000
Hit any key to stop autoboot:  0 
PCIE-0: Link up (Gen1-x8, Bus0)

Device 0: unknown device
starting USB...
Bus xhci_pci: Register 4000840 NbrPorts 4
Starting the controller
USB XHCI 1.00
scanning bus xhci_pci for devices...

(hang)




rebuild clean, rewrite to microsd, reboot.

U-Boot 2022.10-rc1-00159-g86feeab3dc (Jul 26 2022 - 17:59:33 -0500)

CPU:   rv64imafdc
Model: SiFive HiFive Unmatched A00
DRAM:  16 GiB
Core:  34 devices, 21 uclasses, devicetree: separate
MMC:   spi at 10050000:mmc at 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: 3
BOM revision: B
BOM variant: 0
Serial number: SF105SZ212200269
Ethernet MAC address: 70:b3:d5:92:f7:bf
CRC: c9ba1779
In:    serial at 10010000
Out:   serial at 10010000
Err:   serial at 10010000
Model: SiFive HiFive Unmatched A00
Net:   eth0: ethernet at 10090000
Hit any key to stop autoboot:  0 
PCIE-0: Link up (Gen1-x8, Bus0)

Device 0: unknown device
starting USB...
Bus xhci_pci: Register 4000840 NbrPorts 4
Starting the controller
USB XHCI 1.00
scanning bus xhci_pci for devices... cannot reset port 3!?
Disk ���� not ready
device 'usb_mass_storage.lun0' failed to unbind
5 USB Device(s) found
device 'usb_mass_storage.lun0' failed to unbind
scanning usb for storage devices... 1 Storage Device(s) found

Device 0: Vendor: SanDisk  Rev: 1012 Prod: Extreme SSD     
Type: Hard Disk
Capacity: 238475.0 MB = 232.8 GB (488396800 x 512)
... is now current device
Unhandled exception: Illegal instruction
EPC: 0000000000000000 RA: 00000000fff76096 TVAL: 0000000000000000
EPC: ffffffff802a3000 RA: 0000000080219096 reloc adjusted

Code: Unhandled exception: Load access fault
EPC: 00000000fff5e20e RA: 00000000fff5e202 TVAL: fffffffffffffff0
EPC: 000000008020120e RA: 0000000080201202 reloc adjusted

Code: a0ef 4775 8913 ff04 0a17 0006 0a13 202a (5583 0009)

resetting ...
System reset not supported on this platform
### ERROR ### Please RESET the board ###


More information about the U-Boot mailing list