Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1052610: u-boot-rockchip: not possible to boot from SSDs connected to SATA PCIe DeLOCK 9049

43 views
Skip to first unread message

Chris Vogel

unread,
Sep 25, 2023, 5:30:04 AM9/25/23
to
Package: u-boot-rockchip
Version: 2023.07+dfsg-1_arm64
Severity: normal

Hardware: RockPro64/4GB + DeLOCK 90498 SATA PCIe + 2 SATA SSDs

It's not possible to boot of the connected disks.

u-boot consoles output on a failed boot (falling back to eMMC):

```
Hit any key to stop autoboot: 0
=> pci
BusDevFun VendorId DeviceId Device Class Sub-Class
_____________________________________________________________
00.00.00 0x1d87 0x0100 Bridge device 0x04
01.00.00 0x197b 0x0585 Mass storage controller 0x06
=> scsi scan
scanning bus for devices...
SATA link 0 timeout.
SATA link 1 timeout.
Target spinup took 0 ms.
Target spinup took 0 ms.
SATA link 4 timeout.
AHCI 0001.0301 32 slots 5 ports 6 Gbps 0x1f impl SATA mode
flags: 64bit ncq stag pm led clo pmp fbss pio slum part ccc apst boh
Device 0: (2:0) Vendor: ATA Prod.: HP SSD S700 250G Rev: SN10
Type: Hard Disk
Capacity: 238475.1 MB = 232.8 GB (488397168 x 512)
Device 1: (3:0) Vendor: ATA Prod.: TOSHIBA THNSNH25 Rev: HTFA
Type: Hard Disk
Capacity: 244198.3 MB = 238.4 GB (500118192 x 512)
=> boot
Card did not respond to voltage select! : -110
** Booting bootflow 'm...@fe330000.bootdev.part_1' with script
Boot script loaded from mmc 0
```

On the other hand it is possible to use the connected SATA SSDs from an Armbian 23.8.1 Bullseye with Linux 4.4.213-legacy-rockchip64. Here's part of the dmesg showing the important part of the initialisation:

```
rockchip-pcie f8000000.pcie: missing "memory-region" property
PCI host bridge /pcie@f8000000 ranges:
rockchip-pcie f8000000.pcie: invalid power supply
rockchip-pcie f8000000.pcie: wait 1000 ms (from device tree) before bus scan
rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [bus 00-1f]
pci_bus 0000:00: root bus resource [mem 0xfa000000-0xfbdfffff]
pci_bus 0000:00: root bus resource [io 0x0000-0xfffff] (bus address [0xfbe00000-0xfbefffff])
```

**But** this only works if u-boot didn't try to initialise the card first. If u-boot already failed to use the card the according dmesg looks like the following and neither the PCIe card nor the SSDs are visible to Linux:

```
rockchip-pcie f8000000.pcie: missing "memory-region" property
PCI host bridge /pcie@f8000000 ranges:
rockchip-pcie f8000000.pcie: invalid power supply
rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
rockchip-pcie f8000000.pcie: deferred probe failed
rockchip-pcie: probe of f8000000.pcie failed with error -110
ehci-pci: EHCI PCI platform driver
vcc3v3_pcie: disabling
```
0 new messages