intelmacmini

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
intelmacmini [2019/04/09 00:18] – Added drm2.ko PR; added drm-legacy-kmod notes for macmini2,1 TrevorRoydhouseintelmacmini [2022/10/09 13:20] (current) – Update the latest working FreeBSD release to 13.1 for macmini4,1 GasolWu
Line 3: Line 3:
 ====== Support status ====== ====== Support status ======
  
-| Model | Id | Family | Architecture | Last known working %%FreeBSD%% release | Highest bootable OS X/macOS Version | +| Model | Id | Family | Architecture | Last known working %%FreeBSD%% release | Highest bootable OS X/macOS version | 
-| A1176 | Macmini1,1 | early 2006 | Intel | ? | Snow Leopard 10.6.8 | +| A1176 | macmini1,1 | early 2006 | Intel | ? | Snow Leopard 10.6.8 | 
-| A1176 | Macmini1,1 | late 2006 | Intel | ? | Snow Leopard 10.6.8 | +| A1176 | macmini1,1 | late 2006 | Intel | ? | Snow Leopard 10.6.8 | 
-| A1176 | Macmini2,1 | mid 2007 | Intel | 12.0-RELEASE i386%%**%% | Lion 10.7.5 | +| A1176 | macmini2,1 | mid 2007 | Intel | 12.0-RELEASE i386%%**%% | Lion 10.7.5 | 
-| A1283 | Macmini3,1 | early 2009 | Intel | 12.0-RELEASE amd64 | El Capitan 10.11.x | +| A1283 | macmini3,1 | early 2009 | Intel | 12.0-RELEASE amd64 | El Capitan 10.11.x | 
-| A1283 | Macmini3,1 | late 2009 | Intel | 12.0-RELEASE amd64 | El Capitan 10.11.x | +| A1283 | macmini3,1 | late 2009 | Intel | 12.1-RELEASE amd64 | El Capitan 10.11.x | 
-| A1347 | Macmini4,1 | mid 2010 | Intel | 9.0-RELEASE ??? | High Sierra 10.13.x | +| A1347 | macmini4,1 | mid 2010 | Intel | 13.1-RELEASE amd64 | High Sierra 10.13.x | 
-| A1347 | Macmini5,1 | mid 2011 | Intel | 12.0-RELEASE amd64 | High Sierra 10.13.x | +| A1347 | macmini5,1 | mid 2011 | Intel | 12.2-RELEASE amd64 | High Sierra 10.13.x | 
-| A1347 | Macmini5,2 | mid 2011 | Intel | 12.0-RELEASE amd64 | High Sierra 10.13.x | +| A1347 | macmini5,2 | mid 2011 | Intel | 12.2-RELEASE amd64 | High Sierra 10.13.x | 
-| A1347 | Macmini5,3 | mid 2011 | Intel | 12.0-RELEASE amd64 | High Sierra 10.13.x | +| A1347 | macmini5,3 | mid 2011 | Intel | 12.2-RELEASE amd64 | High Sierra 10.13.x | 
-| A1347 | Macmini6,1 | late 2012 | Intel | ? | Mojave 10.14.x (current) | +| A1347 | macmini6,1 | late 2012 | Intel | ? | Catalina 10.15.x | 
-| A1347 | Macmini6,2 | late 2012 | Intel | ? | Mojave 10.14.x (current) | +| A1347 | macmini6,2 | late 2012 | Intel | ? | Catalina 10.15.x | 
-| A1347 | Macmini7,1 | late 2014 | Intel | ? | Mojave 10.14.x (current) | +| A1347 | macmini7,1 | late 2014 | Intel | 12.2-RELEASE amd64 | Monterey 12.x (current) | 
-| A1993 | Macmini8,1 | late 2018 | Intel | ? | Mojave 10.14.x (current) |+| A1993 | macmini8,1 | late 2018 | Intel | ? | Monterey 12.x (current) |
  
