On my Raspberry Pi 4B board, I’m trying to load file from USB during my boot.scr script, but when I call USB start
or USB reset
command, I get following error:
starting USB...
Bus xhci_pci: pci_hose_bus_to_phys: invalid physical address
xhci-pci init cannot map PCI mem bar
probe failed, error -5
No working controllers found
My Yocto image is based on core-image with meta-raspberrypi and meta-swupdate layers. I have tried to check rpi_4_32b_defconfig
file and generated .config
file, but I wasn’t able to find any relevant option not being set. But I’m not exactly sure, what options are actually relevant and should be set in order to USB work.
My second idea is, that there is some issue with device tree, invalid USB controller address or something like that. But device trees are still complete woodoo for me. I’m not even sure, if it’s used by uboot or not. I’m loading it from somewhere, because original swupdate boot.scr did it, but I’m not sure, if it’s important for uboot, or for booting kernel or both.
Do you have any idea, what should I try?