Rock pi 4b can boot from usb port?

As the title suggests.

I don’t think so

Actually it can, maskrom mode is booting from USB. If you are referring, boot from USB drive, then we need the bootloader in SPI/SDcard/eMMC first.

Hi,

So after soldering the SPI Flash, I have u-boot running fine. Now I’m trying to get it to boot from USB, but the USB ports seem inactive while in U-Boot.

I tried both the u-boot from https://dl.radxa.com/rockpi/images/loader/spi/ and building my own from https://github.com/radxa/rockchip-bsp (including yesterday’s commit).

The output on the serial console slightly differ, but in both cases the USB drives are not seen and no light turns on on the USB drive. I thought it’s only a power problem so I’ve tried with powered drives, the result is the same:
=> usb reset
resetting USB…
USB0: USB EHCI 1.00
USB1: USB OHCI 1.0
USB2: failed to get usb phy
Port not available.
USB3: failed to get usb phy
Port not available.
USB4: Can’t get the usbphy register address
probe failed, error -6
USB5: Can’t get the usbphy register address
probe failed, error -6
scanning bus 0 for devices… 1 USB Device(s) found
scanning bus 1 for devices… 1 USB Device(s) found
scanning usb for storage devices… 0 Storage Device(s) found

Do you happen to have a special version of u-boot that initializes the USB ports?

Same here, i’m juste flash SPI with the same loader and boot file, but USB seem not be intialized.