#asahi · 2021-06-10 13:56
marcan(worst case we'll have to pull them from Apple's CDN directly though, in that case, since of course copying them from 1TR, which is my primary plan, won't work if we need an older version)#asahi · 2021-06-10 13:55
marcanwe can continue to use the version of those components that we support#asahi · 2021-06-10 13:55
marcanthat means we don't have to rush to support a new set of firmware interfaces/etc if Apple changes them in a way we don't support#asahi · 2021-06-10 13:55
marcanthe decoupling between iBoot1 and iBoot2 is useful to us, because effectively iBoot2 (and the associated firmware/ADT blobs) define the OS interface#asahi · 2021-06-10 13:53
marcannot sure how that's done though, it might be fuses and not the SE, no idea#asahi · 2021-06-10 13:52
marcanMacs do have hard anti-downgrade for SFR though (that's iBoot1, the NOR/first stage bootloader and 1TR) but not OS installs. You can downgrade macOS (though you might need to go to reduced security once Apple stops signing that old version)#asahi · 2021-06-10 13:52
marcananti-downgrade *against the user's will* is another one of them - you can't downgrade Mac OS *bypassing* the normal attestation mechanisms for that reason too#asahi · 2021-06-10 13:51
marcanthere are many security reasons to have rollback-protected storage#asahi · 2021-06-10 13:50
marcan(this is how the FBI cracks iPhones)#asahi · 2021-06-10 13:50
marcanFanfwe: anti-rollback as in you can't desolder the flash on your iPhone and take a backup, try 10 PINs, restore the backup, try 10 PINs, restore the backup, try 10 PINs, ...#asahi · 2021-06-10 13:42
marcanyou can also run_script(<path>) from the shell to do it dynamically (e.g. edit-test cycle)#asahi · 2021-06-10 13:42
marcanalso stuff persists across shell runs now#asahi · 2021-06-10 13:42
marcanall the modules share the same globals namespace, and anything you define in them is also available in the shell#asahi · 2021-06-10 13:38
marcane.g. tools/run_guest.py -m hv/trace_agx.py <...>#asahi · 2021-06-10 13:37
marcanso we can move away from hacking directly on hv.py#asahi · 2021-06-10 13:37
marcanjust pushed a thing for running hypervisor setup scripts from run_guest.py#asahi · 2021-06-10 12:49
marcanApple do have external secure storage for anti-rollback; it might just be that#asahi · 2021-06-10 12:49
marcanfridtjof[m]: the iPads/etc have the same chip, and I bet all M1 macs do too (iFixit is nowhere near exhaustive/consistent with their chip IDs)#asahi · 2021-06-10 10:47
marcanI also cleaned up the namespaces a lot (no more a zillion unrelated things leaking into "from bla import *") so I expect I probably broke a bunch of stuff, but I tested all the basic experiments/tools to make sure they work#asahi · 2021-06-10 10:47
marcanI probably just broke any wip trees people had making changes to proxyclient/ (or any non-pushed test scripts) so keep that in mind#asahi · 2021-06-10 10:45
marcanchoozy: curl|sh from recovery mode to install the bootloader, optionally install linux at the same time or use the bootloader to boot from an external drive#asahi · 2021-06-10 10:44
marcanjust pushed a big reorg of proxyclient/ to clean up the hierarchy#asahi · 2021-06-10 08:17
marcanway too big#asahi · 2021-06-10 08:17
marcanI'm not sure the wiki is the place for that though#asahi · 2021-06-10 08:17
marcan_jannau_: adt.py prints your wifi password/serial/etc, but we already have all the "generic" ADTs available in the recovery partition etc#asahi · 2021-06-10 07:22
marcanplus there's a good chance once this all works it'll become one of my primary machines (though more likely by then a 27" M2 model will be out)#asahi · 2021-06-10 07:22
marcanI mean I'm making a point of being able to test all the major HW configs#asahi · 2021-06-10 07:21
marcanif nothing else the display will be one more variant to test#asahi · 2021-06-10 07:21
marcanwe'll see I guess#asahi · 2021-06-10 06:36
marcanneed to figure out a VESA arm for it though#asahi · 2021-06-10 06:36
marcanM1 iMac acquired :-)#asahi · 2021-06-09 16:06
marcanbut in that case, m1n1 should do so when it shuts down USB#asahi · 2021-06-09 16:05
marcanthat sounds like a bug#asahi · 2021-06-09 15:42
marcan(though if down the line it really comes down to that, which I doubt, but if it does... this kind of thing is what patreon money is for, isn't it?)#asahi · 2021-06-09 15:41
marcanjust hope I don't need to debug this physically; I don't have a 5GHz scope :p#asahi · 2021-06-09 15:40
marcanyeah#asahi · 2021-06-09 15:40
marcanand start writing mmiotrace handlers#asahi · 2021-06-09 15:40
marcantomorrow I'm going to do a big overhaul of proxyclient/ into a proper python module tree#asahi · 2021-06-09 15:39
marcananwyay, mmiotrace will tell us things#asahi · 2021-06-09 15:39
marcanyes, but I think the SS line muxing isn't done by that chip#asahi · 2021-06-09 15:39
marcanso I think that's where the magic happens#asahi · 2021-06-09 15:39
marcan(guess)#asahi · 2021-06-09 15:39
marcanI mean all the "atc" stuff in the adt is "apple type c" isn't it#asahi · 2021-06-09 15:39
marcanyeah, but I think those are the muxless ones? not sure though#asahi · 2021-06-09 15:38
marcanwe'll see I guess#asahi · 2021-06-09 15:38
marcanbut I don't know exactly at what level they mux (analog or digital or what)#asahi · 2021-06-09 15:38
marcanthey definitely have muxes for usb3/dp/tb/whatever#asahi · 2021-06-09 15:37
marcandepends on the implementation#asahi · 2021-06-09 15:37
marcanyeah#asahi · 2021-06-09 15:37
marcanbut hopefully that won't be that bad