[Bug 269181] sysutils/u-boot-rpi-arm64: RPi4/8G fails to boot: "** Reading file would overwrite reserved memory **"

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 27 Jan 2023 09:46:54 UTC

            Bug ID: 269181
           Summary: sysutils/u-boot-rpi-arm64: RPi4/8G fails to boot: "**
                    Reading file would overwrite reserved memory **"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                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

After upgrading U-Boot from 2022.10 to 2023.01, my RPi4/8G doesn't boot from
MMC any longer:

U-Boot 2023.01 (Jan 25 2023 - 09:38:54 +0100)

DRAM:  948 MiB (effective 7.9 GiB)
RPI 4 Model B (0xd03114)
Core:  203 devices, 16 uclasses, devicetree: board
MMC:   mmc@7e300000: 3, emmc2@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
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
BootOrder not defined
EFI boot manager: Cannot load any image
Found EFI removable media binary efi/boot/bootaa64.efi
** Reading file would overwrite reserved memory **
Failed to load 'efi/boot/bootaa64.efi'
No UEFI binary known at 0x00080000

The delta against the 2022.10 boot log starts with the "** Reading file would
overwrite reserved memory **" line.

Reverting back to 2022.10 u-boot.bin and all is fine again.

This is the config.txt (actually it's just



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