-%%**%% Source upgrade from 11.2-STABLE i386; 11.2-RELEASE i386 installable from CD-ROM. See [[IntelMacMini#Mac_mini_2.2C1|Notes]] below.+%%**%% Source upgrade from 11.2-STABLE i386; 11.2-RELEASE i386 installable from CD-ROM. See [[#Mac_mini_2.2C1|Notes]] below.
  
 ====== Outstanding PRs ====== ====== Outstanding PRs ======
Line 24: Line 24:
   * https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235983 - macmini2,1 and macmini3,1 FireWire not working   * https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235983 - macmini2,1 and macmini3,1 FireWire not working
   * https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233098 - macmini2,1 fails to boot with lua loader error   * https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233098 - macmini2,1 fails to boot with lua loader error
 +  * https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234031 - %%FreeBSD%% 12.0-RELEASE fails to boot with lua loader issue
   * https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201461 - EFI Xorg issues   * https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201461 - EFI Xorg issues
   * https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237127 - drm2.ko module issue with drm-legacy-kmod-g20190213   * https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237127 - drm2.ko module issue with drm-legacy-kmod-g20190213
 +  * https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262456 - asmc kernel module patches for 5,1, 5,3 and 7,1 models
  
 ====== Installing FreeBSD as the only operating system ====== ====== Installing FreeBSD as the only operating system ======
Line 39: Line 41:
  
 ==== Be aware ==== ==== Be aware ====
 +
 +  * ✔ %%BootROM%% version MM21.009A.B00 and SMC version **1.19f2** (two cases confirmed of successful installation of 11.2-RELEASE i386).
 +  * ✘  %%BootROM%% version MM21.009A.B00 and SMC version **1.19f0** (one case confirmed of failure to detect 11.2-RELEASE i386 CD-ROM disc).
  
   * You cannot eject the %%FreeBSD%% disc from within the %%FreeBSD%% installer as it is in use and, after a reboot, the %%FreeBSD%% installation on the internal hard disk will not be found.   * You cannot eject the %%FreeBSD%% disc from within the %%FreeBSD%% installer as it is in use and, after a reboot, the %%FreeBSD%% installation on the internal hard disk will not be found.
   * This Mac mini will not detect %%FreeBSD%% installation discs in an external CD/DVD drive   * This Mac mini will not detect %%FreeBSD%% installation discs in an external CD/DVD drive
   * This Mac mini will detect an OS X installation disc in an external CD/DVD/ drive   * This Mac mini will detect an OS X installation disc in an external CD/DVD/ drive
-  * The %%FreeBSD%% 12.0-RELEASE i386 (and stable snapshot) images do not boot - install from 11.2-RELEASE i386 CD-ROM and source upgrade to 12.0-RELEASE.+  * The %%FreeBSD%% 12.0-RELEASE i386 (and stable snapshot) images do not boot - install from the 11.2-RELEASE i386 CD-ROM and source upgrade to 12.0-RELEASE. NOTE: the later 11.3-RELEASE i386 CD-ROM will not boot. 
 +  * The Boot Camp documentation for the Mac Mini 2,1 says you can load a 32 bit Vista system, but not a 64 bit version. Use i386 only.
  
 ==== Recipe ==== ==== Recipe ====
Line 187: Line 193:
 %%FreeBSD%% cannot be installed on the 2018 Mac mini's internal SSD because there is no %%FreeBSD%% driver for the [[https://www.apple.com/mac/docs/Apple_T2_Security_Chip_Overview.pdf|Apple T2 chip]] which contains among other things the SSD controller, so %%FreeBSD%% cannot detect the internal SSD. %%FreeBSD%% cannot be installed on the 2018 Mac mini's internal SSD because there is no %%FreeBSD%% driver for the [[https://www.apple.com/mac/docs/Apple_T2_Security_Chip_Overview.pdf|Apple T2 chip]] which contains among other things the SSD controller, so %%FreeBSD%% cannot detect the internal SSD.
  
-It is possible to install %%FreeBSD%% onto an externally attached hard disk/SSD if you:+It **may be possible** to install %%FreeBSD%% onto an externally attached hard disk/SSD if you:
  
   * Use the macOS **Startup Security Utility** which can only be accessed by booting into macOS Recovery (so make sure you do this before attempting to install %%FreeBSD%%).   * Use the macOS **Startup Security Utility** which can only be accessed by booting into macOS Recovery (so make sure you do this before attempting to install %%FreeBSD%%).
   * Change the "Secure Boot" option from the default "Full Security" to "No Security".   * Change the "Secure Boot" option from the default "Full Security" to "No Security".
   * Change the "External Boot" option from the default "Disallow booting from external media" to "Allow booting from external media".   * Change the "External Boot" option from the default "Disallow booting from external media" to "Allow booting from external media".
 +
 +However, I had no success. The USB memory stick image (also tried the ISO image dd'd to a USB memory stick, and a CD drive image) gets as far as the "BOOTING" message and the monitor loses the video signal. This may be related to the ongoing 2018 Mac mini monitor issues (see the Apple Forum).
 +
 +Google suggests that some Linux distributions do boot (but, of course, cannot install on the internal SSD drive), so there may be some hope.
  
 ====== Model specific information ====== ====== Model specific information ======
Line 212: Line 222:
 Notes: Notes:
  
 +  * %%FreeBSD%% installation CD-ROM images after %%FreeBSD%% 11.2-RELEASE i386 will **not boot**.
   * 12-STABLE i386 snapshot ISO of 20190207 installer fails to boot with a lua startup error: {{intelmacmini/12stablemacmini21.jpg?linkonly|12STABLEmacmini21.jpg}}.   * 12-STABLE i386 snapshot ISO of 20190207 installer fails to boot with a lua startup error: {{intelmacmini/12stablemacmini21.jpg?linkonly|12STABLEmacmini21.jpg}}.
   * 11.2-RELEASE i386, 11.2-STABLE i386 r344113, 12.0-STABLE i386 r345906 fails to reboot via %%%%''%%reboot%%''%%%% or %%%%''%%shutdown -r now%%''%%%% and hangs after syncing disks and detaching USB peripherals **but** %%%%''%%reboot -q%%''%%%% does successfully reboot the system after syncing the disk.   * 11.2-RELEASE i386, 11.2-STABLE i386 r344113, 12.0-STABLE i386 r345906 fails to reboot via %%%%''%%reboot%%''%%%% or %%%%''%%shutdown -r now%%''%%%% and hangs after syncing disks and detaching USB peripherals **but** %%%%''%%reboot -q%%''%%%% does successfully reboot the system after syncing the disk.
Line 218: Line 229:
   * FireWire log (non-working): {{intelmacmini/fw_macmini21.log?linkonly|fw_macmini21.log}}   * FireWire log (non-working): {{intelmacmini/fw_macmini21.log?linkonly|fw_macmini21.log}}
   * After installing drm-legacy-kmod-g20190213:   * After installing drm-legacy-kmod-g20190213:
-    * Add %%%%''%%kld_list="/boot/modules/drm2.ko"%%''%%%% and %%%%''%%kld_list="/boot/modules/i915kms.ko"%%''%%%% to %%%%''%%/etc/rc.conf%%''%%%%+    * Add %%%%''%%kld_list="/boot/modules/drm2.ko /boot/modules/915kms.ko"%%''%%%% to %%%%''%%/etc/rc.conf%%''%%%%
     * Rename/delete the base system %%%%''%%/boot/kernel/drm2.ko%%''%%%% module to stop the system loading the wrong module (see [[https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237127|PR]])     * Rename/delete the base system %%%%''%%/boot/kernel/drm2.ko%%''%%%% module to stop the system loading the wrong module (see [[https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237127|PR]])
  
Line 271: Line 282:
  
   * ✔ [[https://www.freebsd.org/cgi/man.cgi?query=asmc&sektion=4|asmc(4)]]  Apple System Management Controller (SMC)   * ✔ [[https://www.freebsd.org/cgi/man.cgi?query=asmc&sektion=4|asmc(4)]]  Apple System Management Controller (SMC)
 +  * ✔ [[https://www.freebsd.org/cgi/man.cgi?query=bge&sektion=4|bge(4)]]   Broadcom %%NetXtreme%% BCM57765 Gigabit Ethernet PCIe Ethernet driver
  
 Notes: Notes:
  
-  * t/c+  * To get [[https://www.freebsd.org/cgi/man.cgi?query=bge&sektion=4|bge(4)]] working, add the following to %%%%''%%/boot/loader.conf%%''%%%%: 
 + 
 +<code> 
 +hw.pci.enable_msi="0" 
 +</code>
  
 ===== Mac mini 5,1 ===== ===== Mac mini 5,1 =====
  
-  * ✘ [[https://www.freebsd.org/cgi/man.cgi?query=asmc&sektion=4|asmc(4)]]  Apple System Management Controller (SMC) //[not supported yet]//+  * ✔ [[https://www.freebsd.org/cgi/man.cgi?query=asmc&sektion=4|asmc(4)]]  Apple System Management Controller (SMC) //[see my patches at [[https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262456]]]//
   * ✔ [[https://www.freebsd.org/cgi/man.cgi?query=bge&sektion=4|bge(4)]]   Broadcom %%NetXtreme%% BCM57765 Gigabit Ethernet PCIe Ethernet driver   * ✔ [[https://www.freebsd.org/cgi/man.cgi?query=bge&sektion=4|bge(4)]]   Broadcom %%NetXtreme%% BCM57765 Gigabit Ethernet PCIe Ethernet driver
   * ✘ [[https://www.freebsd.org/cgi/man.cgi?query=bwn&sektion=4|bwn(4)]]   Broadcom BCM4331 802.11n Dual-Band Wireless //[support in progress]//   * ✘ [[https://www.freebsd.org/cgi/man.cgi?query=bwn&sektion=4|bwn(4)]]   Broadcom BCM4331 802.11n Dual-Band Wireless //[support in progress]//
Line 312: Line 328:
 ===== Mac mini 5,3 ===== ===== Mac mini 5,3 =====
  
-  * ✘ [[https://www.freebsd.org/cgi/man.cgi?query=asmc&sektion=4|asmc(4)]]  Apple System Management Controller (SMC) //[not supported yet]//+  * ✔ [[https://www.freebsd.org/cgi/man.cgi?query=asmc&sektion=4|asmc(4)]]  Apple System Management Controller (SMC) //[see my patches at [[https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262456]]]//
   * ✔ [[https://www.freebsd.org/cgi/man.cgi?query=bge&sektion=4|bge(4)]]   Broadcom %%NetXtreme%% BCM57765 Gigabit Ethernet PCIe Ethernet driver   * ✔ [[https://www.freebsd.org/cgi/man.cgi?query=bge&sektion=4|bge(4)]]   Broadcom %%NetXtreme%% BCM57765 Gigabit Ethernet PCIe Ethernet driver
   * ✘ [[https://www.freebsd.org/cgi/man.cgi?query=bwn&sektion=4|bwn(4)]]   Broadcom BCM4331 802.11n Dual-Band Wireless //[support in progress]//   * ✘ [[https://www.freebsd.org/cgi/man.cgi?query=bwn&sektion=4|bwn(4)]]   Broadcom BCM4331 802.11n Dual-Band Wireless //[support in progress]//
Line 331: Line 347:
   * t/c   * t/c
  
-===== Mac mini 7,1 =====+===== Mac mini 6,2 =====
  
   * ✘ [[https://www.freebsd.org/cgi/man.cgi?query=asmc&sektion=4|asmc(4)]]  Apple System Management Controller (SMC) //[not supported yet]//   * ✘ [[https://www.freebsd.org/cgi/man.cgi?query=asmc&sektion=4|asmc(4)]]  Apple System Management Controller (SMC) //[not supported yet]//
 +
 +Notes:
 +
 +  * t/c
 +
 +===== Mac mini 7,1 =====
 +
 +  * ✔ [[https://www.freebsd.org/cgi/man.cgi?query=asmc&sektion=4|asmc(4)]]  Apple System Management Controller (SMC) //[see my patches at [[https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262456]]]//
   * ✔ [[https://www.freebsd.org/cgi/man.cgi?query=ng_ubt&sektion=4|ng_ubt(4)]] Driver for Bluetooth USB devices   * ✔ [[https://www.freebsd.org/cgi/man.cgi?query=ng_ubt&sektion=4|ng_ubt(4)]] Driver for Bluetooth USB devices
  
Line 351: Line 375:
  
   * To set minimum fan speed to eg 2200 RPM, add %%%%''%%dev.asmc.0.fan.0.minspeed=2200%%''%%%% to [[https://www.freebsd.org/cgi/man.cgi?query=sysctl.conf&sektion=5|/etc/sysctl.conf]] which will work after a reboot; or set it on the command line for instant results %%%%''%%sysctl dev.asmc.0.fan.0.minspeed=2200%%''%%%%.   * To set minimum fan speed to eg 2200 RPM, add %%%%''%%dev.asmc.0.fan.0.minspeed=2200%%''%%%% to [[https://www.freebsd.org/cgi/man.cgi?query=sysctl.conf&sektion=5|/etc/sysctl.conf]] which will work after a reboot; or set it on the command line for instant results %%%%''%%sysctl dev.asmc.0.fan.0.minspeed=2200%%''%%%%.
 +
 +====== See also ======
 +
 +* [[AppleSilicon|Apple Silicon Support on FreeBSD]]
  
 ---- ----
  • intelmacmini.1554769129.txt.gz
  • Last modified: 2019/04/09 00:18
  • by TrevorRoydhouse