Re: u-boot debug, was: Re: U-boot on RPI3, sees disk but won't boot it

From: bob prohaska <fbsd_at_www.zefox.net>
Date: Thu, 29 Sep 2022 00:21:31 UTC
With the correct patches finally in place there is some
extra output from u-boot:

U-Boot 2022.04 (Sep 28 2022 - 16:45:12 -0700)

DRAM:  size=30, ptr=5c0, limit=2000: 7ffe3b0
size=8, ptr=5c8, limit=2000: 7ffe3e0
948 MiB
bind node psci
   - attempt to match compatible string 'arm,psci-0.2'
No match for node 'psci'
bind node system
Device 'system' has no compatible string
bind node axi
Device 'axi' has no compatible string
bind node aliases
Device 'aliases' has no compatible string
bind node chosen
Device 'chosen' has no compatible string
bind node reserved-memory
Device 'reserved-memory' has no compatible string
bind node thermal-zones
Device 'thermal-zones' has no compatible string
bind node soc
   - attempt to match compatible string 'simple-bus'
   - found match at 'simple_bus': 'simple-bus' matches 'simple-bus'
bind node cprman@7e101000
   - attempt to match compatible string 'brcm,bcm2835-cprman'
No match for node 'cprman@7e101000'
bind node mailbox@7e00b880
   - attempt to match compatible string 'brcm,bcm2835-mbox'
No match for node 'mailbox@7e00b880'
bind node gpio@7e200000
   - attempt to match compatible string 'brcm,bcm2835-gpio'
   - found match at 'bcm283x_pinctrl': 'brcm,bcm2835-gpio' matches 'brcm,bcm2835-gpio'
bind node serial@7e201000
   - attempt to match compatible string 'arm,pl011'
   - found match at 'serial_pl01x': 'arm,pl011' matches 'arm,pl011'
   - seq=0
bind node spi@7e204000
   - attempt to match compatible string 'brcm,bcm2835-spi'
No match for node 'spi@7e204000'
bind node aux@7e215000
   - attempt to match compatible string 'brcm,bcm2835-aux'
No match for node 'aux@7e215000'
bind node i2c@7e804000
   - attempt to match compatible string 'brcm,bcm2835-i2c'
No match for node 'i2c@7e804000'
bind node usb@7e980000
   - attempt to match compatible string 'brcm,bcm2708-usb'
   - found match at 'dwc2_usb': 'brcm,bcm2835-usb' matches 'brcm,bcm2708-usb'
bind node usb1@1
   - attempt to match compatible string 'usb424,9514'
No match for node 'usb1@1'
bind node dma@7e007000
   - attempt to match compatible string 'brcm,bcm2835-dma'
No match for node 'dma@7e007000'
bind node interrupt-controller@7e00b200
   - attempt to match compatible string 'brcm,bcm2836-armctrl-ic'
No match for node 'interrupt-controller@7e00b200'
bind node watchdog@7e100000
   - attempt to match compatible string 'brcm,bcm2835-pm'
   - attempt to match compatible string 'brcm,bcm2835-pm-wdt'
No match for node 'watchdog@7e100000'
bind node rng@7e104000
   - attempt to match compatible string 'brcm,bcm2835-rng'
No match for node 'rng@7e104000'
bind node thermal@7e212000
   - attempt to match compatible string 'brcm,bcm2837-thermal'
No match for node 'thermal@7e212000'
bind node local_intc@40000000
   - attempt to match compatible string 'brcm,bcm2836-l1-intc'
No match for node 'local_intc@40000000'
bind node mmc@7e300000
   - attempt to match compatible string 'brcm,bcm2835-mmc'
   - attempt to match compatible string 'brcm,bcm2835-sdhci'
   - found match at 'sdhci-bcm2835': 'brcm,bcm2835-sdhci' matches 'brcm,bcm2835-sdhci'
bind node firmware
   - attempt to match compatible string 'raspberrypi,bcm2835-firmware'
   - attempt to match compatible string 'simple-mfd'
   - found match at 'simple_bus': 'simple-bus' matches 'simple-mfd'
bind node clocks
   - attempt to match compatible string 'raspberrypi,firmware-clocks'
No match for node 'clocks'
bind node expgpio
   - attempt to match compatible string 'raspberrypi,firmware-gpio'
No match for node 'expgpio'
bind node power
   - attempt to match compatible string 'raspberrypi,bcm2835-power'
