#asahi-dev · 2021-05-15 08:18
marcanEighth_Doctor: also, do you know about the RHEL page size problem?#asahi-dev · 2021-05-15 08:18
marcanI want to take care of the early boot stuff and just present distros with a UEFI boot environment, but all the downstream user experience stuff matters#asahi-dev · 2021-05-15 08:17
marcanthere's stuff like thunderbolt, etc#asahi-dev · 2021-05-15 08:17
marcanthat's going to involve some kind of daemon presumably#asahi-dev · 2021-05-15 08:17
marcane.g. we have to deal with the Touch Bar#asahi-dev · 2021-05-15 08:17
marcanI think most of the distro-side work, besides whatever you want to do to have bleeding-edge repos, is going to be about drivers#asahi-dev · 2021-05-15 08:15
marcan(a long time ago I wrote usbmuxd and worked on libimobiledevices and stuff which idevicerestore builds on...)#asahi-dev · 2021-05-15 08:15
marcan(or updates it)#asahi-dev · 2021-05-15 08:15
marcanwhich installs 1TR#asahi-dev · 2021-05-15 08:15
marcanso adding the required stuff there should be all that's required to support recovering/resetting M1 macs from another Linux box#asahi-dev · 2021-05-15 08:14
marcanbut it's just an extension of the existing stuff for iOS, which idevicerestore implements already#asahi-dev · 2021-05-15 08:14
marcancurrently that can only be done from another macOS machine#asahi-dev · 2021-05-15 08:14
marcanthat's how you restore a "bricked" M1 that lost its 1TR/iSC or similar#asahi-dev · 2021-05-15 08:14
marcanI'm more interested in adding M1 support to idevicerestore#asahi-dev · 2021-05-15 08:14
marcanthough I wouldn't want to open that can of worms, too much risk of bricking#asahi-dev · 2021-05-15 08:14
marcanthat's because SFR (including 1TR) is signed#asahi-dev · 2021-05-15 08:13
marcanand presumably by us, if we implement the required flow#asahi-dev · 2021-05-15 08:13
marcanyes#asahi-dev · 2021-05-15 08:13
marcan(only after aboot do they let us install stuff if unlocked)#asahi-dev · 2021-05-15 08:13
marcannor on android, for the same reason#asahi-dev · 2021-05-15 08:13
marcannot on machines with boot guard and such#asahi-dev · 2021-05-15 08:12
marcanremoving macOS is definitely an option#asahi-dev · 2021-05-15 08:12
marcanbut that's like removing UEFI on a PC is not an option#asahi-dev · 2021-05-15 08:12
marcanremoving *1TR* is not an option#asahi-dev · 2021-05-15 08:12
marcanit is#asahi-dev · 2021-05-15 08:12
marcanon Android once your unlock your bootloader, it's tainted#asahi-dev · 2021-05-15 08:12
marcanno other machine does that to my knowledge#asahi-dev · 2021-05-15 08:12
marcanand one does not taint the other#asahi-dev · 2021-05-15 08:11
marcanand then Linux, in another partition#asahi-dev · 2021-05-15 08:11
marcanyou can have a fully Apple-signed, security-enforced macOS installed, which will play Netflix 4K and run iOS apps#asahi-dev · 2021-05-15 08:11
marcannot *per machine*#asahi-dev · 2021-05-15 08:11
marcanthey do security *per OS*#asahi-dev · 2021-05-15 08:11
marcanthe whole thing is really clever#asahi-dev · 2021-05-15 08:11
marcanI mean, it makes sense#asahi-dev · 2021-05-15 08:11
marcanthey allow it, but they require physical attestation for installation and first-stage updates#asahi-dev · 2021-05-15 08:11
marcanthis is their compromise for third-party OSes#asahi-dev · 2021-05-15 08:11
marcanwell, for apple it kind of is because they have their own signatures and stuff, which is why they can update macos from macos, but sadly we can't do that#asahi-dev · 2021-05-15 08:10
marcanso you really need to think of it as some "UEFI firmware thing" except it's not UEFI and it happens to be based on a macos kernel/gui#asahi-dev · 2021-05-15 08:09
marcanyou can't install m1n1 from normal macos either, or even from a regular macos recovery instance#asahi-dev · 2021-05-15 08:09
marcanlike, 1TR is based on macos but it's not normal macos#asahi-dev · 2021-05-15 08:09
marcanthis is *specifically* a *specific* recovery partition that is a core part of SFR (system firmware and recovery) and represents a trusted state and is triggered via physical button press#asahi-dev · 2021-05-15 08:08
marcanlike, this isn't an OS thing#asahi-dev · 2021-05-15 08:08
marcanit has to be 1TR, not macos#asahi-dev · 2021-05-15 08:08
marcan(or not, our choice of course)#asahi-dev · 2021-05-15 08:08
marcanand have real security#asahi-dev · 2021-05-15 08:08
marcanwhich means *we* can still define a useful secureboot policy rooted there#asahi-dev · 2021-05-15 08:08
marcanbut M1s are better; on M1s, m1n1 itself is basically "ad-hoc" signed for a given machine on install#asahi-dev · 2021-05-15 08:07
marcanand unlike PCs, Apple does not ship anything but windows keys#asahi-dev · 2021-05-15 08:07
marcannot the new ones#asahi-dev · 2021-05-15 08:07
marcanolder ones yes