Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Can't boot NetBSD from SDcard via UEFI on Raspberry Pi 5 (8GB D0) - sdmmc1: couldn’t enable card: 60



> On Jan 2, 2026, at 2:12 AM, Nick Hudson <nick.hudson%gmx.co.uk@localhost> wrote:
> 
> On 02/01/2026 14:00, Tim McIntosh wrote:
>> Hello,
>> I recently purchased a Raspberry Pi 5 (8GB, D0 stepping) and have been trying to boot NetBSD on it via UEFI (following the instructions on the wiki <https://wiki.netbsd.org/ports/evbarm/raspberry_pi/>), but have had no luck.
>> I believe I’ve tried all of the following:
>> https://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-10/latest/evbarm-aarch64/binary/gzimg/arm64.img.gz
>> https://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-11/latest/evbarm-aarch64/binary/gzimg/arm64.img.gz
>> https://nycdn.netbsd.org/pub/arm/HEAD/20260101113528Z/NetBSD-HEAD-aarch64-20260101113528Z-generic.img.gz
>> I’ve also tried fiddling with the UEFI settings, with no improvement.
>> In all cases, boot fails after these errors:
>> [4.3283271] sdmmc1: couldn’t send I/O OCR
>> [4.3383275] sdmmc1: couldn’t enable card: 60
>> [7.4883652] sdmmc1: couldn’t send I/O OCR
>> [7.4983656] sdmmc1: couldn't enable card: 60
>> [10.3984004] sdmmc0: couldn't enable card: 60
>> Is this a known issue?
> 
> yes, it is.

Thank you for your reply. Is there an existing PR? I couldn’t find one.

> USB or NVME (via hat) storage is best for root anway.

Good to know. I wish I had known this before I spent money on the SD card and official case. I was hoping to avoid external storage or using a HAT since it won’t fit in the case with fan + lid <https://forums.raspberrypi.com/viewtopic.php?t=370927>. I could try using a USB SD card adapter if that is expected to work.

Perhaps someone with access could update the wiki page so that others aren’t misled into spending time/money on something that’s not expected to work? The current page gives the strong impression that using an SD card is the preferred approach and should be expected to work.

Thanks,
Tim

> 
>> I saw some previous discussion concerning a similar error recently <https://mail-index.netbsd.org/port-arm/2025/09/18/msg009409.html>, but I’m not sure if that’s related, as that fix would appear to be in at least the HEAD build that I tested.
>> The SD card is a new SanDisk Extreme PLUS microSDHC UHS-I 32GB <https://shop.sandisk.com/products/memory-cards/microsd-cards/sandisk-extreme-uhs-i-microsd?sku=SDSQXAF-032G-GN6MA>. I used the Raspberry Pi Imager app on macOS to write the NetBSD image, mounted the boot partition with diskutil, and then copied over the firmware from <https://github.com/NumberOneGit/rpi5-uefi/releases/download/v0.1/RPI5_D0.zip> to the boot partition as instructed before unmounting and attempting to boot from the card.
>> Thank you,
>> Tim McIntosh
>> HDMI console output follows (recovered from photo via OCR):
>> 3.3V, re-tuning mode 1(16s timer), 2048 byte blocks
>> [1.0000040] sdmmc1 at sdhc1 slot 0
>> [1.0000040] genfb0 at simplebus1: Simple Framebuffer (1920x1080 32-bpp @ 0x3f400000)
>> [1.0000040] genfb0: framebuffer at 0x3f400000, size 1920x1080, depth 32, stride 7680
>> [1.0000040] wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 emulation)
>> [1.1674422] uhub0 at usb0: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 3.00/1.00, addr 0
>> [1.1674422] uhub1 at usb1: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 0
>> [1.1674422] uhub2 at usb2: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 3.00/1.00, addr 0
>> [1.1674422] uhub3 at usb3: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 0
>> [1.1974442] cpu0: PMU interrupting on irq 48
>> [1.1974442] cpu1: PWU interrupting on irq 49
>> [1.1974442] cpu2: PMU interrupting on irq 50
>> [1.1974442] сpuз: PMU interrupting on irq 51
>> [1.7082955] uhidev0 at uhub1 port 2 configuration 1 interface 0
>> ...
>> [1.7182957] ums0 at uhidev0: 3 buttons and Z dir
>> [1.7182957] wsmouse0 at ums0 mux 0
>> [2.5283055] uhidev1 at uhub4 port 1 configuration 1 interface 0
>> [2.5283055] uhidev1: Sony Computer Entertainment Inc. (0x054c) SCE USB Keyboard (0x005c), rev 1.10/0.01, addr 2, class 3/1
>> [2.5483057] ukbd0 at uhidev1
>> [2.6683072] wskbd0 at ukbd0: console keyboard, using wsdisplay0
>> [4.3283271] sdmmc1: couldn’t send I/O OCR
>> [4.3383275] sdmmc1: couldn’t enable card: 60
>> [7.4883652] sdmmc1: couldn’t send I/O OCR
>> [7.4983656] sdmmc1: couldn't enable card: 60
>> [10.3984004] sdmmc0: couldn't enable card: 60
>> [10.4184017] swwdog0: softuare watchdog initialized
>> [10.4184017] WARNING: 5 errors while detecting hardware: check system log.
>> [10.4184017] boot device: <unknoun>
>> [10.4184017] root device:




Home | Main Index | Thread Index | Old Index