#asahi · 2021-07-29 12:51
marcanI think everything preloaded by iBoot is locked#asahi · 2021-07-29 12:51
marcandougall: unlikely#asahi · 2021-07-29 11:51
marcanhttps://youtu.be/b3jgLSFnQd4#asahi · 2021-07-29 11:49
marcanI'll jump back on stream shortly#asahi · 2021-07-29 07:14
marcanyou should use a dumb USB hub#asahi · 2021-07-29 07:14
marcannor is USB-PD really in shape#asahi · 2021-07-29 07:14
marcanthere is no thunderbolt support#asahi · 2021-07-29 07:14
marcandocks definitely won't work#asahi · 2021-07-29 07:07
marcanany standard USB cable will do#asahi · 2021-07-29 07:07
marcanthat's only if the other side is another M1 Mac and you want serial#asahi · 2021-07-29 07:07
marcanMTecknology: you don't need to use any fancy cables for USB mode, which I presume is what you want to use#asahi · 2021-07-29 06:20
marcanwhich you didn't share code with :D#asahi · 2021-07-29 06:20
marcanthat's in the tracer#asahi · 2021-07-29 06:20
marcanI know that#asahi · 2021-07-29 06:15
marcanheh#asahi · 2021-07-29 06:15
marcanlol#asahi · 2021-07-29 06:15
marcanis the ring buffer structure the same?#asahi · 2021-07-29 06:14
marcanlike a binlog?#asahi · 2021-07-29 06:14
marcansven: lol, then what is it?#asahi · 2021-07-29 03:20
marcanalyssa: I did now :p#asahi · 2021-07-29 03:19
marcanand I think there's probably another one needed for some silly reason#asahi · 2021-07-29 03:19
marcanso that's 3 copies if you're counting#asahi · 2021-07-29 03:19
marcanchadmed: it's their updater. it has to download the update once, then install it to a snapshot, on top of the existing OS#asahi · 2021-07-29 01:17
marcaner , MTecknology #asahi · 2021-07-29 01:17
marcanjust needs to be enough for the paired recovery (new thingy required in 12.0...) and the bootloader/firmware blobs#asahi · 2021-07-29 01:17
marcanmrkajetanp_: eventual stubs will be <5GB#asahi · 2021-07-29 01:16
marcanbeen thinking a lot about that in the background, just haven't started writing the code :)#asahi · 2021-07-29 01:16
marcanthough at this point, by the time I start writing the DCP driver and fixing the firmware version required, I'll probably spend a few days writing an install/update script that can avoid having to do a full macos install#asahi · 2021-07-29 01:15
marcanalyssa: yes, but you won't be able to update it further#asahi · 2021-07-29 00:51
marcanthankfully the libimobiledevice guys already implemented M1 support into it some time ago#asahi · 2021-07-29 00:51
marcanwhich means plugging it into another linux box with a USB cable and running idevicerestore, for us :)#asahi · 2021-07-29 00:50
marcanif you totally brick the thing (= wipe nvme including 1TR), you need to restore that way#asahi · 2021-07-29 00:50
marcanre: revive, all the DFU stuff is already supported on linux with idevicerestore#asahi · 2021-07-29 00:49
marcanyou need at least 70GB to keep it updatable#asahi · 2021-07-29 00:49
marcantheir updater is insanely inefficient#asahi · 2021-07-29 00:49
marcanMTecknology: 50GB is not enough to update macOS#asahi · 2021-07-29 00:32
marcanbreakfast first :p#asahi · 2021-07-29 00:23
marcanparticularly interested in whether we can us ed25519 keys in that framework; right now you can create ecdsa ssh keys on macOS backed by the SEP, because that's all their user API supports, but I think the low level API probably does ed25519 too#asahi · 2021-07-29 00:22
marcaneventually I want to get PAM integration with the SEP so you can use hardware password verification, Touch ID, and all that from linux#asahi · 2021-07-29 00:22
marcan(this isn't new, the x86 macs with T2 already had this)#asahi · 2021-07-29 00:21
marcanI think macOS does some fun stuff with per-file keys and such, or can (for iOS use cases), which is one reason why they extended (=broke in incompatible ways) their NVMe implementation#asahi · 2021-07-29 00:20
marcanusing the native acceleration would require more research#asahi · 2021-07-29 00:20
marcanI'm not sure how that's done at the NVMe level, but at the very lease you could hook the SEP into dm-crypt and get secureboot-tied disk encryption that way#asahi · 2021-07-29 00:17
marcanand the idea is that it'll prompt you for a distro image to install out of a list of supported ones (whatever people feel like maintaining), or you can just install the base m1n1+u-boot and make space on the partition table, and then handle the actual distro install like on any other ARM64 UEFI system, since you could boot from USB after that point#asahi · 2021-07-29 00:16
marcanthe eventual installer will prompt you for a bundle/version to use out of the list of blessed ones, and handle installing all that without involving a full macOS install#asahi · 2021-07-29 00:15
marcanthankfully none of this matters if you do native dual-boot, as the OSes have separate bundles, so the real macOS install can be updated separately#asahi · 2021-07-29 00:15
marcanno way I'm handling every time they touch the ABI in a point release#asahi · 2021-07-29 00:14
marcanthis is why I've decided there will be "blessed" macOS bootloader bundles (=firmware bundles) that Linux supports#asahi · 2021-07-29 00:14
marcan(and yes this is going to be fun to support in linux)#asahi · 2021-07-29 00:14
marcanyou can imagine how stable that is :p