Re: RPI4-4Gb Boot fails from SD card (both my build AND the official 14.3 build)

From: Karl Denninger <karl_at_denninger.net>
Date: Sun, 27 Jul 2025 01:24:00 UTC
Well, the same card (physically the same card) boots in the Pi3 with the 
same FreeBSD load *and* the same card loaded with an "official" Pi 
firmware load boots in the 4 and runs.  I have attempted this with two 
very different SD cards -- one Sandisk Ultra that previously had Kodi on 
it and was running in that specific Pi4 and the second is one that while 
slower is one of a dozen here of a series that have served me extremely 
well in Pis for a very, very long time.

The builds on my box (and apparently the one on the FreeBSD official 
image page) are all using 2025-04 u-boot as the official FreeBSD load 
off the distribution page behaves exactly the same way -- the EFI loader 
boots without incident, gets and loads the kernel, the kernel boots as 
expected but the mmc driver takes timeouts and cannot see the sd card 
after the kernel comes up, thus root mount fails.

On 7/26/2025 9:06 PM, Mark Millard wrote:
> On Jul 26, 2025, at 13:06, Karl Denninger<karl@denninger.net> wrote:
>
>> BTW booting an "official" Pi distribution, updating it to be current off the 'net and then running rpi-eeprom-update says the bootloader and VL805 EEPROM are both up to date (8 May 2025 is what it says is on the board.)
> That date is for the default (non-Beta) release:
>
> RELEASE: default (/usr/lib/firmware/raspberrypi/bootloader-2711/default)
>
> instead of being for the "latest" Beta release (also called stable and
> beta).
>
>
>
> I'd not FreeBSD booted a RPI4B (or before) in a long time via any media.
> First checking via power on and via a USB3 RaspiOS64 boot media:
>
>    0.47 RPi: BOOTSYS release VERSION:69471177 DATE: 2025/05/08 TIME: 16:21:35
>    0.47 BOOTMODE: 0x06 partition 0 build-ts BUILD_TIMESTAMP=1746717695 serial c740af3c boardrev d03115 stc 476221
>    0.48 PM_RSTS 00001020
>    0.48 POWER_OFF_ON_HALT: 0 WAIT_FOR_POWER_BUTTON 0 power-on-reset 0
>    0.49 part 00000000 reset_info 00000000
>    0.50 uSD voltage 3.3V
>    0.52 Initialising SDRAM rank 2 total-size: 64 Gbit 3200 (0x14 0x00)
>    0.52 DDR 3200 1 0 64 152 BL:3
>    2.20 OTP boardrev d03115 bootrom 8b0 8b0
> . . .
>
> # rpi-eeprom-update
> BOOTLOADER: up to date
>     CURRENT: Thu May  8 03:21:35 PM UTC 2025 (1746717695)
>      LATEST: Thu May  8 03:21:35 PM UTC 2025 (1746717695)
>     RELEASE: default (/usr/lib/firmware/raspberrypi/bootloader-2711/default)
>              Use raspi-config to change the release.
>
>    VL805_FW: Using bootloader EEPROM
>       VL805: up to date
>     CURRENT: 000138c0
>      LATEST: 000138c0
>
> # rpi-eeprom-config
> [all]
> BOOT_UART=1
> WAKE_ON_GPIO=1
> POWER_OFF_ON_HALT=0
>
>
> Then checking on my 14.3-STABLE USB3 SSD boot media context,
> plugged into the RPI4B in question (FreeBSD 14.3-STABLE):
>
> (Note: I've not tried any of the updated U-Boot's from ports
> in some time. But I will later after this first try. The
> configuration uses the microsd card in the slot for:
> rpi-firmware, U-Boot, and FreeBSD-s efi loader. The kernel
> and world are from USB3 SSD media.)
>
> # strings /boot/efi/start4.elf | grep _ID_
> VC_BUILD_ID_USER: dom
> VC_BUILD_ID_TIME: 10:50:39
> VC_BUILD_ID_VARIANT: start
> VC_BUILD_ID_TIME: Mar 17 2023
> VC_BUILD_ID_BRANCH: bcm2711_2
> VC_BUILD_ID_HOSTNAME: buildbot
> VC_BUILD_ID_PLATFORM: raspberrypi_linux
> VC_BUILD_ID_VERSION: 82f3750a65fadae9a38077e3c2e217ad158c8d54 (clean)
>
> # strings /boot/efi/u-boot.bin | grep "U-Boot 20"
> U-Boot 2024.04 (Jul 11 2024 - 03:48:57 +0000)
>
> # strings /boot/efi/EFI/BOOT/bootaa64.efi | grep "FreeBSD/arm64 EFI loader, Revision"
> DFreeBSD/arm64 EFI loader, Revision 3.0
>
> Those commands are reading the microsd card that is used for
> the rpi firmware, U-Boot, and the FreeBSD EFI Loader. The
> kernel is the first boot code used from USB3 in my example
> context here. (I can swap out the microsd card for one with
> EDK2 to test booting with that, not that such works last
> I tried it. FreeBSD detected an EDK2 error and panicked,
> last I tried.)
>
> Thus, the above shows the FreeBSD kernel at least
> reading the microsd card in the slot.
>
> The kernel and world are via PkgBase, with the normal
> non-debug kernel in use:
>
> # uname -apKU
> FreeBSD official-PkgBase 14.3-STABLE FreeBSD 14.3-STABLE stable/14-n272017-442f01cb8860 GENERIC arm64 aarch64 1403503 1403503
>
>
> So, at least your problem seem to be either media/slot
> specific or U-Boot version specific, rather than there
> being a general problem for all media or all U-Boot's.
>
>> On 7/26/2025 13:25, Karl Denninger wrote:
>>> Ugh..... this used to work, but I DID update this unit to the most-recent to use it with Kodi for a while, and now I get this when attempting to boot a FreeBSD load (this card DOES BOOT on a Pi3, incidentally; I know its good generally.)  Looks like something has changed in the driver for the SD card that blows it up although the EFI Loader is able to read it and start the kernel.
>>> U-Boot 2025.04 (Jul 01 2025 - 23:03:56 +0000)
> So trying substituting such that:
>
> # strings /boot/efi/u-boot.bin | grep "U-Boot 20"
>           _+{}|~:"~<>?2H53F6CDBAU-Boot 2025.04 (Jun 07 2025 - 10:14:49 +0000)
>
> It booted the same USB3 media just fine using the
> updated u-boot.bin file.
>
> So, again suggesting something specific to the
> use of a microsd card in the slot.
>
> You might be able to boot the same microsd card via a
> USB microsd card capable reader, presuming you have
> the RPi set up to allow USB booting. If so, then at
> least you can progress using the same media until
> using it in the slot works again.
>
> Sorry, no actual microsd-based kernel-boot tests
> here.
>
>>> DRAM:  948 MiB (effective 3.9 GiB)
>>> RPI 4 Model B (0xc03112)
>>> Core:  212 devices, 17 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
>>> Cannot persist EFI variables without system partition
>>> ** Booting bootflow '<NULL>' with efi_mgr
>>> Booting: mmc 0
>>> console comconsole failed to initialize
> FreeBSD and its efi loader no longer uses the comconsole name,
> as I understand. I use in /boot/loader.conf :
>
> boot_multicons="YES"
> boot_serial="YES"
> console="eficom,efi"
>
> As I remember, the order for eficom vs. efi was important
> and eficom by itself did not work. (efi by itself can
> work for video contexts, as I remember.)
>
> It may be that the rpi-arm64 image was not updated for
> the issue.
>
>>> Consoles: EFI console  serial port
>>>      Reading loader env vars from /efi/freebsd/loader.env
>>> Setting currdev to disk0p1:
>>> FreeBSD/arm64 EFI loader, Revision 3.0
>>>
>>>     Command line arguments: loader.efi
>>>     Image base: 0x39d4f000
>>>     EFI version: 2.110
>>>     EFI Firmware: Das U-Boot (rev 8229.1024)
>>>     Console: efi,comconsole (0)
> Again, FreeBSD no longer uses the comconsole name, as I
> understand.
>
>>              Load Path: /\EFI\BOOT\BOOTAA64.EFI
>>>     Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,0000000000000000)/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,6d00000003000000)/SD(0)/SD(1)/HD(1,MBR,0x15ca56f1,0x3f,0x18fe7)
>>>     BootCurrent: 0000
>>>     BootOrder: 0000[*]
>>>      Setting currdev to configured rootdev disk0s2a
>>> Loading /boot/defaults/loader.conf
>>> Loading /boot/defaults/loader.conf
>>> Loading /boot/device.hints
>>> Loading /boot/loader.conf
>>> Loading /boot/loader.conf.local
>>> c\
>>> |  ______               ____   _____ _____
>>>    |  ____|             |  _ \ / ____|  __ \
>>>    | |___ _ __ ___  ___ | |_) | (___ | |  | |
>>>    |  ___| '__/ _ \/ _ \|  _ < \___ \| |  | |
>>>    | |   | | |  __/  __/| |_) |____) | |__| |
>>>    | |   | | |    |    ||     |      |      |
>>>    |_|   |_|  \___|\___||____/|_____/|_____/      ```                        `
>>>                                                  s` `.....---.......--.```   -/
>>>   +---------- Welcome to FreeBSD -----------+    +o   .--`         /y:`      +.
>>>   |                                         |     yo`:.            :o      `+-
>>>   |  1. Boot Multi user [Enter]             |      y/               -/`   -o/
>>>   |  2. Boot Single user                    |     .-                  ::/sy+:.
>>>   |  3. Escape to loader prompt             |     /                     `--  /
>>>   |  4. Reboot                              |    `:                          :`
>>>   |  5. Cons: Dual (Serial primary)         |    `:                          :`
>>>   |                                         |     /                          /
>>>   |  Options:                               |     .-                        -.
>>>   |  6. Kernel: default/kernel (1 of 1)     |      --                      -.
>>>   |  7. Boot Options                        |       `:`                  `:`
>>>   |                                         |         .--             `--.
>>>   |                                         |            .---.....----.
>>>   |                                         |
>>>   +-----------------------------------------+
>>>     Autoboot in 4 seconds. [Space] to pause
>>> Loading kernel...
>>> /boot/kernel/kernel text=0x2a8 text=0x9f2d10 text=0x26c014 data=0x151738 data=0x0+0x2bc000 0x8+0x154d70+0x8+0x17ec71
>>> Loading configured modules...
>>> can't find '/boot/entropy'
>>> /boot/kernel/gpiopps.ko text=0x127b text=0x9d4 data=0x478 0x8+0x918+0x8+0x5f4
>>> can't find '/etc/hostid'
>>> Using DTB provided by EFI at 0x39ee4000.
>>> EFI framebuffer information:
>>> addr, size     0x3eac2000, 0x103000
>>> dimensions     592 x 448
>>> stride         592
>>> masks          0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000
>>> ---<<BOOT>>---
>>> WARNING: Cannot find freebsd,dts-version property, cannot check DTB compliance
>>> Copyright (c) 1992-2023 The FreeBSD Project.
>>> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>>>          The Regents of the University of California. All rights reserved.
>>> FreeBSD is a registered trademark of The FreeBSD Foundation.
>>> FreeBSD 14.3-STABLE #0 stable/14-n271967-a6693b09e297-dirty: Mon Jul 21 17:35:11 EDT 2025
>>>      karl@NewFS.denninger.net:/work/OBJ/ARM64-14-NTP-STABLE/obj/usr/src.14-STABLE/arm64.aarch64/sys/GENERIC arm64
>>> FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)
>>> VT(efifb): resolution 592x448
>>> module scmi already present!
>>> real memory  = 4148158464 (3955 MB)
>>> avail memory = 4020654080 (3834 MB)
>>> Starting CPU 1 (1)
>>> Starting CPU 2 (2)
>>> Starting CPU 3 (3)
>>> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
>>> random: unblocking device.
>>> random: entropy device external interface
>>> kbd0 at kbdmux0
>>> Deprecated code (to be removed in FreeBSD 15): MIDI sequencer: no longer needed or used
>>> ofwbus0: <Open Firmware Device Tree>
>>> simplebus0: <Flattened device tree simple bus> on ofwbus0
>>> ofw_clkbus0: <OFW clocks bus> on ofwbus0
>>> simplebus1: <Flattened device tree simple bus> on ofwbus0
>>> simplebus2: <Flattened device tree simple bus> on ofwbus0
>>> regfix0: <Fixed Regulator> on ofwbus0
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> regfix1: <Fixed Regulator> on ofwbus0
>>> regfix2: <Fixed Regulator> on ofwbus0
>>> regfix3: <Fixed Regulator> on ofwbus0
>>> regfix4: <Fixed Regulator> on ofwbus0
>>> simplebus3: <Flattened device tree simple bus> on ofwbus0
>>> simple_mfd0: <Simple MFD (Multi-Functions Device)> mem 0x7d5d2000-0x7d5d2eff on simplebus0
>>> bcm2835_firmware0: <BCM2835 Firmware> on simplebus0
>>> ofw_clkbus1: <OFW clocks bus> on bcm2835_firmware0
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> psci0: <ARM Power State Co-ordination Interface Driver> on ofwbus0
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> gic0: <ARM Generic Interrupt Controller> mem 0x40041000-0x40041fff,0x40042000-0x40043fff,0x40044000-0x40045fff,0x40046000-0x40047fff irq 30 on simplebus0
>>> gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 256
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> gpio0: <BCM2708/2835 GPIO controller> mem 0x7e200000-0x7e2000b3 irq 14,15 on simplebus0
>>> gpiobus0: <OFW GPIO bus> on gpio0
>>> gpio1: <Raspberry Pi Firmware GPIO controller> on bcm2835_firmware0
>>> gpiobus1: <GPIO bus> on gpio1
>>> regfix0: Cannot configure GPIO pin: 5
>>> REGNODE_INIT failed: 6
>>> regfix0: Cannot register regulator.
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> regfix2: Cannot set GPIO pin: 6
>>> REGNODE_INIT failed: 6
>>> regfix2: Cannot register regulator.
>>> mbox0: <BCM2835 VideoCore Mailbox> mem 0x7e00b880-0x7e00b8bf irq 13 on simplebus0
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> gpioregulator0: <GPIO controlled regulator> on ofwbus0
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> generic_timer0: <ARMv8 Generic Timer> irq 4,5,6,7 on ofwbus0
>>> Timecounter "ARM MPCore Timecounter" frequency 54000000 Hz quality 1000
>>> Event timer "ARM MPCore Eventtimer" frequency 54000000 Hz quality 1000
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> bcm_dma0: <BCM2835 DMA Controller> mem 0x7e007000-0x7e007aff irq 31,32,33,34,35,36,37,38,39,40,41 on simplebus0
>>> usb_nop_xceiv0: <USB NOP PHY> on ofwbus0
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> bcm2835_clkman0: <BCM283x Clock Manager> mem 0x7e101000-0x7e102fff on simplebus0
>>> gpioc0: <GPIO controller> on gpio0
>>> uart0: <PrimeCell UART (PL011)> mem 0x7e201000-0x7e2011ff irq 16 on simplebus0
>>> uart0: console (115200,n,8,1)
>>> spi0: <BCM2708/2835 SPI controller> mem 0x7e204000-0x7e2041ff irq 18 on simplebus0
>>> spibus0: <OFW SPI bus> on spi0
>>> spibus0: <unknown card> at cs 0 mode 0
>>> spibus0: <unknown card> at cs 1 mode 0
>>> sdhci_bcm0: <Broadcom 2708 SDHCI controller> mem 0x7e300000-0x7e3000ff irq 24 on simplebus0
>>> mmc0: <MMC/SD bus> on sdhci_bcm0
>>> iichb0: <BCM2708/2835 BSC controller> mem 0x7e804000-0x7e804fff irq 27 on simplebus0
>>> bcmwd0: <BCM2708/2835 Watchdog> mem 0x7e100000-0x7e100113,0x7e00a000-0x7e00a023,0x7ec11000-0x7ec1101f on simplebus0
>>> bcmrng0: <Broadcom BCM2835/BCM2838 RNG> mem 0x7e104000-0x7e104027 on simplebus0
>>> gpioc1: <GPIO controller> on gpio1
>>> fb0: <BCM2835 VT framebuffer driver> on simplebus0
>>> fb0: keeping existing fb bpp of 32
>>> fbd0 on fb0
>>> WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD 15.0.
>>> VT: Replacing driver "efifb" with new "fb".
>>> fb0: 592x448(592x448@0,0) 32bpp
>>> fb0: fbswap: 1, pitch 2368, base 0x3eac2000, screen_size 1060864
>>> sdhci_bcm1: <Broadcom 2708 SDHCI controller> mem 0x7e340000-0x7e3400ff irq 79 on simplebus1
>>> mmc1: <MMC/SD bus> on sdhci_bcm1
>>> pmu0: <Performance Monitoring Unit> irq 0,1,2,3 on ofwbus0
>>> cpulist0: <Open Firmware CPU Group> on ofwbus0
>>> cpu0: <Open Firmware CPU> on cpulist0
>>> bcm2835_cpufreq0: <CPU Frequency Control> on cpu0
>>> cpufreq0: <CPU frequency control> on cpu0
>>> pcib0: <BCM2838-compatible PCI-express controller> mem 0x7d500000-0x7d50930f irq 80,81 on simplebus2
>>> pcib0: hardware identifies as revision 0x304.
>>> pci0: <OFW PCI bus> on pcib0
>>> pcib1: <PCI-PCI bridge> irq 91 at device 0.0 on pci0
>>> pci1: <OFW PCI bus> on pcib1
>>> bcm_xhci0: <VL805 USB 3.0 controller (on the Raspberry Pi 4b)> irq 92 at device 0.0 on pci1
>>> bcm_xhci0: 32 bytes context size, 64-bit DMA
>>> usbus0 on bcm_xhci0
>>> genet0: <RPi4 Gigabit Ethernet> mem 0x7d580000-0x7d58ffff irq 82,83 on simplebus2
>>> genet0: GENET version 5.0 phy 0x0000
>>> miibus0: <MII bus> on genet0
>>> brgphy0: <BCM54213PE 1000BASE-T media interface> PHY 1 on miibus0
>>> brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto
>>> genet0: Ethernet address: dc:a6:32:8c:9e:8a
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> clk_fixed4: clock-fixed has no clock-frequency
>>> gpioled0: <GPIO LEDs> on ofwbus0
>>> armv8crypto0: CPU lacks AES instructions
>>> Timecounters tick every 1.000 msec
>>> usbus0: 5.0Gbps Super Speed USB v3.0
>>> sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
>>> sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
>>> sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version:  0x00009902
>>> sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt:  0x00000000
>>> sdhci_bcm0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000
>>> sdhci_bcm0-slot0: Present:  0x000f0000 | Host ctl: 0x00000001
>>> sdhci_bcm0-slot0: Power:    0x0000000f | Blk gap:  0x00000000
>>> sdhci_bcm0-slot0: Wake-up:  0x00000000 | Clock:    0x00003947
>>> sdhci_bcm0-slot0: Timeout:  0x00000000 | Int stat: 0x00000000
>>> sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
>>> sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
>>> sdhci_bcm0-slot0: Caps:     0x00000000 | Caps2:    0x00000000
>>> sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
>>> sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
>>> sdhci_bcm0-slot0: ===========================================
>>> ugen0.1: <(0x1106) XHCI root HUB> at usbus0
>>> uhub0 on usbus0
>>> uhub0: <(0x1106) XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
>>> sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
>>> sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
>>> sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version:  0x00009902
>>> sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt:  0x00000000
>>> sdhci_bcm0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000
>>> sdhci_bcm0-slot0: Present:  0x000f0000 | Host ctl: 0x00000001
>>> sdhci_bcm0-slot0: Power:    0x0000000f | Blk gap:  0x00000000
>>> sdhci_bcm0-slot0: Wake-up:  0x00000000 | Clock:    0x00003947
>>> sdhci_bcm0-slot0: Timeout:  0x00000000 | Int stat: 0x00000000
>>> sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
>>> sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
>>> sdhci_bcm0-slot0: Caps:     0x00000000 | Caps2:    0x00000000
>>> sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
>>> sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
>>> sdhci_bcm0-slot0: ===========================================
>>> sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
>>> sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
>>> sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version:  0x00009902
>>> sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt:  0x00000000
>>> sdhci_bcm0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000
>>> sdhci_bcm0-slot0: Present:  0x000f0000 | Host ctl: 0x00000001
>>> sdhci_bcm0-slot0: Power:    0x0000000f | Blk gap:  0x00000000
>>> sdhci_bcm0-slot0: Wake-up:  0x00000000 | Clock:    0x00003947
>>> sdhci_bcm0-slot0: Timeout:  0x00000000 | Int stat: 0x00000000
>>> sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
>>> sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
>>> sdhci_bcm0-slot0: Caps:     0x00000000 | Caps2:    0x00000000
>>> sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
>>> sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
>>> sdhci_bcm0-slot0: ===========================================
>>> sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
>>> sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
>>> sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version:  0x00009902
>>> sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt:  0x00000000
>>> sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
>>> sdhci_bcm0-slot0: Present:  0x000f0000 | Host ctl: 0x00000001
>>> sdhci_bcm0-slot0: Power:    0x0000000f | Blk gap:  0x00000000
>>> sdhci_bcm0-slot0: Wake-up:  0x00000000 | Clock:    0x00003947
>>> sdhci_bcm0-slot0: Timeout:  0x00000000 | Int stat: 0x00000000
>>> sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
>>> sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
>>> sdhci_bcm0-slot0: Caps:     0x00000000 | Caps2:    0x00000000
>>> sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
>>> sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
>>> sdhci_bcm0-slot0: ===========================================
>>> sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
>>> sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
>>> sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version:  0x00009902
>>> sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt:  0x00000000
>>> sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
>>> sdhci_bcm0-slot0: Present:  0x000f0000 | Host ctl: 0x00000001
>>> sdhci_bcm0-slot0: Power:    0x0000000f | Blk gap:  0x00000000
>>> sdhci_bcm0-slot0: Wake-up:  0x00000000 | Clock:    0x00003947
>>> sdhci_bcm0-slot0: Timeout:  0x00000000 | Int stat: 0x00000000
>>> sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
>>> sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
>>> sdhci_bcm0-slot0: Caps:     0x00000000 | Caps2:    0x00000000
>>> sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
>>> sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
>>> sdhci_bcm0-slot0: ===========================================
>>> sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
>>> sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
>>> sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version:  0x00009902
>>> sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt:  0x00000000
>>> sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
>>> sdhci_bcm0-slot0: Present:  0x000f0000 | Host ctl: 0x00000001
>>> sdhci_bcm0-slot0: Power:    0x0000000f | Blk gap:  0x00000000
>>> sdhci_bcm0-slot0: Wake-up:  0x00000000 | Clock:    0x00003947
>>> sdhci_bcm0-slot0: Timeout:  0x00000000 | Int stat: 0x00000000
>>> sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
>>> sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
>>> sdhci_bcm0-slot0: Caps:     0x00000000 | Caps2:    0x00000000
>>> sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
>>> sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
>>> sdhci_bcm0-slot0: ===========================================
>>> sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
>>> sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
>>> sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version:  0x00009902
>>> sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt:  0x00000000
>>> sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
>>> sdhci_bcm0-slot0: Present:  0x000f0000 | Host ctl: 0x00000001
>>> sdhci_bcm0-slot0: Power:    0x0000000f | Blk gap:  0x00000000
>>> sdhci_bcm0-slot0: Wake-up:  0x00000000 | Clock:    0x00003947
>>> sdhci_bcm0-slot0: Timeout:  0x00000000 | Int stat: 0x00000000
>>> sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
>>> sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
>>> sdhci_bcm0-slot0: Caps:     0x00000000 | Caps2:    0x00000000
>>> sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
>>> sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
>>> sdhci_bcm0-slot0: ===========================================
>>> mmc0: No compatible cards found on bus
>>> iicbus0: <OFW I2C bus> on iichb0
>>> iic0: <I2C generic I/O> on iicbus0
>>> mmcsd0: 128GB <SDHC SR128 8.6 SN 4F22B206 MFG 01/2024 by 3 SD> at mmc1 50.0MHz/4bit/65535-block
>>> bcm2835_cpufreq0: ARM 600MHz, Core 200MHz, SDRAM 400MHz, Turbo OFF
>>> uhub0: 5 ports with 4 removable, self powered
>>> CPU  0: ARM Cortex-A72 r0p3 affinity:  0
>>>                     Cache Type = <64 byte D-cacheline,64 byte I-cacheline,PIPT ICache,64 byte ERG,64 byte CWG>
>>>   Instruction Set Attributes 0 = <CRC32>
>>>   Instruction Set Attributes 1 = <>
>>>   Instruction Set Attributes 2 = <>
>>>           Processor Features 0 = <AdvSIMD,FP,EL3 32,EL2 32,EL1 32,EL0 32>
>>> Trying to mount root from ufs:/dev/mmcsd0s2a [ro]...
>>>           Processor Features 1 = <>
>>>           Processor Features 2 = <>
>>>        Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,16TB PA>
>>>        Memory Model Features 1 = <8bit VMID>
>>>        Memory Model Features 2 = <32bit CCIDX,48bit VA>
>>>        Memory Model Features 3 = <>
>>>        Memory Model Features 4 = <>
>>>               Debug Features 0 = <DoubleLock,2 CTX BKPTs,4 Watchpoints,6 Breakpoints,PMUv3,Debugv8>
>>>               Debug Features 1 = <>
>>>           Auxiliary Features 0 = <>
>>>           Auxiliary Features 1 = <>
>>> AArch32 Instruction Set Attributes 5 = <CRC32,SEVL>
>>> AArch32 Media and VFP Features 0 = <FPRound,FPSqrt,FPDivide,DP VFPv3+v4,SP VFPv3+v4,AdvSIMD>
>>> AArch32 Media and VFP Features 1 = <SIMDFMAC,FPHP DP Conv,SIMDHP SP Conv,SIMDSP,SIMDInt,SIMDLS,FPDNaN,FPFtZ>
>>> CPU  1: ARM Cortex-A72 r0p3 affinity:  1
>>> CPU  2: ARM Cortex-A72 r0p3 affinity:  2
>>> CPU  3: ARM Cortex-A72 r0p3 affinity:  3
>>> gic0: using for IPIs
>>> Release APs...done
>>> TCP_ratelimit: Is now initialized
>>> ugen0.2: <vendor 0x2109 USB2.0 Hub> at usbus0
>>> uhub1 on uhub0
>>> uhub1: <vendor 0x2109 USB2.0 Hub, class 9/0, rev 2.10/4.21, addr 1> on usbus0
>>> uhub1: 4 ports with 4 removable, self powered
>>> sdhci_bcm1-slot0: Controller timeout
>>> sdhci_bcm1-slot0: ============== REGISTER DUMP ==============
>>> sdhci_bcm1-slot0: Sys addr: 0x000000c8 | Version:  0x00001002
>>> sdhci_bcm1-slot0: Blk size: 0x00000200 | Blk cnt:  0x00000001
>>> sdhci_bcm1-slot0: Argument: 0x0ee2afff | Trn mode: 0x00000012
>>> sdhci_bcm1-slot0: Present:  0x1fff0a06 | Host ctl: 0x00000007
>>> sdhci_bcm1-slot0: Power:    0x0000000f | Blk gap:  0x00000080
>>> sdhci_bcm1-slot0: Wake-up:  0x00000000 | Clock:    0x00000107
>>> sdhci_bcm1-slot0: Timeout:  0x00000003 | Int stat: 0x00000000
>>> sdhci_bcm1-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff0009
>>> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
>>> sdhci_bcm1-slot0: Caps:     0x45ee6432 | Caps2:    0x0000a525
>>> sdhci_bcm1-slot0: Max curr: 0x00080008 | ADMA err: 0x00000000
>>> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
>>> sdhci_bcm1-slot0: ===========================================
>>> mmcsd0: Error indicated: 1 Timeout
>>> sdhci_bcm1-slot0: Controller timeout
>>> sdhci_bcm1-slot0: ============== REGISTER DUMP ==============
>>> sdhci_bcm1-slot0: Sys addr: 0x000000c8 | Version:  0x00001002
>>> sdhci_bcm1-slot0: Blk size: 0x00000200 | Blk cnt:  0x00000001
>>> sdhci_bcm1-slot0: Argument: 0x0ee2afff | Trn mode: 0x00000012
>>> sdhci_bcm1-slot0: Present:  0x1fff0a06 | Host ctl: 0x00000007
>>> sdhci_bcm1-slot0: Power:    0x0000000f | Blk gap:  0x00000080
>>> sdhci_bcm1-slot0: Wake-up:  0x00000000 | Clock:    0x00000107
>>> sdhci_bcm1-slot0: Timeout:  0x00000003 | Int stat: 0x00000021
>>> sdhci_bcm1-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff0008
>>> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
>>> sdhci_bcm1-slot0: Caps:     0x45ee6432 | Caps2:    0x0000a525
>>> sdhci_bcm1-slot0: Max curr: 0x00080008 | ADMA err: 0x00000000
>>> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
>>> sdhci_bcm1-slot0: ===========================================
>>> mmcsd0: Error indicated: 1 Timeout
>>> sdhci_bcm1-slot0: Controller timeout
>>> sdhci_bcm1-slot0: ============== REGISTER DUMP ==============
>>> sdhci_bcm1-slot0: Sys addr: 0x000000c8 | Version:  0x00001002
>>> sdhci_bcm1-slot0: Blk size: 0x00000200 | Blk cnt:  0x00000004
>>> sdhci_bcm1-slot0: Argument: 0x0ee2afc1 | Trn mode: 0x00000036
>>> sdhci_bcm1-slot0: Present:  0x1fff0a06 | Host ctl: 0x00000007
>>> sdhci_bcm1-slot0: Power:    0x0000000f | Blk gap:  0x00000080
>>> sdhci_bcm1-slot0: Wake-up:  0x00000000 | Clock:    0x00000107
>>> sdhci_bcm1-slot0: Timeout:  0x00000003 | Int stat: 0x00000021
>>> sdhci_bcm1-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff0008
>>> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
>>> sdhci_bcm1-slot0: Caps:     0x45ee6432 | Caps2:    0x0000a525
>>> sdhci_bcm1-slot0: Max curr: 0x00080008 | ADMA err: 0x00000000
>>> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
>>> sdhci_bcm1-slot0: ===========================================
>>> mmcsd0: Error indicated: 1 Timeout
>>> mmcsd0: Error indicated: 1 Timeout
>>> mmcsd0: Error indicated: 1 Timeout
>>> mmcsd0: Error indicated: 1 Timeout
>>> mmcsd0: Error indicated: 1 Timeout
>>> mountroot: waiting for device /dev/mmcsd0s2a...
>>> Mounting from ufs:/dev/mmcsd0s2a failed with error 19.
>>>
>>> Loader variables:
>>>    vfs.root.mountfrom=ufs:/dev/mmcsd0s2a
>>>    vfs.root.mountfrom.options=ro
>>>
>>> Manual root filesystem specification:
>>>    <fstype>:<device> [options]
>>>        Mount <device> using filesystem <fstype>
>>>        and with the specified (optional) option list.
>>>
>>>      eg. ufs:/dev/da0s1a
>>>          zfs:zroot/ROOT/default
>>>          cd9660:/dev/cd0 ro
>>>            (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)
>>>
>>>    ?               List valid disk boot devices
>>>    .               Yield 1 second (for background tasks)
>>>    <empty line>    Abort manual input
>>>
>>> mountroot>
>>> Tried writing the image on a newer (and much-faster) microSD card, no change.
> Last I knew, the FreeBSD kernel did not support the
> much faster modes. There was a time when it did not
> stick to using just modes it actually supported. As
> I remember, it basically did not support any mode
> that required a calibration-of-timing pass to make
> things operational: just modes that did not require
> such.
>
>>> The OFFICIAL load for the RPI here also fails with the same error:https://download.freebsd.org/releases/ISO-IMAGES/14.3/
>>> Any ideas on where to start looking as to what got borked as needless to say -- this sucks!
> ===
> Mark Millard
> marklmi at yahoo.com
>
>
-- 
Karl Denninger
karl@denninger.net
/The Market Ticker/
/[S/MIME encrypted email preferred]/