ISO icon indicating copy to clipboard operation
ISO copied to clipboard

Cannot boot from Mac built-in SD card reader

Open probonopd opened this issue 2 years ago • 2 comments

On Mac mini Mid 2010 (Macmini4,1) FreeBSD 13.0-RELEASE based helloSystem 0.7.0 cannot be booted from SD card using the card reader integrated in the computer. The bootloader is running but then says says Failed to find bootable partition. The same SD card works on the same computer when used in a USB card reader.

PCI ID 14e4:16bc, BCM57765/57785 SDXC/MMC Card Reader.

probonopd avatar Jan 01 '22 19:01 probonopd

The booted FreeBSD 13.0-RELEASE based helloSystem does not react to a SD card being inserted at all. Nothing in dmesg nor in /var/log/automount.log.

https://lists.freebsd.org/pipermail/freebsd-bugs/2015-September/064054.html

This patch adds support for the BCM57765[2] card reader function included in Broadcom's BCM57766 ethernet/sd3.0 controller. This controller is commonly found in laptops and Apple hardware (MBP, iMac, etc).

Maybe something needs to be ported over from the FreeBSD kernel to the boot loader? (Just speculating here...)

Possibly @landonf knows how to get the SD card reader part of the BCM57765/57785 in the Macmini4,1 to work properly with the FreeBSD boot loader?

probonopd avatar Jan 01 '22 21:01 probonopd

This has a similar problem on MacBookPro9,1 (A1286), except it loads into "ERROR cannot open /boot/lua/loader.lua: lua device not configured", If loading on USB, is successful. 0I46

louies0623 avatar Oct 01 '23 10:10 louies0623