News for hackers. Stuff that matters.
Re:macOS Big Sur 11.2 beta 2 adds full custom kernel support by marcan_42 on Thursday January 14, 2021 @04:59AM (#25774442)
I am streaming the M1 bring-up process right now: https://youtu.be/d5s9fYfvzmY

Currently working on the bootloader/research tool.

Re:macOS Big Sur 11.2 beta 2 adds full custom kernel support by _joel on Thursday January 14, 2021 @08:04AM (#25775832)
This is fascinating, thanks. Very good for soaking up low level concepts
Re:macOS Big Sur 11.2 beta 2 adds full custom kernel support by dgellow on Thursday January 14, 2021 @05:29AM (#25774701)
Splendid, thanks for this :)
Re:macOS Big Sur 11.2 beta 2 adds full custom kernel support by weikju on Thursday January 14, 2021 @04:36AM (#25774181)
What does this mean exactly?

EDIT:

https://news.ycombinator.com/item?id=25773611 answers this

     As far as I'm aware the tool (probably Disk Utility I think?) on macOS that allows you to replace the bootloader etc now supports non-macOS replacements.
Re:macOS Big Sur 11.2 beta 2 adds full custom kernel support by GeekyBear on Thursday January 14, 2021 @04:49AM (#25774328)
Their wiki has some interesting information on how the M1 boot process works in comparison to a UEFI PC.

https://github.com/AsahiLinux/docs/wiki/M1-vs.-PC-Boot

Re:macOS Big Sur 11.2 beta 2 adds full custom kernel support by jhoechtl on Thursday January 14, 2021 @05:35AM (#25774751)
Does this practically mean I will be able to replace macOS on Apple hardware with Linux with Apples blessing?
Re:macOS Big Sur 11.2 beta 2 adds full custom kernel support by pilif on Thursday January 14, 2021 @05:59AM (#25774913)
yes. However that Linux will not be very useful because there are no drivers for the machine and Apple is not documenting any of their hardware to the point that people could easily write drivers.

This will be a huge reverse-engineering effort.

Re:macOS Big Sur 11.2 beta 2 adds full custom kernel support by pabs3 on Thursday January 14, 2021 @07:10AM (#25775444)
The reverse engineering is full-steam-ahead, a post about the GPU:

https://rosenzweig.io/blog/asahi-gpu-part-1.html

Re:macOS Big Sur 11.2 beta 2 adds full custom kernel support by DoomHotel on Thursday January 14, 2021 @06:56AM (#25775324)
We went through that last time with their sad attempts at UEFI compliance.

So long as they allow the possibility it will happen.

In other news, they allow firewalls to work as designed in this release. So some kind of sanity may be taking hold.

Re:macOS Big Sur 11.2 beta 2 adds full custom kernel support by pilif on Thursday January 14, 2021 @08:13AM (#25775901)
>So long as they allow the possibility it will happen.

AFAIK there is still no support for the T2 disk controller even though T2 macs are a thing for 4 years now.

I'm sure it will eventually happen, but don't hold your breath.

Re:macOS Big Sur 11.2 beta 2 adds full custom kernel support by marcan_42 on Thursday January 14, 2021 @11:11AM (#25778082)
This myth keeps coming up. The T2 disk controller is just a normal NVMe controller with a couple nonstandard quirks. There is upstream support now.

It took a while to work out because nobody sat down and got it done on day 1. This could've been worked out within 24 hours of the T2 macs' release, working at the pace at which I expect to be working on M1 bring-up.

Re:macOS Big Sur 11.2 beta 2 adds full custom kernel support by my123 on Thursday January 14, 2021 @08:21AM (#25775974)
AFAIK it got merged a while back: https://github.com/torvalds/linux/commit/66341331ba0d2de4ff4... (for Linux 5.4)

It isn't even a big patch.

Re:macOS Big Sur 11.2 beta 2 adds full custom kernel support by Tectorial on Thursday January 14, 2021 @03:13AM (#25773572)
How that will actually work? Google does not give more details.
Re:macOS Big Sur 11.2 beta 2 adds full custom kernel support by my123 on Thursday January 14, 2021 @04:02AM (#25773922)
$ kmutil configure-boot -c loader.macho

loader being a Mach-O executable that iBoot will jump to. After that everything is for you.

Note: the command should be executed from macOS 1 True Recovery (hold the power button for the first few seconds at boot up) to downgrade the security policy.

Re:macOS Big Sur 11.2 beta 2 adds full custom kernel support by ytch on Thursday January 14, 2021 @04:43AM (#25774254)
Thanks for the command. I found this by searching " kmutil configure-boot":

https://twitter.com/never_released/status/133975317062974669...

the MBA of @marcan42 seems l̵i̵k̵e̵ ̵I̵n̵t̵e̵l̵ ̵b̵a̵s̵e̵d̵,̵ ̵i̵f̵ ̵M̵1̵ ̵i̵s̵ ̵a̵v̵a̵i̵l̵a̵b̵l̵e̵ ̵t̵o̵o̵ (it's M1 acturally) it means we can boot other OS on M1?

Re:macOS Big Sur 11.2 beta 2 adds full custom kernel support by marcan_42 on Thursday January 14, 2021 @04:59AM (#25774434)
The MBA in the video is an M1 Mac.
Re:macOS Big Sur 11.2 beta 2 adds full custom kernel support by ytch on Thursday January 14, 2021 @05:01AM (#25774459)
oops, thanks
Re:macOS Big Sur 11.2 beta 2 adds full custom kernel support by tsujp on Thursday January 14, 2021 @03:17AM (#25773611)
As far as I'm aware the tool (probably Disk Utility I think?) on macOS that allows you to replace the bootloader etc now supports non-macOS replacements.
Re:macOS Big Sur 11.2 beta 2 adds full custom kernel support by nicolas-siplis on Thursday January 14, 2021 @04:13AM (#25773999)
I'm curious as to Apple's angle here. They have always had a closed ecosystem, so I'm wondering what made them change their approach so drastically.
Re:macOS Big Sur 11.2 beta 2 adds full custom kernel support by rsynnott on Thursday January 14, 2021 @06:15AM (#25775002)
I'm not sure there's ever been a Mac where you couldn't boot your own OS. Maybe the very, very early ones, but Linux for the later M68k and PPC Macs was definitely a thing.
Re:macOS Big Sur 11.2 beta 2 adds full custom kernel support by alwillis on Thursday January 14, 2021 @09:16AM (#25776468)
I used to support a lab of triple-bootable Macs—macOS/Windows/Linux.

Current macOS is more locked down due to privacy and security threats primarily, not because Apple doesn’t want you to boot a non-Apple OS.

Re:macOS Big Sur 11.2 beta 2 adds full custom kernel support by asddubs on Thursday January 14, 2021 @05:31AM (#25774715)
AFAIK this was always planned for the m1 macs
Re:macOS Big Sur 11.2 beta 2 adds full custom kernel support by pharmakom on Thursday January 14, 2021 @09:01AM (#25776303)
Personally, I will only consider a mac if there is the option to run Linux.
Re:macOS Big Sur 11.2 beta 2 adds full custom kernel support by saagarjha on Thursday January 14, 2021 @04:19AM (#25774037)
Mac.