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

From: Mark Millard <marklmi_at_yahoo.com>
Date: Wed, 28 Sep 2022 06:55:42 UTC
FYI: from an RPi3B (same USB3 media but RPi* firmware
and u-Boot from the microsd card, EFI and later from
the USB3 media):



U-Boot 2022.04 (Sep 28 2022 - 00:42:50 +0000)

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 pwm@7e20c000
   - attempt to match compatible string 'brcm,bcm2835-pwm'
No match for node 'pwm@7e20c000'
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 (0x2a02082)
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:  72 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
4 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
Hit any key to stop autoboot:  2 1 0 
MMC Device 0 not found
no mmc device at slot 0
MMC Device 1 not found
no mmc device at slot 1
switch to partitions #0, OK
mmc2 is current device
Scanning mmc 2:1...
FAT read(sect=16384), clust_size=64, read_size=64
FAT read(sect=16384), clust_size=64, read_size=64
FAT read(sect=16384), clust_size=64, read_size=64
FAT read(sect=16384), clust_size=64, read_size=64
FAT read(sect=16384), clust_size=64, read_size=64
FAT read(sect=16384), clust_size=64, read_size=64
FAT read(sect=16384), clust_size=64, read_size=64
FAT read(sect=16384), clust_size=64, read_size=64
FAT read(sect=16384), clust_size=64, read_size=64
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Scanning disk mmc@7e300000.blk...
Scanning disk usb_mass_storage.lun0...
unhandled device class: usb@7e980000 (usb)
 <2, 0, 1024>
Unrecognized filesystem type
 <2, 0, 1024>
Unrecognized filesystem type
 <2, 0, 1024>
Unrecognized filesystem type
 <2, 0, 1024>
Unrecognized filesystem type
 <2, 0, 1024>
Unrecognized filesystem type
Found 9 disks
Missing RNG device for EFI_RNG_PROTOCOL
FAT read(sect=131), clust_size=32, read_size=32
** Unable to read file ubootefi.var **
Failed to load EFI variables
Initializing EFI driver framework
Adding EFI driver 'EFI block driver'
0
   - 0 'smsc95xx_eth'
   - found
unhandled device class: usb@7e980000 (usb)
smbios_version = 0000000039f2503f: '2022.04'
BootOrder not defined
EFI boot manager: Cannot load any image
FAT read(sect=16384), clust_size=64, read_size=64

Device 0: Vendor: Samsung  Rev: 0    Prod: PSSD T7 Touch   
            Type: Hard Disk
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
... is now current device
Scanning usb 0:1...
FAT read(sect=131), clust_size=32, read_size=32
FAT read(sect=131), clust_size=32, read_size=32
FAT read(sect=131), clust_size=32, read_size=32
FAT read(sect=131), clust_size=32, read_size=32
FAT read(sect=131), clust_size=32, read_size=32
FAT read(sect=131), clust_size=32, read_size=32
FAT read(sect=131), clust_size=32, read_size=32
FAT read(sect=131), clust_size=32, read_size=32
FAT read(sect=131), clust_size=32, read_size=32
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
BootOrder not defined
EFI boot manager: Cannot load any image
FAT read(sect=131), clust_size=32, read_size=32
FAT read(sect=163), clust_size=32, read_size=32
FAT read(sect=4963), clust_size=32, read_size=32
Found EFI removable media binary efi/boot/bootaa64.efi
FAT read(sect=131), clust_size=32, read_size=32
FAT read(sect=163), clust_size=32, read_size=32
FAT read(sect=4963), clust_size=32, read_size=32
FAT read(sect=131), clust_size=32, read_size=32
FAT read(sect=163), clust_size=32, read_size=32
FAT read(sect=4963), clust_size=32, read_size=32
dev=usb, devnr=0:1, path=efi/boot/bootaa64.efi, buffer=0000000000080000, size=d18dc
unhandled device class: usb@7e980000 (usb)
unhandled device class: usb@7e980000 (usb)
- recorded device /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/UsbClass(0x0,0x0,0x9,0x0,0x0)/UsbClass(0x424,0x9514,0x9,0x0,0x2)/UsbClass(0x4e8,0x4001,0x0,0x0,0x0)/HD(1,GPT,9cdadf2a-de3c-11ec-8f37-a0cec8d68fdc,0x800,0x82000)
- and image /efi\boot\bootaa64.efi
858332 bytes read in 51 ms (16.1 MiB/s)
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Loaded from disk
Booting /efi\boot\bootaa64.efi


===
Mark Millard
marklmi at yahoo.com