[Bug 275655] sysutils/u-boot-rpi-arm64: 2023.10 doesn't find mmc0

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 09 Dec 2023 13:54:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275655

            Bug ID: 275655
           Summary: sysutils/u-boot-rpi-arm64: 2023.10 doesn't find mmc0
           Product: Ports & Packages
           Version: Latest
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: uboot@FreeBSD.org
          Reporter: freebsd@oldach.net
             Flags: maintainer-feedback?(uboot@FreeBSD.org)
          Assignee: uboot@FreeBSD.org

Since the recent port update to U-BOOT 2023.10, mmc0 is no longer found and my
RPi4/8G reverts to Ethernet boot (which fails below due to no link):

----------------------------------------------------------------------
U-Boot 2023.10 (Dec 09 2023 - 13:58:21 +0100)

DRAM:  948 MiB (effective 7.9 GiB)
RPI 4 Model B (0xd03114)
Core:  210 devices, 16 uclasses, devicetree: board
MMC:   mmc@7e300000: 3, mmc@7e340000: 0
Loading Environment from FAT... ** Bad device specification mmc 1 **
In:    serial,usbkbd
Out:   serial,vidconsole
Err:   serial,vidconsole
Net:   eth0: ethernet@7d580000
PCIe BRCM: link up, 5.0 Gbps x1 (SSC)
starting USB...
Bus xhci_pci: Register 5000420 NbrPorts 5
Starting the controller
USB XHCI 1.00
scanning bus xhci_pci for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT
!
bcmgenet: PHY startup failed: -110
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT
!
bcmgenet: PHY startup failed: -110
U-Boot>
----------------------------------------------------------------------

U-Boot 2023.07.02 works fine on the same machine:

----------------------------------------------------------------------
U-Boot 2023.07.02 (Aug 09 2023 - 18:56:25 +0200)

DRAM:  948 MiB (effective 7.9 GiB)
RPI 4 Model B (0xd03114)
Core:  209 devices, 16 uclasses, devicetree: board
MMC:   mmc@7e300000: 3, mmc@7e340000: 0
Loading Environment from FAT... ** Bad device specification mmc 1 **
In:    serial
Out:   vidconsole
Err:   vidconsole
Net:   eth0: ethernet@7d580000
PCIe BRCM: link up, 5.0 Gbps x1 (SSC)
starting USB...
Bus xhci_pci: Register 5000420 NbrPorts 5
Starting the controller
USB XHCI 1.00
scanning bus xhci_pci for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
No EFI system partition
No EFI system partition
Failed to persist EFI variables
BootOrder not defined
EFI boot manager: Cannot load any image
Found EFI removable media binary efi/boot/bootaa64.efi
1186852 bytes read in 86 ms (13.2 MiB/s)
Booting /efi\boot\bootaa64.efi
console comconsole failed to initialize
Consoles: EFI console
    Reading loader env vars from /efi/freebsd/loader.env
Setting currdev to disk0p1:
FreeBSD/arm64 EFI loader, Revision 1.1
----------------------------------------------------------------------

-- 
You are receiving this mail because:
You are the assignee for the bug.