Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

kocoman

macrumors 6502
Original poster
Dec 26, 2007
327
44
does anyone have 3rd gen ivy bridge systems interesting in testing coreboot/tianocore to boot osx? i made it mainly to replace the old efi version of the macbook bios
 

kocoman

macrumors 6502
Original poster
Dec 26, 2007
327
44
Which MacBook are you referring to?
Which Macs are you expecting this to be useful for?
Isn't 3rd gen Ivy Bridge 2012 era?
Isn't Ivy Bridge good enough for macOS 11 Big Sur (and 12 Monterey without iGPU)?
https://dortania.github.io/OpenCore-Legacy-Patcher/MODELS.html
https://dortania.github.io/OpenCore-Install-Guide/config.plist/ivy-bridge.html
https://dortania.github.io/OpenCore-Install-Guide/extras/monterey.html
the default coreboot dsdt need some fix to work (at least for me anyway) and to get igpu acceleration hd4000

its uprade the efi version from 1.1 to 2.7 and stop some crashes when loading dh shell things etc. and also easier to pick boot file with file selector in tianocore.

if others can boot coreboot via the ch1p mmga method or soic clip flash.. or maybe even regular macpro with soic spi flash that has coreboot working via autoport? (the autoport only supports 2nd and 3rd gen) or even amd builds.. i did it because my acer xc600 was giving problems with slide values on existing ami bios. finally fixed that then i tried on macbookpro10, then now testing on macbookpro8
 

joevt

macrumors 604
Jun 21, 2012
6,968
4,262
its uprade the efi version from 1.1 to 2.7 and stop some crashes when loading dh shell things etc. and also easier to pick boot file with file selector in tianocore.
Issues with EFI 1.1 can be worked around but it would be nice to have a full UEFI 2.7 implementation.

I believe UEFI Shell (or OpenShell) may hang on EFI 1.1 if you try -b option (to pause after a page of text is output) with any command (not just dh) but that could probably be fixed by adding a protocol
https://github.com/acidanthera/bugtracker/issues/2005

RefindPlus and OpenCore have their own file selectors.

macOS can set boot options using nvram command line.
https://gist.github.com/joevt/477fe842d16095c2bfd839e2ab4794ff
 

kocoman

macrumors 6502
Original poster
Dec 26, 2007
327
44
the tianocore/coreboot lets you unlock your own bios, force igpu only without that locked out/read only nvram, boot in text mode file selector, disable bprochot (for removed/bad battery), make your own custom edits/additions to the bios, know what gets run without reverse enginner bios, disable PR0/PR1 protection completely. I find it easier to know if my bios is working because I don't have to wait for the ? logo or have to hold alt to show something.. then there is usb debug messages output for macbookpro10,1... maybe intergate opencore/lilu/WEG into the flash someday, since the original macbook bios is outdated and apple have no plans to update it. and maybe help out the coreboot/tianocore community at the same time.. sorry for the run-on.. I will post it someday.. but will post faster if there is some interest for this
 

joevt

macrumors 604
Jun 21, 2012
6,968
4,262
To be clear, tianocore/coreboot is not just a UEFI implementation on top of BIOS or old EFI? It's an entire replacement that is written to the firmware?
 

kocoman

macrumors 6502
Original poster
Dec 26, 2007
327
44
To be clear, tianocore/coreboot is not just a UEFI implementation on top of BIOS or old EFI? It's an entire replacement that is written to the firmware?
Its complete open source overwrite of the existing bios. all open source.. I was able to edit some of its .c files to able to enable the pci bridge that was disabled by coreboot when dgpu was disabled.. causing thunderbolt not to work and give -110 error with irq .. but the fix was actually because the code in coreboot disabled it.. but after 6 years of trial and error I got that part.. now the part is stuck is nvram.. I am able to bypass it with dmpstore -all -l file.bin.. but would like to integrate that into tianocore if I understand the code in the MdeModulePkg/Universal/Variable/RuntimeDxe/Variable files..

there is already open source bios floating around I am not sure why some people here still want to use the existing mac bios.. I find the retail bios strange, no cmos options. uses restricted locked out nvram .. or maybe I guess not much interest/people use mac(hardware and software)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.