usb3 device not detected on usb2 port

Stephen Graf stephen.graf at gmail.com
Tue Jan 30 22:29:56 CET 2024


I am using an orangepizero3 and trying to boot from spi flash and then a usb3 SSD on usb-1 port, which is usb2.  U-boot does not detect the usb3 SSD drive.

I have been booting Armbian regularly from an old usb2 hard disk drive in the same way.

After Armbian starts the usb3 SSD drive is detected by the os and works properly in the os.  Some console log output below shows the issue.

Has anyone experienced this?

*** boot from SD card

U-Boot 2024.01-rc5-armbian (Jan 13 2024 - 14:13:09 +0000) Allwinner Technology

CPU:   Allwinner H616 (SUN50I)
Model: OrangePi Zero3
DRAM:  1 GiB
Core:  57 devices, 25 uclasses, devicetree: separate
WDT:   Not starting watchdog at 30090a0
MMC:   mmc at 4020000: 0
Loading Environment from FAT... Unable to use mmc 0:1...
In:    serial at 5000000
Out:   serial at 5000000
Err:   serial at 5000000
Allwinner mUSB OTG (Peripheral)
Net:   Unsupported value 13, using default (13)
Unsupported value 13, using default (13)
eth0: ethernet at 5020000using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
MAC de:ad:be:ef:00:01
HOST MAC de:ad:be:ef:00:00
RNDIS ready
, eth1: usb_ether
starting USB...
Bus usb at 5200000: USB EHCI 1.00
Bus usb at 5200400: USB OHCI 1.0
scanning bus usb at 5200000 for devices... 1 USB Device(s) found
scanning bus usb at 5200400 for devices... 1 USB Device(s) found
        scanning usb for storage devices... 0 Storage Device(s) found
Autoboot in 1 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr

*** test usb3 SSD in usb-1 after boot

root at orangepizero3:~# lsusb
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp. JMS578 SATA 6Gb/s
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


root at orangepizero3:~# mount /dev/sda1 /mnt
mount: (hint) your fstab has been modified, but systemd still uses
        the old version; use 'systemctl daemon-reload' to reload.
root at orangepizero3:~# ls -alh /mnt
total 88K
drwxr-xr-x 19 root root 4.0K Jan 29 21:37 .
drwxr-xr-x 19 root root 4.0K Jan 16 12:29 ..
lrwxrwxrwx  1 root root    7 Jan 13 02:56 bin -> usr/bin
drwxr-xr-x  3 root root 4.0K Jan 29 21:39 boot
drwxr-xr-x  2 root root 4.0K Jan 29 21:30 dev
drwxr-xr-x 96 root root 4.0K Jan 29 21:37 etc
drwxr-xr-x  2 root root 4.0K Dec  9 13:08 home
lrwxrwxrwx  1 root root   34 Jan 29 21:32 initrd.img -> boot/initrd.img-6.7.2-edge-sunxi64
lrwxrwxrwx  1 root root   34 Jan 29 21:32 initrd.img.old -> boot/initrd.img-6.7.2-edge-sunxi64
lrwxrwxrwx  1 root root    7 Jan 13 02:56 lib -> usr/lib
drwx------  2 root root  16K Jan 29 21:37 lost+found
drwxr-xr-x  2 root root 4.0K Jan 13 02:56 media
drwxr-xr-x  2 root root 4.0K Jan 13 02:56 mnt
drwxr-xr-x  2 root root 4.0K Jan 13 02:56 opt
drwxr-xr-x  2 root root 4.0K Jan 13 02:56 proc
drwx------  3 root root 4.0K Jan 29 21:34 root
drwxr-xr-x  4 root root 4.0K Jan 29 21:38 run
lrwxrwxrwx  1 root root    8 Jan 13 02:56 sbin -> usr/sbin
drwxrwxr-x  2 root root 4.0K Jan 29 21:30 selinux
drwxr-xr-x  2 root root 4.0K Jan 13 02:56 srv
drwxr-xr-x  2 root root 4.0K Dec  9 13:08 sys
drwxrwxrwt  2 root root 4.0K Jan 13 02:57 tmp
drwxr-xr-x 11 root root 4.0K Jan 13 02:56 usr
drwxr-xr-x 12 root root 4.0K Jan 29 21:30 var
lrwxrwxrwx  1 root root   31 Jan 29 21:32 vmlinuz -> boot/vmlinuz-6.7.2-edge-sunxi64
lrwxrwxrwx  1 root root   31 Jan 29 21:32 vmlinuz.old -> boot/vmlinuz-6.7.2-edge-sunxi64



