helloSystem / ISO

helloSystem Live and installation ISO
https://github.com/helloSystem/
BSD 3-Clause "New" or "Revised" License
808 stars 58 forks source link

Cannot boot from Mac built-in SD card reader #356

Open probonopd opened 2 years ago

probonopd commented 2 years ago

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 commented 2 years ago

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?

louies0623 commented 1 year ago

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