From: Nicolas Saenz Julienne Date: Sat, 01 Aug 2020 19:53:09 +0200 Subject: [PATCH v6 0/4] usb: xhci: Load Raspberry Pi 4 VL805's firmware In-Reply-To: <349feea162bd8fa3d8afde89580aee8f@agner.ch> References: <20200629163725.13330-1-nsaenzjulienne@suse.de> <3520f00dd1a24f1e6a63ef8e9d716e8c@agner.ch> <4e958b16fd30a60c618b5b5180feb0ec24857a8a.camel@suse.de> <349feea162bd8fa3d8afde89580aee8f@agner.ch> Message-ID: <755ad4156e19f7bcd520a51a506756eac64f7167.camel@suse.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Stefan, On Sat, 2020-08-01 at 14:25 +0200, Stefan Agner wrote: > Hi Nicolas, > > I do have USB MSD boot working with at least two USB flash drives > successfully. > > I now tried using a USB NVMe enclosure (ICY BOX with a JMicron chip in > it). It seems that U-Boot has troubles enumerating the device at first, > but "usb reset" helps: > > U-Boo 2020.07 (Jul 25 2020 - 06:55:15 +0000) > > DRAM: 1.9 GiB > RPI 4 Model B (0xb03112) > MMC: mmcnr at 7e300000: 1, emmc2 at 7e340000: 0 > In: serial > Out: serial > Err: serial > Net: eth0: genet at 7d580000 > PCIe BRCM: link up, 5.0 Gbps x1 (SSC) > startig USB... > Bus xhci_pci: Register 5000420 NbrPorts 5 > Starting the controller > USB XHCI 1.00 > scanning bus xhci_pci for devces... Device NOT ready > Request Sense returned 02 04 01 > 4 USB Device(s) found > scanning usb for storage devices... 0 Sorage Device(s) found > Card did not respond to voltage select! > Card did not respond to voltage select! > > genet at 7d580000 Waiting for PHY auto negotiation to complete... done > BOOTP broadcast 1 > DHCP client bound to address 192.168.80.226 (3 ms > ====> Ctrl+C > HassOS> > HassOS> usb tree > USB device tree: > 1 Hub (5 Gb/s, 0mA) > | U-Boot XHCI Host Controller > | > +-2 MassStorage (5 Gb/s, 224mA) > | JMicron USB 3.1 Storage Device DD56419884B3E > | > +-3 Hub (480 Mb/s, 100A) > | USB2.0 Hub > | > +-4 Human Interface (12 Mb/s, 98mA) > Logitech USB Receiver > > HassOS> ls usb 0:1 > HassOS> usb reset > resetting USB... > Bus xhci_pci: Register 5000420 NbrPorts 5 > Starting the controller > USB XHCI 1.00 > scanning bus xhci_ci for devices... 4 USB Device(s) found > scanning usb for storage devices... 1 Storage Device(s) found > HassOS>ls usb 0:1 > 41499 bcm2711-rpi-4-b.dtb > 2382 boot.scr > 57 cmdline.txt > 1785 config.txt > overlays/ > 488304 u-boot.bin > 2272992 start4.elf.orig > 2277376 start4.elf > 5405 fixup4.dat.orig > 5407 fiup4.dat > > 9 file(s), 1 dir(s) > > HassOS> usb tree > USB device tree: > 1 Hub (5 Gb/s, 0mA) > | U-Boot XHCI Host Controller > | > |+-2 Mass Storage (5 Gb/s, 224mA) > | JMicron USB 3.1 Storage Device DD56419884B3E > | > +-3 Hub (480 b/s, 100mA) > | USB2.0 Hub > | > +-4 Human Interface (12 Mb/s, 98mA) > Logitech USB Receier > > The device then boots and works fine. > > > Do you happen to know if there is some tunable in U-Boot which might > help? Sorry but nothing comes to mind. I'm not aware of similar issues. Regards, Nicolas