*** boot from spi flash and usb2 hard drive in usb-1

U-Boot 2024.01-rc5-armbian (Dec 25 2023 - 16:25:36 -0800) Allwinner Technology

CPU:   Allwinner H616 (SUN50I)
Model: OrangePi Zero3
DRAM:  1 GiB
Core:  57 devices, 25 uclasses, devicetree: separate
WDT:   Not starting watchdog at 30090a0
MMC:   mmc at 4020000: 0
Loading Environment from SPIFlash... SF: Detected zb25vq128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
OK
In:    serial at 5000000
Out:   serial at 5000000
Err:   serial at 5000000
Allwinner mUSB OTG (Peripheral)
Net:   Unsupported value 13, using default (13)
Unsupported value 13, using default (13)
eth0: ethernet at 5020000using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
MAC de:ad:be:ef:00:01
HOST MAC de:ad:be:ef:00:00
RNDIS ready
, eth1: usb_ether
starting USB...
Bus usb at 5200000: USB EHCI 1.00
Bus usb at 5200400: USB OHCI 1.0
scanning bus usb at 5200000 for devices... 2 USB Device(s) found
scanning bus usb at 5200400 for devices... 1 USB Device(s) found
        scanning usb for storage devices... 1 Storage Device(s) found
Autoboot in 2 seconds, press <Space> to stop
Card did not respond to voltage select! : -110

Device 0: Vendor: Toshiba  Rev: 0001 Prod: External USB 3.0
             Type: Hard Disk
             Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
... is now current device
Scanning usb 0:1...
Found U-Boot script /boot/boot.scr


*** boot from spi flash and usb3 SSD in usb-1

U-Boot 2024.01-rc5-armbian (Dec 25 2023 - 16:25:36 -0800) Allwinner Technology

CPU:   Allwinner H616 (SUN50I)
Model: OrangePi Zero3
DRAM:  1 GiB
Core:  57 devices, 25 uclasses, devicetree: separate
WDT:   Not starting watchdog at 30090a0
MMC:   mmc at 4020000: 0
Loading Environment from SPIFlash... SF: Detected zb25vq128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
OK
In:    serial at 5000000
Out:   serial at 5000000
Err:   serial at 5000000
Allwinner mUSB OTG (Peripheral)
Net:   Unsupported value 13, using default (13)
Unsupported value 13, using default (13)
eth0: ethernet at 5020000using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
MAC de:ad:be:ef:00:01
HOST MAC de:ad:be:ef:00:00
RNDIS ready
, eth1: usb_ether
starting USB...
Bus usb at 5200000: USB EHCI 1.00
Bus usb at 5200400: USB OHCI 1.0
scanning bus usb at 5200000 for devices... 1 USB Device(s) found
scanning bus usb at 5200400 for devices... 1 USB Device(s) found
        scanning usb for storage devices... 0 Storage Device(s) found
Autoboot in 2 seconds, press <Space> to stop
Card did not respond to voltage select! : -110

Device 0: unknown device


boot from SD card with usb3 SSD in usb1

U-Boot 2024.01-rc5-armbian (Jan 13 2024 - 14:13:09 +0000) Allwinner Technology

CPU:   Allwinner H616 (SUN50I)
Model: OrangePi Zero3
DRAM:  1 GiB
Core:  57 devices, 25 uclasses, devicetree: separate
WDT:   Not starting watchdog at 30090a0
MMC:   mmc at 4020000: 0
Loading Environment from FAT... Unable to use mmc 0:1...
In:    serial at 5000000
Out:   serial at 5000000
Err:   serial at 5000000
Allwinner mUSB OTG (Peripheral)
Net:   Unsupported value 13, using default (13)
Unsupported value 13, using default (13)
eth0: ethernet at 5020000using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
MAC de:ad:be:ef:00:01
HOST MAC de:ad:be:ef:00:00
RNDIS ready
, eth1: usb_ether
starting USB...
Bus usb at 5200000: USB EHCI 1.00
Bus usb at 5200400: USB OHCI 1.0
scanning bus usb at 5200000 for devices... 1 USB Device(s) found
scanning bus usb at 5200400 for devices... 1 USB Device(s) found
        scanning usb for storage devices... 0 Storage Device(s) found
Autoboot in 1 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr


More information about the U-Boot mailing list