No match for node 'power'
bind node mailbox@7e00b840
   - attempt to match compatible string 'brcm,bcm2836-vchiq'
   - attempt to match compatible string 'brcm,bcm2835-vchiq'
No match for node 'mailbox@7e00b840'
bind node gpiomem
   - attempt to match compatible string 'brcm,bcm2835-gpiomem'
No match for node 'gpiomem'
bind node fb
   - attempt to match compatible string 'brcm,bcm2708-fb'
   - found match at 'bcm2835_video': 'brcm,bcm2835-hdmi' matches 'brcm,bcm2708-fb'
bind node vcsm
   - attempt to match compatible string 'raspberrypi,bcm2835-vcsm'
No match for node 'vcsm'
bind node virtgpio
   - attempt to match compatible string 'brcm,bcm2835-virtgpio'
No match for node 'virtgpio'
bind node clocks
Device 'clocks' has no compatible string
bind node phy
   - attempt to match compatible string 'usb-nop-xceiv'
No match for node 'phy'
bind node arm-pmu
   - attempt to match compatible string 'arm,cortex-a53-pmu'
   - attempt to match compatible string 'arm,cortex-a7-pmu'
No match for node 'arm-pmu'
bind node timer
   - attempt to match compatible string 'arm,armv7-timer'
No match for node 'timer'
bind node cpus
Device 'cpus' has no compatible string
bind node __overrides__
Device '__overrides__' has no compatible string
bind node leds
   - attempt to match compatible string 'gpio-leds'
No match for node 'leds'
bind node fixedregulator_3v3
   - attempt to match compatible string 'regulator-fixed'
No match for node 'fixedregulator_3v3'
bind node fixedregulator_5v0
   - attempt to match compatible string 'regulator-fixed'
No match for node 'fixedregulator_5v0'
bind node memory@0
Device 'memory@0' has no compatible string
bind node __symbols__
Device '__symbols__' has no compatible string
bind node bootloader
Device 'bootloader' has no compatible string
bind node clk-osc
   - attempt to match compatible string 'fixed-clock'
No match for node 'clk-osc'
bind node clk-usb
   - attempt to match compatible string 'fixed-clock'
No match for node 'clk-usb'
RPI 3 Model B (0xa02082)
0
   - 0 'serial@7e201000'
   - found
0
   - 0 'gpio@7e200000'
   - found
0
   - 0 'gpio@7e200000'
   - found
bcm283x_pinctrl gpio@7e200000: set_state_simple op missing
simple_bus soc: set_state_simple op missing
0
   - 0 'gpio@7e200000'
   - found
pinconfig uart0_pins: set_state_simple op missing
serial_pl01x serial@7e201000: pinctrl_select_state_full: pinctrl_config_one: err=-22
Core:  69 devices, 10 uclasses, devicetree: board
MMC:   0
   - 2 'mmc@7e300000'
   - not found
0
   - 0 'gpio@7e200000'
   - found
pinconfig mmc_pins: set_state_simple op missing
mmc@7e300000: 2
Loading Environment from FAT... 0
   - 0 'fb'
   - found
0
   - 0 'gpio@7e200000'
   - found
bcm2835_video fb: set_state_simple op missing
In:    serial
Out:   vidconsole
Err:   vidconsole
0
   - not found
Net:   No ethernet found.
starting USB...
Bus usb@7e980000: 0
   - 0 'gpio@7e200000'
   - found
dwc2_usb usb@7e980000: set_state_simple op missing
dwc2_usb usb@7e980000: Can't get reset: -2
dwc2_usb usb@7e980000: Core Release: 2.80a
USB DWC2
scanning bus usb@7e980000 for devices... bind node usb1@1
   - attempt to match compatible string 'usb424,9514'
No match for node 'usb1@1'
0
   - 0 'gpio@7e200000'
   - found
usb_hub usb_hub: set_state_simple op missing
bind node usbether@1
   - attempt to match compatible string 'usb424,ec00'
No match for node 'usbether@1'
0
   - 0 'gpio@7e200000'
   - found
usb_hub usb_hub: set_state_simple op missing
   - seq=0
0
   - 0 'gpio@7e200000'
   - found
smsc95xx_eth smsc95xx_eth: set_state_simple op missing
usb_new_device: Cannot read configuration, skipping device 152d:0583
5 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0 
U-Boot> 

I've placed a complete transcript of another attempt at
http://www.zefox.net/~fbsd/rpi3/u-boot/u-boot-failure-debug-log
For some reason only one usb device is reported found. 

Thanks for reading!

bob prohaska